Function at 0x409ee0
Capabilities:
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 0x409f31
mov esi, ecx
movzx eax, byte [ecx]
mov byte [esp + 0xf], 0
test eax, eax
je 0x409f38
cmp al, 0x64
jb 0x409f47
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 + 0x43d528]
mov word [esp + 0xd], ax
mov ecx, 1
mov eax, edx
jmp 0x409f50
mov bl, 1
jmp 0x40a570
lea eax, [esp + 0xe]
mov dword [esp + 0x2c], eax
mov byte [esp + 0xe], 0x30
jmp 0x409f7c
mov ecx, 3
cmp al, 9
ja 0x409f67
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 0x409f7c
movzx eax, word [eax + eax + 0x43d528]
lea ecx, [esp + 0xd]
mov dword [esp + 0x2c], ecx
mov word [esp + 0xd], ax
lea eax, [esi + 0x10]
push eax
call fcn.00406c50
add esp, 4
mov edi, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 0xc0], eax
lea eax, [esp + 0xcb]
push eax
call fcn.00433e80
add esp, 4
mov dword [esp + 0xc4], edi
lea eax, [edi + 0x400]
push eax
call fcn.00408da0
add esp, 4
mov edi, eax
mov dword [esp + 0x30], 0xc7c336c4
mov byte [esp + 0x34], 0xa8
mov dword [esp + 0x35], 0
mov word [esp + 0x39], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x40a040
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx edx, byte [esp + ecx + 0x30]
lea ebx, [eax - 0x620a42c6]
lea ecx, [eax + edx]
add ecx, 0x9df5bd3a
and ebx, edx
add eax, 0x3a
and eax, edx
add eax, ebx
mov edx, eax
xor edx, ecx
not eax
and eax, ecx
add eax, eax
sub eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x6a
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x30], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xb
jb 0x409ff0
lea eax, [esp + 0x30]
mov ecx, esi
lea edx, [esp + 0xcb]
push edx
push eax
push edi
call fcn.00409810
mov dword [esp + 0x30], 0xbb1c1226
mov dword [esp + 0x34], 0
mov word [esp + 0x38], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 9
ja 0x40a0c5
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x30]
lea edx, [eax + 0xc7]
mov ebx, ecx
not ebx
or ebx, edx
and edx, ecx
add edx, ebx
neg edx
add eax, edx
add eax, 0x3db8e9c6
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x8f
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x30], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xa
jb 0x40a080
mov ecx, esi
push dword [esp + 0x2c]
lea eax, [esp + 0x34]
push eax
push edi
call fcn.00409810
mov eax, dword [str.VXGDR__l6]
mov dword [esp + 0x30], 0x43bcbab2
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov word [esp + 0x3c], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0xd
ja 0x40a14c
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x30]
lea ebx, [ecx - 0x675fdef5]
add ecx, 0xb
and ecx, edx
or ebx, edx
sub ebx, ecx
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x10]
add cl, 0xb3
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x30], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0xe
jb 0x40a110
mov ecx, esi
push eax
lea eax, [esp + 0x34]
push eax
push edi
call fcn.00409810
mov dword [esp + 0x30], 0x4fa6aea3
mov dword [esp + 0x34], 0x5a535a4b
mov dword [esp + 0x38], 0x58554a5b
mov byte [esp + 0x3c], 0xe2
mov dword [esp + 0x3d], 0
mov byte [esp + 0x41], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x11
ja 0x40a1e8
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, 0xa93a497d
add eax, 0x7d
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, 0x95
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x30], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x12
jb 0x40a1a0
mov dword [esp + 0x10], 0x63f68281
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov word [esp + 0x1c], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0xd
ja 0x40a25f
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 - 0x334820d0]
and edx, ecx
add eax, ecx
add eax, 0xccb7df30
add edx, edx
sub eax, edx
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, 0xe
jb 0x40a220
lea edx, [esp + 0x10]
mov ecx, esi
lea eax, [esp + 0x30]
push eax
push edx
push edi
call fcn.00409810
mov dword [esp + 0x30], 0x5c6462a0
mov byte [esp + 0x34], 0xfa
mov dword [esp + 0x35], 0
mov word [esp + 0x39], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x40a2dc
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x30]
lea edx, [eax - 1]
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add eax, 0x8c18cff
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 7
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x30], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xb
jb 0x40a2a0
mov ecx, esi
push dword [esp + 0xc4]
push dword [esp + 0xc4]
lea eax, [esp + 0x38]
push eax
push edi
call fcn.00409ab0
mov eax, dword [esi + 0x60]
mov dword [esp + 0x30], 0x3ba93973
mov dword [esp + 0x34], 0x3fa83d94
mov dword [esp + 0x38], 0x238e2199
mov dword [esp + 0x3c], 0x274b25b6
mov dword [esp + 0x40], 0x2bb32992
mov dword [esp + 0x44], 0x2f8b2dba
mov dword [esp + 0x48], 0x13701174
mov dword [esp + 0x4c], 0x178315bd
mov dword [esp + 0x50], 0x1b8c19ba
mov dword [esp + 0x54], 0x1f8c1db1
mov dword [esp + 0x58], 0x39201bd
mov dword [esp + 0x5c], 0x7550596
mov dword [esp + 0x60], 0xb9909a0
mov dword [esp + 0x64], 0xfa30d98
mov dword [esp + 0x68], 0x73d47161
mov dword [esp + 0x6c], 0x77e075d1
mov dword [esp + 0x70], 0x7b2579d5
mov dword [esp + 0x74], 0x7fde7d1a
mov dword [esp + 0x78], 0x63f761ef
mov dword [esp + 0x7c], 0x67c065cc
mov dword [esp + 0x80], 0x6bfa69c5
mov dword [esp + 0x84], 0x6f336df1
mov dword [esp + 0x88], 0x53f751cc
mov dword [esp + 0x8c], 0x5703550a
mov dword [esp + 0x90], 0x5bff59f2
mov dword [esp + 0x94], 0x5ff75d0d
mov dword [esp + 0x98], 0x43e441ce
mov dword [esp + 0x9c], 0x47e145d3
mov dword [esp + 0xa0], 0x4bef49ed
mov dword [esp + 0xa4], 0x4fde4dd8
mov dword [esp + 0xa8], 0xb3e3b1e9
mov dword [esp + 0xac], 0xb7beb5bd
mov word [esp + 0xb0], 0xb9b6
mov dword [esp + 0xb6], 0
mov dword [esp + 0xb2], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0x89
ja 0x40a4a4
nop
nop
nop
nop
nop
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 + 0x87]
and ebx, edx
add ecx, edx
add ebx, ebx
sub ecx, ebx
add ecx, 0x64cd3187
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
add cl, 0x4f
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x30], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0x8a
jb 0x40a460
mov dword [esp + 0x10], 0x3b9b3967
mov dword [esp + 0x14], 0x3f973daa
mov word [esp + 0x18], 0x213e
mov dword [esp + 0x1a], 0
mov dword [esp + 0x1e], 0
mov word [esp + 0x22], 0
mov dword [esp + 8], 0
mov ecx, dword [esp + 8]
cmp ecx, 0x13
ja 0x40a53b
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]
lea ebx, [ecx + 0x87]
add ecx, edx
and ebx, edx
add ebx, ebx
sub ecx, ebx
add ecx, 0x326e3b87
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
mov edx, ecx
xor edx, 0x4e
and ecx, 0x4e
lea ecx, [edx + ecx*2]
inc cl
mov edx, dword [esp + 8]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 8]
mov ecx, dword [esp + 8]
cmp ecx, 0x14
jb 0x40a4f0
push 0x493e0
push eax
push edi
push 0
push 0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0040d330
add esp, 0x1c
mov ebx, eax
push edi
call fcn.00408db0
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