Function at 0x40dd10
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 0x40e1d9
mov esi, ecx
movzx eax, byte [ecx]
lea ecx, [esp + 0xa0]
push 0xa
push 4
push ecx
push eax
call fcn.0040e1f0
add esp, 0x10
mov ebx, eax
lea eax, [esi + 0x10]
push eax
call fcn.0040a800
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.0040c8b0
add esp, 4
mov edi, eax
mov dword [esp + 0x14], 0xdbdf12e0
mov byte [esp + 0x18], 0xb4
mov dword [esp + 0x19], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 8
ja 0x40ddcb
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 0x14]
push dword [esp + 4]
push eax
call fcn.0040e760
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x14], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 9
jb 0x40dda0
lea eax, [esp + 0x14]
mov ecx, esi
push 0x454d14
push eax
push edi
call fcn.0040d6e0
mov dword [esp + 0x14], 0x219a9c94
mov byte [esp + 0x18], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 4
ja 0x40de2b
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 0x14]
push dword [esp + 4]
push eax
call fcn.0040e7d0
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x14], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x40de00
mov ecx, esi
push ebx
lea eax, [esp + 0x18]
push eax
push edi
call fcn.0040d6e0
mov ebx, dword [str.hRjzG3__AEX]
mov dword [esp + 4], 0x374a404c
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
cmp eax, 3
ja 0x40de8b
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x14]
movzx eax, byte [esp + eax + 4]
push dword [esp + 0x14]
push eax
call fcn.0040e860
add esp, 8
mov ecx, dword [esp + 0x14]
mov byte [esp + ecx + 4], al
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, 4
jb 0x40de60
lea eax, [esp + 4]
mov ecx, esi
push ebx
push eax
push edi
call fcn.0040d6e0
mov dword [esp + 0x14], 0x3f043c03
mov dword [esp + 0x18], 0xc33083b
mov dword [esp + 0x1c], 0x3635380b
mov byte [esp + 0x20], 0x84
mov word [esp + 0x21], 0
mov byte [esp + 0x23], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xf
ja 0x40df0b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 0x14]
push dword [esp + 4]
push eax
call fcn.0040e960
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x14], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x10
jb 0x40dee0
mov dword [esp + 4], 0x691e0e03
mov word [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
lea ebx, [esp + 0x14]
ja 0x40df56
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.0040e8e0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x40df30
mov ecx, esi
push ebx
lea eax, [esp + 8]
push eax
push edi
call fcn.0040d6e0
mov dword [esp + 0x14], 0x323e3c36
mov byte [esp + 0x18], 0x88
mov dword [esp + 0x19], 0
mov word [esp + 0x1d], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x40dfcb
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 0x14]
push dword [esp + 4]
push eax
call fcn.0040e9e0
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x14], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xb
jb 0x40dfa0
mov ecx, esi
push ebp
push dword [esp + 0xa0]
push ebx
push edi
call fcn.0040d940
mov ebp, dword [esi + 0x60]
mov dword [esp + 0x14], 0x9fed99df
mov dword [esp + 0x18], 0xa3d69dee
mov dword [esp + 0x1c], 0xa7d4a1c5
mov dword [esp + 0x20], 0xab87a5d0
mov dword [esp + 0x24], 0xafd7a9fc
mov dword [esp + 0x28], 0xb3d7addc
mov dword [esp + 0x2c], 0xb796b18e
mov dword [esp + 0x30], 0xbbcfb5d9
mov dword [esp + 0x34], 0xbfcab9d4
mov dword [esp + 0x38], 0xc3b2bdd5
mov dword [esp + 0x3c], 0xc7b0c1a1
mov dword [esp + 0x40], 0xcbf9c5b0
mov dword [esp + 0x44], 0xcfbdc9a2
mov dword [esp + 0x48], 0xd3bfcdba
mov dword [esp + 0x4c], 0xd7b2d1fd
mov dword [esp + 0x50], 0xdbaed5b5
mov dword [esp + 0x54], 0xdfe1d9b9
mov dword [esp + 0x58], 0xe384ddfc
mov dword [esp + 0x5c], 0xe793e193
mov dword [esp + 0x60], 0xeb8ee596
mov dword [esp + 0x64], 0xef98e989
mov dword [esp + 0x68], 0xf3cfed95
mov dword [esp + 0x6c], 0xf793f196
mov dword [esp + 0x70], 0xfbcff5cc
mov dword [esp + 0x74], 0xff9bf99c
mov dword [esp + 0x78], 0x36bfdc9
mov dword [esp + 0x7c], 0x7620170
mov dword [esp + 0x80], 0xb6d0577
mov dword [esp + 0x84], 0xf6b0961
mov dword [esp + 0x88], 0x13640d7a
mov dword [esp + 0x8c], 0x17271175
mov dword [esp + 0x90], 0x1b141519
mov word [esp + 0x94], 0x1918
mov byte [esp + 0x98], 0
mov word [esp + 0x96], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x84
ja 0x40e14d
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 0x14]
push dword [esp + 4]
push eax
call fcn.0040eaf0
add esp, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x14], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x85
jb 0x40e120
mov dword [esp + 4], 0x73d37187
mov dword [esp + 8], 0x7fd77dcc
mov dword [esp + 0xc], 0x7978
mov byte [esp + 0x10], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xc
ja 0x40e1a6
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.0040ea70
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xd
jb 0x40e180
push 0x493e0
push ebp
push edi
push 0
push 0
push ebx
lea eax, [esp + 0x1c]
push eax
call fcn.00410c20
add esp, 0x1c
mov ebx, eax
push edi
call fcn.0040c8c0
add esp, 4
mov eax, dword [esi + 0x60]
add dword [esi + 4], eax
mov dword [esi + 0x60], 0
jmp 0x40e1db
mov bl, 1
mov eax, ebx
add esp, 0xa4
pop esi
pop edi
pop ebx
pop ebp
ret