Function at 0x409ed0
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, 0xfffffff0
sub esp, 0x100
cmp dword [ecx + 0x20], 0
je 0x40a599
mov esi, ecx
movzx eax, byte [ecx]
mov byte [esp + 0xf], 0
test eax, eax
je 0x409f25
cmp al, 0x64
jb 0x409f34
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 + 0x436804]
mov word [esp + 0xd], ax
mov ecx, 1
mov eax, edx
jmp 0x409f3d
lea eax, [esp + 0xe]
mov dword [esp + 0x3c], eax
mov byte [esp + 0xe], 0x30
jmp 0x409f69
mov ecx, 3
cmp al, 9
ja 0x409f54
movzx eax, byte [eax + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
lea edx, [esp + ecx]
add edx, 0xb
mov dword [esp + 0x3c], edx
mov byte [esp + ecx + 0xb], al
jmp 0x409f69
movzx eax, word [eax + eax + 0x436804]
lea ecx, [esp + 0xd]
mov dword [esp + 0x3c], ecx
mov word [esp + 0xd], ax
lea eax, [esi + 0x10]
push eax
call fcn.00406b80
add esp, 4
mov edi, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 0xd0], eax
lea ebx, [esp + 0xdb]
push ebx
call fcn.0042d820
add esp, 4
mov dword [esp + 0xd4], edi
lea eax, [edi + 0x800]
push eax
call fcn.0042f310
add esp, 4
mov edi, eax
mov dword [esp + 0x40], 0xe7e3d6e0
mov byte [esp + 0x44], 0x54
mov dword [esp + 0x45], 0
mov dword [esp + 0x49], 0
mov dword [esp + 0x4d], 0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0x10
ja 0x40a028
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
movzx edx, byte [esp + eax + 0x40]
lea eax, [ecx + edx]
add eax, 0x98814f4
add ecx, 0x98814f4
and ecx, edx
add ecx, ecx
sub eax, ecx
add al, 0x54
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x40], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0x11
jb 0x409ff0
lea eax, [esp + 0x40]
mov ecx, esi
push ebx
mov ebx, eax
push eax
push edi
call fcn.004096c0
mov dword [esp + 0x5b], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0x3b9c9286
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0x1e
ja 0x40a0c8
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
movzx edx, byte [esp + eax + 0x40]
lea eax, [ecx + edx]
add eax, 0xd8deaed7
add ecx, 0xd8deaed7
and ecx, edx
add ecx, ecx
sub eax, ecx
add al, 0x1f
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x40], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0x1f
jb 0x40a090
mov ecx, esi
push dword [esp + 0x3c]
push ebx
push edi
call fcn.004096c0
mov eax, dword [str.Z05cIW__messi]
mov byte [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0x6308f2f2
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x10]
cmp ecx, 0x14
ja 0x40a15a
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
movzx ebx, byte [esp + ecx + 0x40]
lea ecx, [edx + ebx]
add ecx, 0xe9be9b71
add edx, 0xe9be9b71
and edx, ebx
add edx, edx
sub ecx, edx
add cl, 0xe9
mov edx, dword [esp + 0x10]
mov byte [esp + edx + 0x40], cl
inc dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
cmp ecx, 0x15
jb 0x40a120
mov ecx, esi
push eax
lea ebx, [esp + 0x44]
push ebx
push edi
call fcn.004096c0
mov dword [esp + 0x40], 0xdfc6ded3
mov dword [esp + 0x44], 0xcadbc2db
mov dword [esp + 0x48], 0xd4c9d2cb
mov byte [esp + 0x4c], 0x72
mov dword [esp + 0x4d], 0
mov dword [esp + 0x51], 0
mov dword [esp + 0x55], 0
mov dword [esp + 0x59], 0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0x1c
ja 0x40a1ef
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [esp + ecx + 0x40]
lea edx, [eax + 0x4f]
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add al, 0x26
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x40], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0x1d
jb 0x40a1c0
mov byte [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0xdba6bab9
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x18
ja 0x40a265
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
add al, 0x5c
xor al, byte [esp + ecx + 0x10]
add al, 0x7c
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x19
jb 0x40a240
lea eax, [esp + 0x10]
mov ecx, esi
push ebx
push eax
push edi
call fcn.004096c0
mov dword [esp + 0x44], 0
mov byte [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x40], 0x969e8486
mov byte [esp + 0x44], 0x70
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0x1c
ja 0x40a307
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
movzx ecx, byte [esp + ecx + 0x40]
lea edx, [eax - 0x602e9052]
and edx, ecx
add eax, ecx
add eax, 0x9fd16fae
add edx, edx
sub eax, edx
add al, 0x3e
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x40], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0x1d
jb 0x40a2d0
mov ecx, esi
push dword [esp + 0xd4]
push dword [esp + 0xd4]
push ebx
push edi
call fcn.004099b0
mov eax, dword [esi + 0x60]
mov dword [esp + 0x40], 0xb3c5b5eb
mov dword [esp + 0x44], 0xcf3cb1c0
mov dword [esp + 0x48], 0xcbbecdb5
mov dword [esp + 0x4c], 0xc7fbc946
mov dword [esp + 0x50], 0xc343c5aa
mov dword [esp + 0x54], 0xdfbbc1b2
mov dword [esp + 0x58], 0xdbfcdd98
mov dword [esp + 0x5c], 0xd753d9a9
mov dword [esp + 0x60], 0xd358d5a2
mov dword [esp + 0x64], 0xefa0d1a5
mov dword [esp + 0x68], 0xeb62ed91
mov dword [esp + 0x6c], 0xe7d9e966
mov dword [esp + 0x70], 0xe395e59c
mov dword [esp + 0x74], 0xff93e16c
mov dword [esp + 0x78], 0xfb80fdcd
mov dword [esp + 0x7c], 0xf774f985
mov dword [esp + 0x80], 0xf3b1f589
mov dword [esp + 0x84], 0xf8ef1d2
mov dword [esp + 0x88], 0xb870d7f
mov dword [esp + 0x8c], 0x7740978
mov dword [esp + 0x90], 0x38a0579
mov dword [esp + 0x94], 0x1f430185
mov dword [esp + 0x98], 0x1b671d60
mov dword [esp + 0x9c], 0x17531952
mov dword [esp + 0xa0], 0x136f156a
mov dword [esp + 0xa4], 0x2f671159
mov dword [esp + 0xa8], 0x2b502d5e
mov dword [esp + 0xac], 0x2755295b
mov dword [esp + 0xb0], 0x235f2551
mov dword [esp + 0xb4], 0x3fae21ac
mov dword [esp + 0xb8], 0x3b733d45
mov dword [esp + 0xbc], 0x372e3929
mov word [esp + 0xc0], 0x3536
mov word [esp + 0xce], 0
mov dword [esp + 0xca], 0
mov dword [esp + 0xc6], 0
mov dword [esp + 0xc2], 0
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x10]
cmp ecx, 0x8f
ja 0x40a4dd
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
movzx ebx, byte [esp + ecx + 0x40]
lea ecx, [edx + ebx]
add ecx, 0x331a56b9
add edx, 0x331a56b9
and edx, ebx
add edx, edx
sub ecx, edx
add cl, 0xf1
mov edx, dword [esp + 0x10]
mov byte [esp + edx + 0x40], cl
inc dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
cmp ecx, 0x90
jb 0x40a4a0
mov dword [esp + 0x10], 0x9bfb99af
mov dword [esp + 0x14], 0x97ef95e4
mov word [esp + 0x18], 0x9190
mov dword [esp + 0x1a], 0
mov dword [esp + 0x1e], 0
mov dword [esp + 0x22], 0
mov dword [esp + 0x26], 0
mov byte [esp + 0x2a], 0
mov dword [esp + 8], 0
mov ecx, dword [esp + 8]
cmp ecx, 0x1a
ja 0x40a56c
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 8]
mov edx, dword [esp + 8]
movzx edx, byte [esp + edx + 0x10]
add ecx, 0x3eb57594
xor ecx, edx
mov edx, ecx
or edx, 0xf3
and ecx, 0xf3
add ecx, edx
inc cl
mov edx, dword [esp + 8]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 8]
mov ecx, dword [esp + 8]
cmp ecx, 0x1b
jb 0x40a530
push 0x493e0
push eax
push edi
push 0
push 0
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0040e200
add esp, 0x1c
push edi
call fcn.00408c20
add esp, 4
mov dword [esi + 0x60], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret