Function at 0x40e0a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xa0
cmp dword [ecx + 0x20], 0
je 0x40e530
mov esi, ecx
movzx eax, byte [ecx]
lea ecx, [esp + 0x9c]
push 0xa
push 4
push ecx
push eax
call fcn.0040e540
add esp, 0x10
mov ebx, eax
lea eax, [esi + 0x10]
push eax
call fcn.0040aa60
add esp, 4
mov ebp, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x98], eax
lea eax, [ebp + 0x400]
push eax
call fcn.0040cb60
add esp, 4
mov edi, eax
mov dword [esp + 0x10], 0x6f6b7e68
mov byte [esp + 0x14], 0xec
mov dword [esp + 0x15], 0
mov word [esp + 0x19], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xa
ja 0x40e156
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x10]
push dword [esp]
push eax
call fcn.0040e9e0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xb
jb 0x40e130
lea eax, [esp + 0x10]
mov ecx, esi
push 0x4557c0
push eax
push edi
call fcn.0040dab0
mov dword [esp], 0x21babcb4
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 3
ja 0x40e1a9
mov eax, dword [esp + 0x10]
movzx eax, byte [esp + eax]
push dword [esp + 0x10]
push eax
call fcn.0040ea20
add esp, 8
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 4
jb 0x40e180
mov eax, esp
mov ecx, esi
push ebx
push eax
push edi
call fcn.0040dab0
mov ebx, dword [str.tLYMe5__n8]
mov dword [esp + 0x10], 0xb16a6460
mov word [esp + 0x14], 0
mov byte [esp + 0x16], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x40e206
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x10]
push dword [esp]
push eax
call fcn.0040ea70
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x40e1e0
mov ecx, esi
push ebx
lea ebx, [esp + 0x14]
push ebx
push edi
call fcn.0040dab0
mov dword [esp + 0x10], 0x1bec1cef
mov dword [esp + 0x14], 0xf407101f
mov dword [esp + 0x18], 0x20d00f7
mov byte [esp + 0x1c], 0x64
mov dword [esp + 0x1d], 0
mov dword [esp + 0x20], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x13
ja 0x40e276
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x10]
push dword [esp]
push eax
call fcn.0040eb10
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x14
jb 0x40e250
mov dword [esp], 0x138ef2f1
mov byte [esp + 4], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 4
ja 0x40e2c9
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
movzx eax, byte [esp + eax]
push dword [esp + 0xc]
push eax
call fcn.0040eab0
add esp, 8
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 5
jb 0x40e2a0
mov ecx, esi
push ebx
lea eax, [esp + 4]
push eax
push edi
call fcn.0040dab0
mov dword [esp + 0x10], 0x262e2826
mov byte [esp + 0x14], 0x84
mov dword [esp + 0x15], 0
mov byte [esp + 0x19], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 9
ja 0x40e326
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x10]
push dword [esp]
push eax
call fcn.0040eb90
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xa
jb 0x40e300
mov ecx, esi
push ebp
push dword [esp + 0x9c]
push ebx
push edi
call fcn.0040dd00
mov ebx, dword [esi + 0x60]
mov dword [esp + 0x10], 0xb92bbbc1
mov dword [esp + 0x14], 0xbd2abf2a
mov dword [esp + 0x18], 0xb120b327
mov dword [esp + 0x1c], 0xb5e5b724
mov dword [esp + 0x20], 0xa925abc0
mov dword [esp + 0x24], 0xad35af38
mov dword [esp + 0x28], 0xa182a3e2
mov dword [esp + 0x2c], 0xa52da733
mov dword [esp + 0x30], 0xd94edb38
mov dword [esp + 0x34], 0xdd4edf47
mov dword [esp + 0x38], 0xd144d3bb
mov dword [esp + 0x3c], 0xd587d744
mov dword [esp + 0x40], 0xc95bcb4e
mov dword [esp + 0x44], 0xcd5dcf5e
mov dword [esp + 0x48], 0xc1a6c39f
mov dword [esp + 0x4c], 0xc552c7a7
mov dword [esp + 0x50], 0xf9b7fba3
mov dword [esp + 0x54], 0xfd98ffd8
mov dword [esp + 0x58], 0xf179f36d
mov dword [esp + 0x5c], 0xf592f762
mov dword [esp + 0x60], 0xe97ceb93
mov dword [esp + 0x64], 0xedadef67
mov dword [esp + 0x68], 0xe179e38a
mov dword [esp + 0x6c], 0xe5ade7a8
mov dword [esp + 0x70], 0x19811b80
mov dword [esp + 0x74], 0x1d811f53
mov dword [esp + 0x78], 0x1176138c
mov dword [esp + 0x7c], 0x15731781
mov dword [esp + 0x80], 0x9910b8b
mov dword [esp + 0x84], 0xd980f9e
mov dword [esp + 0x88], 0x1550397
mov dword [esp + 0x8c], 0x5380733
mov word [esp + 0x90], 0x3b04
mov byte [esp + 0x94], 0
mov word [esp + 0x92], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x84
ja 0x40e4a8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x10]
push dword [esp]
push eax
call fcn.0040ec30
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x85
jb 0x40e480
mov dword [esp], 0x913d9f4d
mov dword [esp + 4], 0x95099300
mov dword [esp + 8], 0x9794
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0xb
ja 0x40e4f9
mov eax, dword [esp + 0xc]
movzx eax, byte [esp + eax]
push dword [esp + 0xc]
push eax
call fcn.0040ebd0
add esp, 8
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 0xc
jb 0x40e4d0
push 0x493e0
push ebx
push edi
push 0
push 0
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00411070
add esp, 0x1c
mov ebx, eax
push edi
call fcn.0040cb70
add esp, 4
mov eax, dword [esi + 0x60]
add dword [esi + 4], eax
mov dword [esi + 0x60], 0
jmp 0x40e532
mov bl, 1
mov eax, ebx
add esp, 0xa0
pop esi
pop edi
pop ebx
pop ebp
ret