Function at 0x409e50
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 0x409eb7
mov esi, ecx
movzx eax, byte [ecx]
mov byte [esp + 0xf], 0
test eax, eax
je 0x409ebe
cmp al, 0x64
jb 0x409ecd
lea ecx, [eax + eax*4]
lea ecx, [eax + ecx*8]
movzx ecx, cx
shr ecx, 0xc
imul edx, ecx, 0x64
sub al, dl
movzx eax, al
mov edx, eax
and edx, 2
mov edi, eax
or eax, 2
imul eax, edx
xor edx, 2
and edi, 0x7d
imul edi, edx
movzx eax, word [edi + eax + 0x43d528]
mov word [esp + 0xd], ax
mov edx, 1
mov eax, ecx
jmp 0x409ed6
mov bl, 1
jmp 0x40a51e
lea eax, [esp + 0xe]
mov dword [esp + 0x28], eax
mov byte [esp + 0xe], 0x30
jmp 0x409f18
mov edx, 3
cmp al, 9
ja 0x409eed
movzx eax, byte [eax + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
lea ecx, [esp + edx]
add ecx, 0xb
mov dword [esp + 0x28], ecx
mov byte [esp + edx + 0xb], al
jmp 0x409f18
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 + 0x43d528]
lea ecx, [esp + 0xd]
mov dword [esp + 0x28], ecx
mov word [esp + 0xd], ax
lea eax, [esi + 0x10]
push eax
call fcn.00406dc0
add esp, 4
mov edi, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 0xc4], eax
lea ebx, [esp + 0xcb]
push ebx
call fcn.00434010
add esp, 4
mov eax, edi
and eax, 0x800
mov dword [esp + 0x2c], edi
mov ecx, edi
xor ecx, 0x800
lea eax, [ecx + eax*2]
push eax
call fcn.00408d00
add esp, 4
mov edi, eax
mov dword [esp + 0x30], 0x676b7668
mov byte [esp + 0x34], 0xc4
mov dword [esp + 0x35], 0
mov dword [esp + 0x39], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xf
ja 0x409fe0
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, 0x76493de0
add eax, 0x76493de0
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
add al, 0xe0
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x30], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x10
jb 0x409fa0
lea eax, [esp + 0x30]
mov ecx, esi
push ebx
push eax
push edi
call fcn.004096e0
mov dword [esp + 0x30], 0x93fcfae6
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xf
ja 0x40a05b
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x30]
lea edx, [eax + 0x6af61513]
add eax, 0x13
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
add al, 0x7b
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x30], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x10
jb 0x40a020
mov ecx, esi
push dword [esp + 0x28]
lea eax, [esp + 0x34]
push eax
push edi
call fcn.004096e0
mov eax, dword [str.MhMcwl__ANNA]
mov dword [esp + 0x30], 0xf396a4a0
mov dword [esp + 0x34], 0
mov dword [esp + 0x37], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0xa
ja 0x40a0eb
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 + edx]
add ebx, 0x56ab795e
add ecx, 0x56ab795e
and ecx, edx
add ecx, ecx
sub ebx, ecx
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x10]
mov edx, ecx
or edx, 0x6d
and ecx, 0x6d
add ecx, edx
inc cl
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x30], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0xb
jb 0x40a0a0
mov ecx, esi
push eax
lea eax, [esp + 0x34]
push eax
push edi
call fcn.004096e0
mov dword [esp + 0x30], 0x70c040b
mov dword [esp + 0x34], 0x40b0073
mov dword [esp + 0x38], 0xe0d7003
mov byte [esp + 0x3c], 0x8c
mov dword [esp + 0x3d], 0
mov dword [esp + 0x40], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x13
ja 0x40a17d
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 + 0x7e690d44]
add eax, 0x44
or eax, edx
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, 0x14
jb 0x40a140
mov dword [esp + 0x10], 0xab100001
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 0x40a1f0
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + 0x45]
and edx, ecx
mov ebx, 0x7c800bba
sub ebx, eax
or ebx, ecx
not ebx
add ebx, ecx
sub ebx, edx
mov dword [esp + 4], ebx
mov eax, dword [esp + 4]
add al, 0x1d
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0xd
jb 0x40a1b0
lea edx, [esp + 0x10]
mov ecx, esi
lea eax, [esp + 0x30]
push eax
push edx
push edi
call fcn.004096e0
mov dword [esp + 0x30], 0x3c343a38
mov byte [esp + 0x34], 0x42
mov dword [esp + 0x35], 0
mov byte [esp + 0x39], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 9
ja 0x40a27f
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x30]
lea edx, [eax + 0x4b]
and edx, ecx
mov ebx, 0xa7a989b4
sub ebx, eax
or ebx, ecx
not ebx
add ebx, ecx
sub ebx, edx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x10]
add al, 0xf3
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, 0xa
jb 0x40a230
mov ecx, esi
push dword [esp + 0x2c]
push dword [esp + 0xc8]
lea eax, [esp + 0x38]
push eax
push edi
call fcn.004099c0
mov eax, dword [esi + 0x60]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0xb9505c3
mov dword [esp + 0x34], 0xf9c0998
mov dword [esp + 0x38], 0x339e0de5
mov dword [esp + 0x3c], 0x37e331a6
mov dword [esp + 0x40], 0x3bab35c2
mov dword [esp + 0x44], 0x3fd339aa
mov dword [esp + 0x48], 0x231c3de0
mov dword [esp + 0x4c], 0x27bb21b1
mov dword [esp + 0x50], 0x2bb025ca
mov dword [esp + 0x54], 0x2fb829c5
mov dword [esp + 0x58], 0xd3ba2dc9
mov dword [esp + 0x5c], 0xd701d146
mov dword [esp + 0x60], 0xdb45d53c
mov dword [esp + 0x64], 0xdf4bd94c
mov dword [esp + 0x68], 0xc338dd0d
mov dword [esp + 0x6c], 0xc754c125
mov dword [esp + 0x70], 0xcb19c521
mov dword [esp + 0x74], 0xcf2ec9ea
mov dword [esp + 0x78], 0xf357cd5f
mov dword [esp + 0x7c], 0xf714f160
mov dword [esp + 0x80], 0xfb62f511
mov dword [esp + 0x84], 0xff3bf965
mov dword [esp + 0x88], 0xe317fd18
mov dword [esp + 0x8c], 0xe73be13a
mov dword [esp + 0x90], 0xeb0fe502
mov dword [esp + 0x94], 0xef07e931
mov dword [esp + 0x98], 0x9308ed7e
mov dword [esp + 0x9c], 0x97759103
mov dword [esp + 0xa0], 0x9b7f9579
mov dword [esp + 0xa4], 0x9f0e990c
mov dword [esp + 0xa8], 0x834b9d75
mov dword [esp + 0xac], 0x878e81b1
mov word [esp + 0xb0], 0x8586
mov dword [esp + 0xb6], 0
mov dword [esp + 0xb2], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0x89
ja 0x40a453
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 + 0xd5]
and ebx, edx
add ecx, 0x612051d5
mov eax, ecx
xor eax, edx
and ecx, edx
lea eax, [eax + ecx*2]
add ecx, ebx
mov edx, eax
xor edx, ecx
not ecx
and ecx, eax
add ecx, ecx
sub ecx, edx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
add al, 0x2d
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x30], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x8a
jb 0x40a400
mov dword [esp + 0x10], 0xa303ad5f
mov dword [esp + 0x14], 0xa71fa110
mov word [esp + 0x18], 0xa5a4
mov dword [esp + 0x1a], 0
mov dword [esp + 0x1e], 0
mov word [esp + 0x22], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x13
ja 0x40a4e6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 8]
mov eax, dword [esp + 8]
movzx eax, byte [esp + eax + 0x10]
lea edx, [ecx + 0x76698146]
mov ebx, eax
not ebx
or ebx, edx
and edx, eax
add edx, ebx
neg edx
lea eax, [ecx + edx]
add eax, 0x76698145
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0x16
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x14
jb 0x40a4a0
push 0x493e0
push dword [esp + 0x30]
push edi
push 0
push 0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0040dae0
add esp, 0x1c
mov ebx, eax
push edi
call fcn.00408d10
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