Function at 0x1003c020
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012cbf1
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x10193008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xac], ecx
mov esi, dword [ebp + 0x10]
xorps xmm0, xmm0
movlpd qword [ebp - 0x34], xmm0
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call fcn.10035570
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 2
mov edi, dword [ebp + 8]
mov eax, edi
and eax, 1
or eax, 0
je 0x1003c135
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1003e2b0
mov al, byte [ebp - 0x20]
test al, al
je 0x1003c0e1
cmp al, 6
je 0x1003c0e1
cmp al, 7
jne 0x1003c0ed
lea ecx, [ebp - 0x28]
call fcn.100ee2e0
test eax, eax
je 0x1003c129
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.100ed990
mov byte [ebp - 4], 7
mov ecx, esi
push 0x10158abd
push str.A0301
call fcn.100ee7d0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.100edcc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.100edb30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.100edb30
mov eax, edi
and eax, 8
or eax, 0
je 0x1003c1e2
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x28]
push eax
call fcn.1003e550
mov al, byte [ebp - 0x20]
test al, al
je 0x1003c18e
cmp al, 6
je 0x1003c18e
cmp al, 7
jne 0x1003c19a
lea ecx, [ebp - 0x28]
call fcn.100ee2e0
test eax, eax
je 0x1003c1d6
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.100ed990
mov byte [ebp - 4], 0xd
mov ecx, esi
push 0x10158ab5
push str.A0303
call fcn.100ee7d0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.100edcc0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x58]
call fcn.100edb30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.100edb30
mov eax, edi
and eax, 0x10
or eax, 0
je 0x1003c5f2
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xa0]
call fcn.100056b0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x88]
call fcn.100056b0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x58]
push str.Advapi32.dll
call fcn.10008180
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x58]
push eax
call fcn.100660b0
mov ecx, eax
call fcn.10066170
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x58]
call fcn.10004ae0
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1004e1f0
test al, al
je 0x1003c30b
lea ecx, [ebp - 0x58]
call fcn.10005710
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x88]
call fcn.10004aa0
lea ecx, [ebp - 0x88]
mov esi, eax
call fcn.10006600
mov edx, esi
mov ecx, eax
call fcn.10058070
add esp, 4
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x70]
push eax
call fcn.100ed910
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x28]
push 0x10158acf
push str.default
call fcn.100ee7d0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.100edcc0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x70]
call fcn.100edb30
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x58]
call fcn.10005240
mov esi, dword [ebp - 0xa8]
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x40]
push eax
call fcn.1004add0
xorps xmm0, xmm0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x68], 0
movq qword [ebp - 0x60], xmm0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 0x1e
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x40]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1003c474
mov edi, dword [ebp - 0x40]
xor esi, esi
nop word [eax + eax]
mov ecx, dword [ebp - 0x50]
lea edx, [esi + edi]
and ecx, 0xffffff04
mov dword [ebp - 0x4c], 0
mov eax, ecx
mov dword [ebp - 0x48], 0
or eax, 4
mov dword [ebp - 0x44], 0
or ecx, 0x104
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x50], ecx
mov ecx, edx
call fcn.10004bd0
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x1003c3e4
mov eax, dword [eax]
mov ecx, eax
call fcn.100ecd30
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xc4]
call fcn.100ed990
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x70]
call fcn.100ee2e0
push eax
lea ecx, [ebp - 0x70]
call fcn.100ee380
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, eax
call fcn.100edcc0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0xc4]
call fcn.100edb30
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x58]
call fcn.100edb30
mov ecx, dword [ebp - 0x3c]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x40]
add esi, 0x18
inc dword [ebp - 0x2c]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x2c], eax
jb 0x1003c3a0
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0xa8]
mov al, byte [ebp - 0x68]
test al, al
je 0x1003c483
cmp al, 6
je 0x1003c483
cmp al, 7
jne 0x1003c48f
lea ecx, [ebp - 0x70]
call fcn.100ee2e0
test eax, eax
je 0x1003c4d5
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xc4]
call fcn.100ed990
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x28]
push 0x10158ac4
push str.imes
call fcn.100ee7d0
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, eax
call fcn.100edcc0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xc4]
call fcn.100edb30
mov al, byte [ebp - 0x20]
test al, al
je 0x1003c4e4
cmp al, 6
je 0x1003c4e4
cmp al, 7
jne 0x1003c4f0
lea ecx, [ebp - 0x28]
call fcn.100ee2e0
test eax, eax
je 0x1003c535
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xc4]
call fcn.100ed990
mov byte [ebp - 4], 0x24
mov ecx, esi
push 0x10158add
push str.A0304
call fcn.100ee7d0
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, eax
call fcn.100edcc0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xc4]
call fcn.100edb30
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x70]
call fcn.100edb30
mov byte [ebp - 4], 0x15
mov esi, dword [ebp - 0x40]
test esi, esi
je 0x1003c5c2
mov eax, dword [ebp - 0x3c]
cmp esi, eax
je 0x1003c569
mov edi, eax
mov ecx, esi
call fcn.10005240
add esi, 0x18
cmp esi, edi
jne 0x1003c555
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0x38]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x1003c5a3
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ca50
push ecx
push esi
call fcn.100fc65e
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x88]
call fcn.10004ae0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xa0]
call fcn.10004ae0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.100edb30
mov esi, dword [ebp - 0xa8]
mov eax, edi
and eax, 0x20
or eax, 0
je 0x1003c6ac
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0x2b
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1003e800
mov al, byte [ebp - 0x20]
test al, al
je 0x1003c64f
cmp al, 6
je 0x1003c64f
cmp al, 7
jne 0x1003c65b
lea ecx, [ebp - 0x28]
call fcn.100ee2e0
test eax, eax
je 0x1003c6a0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xc4]
call fcn.100ed990
mov byte [ebp - 4], 0x2c
mov ecx, esi
push 0x10158ad5
push str.A0305
call fcn.100ee7d0
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, eax
call fcn.100edcc0
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0xc4]
call fcn.100edb30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.100edb30
mov eax, edi
and eax, 4
or eax, 0
je 0x1003c6c2
mov ecx, dword [ebp - 0xac]
push esi
call fcn.1003ebb0
mov eax, edi
and eax, 0x40
or eax, 0
je 0x1003c77e
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0x31
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0xac]
push eax
call fcn.1003f740
mov al, byte [ebp - 0x20]
test al, al
je 0x1003c721
cmp al, 6
je 0x1003c721
cmp al, 7
jne 0x1003c72d
lea ecx, [ebp - 0x28]
call fcn.100ee2e0
test eax, eax
je 0x1003c772
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xc4]
call fcn.100ed990
mov byte [ebp - 4], 0x32
mov ecx, esi
push 0x10158aed
push str.A0306
call fcn.100ee7d0
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, eax
call fcn.100edcc0
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0xc4]
call fcn.100edb30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.100edb30
and edi, 0x800
or edi, 0
je 0x1003c835
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0x37
lea eax, [ebp - 0x28]
push eax
call fcn.10049460
mov al, byte [ebp - 0x20]
test al, al
je 0x1003c7d8
cmp al, 6
je 0x1003c7d8
cmp al, 7
jne 0x1003c7e4
lea ecx, [ebp - 0x28]
call fcn.100ee2e0
test eax, eax
je 0x1003c829
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xc4]
call fcn.100ed990
mov byte [ebp - 4], 0x38
mov ecx, esi
push 0x10158ae5
push str.A0307
call fcn.100ee7d0
mov byte [ebp - 4], 0x39
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, eax
call fcn.100edcc0
mov byte [ebp - 4], 0x37
lea ecx, [ebp - 0xc4]
call fcn.100edb30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.100edb30
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0x3d
lea eax, [ebp - 0x28]
push eax
call fcn.10049ac0
mov al, byte [ebp - 0x20]
test al, al
je 0x1003c880
cmp al, 6
je 0x1003c880
cmp al, 7
jne 0x1003c88c
lea ecx, [ebp - 0x28]
call fcn.100ee2e0
test eax, eax
je 0x1003c8d1
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xc4]
call fcn.100ed990
mov byte [ebp - 4], 0x3e
mov ecx, esi
push 0x10158afd
push str.A0309
call fcn.100ee7d0
mov byte [ebp - 4], 0x3f
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, eax
call fcn.100edcc0
mov byte [ebp - 4], 0x3d
lea ecx, [ebp - 0xc4]
call fcn.100edb30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.100edb30
call fcn.10053cc0
xor ecx, ecx
mov byte [ebp - 0x68], 1
and dword [ebp - 0x68], 0xfffffeff
test al, al
mov dword [ebp - 0x64], 0
setne cl
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], 0
mov byte [ebp - 4], 0x40
mov ecx, esi
push 0x10158af5
push str.A0310
call fcn.100ee7d0
mov byte [ebp - 4], 0x41
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.100edcc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.100edb30
lea ecx, [ebp - 0x58]
call fcn.100056b0
mov byte [ebp - 4], 0x43
mov ecx, dword [ebp - 0xac]
call fcn.10004bd0
lea edx, [ebp - 0x58]
cmp edx, eax
je 0x1003c97c
call fcn.10004bd0
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1003c970
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x58]
call fcn.10004c40
lea ecx, [ebp - 0x58]
call fcn.1001ce10
lea ecx, [ebp - 0x58]
call fcn.1001bfc0
mov byte [ebp - 0x20], 2
and dword [ebp - 0x20], 0xfffffeff
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0x44
mov ecx, esi
push 0x10158b0d
push str.A0311
call fcn.100ee7d0
mov byte [ebp - 4], 0x45
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.100edcc0
mov byte [ebp - 4], 0x43
lea ecx, [ebp - 0x28]
call fcn.100edb30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.10004ae0
mov dword [ebp - 4], 0x48
lea ecx, [ebp - 0x34]
mov esi, dword [ebp - 0x34]
push dword [esi + 4]
call fcn.10035610
mov eax, dword [ebp - 0x34]
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x34]
mov dword [eax], esi
mov eax, dword [ebp - 0x34]
mov dword [eax + 8], esi
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
push 0x28
push dword [ebp - 0x34]
call fcn.100fc65e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100fc1a9
mov esp, ebp
pop ebp
ret 0xc
call fcn.10100b14
int3