Function at 0x409e30
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, 0xe8
cmp dword [ecx + 0x20], 0
je 0x409e81
mov esi, ecx
movzx eax, byte [ecx]
mov byte [esp + 0xb], 0
test eax, eax
je 0x409e88
cmp al, 0x64
jb 0x409e97
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 + 0x43e528]
mov word [esp + 9], ax
mov ecx, 1
mov eax, edx
jmp 0x409ea0
mov bl, 1
jmp 0x40a494
lea eax, [esp + 0xa]
mov dword [esp + 0xc], eax
mov byte [esp + 0xa], 0x30
jmp 0x409ee2
mov ecx, 3
cmp al, 9
ja 0x409eb7
movzx eax, byte [eax + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
lea edx, [esp + ecx]
add edx, 7
mov dword [esp + 0xc], edx
mov byte [esp + ecx + 7], al
jmp 0x409ee2
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 + 0x43e528]
lea ecx, [esp + 9]
mov dword [esp + 0xc], ecx
mov word [esp + 9], ax
lea eax, [esi + 0x10]
push eax
call fcn.00406c60
add esp, 4
mov edi, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x28], eax
lea ebx, [esp + 0xc3]
push ebx
call fcn.00433cb0
add esp, 4
mov dword [esp + 0x2c], edi
lea eax, [edi + 0x400]
push eax
call fcn.00408cd0
add esp, 4
mov edi, eax
mov dword [esp + 0x30], 0xa7a3b6a4
mov byte [esp + 0x34], 0x48
mov dword [esp + 0x35], 0
mov dword [esp + 0x39], 0
mov dword [esp + 0x3c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xf
ja 0x409f9a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x30]
lea edx, [eax - 0x57c6d076]
and edx, ecx
add eax, ecx
add eax, 0xa8392f8a
add edx, edx
sub eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x3a
mov ecx, dword [esp]
mov byte [esp + ecx + 0x30], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x10
jb 0x409f60
lea eax, [esp + 0x30]
mov ecx, esi
push ebx
mov ebx, eax
push eax
push edi
call fcn.00409710
mov dword [esp + 0x30], 0x13fcfae6
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x40a015
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx edx, byte [esp + ecx + 0x30]
lea ecx, [eax + edx]
add ecx, 0xa80dc0d3
add eax, 0xa80dc0d3
and eax, edx
add eax, eax
mov edx, ecx
not edx
and edx, eax
not eax
and eax, ecx
sub eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x3b
mov ecx, dword [esp]
mov byte [esp + ecx + 0x30], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x409fd0
mov ecx, esi
push dword [esp + 0xc]
push ebx
push edi
call fcn.00409710
mov eax, dword [str.LPnhqo___retrighe]
mov dword [esp + 0x30], 0x33d6c8cc
mov dword [esp + 0x34], 0
mov dword [esp + 0x37], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0xa
ja 0x40a087
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x30]
lea ebx, [ecx + 0x635e9078]
add ecx, 0x78
and ecx, edx
or ebx, edx
sub ebx, ecx
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x10]
add cl, 0xb8
mov edx, dword [esp]
mov byte [esp + edx + 0x30], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0xb
jb 0x40a050
mov ecx, esi
push eax
lea ebx, [esp + 0x34]
push ebx
push edi
call fcn.00409710
mov dword [esp + 0x30], 0xdfc6ded3
mov dword [esp + 0x34], 0xcadbc2db
mov dword [esp + 0x38], 0xd4c9d2cb
mov byte [esp + 0x3c], 0x72
mov dword [esp + 0x3d], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x10
ja 0x40a106
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x30]
lea edx, [eax - 0x136d84f1]
add eax, 0xf
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
add al, 0x97
mov ecx, dword [esp]
mov byte [esp + ecx + 0x30], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x11
jb 0x40a0d0
mov dword [esp + 0x10], 0x53ecfcf5
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 8
ja 0x40a17d
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x10]
mov edx, 0x8c
sub edx, eax
add eax, ecx
not ecx
or edx, ecx
lea eax, [eax + edx*2]
add eax, 0x82d2e875
mov dword [esp], eax
mov eax, dword [esp]
mov ecx, eax
xor ecx, 0xda
and eax, 0x5a
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 9
jb 0x40a130
lea eax, [esp + 0x10]
mov ecx, esi
push ebx
push eax
mov dword [esp + 0x14], edi
push edi
call fcn.00409710
mov dword [esp + 0x30], 0x7c447a78
mov byte [esp + 0x34], 0xd2
mov word [esp + 0x35], 0
mov byte [esp + 0x37], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x40a210
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x30]
mov edx, 0x782805dc
sub edx, eax
lea ebx, [eax + 0x23]
and ebx, ecx
or edx, ecx
lea edi, [eax + edx]
add edi, 0x87d7fa24
mov edx, edi
and edx, ebx
xor ebx, edi
add eax, ecx
lea ecx, [ebx + edx*2]
sub eax, ecx
add eax, 0x87d7fa23
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0xb
mov ecx, dword [esp]
mov byte [esp + ecx + 0x30], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x40a1c0
mov ecx, esi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
lea ebx, [esp + 0x38]
push ebx
push dword [esp + 0x18]
call fcn.004099d0
mov eax, dword [esi + 0x60]
mov dword [esp + 0x30], 0x43d14d0b
mov dword [esp + 0x34], 0x47d241d2
mov dword [esp + 0x38], 0xbb2845e1
mov dword [esp + 0x3c], 0xbfe3b92c
mov dword [esp + 0x40], 0xb33bbd08
mov dword [esp + 0x44], 0xb713b120
mov dword [esp + 0x48], 0xabcab5fa
mov dword [esp + 0x4c], 0xaf3ba935
mov dword [esp + 0x50], 0xa336ad30
mov dword [esp + 0x54], 0xa736a139
mov dword [esp + 0x58], 0x9b0ca505
mov dword [esp + 0x5c], 0x9fcd990c
mov dword [esp + 0x60], 0x93019d06
mov dword [esp + 0x64], 0x970b9106
mov dword [esp + 0x68], 0x8b2e95c9
mov dword [esp + 0x6c], 0x8f1a8929
mov dword [esp + 0x70], 0x83cd8d2d
mov dword [esp + 0x74], 0x872081e0
mov dword [esp + 0x78], 0xfb6f8517
mov dword [esp + 0x7c], 0xff5af96a
mov dword [esp + 0x80], 0xf364fd5d
mov dword [esp + 0x84], 0xf7bbf179
mov dword [esp + 0x88], 0xeb4ff552
mov dword [esp + 0x8c], 0xefbbe9a0
mov dword [esp + 0x90], 0xe347ed48
mov dword [esp + 0x94], 0xe77fe1b5
mov dword [esp + 0x98], 0xdb7ee574
mov dword [esp + 0x9c], 0xdf79d94b
mov dword [esp + 0xa0], 0xd377dd45
mov dword [esp + 0xa4], 0xd740d146
mov dword [esp + 0xa8], 0xcb9bd571
mov dword [esp + 0xac], 0xcfb0c9b5
mov word [esp + 0xb0], 0xcdcc
mov dword [esp + 0xb5], 0
mov dword [esp + 0xb2], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x88
ja 0x40a3cc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x30]
lea edi, [ecx + 0x76]
add ecx, edx
and edi, edx
add edi, edi
sub ecx, edi
add ecx, 0xb8d08876
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
add cl, 0xc6
mov edx, dword [esp]
mov byte [esp + edx + 0x30], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x89
jb 0x40a390
mov dword [esp + 0x10], 0xa303ad5f
mov dword [esp + 0x14], 0xa71fa110
mov word [esp + 0x18], 0xa5a4
mov dword [esp + 0x1a], 0
mov dword [esp + 0x1d], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0x10
ja 0x40a45f
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 + 0x10]
mov edi, ecx
and edi, 0xd8e5f646
xor ecx, 0xd8e5f646
lea ecx, [ecx + edi*2]
lea edi, [ecx + edx]
and ecx, edx
add ecx, ecx
mov edx, ecx
xor edx, edi
not ecx
and ecx, edi
add ecx, ecx
sub ecx, edx
mov dword [esp], ecx
mov ecx, dword [esp]
add cl, 0x16
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0x11
jb 0x40a410
push 0x493e0
push eax
mov edi, dword [esp + 0x14]
push edi
push 0
push 0
push ebx
lea eax, [esp + 0x28]
push eax
call fcn.0040da30
add esp, 0x1c
mov ebx, eax
push edi
call fcn.00408ce0
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