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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xa4
cmp dword [ecx + 0x20], 0
je 0x40e450
mov esi, ecx
movzx eax, byte [ecx]
lea ecx, [esp + 0xa0]
push 0xa
push 4
push ecx
push eax
call fcn.0040e460
add esp, 0x10
mov ebx, eax
lea eax, [esi + 0x10]
push eax
call fcn.0040aa70
add esp, 4
mov ebp, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x9c], eax
lea eax, [ebp + 0x400]
push eax
call fcn.0040cbc0
add esp, 4
mov edi, eax
mov dword [esp + 0x14], 0x879b9698
mov byte [esp + 0x18], 0x24
mov dword [esp + 0x19], 0
mov byte [esp + 0x1d], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 9
ja 0x40e076
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x14]
push dword [esp]
push eax
call fcn.0040e9b0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x14], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xa
jb 0x40e050
lea eax, [esp + 0x14]
mov ecx, esi
push 0x454d68
push eax
push edi
call fcn.0040d9d0
mov dword [esp], 0x21babcb4
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
cmp eax, 3
ja 0x40e0c9
mov eax, dword [esp + 0x14]
movzx eax, byte [esp + eax]
push dword [esp + 0x14]
push eax
call fcn.0040ea20
add esp, 8
mov ecx, dword [esp + 0x14]
mov byte [esp + ecx], al
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, 4
jb 0x40e0a0
mov eax, esp
mov ecx, esi
push ebx
push eax
push edi
call fcn.0040d9d0
mov ebx, dword [str.LPnhqo__twlilkqiirjs]
mov dword [esp + 0x14], 0x33ded8c4
mov dword [esp + 0x18], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x40e126
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x14]
push dword [esp]
push eax
call fcn.0040ea90
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x14], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x40e100
mov ecx, esi
push ebx
lea ebx, [esp + 0x18]
push ebx
push edi
call fcn.0040d9d0
mov dword [esp + 0x14], 0xf5f8f081
mov dword [esp + 0x18], 0x88fdf4e9
mov dword [esp + 0x1c], 0xfafbfc89
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x13
ja 0x40e196
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x14]
push dword [esp]
push eax
call fcn.0040eb90
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x14], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x14
jb 0x40e170
mov dword [esp + 0x10], 0xcf5aaea9
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x40e1d6
nop
nop
nop
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, 4
jb 0x40e1b0
lea eax, [esp + 0x10]
mov ecx, esi
push ebx
push eax
push edi
call fcn.0040d9d0
mov dword [esp + 0x14], 0xeee6e8ee
mov byte [esp + 0x18], 0x6c
mov dword [esp + 0x19], 0
mov dword [esp + 0x1c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xb
ja 0x40e236
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x14]
push dword [esp]
push eax
call fcn.0040ec20
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x14], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xc
jb 0x40e210
mov ecx, esi
push ebp
push dword [esp + 0xa0]
push ebx
push edi
call fcn.0040dc10
mov ebx, dword [esi + 0x60]
mov dword [esp + 0x14], 0x33c531f3
mov dword [esp + 0x18], 0x3fc23dca
mov dword [esp + 0x1c], 0x3bcc39d5
mov dword [esp + 0x20], 0xc7f3c538
mov dword [esp + 0x24], 0xc33bc11c
mov dword [esp + 0x28], 0xcf23cd3c
mov dword [esp + 0x2c], 0xcbeac9f2
mov dword [esp + 0x30], 0xd72bd521
mov dword [esp + 0x34], 0xd32ed124
mov dword [esp + 0x38], 0xdf2edd35
mov dword [esp + 0x3c], 0xdb28d939
mov dword [esp + 0x40], 0xe7d1e518
mov dword [esp + 0x44], 0xe315e10e
mov dword [esp + 0x48], 0xef1bed1e
mov dword [esp + 0x4c], 0xeb06e9dd
mov dword [esp + 0x50], 0xf70af515
mov dword [esp + 0x54], 0xf3c9f111
mov dword [esp + 0x58], 0xff1cfddc
mov dword [esp + 0x5c], 0xfb07f90f
mov dword [esp + 0x60], 0x876a8572
mov dword [esp + 0x64], 0x83708161
mov dword [esp + 0x68], 0x8f4b8d75
mov dword [esp + 0x6c], 0x8b67896a
mov dword [esp + 0x70], 0x97ab95ac
mov dword [esp + 0x74], 0x937f917c
mov dword [esp + 0x78], 0x9f779da1
mov dword [esp + 0x7c], 0x9b769968
mov dword [esp + 0x80], 0xa745a553
mov dword [esp + 0x84], 0xa34fa149
mov dword [esp + 0x88], 0xaf5cad5e
mov dword [esp + 0x8c], 0xab9ba945
mov dword [esp + 0x90], 0xb7bcb5a1
mov word [esp + 0x94], 0xb1b0
mov byte [esp + 0x98], 0
mov word [esp + 0x96], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x84
ja 0x40e3b8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x14]
push dword [esp]
push eax
call fcn.0040ed20
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x14], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x85
jb 0x40e390
mov dword [esp], 0x89358b7d
mov dword [esp + 4], 0x85318738
mov dword [esp + 8], 0x8384
mov byte [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0xc
ja 0x40e419
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x10]
movzx eax, byte [esp + eax]
push dword [esp + 0x10]
push eax
call fcn.0040eca0
add esp, 8
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0xd
jb 0x40e3f0
push 0x493e0
push ebx
push edi
push 0
push 0
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00410f10
add esp, 0x1c
mov ebx, eax
push edi
call fcn.0040cbd0
add esp, 4
mov eax, dword [esi + 0x60]
add dword [esi + 4], eax
mov dword [esi + 0x60], 0
jmp 0x40e452
mov bl, 1
mov eax, ebx
add esp, 0xa4
pop esi
pop edi
pop ebx
pop ebp
ret