Function at 0x40a150
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xf0
cmp dword [ecx + 0x20], 0
je 0x40a1a1
mov esi, ecx
movzx eax, byte [ecx]
mov byte [esp + 0xf], 0
test eax, eax
je 0x40a1a8
cmp al, 0x64
jb 0x40a1b7
lea ecx, [eax + eax*4]
lea ecx, [eax + ecx*8]
movzx edx, cx
shr edx, 0xc
imul ecx, edx, 0x64
sub al, cl
movzx eax, al
movzx eax, word [eax + eax + 0x43f528]
mov word [esp + 0xd], ax
mov ecx, 1
mov eax, edx
jmp 0x40a1c0
mov bl, 1
jmp 0x40a7de
lea eax, [esp + 0xe]
mov dword [esp + 0x28], eax
mov byte [esp + 0xe], 0x30
jmp 0x40a1ec
mov ecx, 3
cmp al, 9
ja 0x40a1d7
movzx eax, byte [eax + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
lea edx, [esp + ecx]
add edx, 0xb
mov dword [esp + 0x28], edx
mov byte [esp + ecx + 0xb], al
jmp 0x40a1ec
movzx eax, word [eax + eax + 0x43f528]
lea ecx, [esp + 0xd]
mov dword [esp + 0x28], ecx
mov word [esp + 0xd], ax
lea eax, [esi + 0x10]
push eax
call fcn.00407120
add esp, 4
mov edi, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 0xc4], eax
lea ebx, [esp + 0xcb]
push ebx
call fcn.00433db0
add esp, 4
mov dword [esp + 0x2c], edi
lea eax, [edi + 0x400]
push eax
call fcn.004090e0
add esp, 4
mov edi, eax
mov dword [esp + 0x30], 0x1f13001e
mov byte [esp + 0x34], 0xba
mov word [esp + 0x35], 0
mov byte [esp + 0x37], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 7
ja 0x40a2a0
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x30]
lea edx, [eax + ecx]
add eax, 0x97
and eax, ecx
add eax, eax
sub edx, eax
add edx, 0x27374797
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
add al, 0xdf
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x30], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 8
jb 0x40a260
lea eax, [esp + 0x30]
mov ecx, esi
push ebx
push eax
push edi
call fcn.00409a70
mov dword [esp + 0x30], 0x8b76747c
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov byte [esp + 0x3c], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xc
ja 0x40a320
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x30]
lea edx, [eax + ecx]
add edx, 0xf9482d42
add eax, 0xf9482d42
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
add al, 0x32
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x30], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xd
jb 0x40a2e0
mov ecx, esi
push dword [esp + 0x28]
lea eax, [esp + 0x34]
push eax
push edi
call fcn.00409a70
mov eax, dword [str.WpM2Co__PRIVEIT]
mov dword [esp + 0x30], 0x3bdcd2da
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0xf
ja 0x40a3c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x30]
lea ebx, [ecx + 0xf7]
add ecx, edx
and ebx, edx
add ebx, ebx
sub ecx, ebx
add ecx, 0x6b3748f7
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
add cl, 0x3f
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x30], cl
mov ecx, dword [esp + 4]
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
cmp ecx, 0x10
jb 0x40a370
mov ecx, esi
push eax
lea eax, [esp + 0x34]
push eax
push edi
call fcn.00409a70
mov dword [esp + 0x30], 0xe7d0e8db
mov dword [esp + 0x34], 0xd0e3dce3
mov dword [esp + 0x38], 0x9ea1e4d3
mov byte [esp + 0x3c], 0x38
mov dword [esp + 0x3d], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x10
ja 0x40a453
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x30]
lea edx, [eax + 0xb6]
and edx, ecx
mov ebx, 0x24311a49
sub ebx, eax
or ebx, ecx
not ebx
add ebx, ecx
sub ebx, edx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x10]
add al, 6
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x30], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x11
jb 0x40a410
mov dword [esp + 0x10], 0x5bd6faf9
mov dword [esp + 0x14], 0
mov dword [esp + 0x17], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0xa
ja 0x40a4c0
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + ecx]
add edx, 0x87193d74
add eax, 0x87193d74
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 4], edx
mov eax, dword [esp + 4]
add al, 0xd4
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0xb
jb 0x40a480
lea edx, [esp + 0x10]
mov ecx, esi
lea eax, [esp + 0x30]
push eax
push edx
push edi
call fcn.00409a70
mov dword [esp + 0x30], 0x10080a0c
mov byte [esp + 0x34], 0x8a
mov word [esp + 0x35], 0
mov byte [esp + 0x37], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 7
ja 0x40a540
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x30]
lea edx, [eax + ecx]
add edx, 0x1e3de36d
add eax, 0x1e3de36d
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
add al, 5
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x30], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 8
jb 0x40a500
mov ecx, esi
push dword [esp + 0x2c]
push dword [esp + 0xc8]
lea eax, [esp + 0x38]
push eax
push edi
call fcn.00409d30
mov eax, dword [esi + 0x60]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0xb3cdb1f3
mov dword [esp + 0x34], 0xb7c2b5ca
mov dword [esp + 0x38], 0xcbb4c9ad
mov dword [esp + 0x3c], 0xcff3cdb8
mov dword [esp + 0x40], 0xc34bc194
mov dword [esp + 0x44], 0xc7a3c5b4
mov dword [esp + 0x48], 0xdbfad992
mov dword [esp + 0x4c], 0xdfabdda1
mov dword [esp + 0x50], 0xd3a6d1ac
mov dword [esp + 0x54], 0xd7a6d5ad
mov dword [esp + 0x58], 0xeb98e989
mov dword [esp + 0x5c], 0xefd1ed98
mov dword [esp + 0x60], 0xe39de186
mov dword [esp + 0x64], 0xe79be596
mov dword [esp + 0x68], 0xfb9ef9c5
mov dword [esp + 0x6c], 0xff8afd9d
mov dword [esp + 0x70], 0xf3b9f191
mov dword [esp + 0x74], 0xf794f5d4
mov dword [esp + 0x78], 0xb7f0977
mov dword [esp + 0x7c], 0xf6a0d72
mov dword [esp + 0x80], 0x3700161
mov dword [esp + 0x84], 0x74b058d
mov dword [esp + 0x88], 0x1b7f197a
mov dword [esp + 0x8c], 0x1f2b1d54
mov dword [esp + 0x90], 0x13771174
mov dword [esp + 0x94], 0x176f1521
mov dword [esp + 0x98], 0x2b4e2958
mov dword [esp + 0x9c], 0x2f4d2d53
mov dword [esp + 0xa0], 0x23472159
mov dword [esp + 0xa4], 0x27542556
mov dword [esp + 0xa8], 0x3b0b395d
mov dword [esp + 0xac], 0x3f243d21
mov word [esp + 0xb0], 0x3130
mov word [esp + 0xbe], 0
mov dword [esp + 0xba], 0
mov dword [esp + 0xb6], 0
mov dword [esp + 0xb2], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0x8f
ja 0x40a71b
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x30]
mov ebx, ecx
and ebx, 0x8801e38
xor ecx, 0x88801e38
lea ecx, [ecx + ebx*2]
mov ebx, ecx
and ebx, edx
add ecx, edx
add ebx, ebx
sub ecx, ebx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
add cl, 0x78
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x30], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0x90
jb 0x40a6d0
mov dword [esp + 0x10], 0x6383614f
mov dword [esp + 0x14], 0x678f65f4
mov word [esp + 0x18], 0x6968
mov dword [esp + 0x1e], 0
mov dword [esp + 0x1a], 0
mov dword [esp + 8], 0
mov ecx, dword [esp + 8]
cmp ecx, 0x11
ja 0x40a7a6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 8]
mov edx, dword [esp + 8]
movzx eax, byte [esp + edx + 0x10]
lea ebx, [ecx + 0x39308d30]
mov edx, eax
not edx
or edx, ebx
and ebx, eax
add ebx, edx
neg ebx
lea eax, [ecx + ebx]
add eax, 0x39308d2f
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0xb0
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x12
jb 0x40a760
push 0x493e0
push dword [esp + 0x30]
push edi
push 0
push 0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0040dfc0
add esp, 0x1c
mov ebx, eax
push edi
call fcn.004090f0
add esp, 4
mov eax, dword [esi + 0x60]
add dword [esi + 4], eax
mov dword [esi + 0x60], 0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret