Function at 0x40a440
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 0x40a48e
mov esi, ecx
movzx eax, byte [ecx]
mov byte [esp + 0xf], 0
test eax, eax
je 0x40a495
cmp al, 0x64
jb 0x40a4a4
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*8]
shr edx, 0xc
imul ecx, edx, 0x64
sub al, cl
movzx eax, al
movzx eax, word [eax + eax + 0x439520]
mov word [esp + 0xd], ax
mov ecx, 0xfffffffd
mov eax, edx
jmp 0x40a4ad
mov bl, 1
jmp 0x40aa85
lea eax, [esp + 0xe]
mov dword [esp + 0x2c], eax
mov byte [esp + 0xe], 0x30
jmp 0x40a4da
mov ecx, 0xffffffff
cmp al, 9
ja 0x40a4c5
lea edx, [esp + 0x10]
movzx eax, byte [eax + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
add edx, ecx
dec edx
mov dword [esp + 0x2c], edx
mov byte [esp + ecx + 0xf], al
jmp 0x40a4da
movzx eax, word [eax + eax + 0x439520]
lea ecx, [esp + 0xd]
mov dword [esp + 0x2c], ecx
mov word [esp + 0xd], ax
lea eax, [esi + 0x10]
push eax
call fcn.00406f90
add esp, 4
mov edi, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x30], eax
lea ebx, [esp + 0xcb]
push ebx
call fcn.0042eea0
add esp, 4
mov dword [esp + 0x34], edi
lea eax, [edi + 0x400]
push eax
call fcn.004090a0
add esp, 4
mov edi, eax
mov dword [esp + 0x38], 0xcff3fcce
mov byte [esp + 0x3c], 0x62
mov dword [esp + 0x3d], 0
mov dword [esp + 0x41], 0
mov byte [esp + 0x45], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xd
ja 0x40a58e
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x38]
mov edx, 0xee
sub edx, eax
add eax, 0x924b4211
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
add al, 0x89
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x38], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xe
jb 0x40a550
lea eax, [esp + 0x38]
mov ecx, esi
push ebx
mov ebx, eax
push eax
push edi
call fcn.00409d80
mov dword [esp + 0x38], 0xa33c3a36
mov dword [esp + 0x3c], 0
mov byte [esp + 0x40], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 8
ja 0x40a60e
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 + 0x38]
mov edx, 0xe4
sub edx, eax
add eax, 0x59ba3c1b
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
add al, 0x43
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x38], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 9
jb 0x40a5d0
mov ecx, esi
push dword [esp + 0x2c]
push ebx
push edi
call fcn.00409d80
mov eax, dword [str.WpM2Co__SUSELL]
mov dword [esp + 0x38], 0xc3687272
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov word [esp + 0x44], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0xd
ja 0x40a690
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x38]
mov ebx, 0x5e
sub ebx, ecx
add ecx, 0x87160da1
xor ebx, ecx
and ebx, edx
xor ebx, ecx
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x10]
add cl, 0x99
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x38], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0xe
jb 0x40a650
mov ecx, esi
push eax
lea ebx, [esp + 0x3c]
push ebx
push edi
call fcn.00409d80
mov dword [esp + 0x38], 0x6f766e7b
mov dword [esp + 0x3c], 0x726b7263
mov dword [esp + 0x40], 0x60656273
mov byte [esp + 0x44], 0x8a
mov dword [esp + 0x45], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x10
ja 0x40a71e
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 + 0x38]
mov edx, 0xbe
sub edx, eax
add eax, 0x3a98ad41
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
add al, 0x39
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x38], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x11
jb 0x40a6e0
mov dword [esp + 0x10], 0x8b36222d
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov byte [esp + 0x1c], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0xc
ja 0x40a78e
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x10]
mov edx, 0x95
sub edx, eax
add eax, 0xa481556a
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 4], edx
mov eax, dword [esp + 4]
add al, 0x1a
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0xd
jb 0x40a750
lea eax, [esp + 0x10]
mov ecx, esi
push ebx
push eax
push edi
call fcn.00409d80
mov dword [esp + 0x38], 0xf6fef4f6
mov byte [esp + 0x3c], 0x68
mov dword [esp + 0x3d], 0
mov byte [esp + 0x41], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 9
ja 0x40a80e
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x38]
mov edx, 0x8d
sub edx, eax
add eax, 0x68e28672
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
add al, 0xe2
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x38], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xa
jb 0x40a7d0
mov ecx, esi
push dword [esp + 0x34]
push dword [esp + 0x34]
push ebx
push edi
call fcn.0040a030
mov eax, dword [esi + 0x60]
mov dword [esp + 0x38], 0x4bc55513
mov dword [esp + 0x3c], 0x4fdc49d8
mov dword [esp + 0x40], 0x43de4dd5
mov dword [esp + 0x44], 0x471341d6
mov dword [esp + 0x48], 0x7bcb4532
mov dword [esp + 0x4c], 0x7fe379ea
mov dword [esp + 0x50], 0x735c7d30
mov dword [esp + 0x54], 0x77fb71e1
mov dword [esp + 0x58], 0x6be075ea
mov dword [esp + 0x5c], 0x6ff869f5
mov dword [esp + 0x60], 0x63fa6d09
mov dword [esp + 0x64], 0x673161f6
mov dword [esp + 0x68], 0x9bf565fc
mov dword [esp + 0x6c], 0x9f0b990c
mov dword [esp + 0x70], 0x93f89dcd
mov dword [esp + 0x74], 0x970491f5
mov dword [esp + 0x78], 0x8bd995f1
mov dword [esp + 0x7c], 0x8fee89aa
mov dword [esp + 0x80], 0x83078d1f
mov dword [esp + 0x84], 0x87e48110
mov dword [esp + 0x88], 0xbb1285e1
mov dword [esp + 0x8c], 0xbffbb935
mov dword [esp + 0x90], 0xb327bdd8
mov dword [esp + 0x94], 0xb7fbb1fa
mov dword [esp + 0x98], 0xab2fb5d2
mov dword [esp + 0x9c], 0xaf37a9e1
mov dword [esp + 0xa0], 0xa3c8ad3e
mov dword [esp + 0xa4], 0xa7c5a133
mov dword [esp + 0xa8], 0xdb3fa539
mov dword [esp + 0xac], 0xdf4ed94c
mov dword [esp + 0xb0], 0xd38bdd45
mov dword [esp + 0xb4], 0xd7eed1e1
mov word [esp + 0xb8], 0xd5d6
mov dword [esp + 0xbe], 0
mov dword [esp + 0xba], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0x89
ja 0x40a9c3
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x38]
mov ebx, 0x32
sub ebx, ecx
add ecx, 0x539403cd
xor ebx, ecx
and ebx, edx
xor ebx, ecx
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x10]
add cl, 0x65
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x38], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0x8a
jb 0x40a980
mov dword [esp + 0x10], 0xbab0d7f
mov dword [esp + 0x14], 0x17bf09b8
mov word [esp + 0x18], 0x1514
mov dword [esp + 0x1a], 0
mov dword [esp + 0x1e], 0
mov dword [esp + 0x21], 0
mov dword [esp + 8], 0
mov ecx, dword [esp + 8]
cmp ecx, 0x14
ja 0x40aa50
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 8]
mov edx, dword [esp + 8]
movzx edx, byte [esp + edx + 0x10]
mov ebx, 0x55
sub ebx, ecx
add ecx, 0xb63ee7aa
xor ebx, ecx
and ebx, edx
xor ebx, ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 4]
add cl, 0x5a
mov edx, dword [esp + 8]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 8]
mov ecx, dword [esp + 8]
cmp ecx, 0x15
jb 0x40aa10
push 0x493e0
push eax
push edi
push 0
push 0
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0040c730
add esp, 0x1c
mov ebx, eax
push edi
call fcn.004090b0
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