Function at 0x409e90
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 0x409ee1
mov esi, ecx
movzx eax, byte [ecx]
mov byte [esp + 0xf], 0
test eax, eax
je 0x409ee8
cmp al, 0x64
jb 0x409ef7
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 + 0x440528]
mov word [esp + 0xd], ax
mov ecx, 1
mov eax, edx
jmp 0x409f00
mov bl, 1
jmp 0x40a541
lea eax, [esp + 0xe]
mov dword [esp + 0x2c], eax
mov byte [esp + 0xe], 0x30
jmp 0x409f42
mov ecx, 3
cmp al, 9
ja 0x409f17
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 0x409f42
mov ecx, eax
and ecx, 0x7d
mov edx, eax
and edx, 2
or eax, 2
imul eax, edx
xor edx, 2
imul edx, ecx
movzx eax, word [edx + eax + 0x440528]
lea ecx, [esp + 0xd]
mov dword [esp + 0x2c], ecx
mov word [esp + 0xd], ax
lea eax, [esi + 0x10]
push eax
call fcn.00406b10
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.00434b40
add esp, 4
mov dword [esp + 0xc4], edi
lea eax, [edi + 0x400]
push eax
call fcn.00408c40
add esp, 4
mov edi, eax
mov dword [esp + 0x30], 0xefeb1cee
mov byte [esp + 0x34], 0x8a
mov dword [esp + 0x35], 0
mov dword [esp + 0x39], 0
mov byte [esp + 0x3d], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xd
ja 0x40a00e
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 + 0x95]
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add eax, 0x92795b95
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0xed
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x30], al
mov eax, dword [esp + 4]
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
cmp eax, 0xe
jb 0x409fc0
lea eax, [esp + 0x30]
mov ecx, esi
push ebx
push eax
push edi
call fcn.00409770
mov dword [esp + 0x30], 0x33888286
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 0x40a08f
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 - 0x222f7127]
add eax, 0xd9
xor eax, edx
xor edx, ecx
and eax, ecx
sub edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
add al, 0x11
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x30], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xd
jb 0x40a050
mov ecx, esi
push dword [esp + 0x2c]
lea eax, [esp + 0x34]
push eax
push edi
call fcn.00409770
mov eax, dword [str.BVnUqo___daeftt]
mov dword [esp + 0x30], 0x43e6d4d0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 8
ja 0x40a11c
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx ebx, byte [esp + edx + 0x30]
lea edx, [ecx + ebx]
add edx, 0x579f4876
add ecx, 0x579f4876
and ecx, ebx
add ecx, ecx
mov ebx, edx
not ebx
and ebx, ecx
not ecx
and ecx, edx
sub ecx, ebx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
add cl, 0xc6
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x30], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 9
jb 0x40a0d0
mov ecx, esi
push eax
lea eax, [esp + 0x34]
push eax
push edi
call fcn.00409770
mov dword [esp + 0x30], 0xcfc6ce3b
mov dword [esp + 0x34], 0x42cbc2d3
mov dword [esp + 0x38], 0xb0b5b243
mov byte [esp + 0x3c], 0xca
mov dword [esp + 0x3d], 0
mov dword [esp + 0x41], 0
mov word [esp + 0x45], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x16
ja 0x40a1c0
nop
mov edx, dword [esp + 4]
mov eax, dword [esp + 4]
movzx ebx, byte [esp + eax + 0x30]
lea eax, [edx + 0x10fe9839]
lea ecx, [edx + ebx]
add ecx, 0x10fe9839
add edx, 0x39
and edx, ebx
and eax, ebx
add eax, edx
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, 0x71
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x30], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x17
jb 0x40a170
mov dword [esp + 0x10], 0xf3662a2d
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0xb
ja 0x40a22f
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 - 0x74c667e2]
and edx, ecx
add eax, ecx
add eax, 0x8b39981e
add edx, edx
sub eax, edx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0x2e
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0xc
jb 0x40a1f0
lea edx, [esp + 0x10]
mov ecx, esi
lea eax, [esp + 0x30]
push eax
push edx
push edi
call fcn.00409770
mov dword [esp + 0x30], 0x60e0006
mov byte [esp + 0x34], 0x94
mov dword [esp + 0x35], 0
mov word [esp + 0x39], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x40a2ab
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x30]
lea edx, [eax + 0x7252be44]
add eax, 0x44
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
add al, 0x24
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x30], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xb
jb 0x40a270
mov ecx, esi
push dword [esp + 0xc4]
push dword [esp + 0xc4]
lea eax, [esp + 0x38]
push eax
push edi
call fcn.00409a30
mov eax, dword [esi + 0x60]
mov dword [esp + 0x30], 0x8b1585c3
mov dword [esp + 0x34], 0x8f1c8918
mov dword [esp + 0x38], 0xb31e8de5
mov dword [esp + 0x3c], 0xb7e3b126
mov dword [esp + 0x40], 0xbb2bb5c2
mov dword [esp + 0x44], 0xbfd3b92a
mov dword [esp + 0x48], 0xa39cbde0
mov dword [esp + 0x4c], 0xa73ba131
mov dword [esp + 0x50], 0xab30a5ca
mov dword [esp + 0x54], 0xaf38a9c5
mov dword [esp + 0x58], 0xd33aadc9
mov dword [esp + 0x5c], 0xd781d146
mov dword [esp + 0x60], 0xdb45d5bc
mov dword [esp + 0x64], 0xdf4bd94c
mov dword [esp + 0x68], 0xc3b8dd8d
mov dword [esp + 0x6c], 0xc754c1a5
mov dword [esp + 0x70], 0xcb99c5a1
mov dword [esp + 0x74], 0xcfaec9ea
mov dword [esp + 0x78], 0xf357cd5f
mov dword [esp + 0x7c], 0xf794f160
mov dword [esp + 0x80], 0xfb62f591
mov dword [esp + 0x84], 0xffbbf965
mov dword [esp + 0x88], 0xe397fd98
mov dword [esp + 0x8c], 0xe7bbe1ba
mov dword [esp + 0x90], 0xeb8fe582
mov dword [esp + 0x94], 0xef87e9b1
mov dword [esp + 0x98], 0x1388ed7e
mov dword [esp + 0x9c], 0x17751183
mov dword [esp + 0xa0], 0x1b7f1579
mov dword [esp + 0xa4], 0x1f8e198c
mov dword [esp + 0xa8], 0x34b1d75
mov dword [esp + 0xac], 0x70e0131
mov word [esp + 0xb0], 0x506
mov dword [esp + 0xb9], 0
mov dword [esp + 0xb6], 0
mov dword [esp + 0xb2], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0x8c
ja 0x40a474
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x30]
lea ebx, [ecx + 0x95]
add ecx, edx
and ebx, edx
add ebx, ebx
sub ecx, ebx
add ecx, 0xfd503c95
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
add cl, 0xed
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x30], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0x8d
jb 0x40a430
mov dword [esp + 0x10], 0xf3538ddf
mov dword [esp + 0x14], 0xf75ff160
mov word [esp + 0x18], 0xf5f4
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 0x40a50c
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 - 0x904ef42]
add ecx, 0xbe
and ecx, edx
or ebx, edx
sub ebx, ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 4]
mov edx, ecx
xor edx, 0xcd
and ecx, 0x4d
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 0x40a4c0
push 0x493e0
push eax
push edi
push 0
push 0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0040dd40
add esp, 0x1c
mov ebx, eax
push edi
call fcn.00408c50
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