Function at 0x40e260
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xa0
cmp dword [ecx + 0x20], 0
je 0x40e657
mov esi, ecx
movzx eax, byte [ecx]
lea ecx, [esp + 0x9c]
push 0xa
push 4
push ecx
push eax
call fcn.0040e670
add esp, 0x10
mov ebx, eax
lea eax, [esi + 0x10]
push eax
call fcn.0040add0
add esp, 4
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
lea eax, [ecx + 0x400]
push eax
call fcn.0040cee0
add esp, 4
mov edi, eax
mov dword [esp + 0x18], 0xdbdf92a0
mov byte [esp + 0x1c], 0x74
mov dword [esp + 0x1d], 0
mov ebp, 0x3e
mov ecx, 0x7932f7c1
nop
nop
nop
movzx edx, byte [esp + ebp - 0x26]
mov eax, ebp
xor eax, ecx
and eax, edx
xor eax, ecx
mov edx, eax
not edx
and edx, 0x49
add edx, edx
add eax, edx
sub edx, eax
add dl, 0xc9
mov byte [esp + ebp - 0x26], dl
inc ebp
dec ecx
cmp ebp, 0x47
jne 0x40e2e0
lea eax, [esp + 0x18]
mov ecx, esi
push 0x4507b8
push eax
push edi
call fcn.0040dc80
mov dword [esp + 0x18], 0x37cac0c8
mov word [esp + 0x1c], 0
xor eax, eax
mov cl, 0x49
nop
nop
nop
movzx edx, byte [esp + eax + 0x18]
xor dl, cl
xor dl, 0x3f
add dl, 0xb2
mov byte [esp + eax + 0x18], dl
inc eax
dec cl
cmp eax, 6
jne 0x40e330
mov ecx, esi
push ebx
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.0040dc80
mov eax, dword [str.MeHdy4__pl10vs1]
mov dword [esp + 0x18], 0x9ffaf0f4
mov ecx, 2
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx + 0x16]
lea ebx, [edx + edx]
not ebx
add ebx, edx
and ebx, 0xc997ad9f
and edx, 0x60
or edx, ebx
mov ebx, ecx
xor ebx, 0x5896bf87
mov ebp, edx
and ebp, ebx
add ebx, edx
add ebp, ebp
sub ebx, ebp
add bl, 0x7e
mov byte [esp + ecx + 0x16], bl
inc ecx
cmp ecx, 6
jne 0x40e370
mov ecx, esi
push eax
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.0040dc80
mov dword [esp + 0x18], 0xc7bcc4b3
mov dword [esp + 0x1c], 0xb4c3b8cb
mov dword [esp + 0x20], 0x3e3d384b
mov byte [esp + 0x24], 0xdc
mov dword [esp + 0x25], 0
mov word [esp + 0x29], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x78
xor cl, byte [esp + eax + 0x18]
add cl, 0xa8
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x13
jne 0x40e3f0
mov dword [esp], 0xb11aeaef
mov dword [esp + 4], 0
mov eax, 0x2fec5a1d
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x2fec5a1d]
xor ecx, eax
mov edx, ecx
and edx, 1
or ecx, 1
add ecx, edx
add cl, 0x6e
mov byte [esp + eax - 0x2fec5a1d], cl
inc eax
cmp eax, 0x2fec5a25
jne 0x40e420
mov ebp, esp
mov ecx, esi
lea eax, [esp + 0x18]
push eax
push ebp
push edi
call fcn.0040dc80
mov dword [esp + 0x18], 0x6266649e
mov byte [esp + 0x1c], 0xf8
mov dword [esp + 0x1d], 0
xor eax, eax
nop
nop
nop
mov ecx, eax
add cl, 0x7f
xor cl, byte [esp + eax + 0x18]
add cl, 0x85
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 9
jne 0x40e470
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push edi
call fcn.0040df00
mov eax, dword [esi + 0x60]
mov dword [esp + 0x18], 0x33a531f3
mov dword [esp + 0x1c], 0x2fa22dba
mov dword [esp + 0x20], 0x2bbc29b5
mov dword [esp + 0x24], 0x27f325a8
mov dword [esp + 0x28], 0x23ab218c
mov dword [esp + 0x2c], 0x1f831d8c
mov dword [esp + 0x30], 0x1bfa19d2
mov dword [esp + 0x34], 0x179b1581
mov dword [esp + 0x38], 0x139e1184
mov dword [esp + 0x3c], 0xf9e0d95
mov dword [esp + 0x40], 0xb9809a9
mov dword [esp + 0x44], 0x7d10588
mov dword [esp + 0x48], 0x395019e
mov dword [esp + 0x4c], 0xff6bfd6e
mov dword [esp + 0x50], 0xfb66f92d
mov dword [esp + 0x54], 0xf77af555
mov dword [esp + 0x58], 0xf339f151
mov dword [esp + 0x5c], 0xef4ced0c
mov dword [esp + 0x60], 0xeb67e97f
mov dword [esp + 0x64], 0xe77ae572
mov dword [esp + 0x68], 0xe370e141
mov dword [esp + 0x6c], 0xdf1bdd55
mov dword [esp + 0x70], 0xdb47d97a
mov dword [esp + 0x74], 0xd71bd51c
mov dword [esp + 0x78], 0xd34fd14c
mov dword [esp + 0x7c], 0xcf57cd01
mov dword [esp + 0x80], 0xcb56c958
mov dword [esp + 0x84], 0xc765c553
mov dword [esp + 0x88], 0xc35fc159
mov dword [esp + 0x8c], 0xbf2cbd2e
mov dword [esp + 0x90], 0xbb6bb925
mov dword [esp + 0x94], 0xb74cb541
mov dword [esp + 0x98], 0xb1b0
mov ecx, 0xbd2193cc
movzx ebx, byte [esp + ecx + 0x42de6c4c]
mov edx, ebx
and edx, ecx
add dl, dl
sub bl, dl
movzx edx, bl
add edx, ecx
add dl, 4
mov byte [esp + ecx + 0x42de6c4c], dl
inc ecx
cmp ecx, 0xbd219450
jne 0x40e5c0
mov dword [esp], 0x2343217f
mov dword [esp + 4], 0x27bf25b4
mov dword [esp + 8], 0x5958
mov byte [esp + 0xc], 0
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ecx
add dl, 0x38
xor dl, byte [esp + ecx]
add dl, 0xe8
mov byte [esp + ecx], dl
inc ecx
cmp ecx, 0xd
jne 0x40e610
push 0x493e0
push eax
push edi
push 0
push 0
lea eax, [esp + 0x2c]
push eax
push ebp
call fcn.00410790
add esp, 0x1c
mov ebx, eax
push edi
call fcn.0040cef0
add esp, 4
mov eax, dword [esi + 0x60]
add dword [esi + 4], eax
mov dword [esi + 0x60], 0
jmp 0x40e659
mov bl, 1
mov eax, ebx
add esp, 0xa0
pop esi
pop edi
pop ebx
pop ebp
ret