Function at 0x40a130
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 0x40a181
mov esi, ecx
movzx eax, byte [ecx]
mov byte [esp + 0xf], 0
test eax, eax
je 0x40a188
cmp al, 0x64
jb 0x40a197
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 + 0x43c528]
mov word [esp + 0xd], ax
mov ecx, 1
mov eax, edx
jmp 0x40a1a0
mov bl, 1
jmp 0x40a7a1
lea eax, [esp + 0xe]
mov dword [esp + 0x2c], eax
mov byte [esp + 0xe], 0x30
jmp 0x40a1cc
mov ecx, 3
cmp al, 9
ja 0x40a1b7
movzx eax, byte [eax + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
lea edx, [esp + ecx]
add edx, 0xb
mov dword [esp + 0x2c], edx
mov byte [esp + ecx + 0xb], al
jmp 0x40a1cc
movzx eax, word [eax + eax + 0x43c528]
lea ecx, [esp + 0xd]
mov dword [esp + 0x2c], ecx
mov word [esp + 0xd], ax
lea eax, [esi + 0x10]
push eax
call fcn.00407130
add esp, 4
mov edi, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 0xc0], eax
lea ebx, [esp + 0xcb]
push ebx
call fcn.004331c0
add esp, 4
mov dword [esp + 0xc4], edi
lea eax, [edi + 0x400]
push eax
call fcn.00409060
add esp, 4
mov edi, eax
mov dword [esp + 0x30], 0xefeb9cee
mov byte [esp + 0x34], 0xa
mov dword [esp + 0x39], 0
mov dword [esp + 0x35], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xc
ja 0x40a280
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x30]
lea edx, [eax + ecx]
add edx, 0x1cb6a555
add eax, 0x1cb6a555
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
add al, 0xad
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x30], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xd
jb 0x40a240
lea eax, [esp + 0x30]
mov ecx, esi
push ebx
push eax
push edi
call fcn.004099e0
mov dword [esp + 0x30], 0x6bf6f4fc
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 0x40a30a
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, 0x92921372
add eax, 0x92921372
and eax, ecx
add eax, eax
mov ecx, eax
xor ecx, edx
not eax
and eax, edx
add eax, eax
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0xe2
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x30], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xd
jb 0x40a2c0
mov ecx, esi
push dword [esp + 0x2c]
lea eax, [esp + 0x34]
push eax
push edi
call fcn.004099e0
mov eax, dword [str.VXGDR__l3]
mov dword [esp + 0x30], 0xb767478
mov dword [esp + 0x34], 0
mov dword [esp + 0x37], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0xa
ja 0x40a391
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 + 0x459c9302]
and ebx, edx
add ecx, edx
add ecx, 0x459c9302
add ebx, ebx
sub ecx, ebx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
add cl, 0xf2
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x30], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0xb
jb 0x40a350
mov ecx, esi
push eax
lea eax, [esp + 0x34]
push eax
push edi
call fcn.004099e0
mov dword [esp + 0x30], 0x6f766e7b
mov dword [esp + 0x34], 0x726b7263
mov dword [esp + 0x38], 0x60656273
mov byte [esp + 0x3c], 0x8a
mov word [esp + 0x3d], 0
mov byte [esp + 0x3f], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xf
ja 0x40a41c
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 + 0x41]
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add eax, 0x9c65ab41
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x39
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x30], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x10
jb 0x40a3e0
mov dword [esp + 0x10], 0xfb6c5c25
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 8
ja 0x40a494
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + 0x6e7ca03f]
lea ebx, [eax + 0x3f]
and ebx, ecx
and edx, ebx
add eax, ecx
add eax, 0x6e7ca03f
add edx, ebx
sub eax, edx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0x47
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 9
jb 0x40a450
lea edx, [esp + 0x10]
mov ecx, esi
lea eax, [esp + 0x30]
push eax
push edx
push edi
call fcn.004099e0
mov dword [esp + 0x30], 0xa6bea4a6
mov byte [esp + 0x34], 8
mov dword [esp + 0x35], 0
mov byte [esp + 0x39], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 9
ja 0x40a52a
nop
nop
nop
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 + ecx]
add edx, 0x862ecb2a
add eax, 0x862ecb2a
and eax, ecx
add eax, eax
mov ecx, eax
xor ecx, edx
not eax
and eax, edx
add eax, eax
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0xda
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x30], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xa
jb 0x40a4e0
mov ecx, esi
push dword [esp + 0xc4]
push dword [esp + 0xc4]
lea eax, [esp + 0x38]
push eax
push edi
call fcn.00409cd0
mov eax, dword [esi + 0x60]
mov dword [esp + 0x30], 0xcb79cd13
mov dword [esp + 0x34], 0xc74ac97a
mov dword [esp + 0x38], 0xc370c579
mov dword [esp + 0x3c], 0xdf2bc14c
mov dword [esp + 0x40], 0xdb53dd70
mov dword [esp + 0x44], 0xd76bd968
mov dword [esp + 0x48], 0xd332d512
mov dword [esp + 0x4c], 0xaf23d165
mov dword [esp + 0x50], 0xab26ad18
mov dword [esp + 0x54], 0xa716a911
mov dword [esp + 0x58], 0xa32ca505
mov dword [esp + 0x5c], 0xbf4da12c
mov dword [esp + 0x60], 0xbb09bd06
mov dword [esp + 0x64], 0xb703b936
mov dword [esp + 0x68], 0xb30eb541
mov dword [esp + 0x6c], 0x8f02b111
mov dword [esp + 0x70], 0x8b4d8d2d
mov dword [esp + 0x74], 0x87388968
mov dword [esp + 0x78], 0x830f8537
mov dword [esp + 0x7c], 0x9f228132
mov dword [esp + 0x80], 0x9b149d3d
mov dword [esp + 0x84], 0x97539911
mov dword [esp + 0x88], 0x932f952a
mov dword [esp + 0x8c], 0x6fa39158
mov dword [esp + 0x90], 0x6bd76dd0
mov dword [esp + 0x94], 0x67df69a5
mov dword [esp + 0x98], 0x63de65d4
mov dword [esp + 0x9c], 0x7fc161d3
mov dword [esp + 0xa0], 0x7bc77dc5
mov dword [esp + 0xa4], 0x77f879f6
mov dword [esp + 0xa8], 0x738375c9
mov dword [esp + 0xac], 0x4f587165
mov word [esp + 0xb0], 0x4d4c
mov dword [esp + 0xb6], 0
mov dword [esp + 0xb2], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0x89
ja 0x40a6e1
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x30]
lea ebx, [ecx + 0x22]
and ebx, edx
add ecx, edx
add ebx, ebx
sub ecx, ebx
add ecx, 0x2fb81e22
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
add cl, 0x12
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x30], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0x8a
jb 0x40a6a0
mov dword [esp + 0x10], 0xfb5bf9d7
mov dword [esp + 0x14], 0xff67fd6a
mov word [esp + 0x18], 0xf1fe
mov dword [esp + 0x1e], 0
mov dword [esp + 0x1a], 0
mov dword [esp + 8], 0
mov ecx, dword [esp + 8]
cmp ecx, 0x11
ja 0x40a76c
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 8]
mov edx, dword [esp + 8]
movzx edx, byte [esp + edx + 0x10]
lea ebx, [ecx + edx]
add ebx, 0xf3a464ff
add ecx, 0xf3a464ff
and ecx, edx
add ecx, ecx
mov edx, ecx
xor edx, ebx
not ecx
and ecx, ebx
add ecx, ecx
sub ecx, edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
add cl, 7
mov edx, dword [esp + 8]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 8]
mov ecx, dword [esp + 8]
cmp ecx, 0x12
jb 0x40a720
push 0x493e0
push eax
push edi
push 0
push 0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0040e1e0
add esp, 0x1c
mov ebx, eax
push edi
call fcn.00409070
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