Function at 0x40dec0
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 0x40e399
mov esi, ecx
movzx eax, byte [ecx]
lea ecx, [esp + 0xa0]
push 0xa
push 4
push ecx
push eax
call fcn.0040e3b0
add esp, 0x10
mov ebx, eax
lea eax, [esi + 0x10]
push eax
call fcn.0040aba0
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.0040ccf0
add esp, 4
mov edi, eax
mov dword [esp + 0x14], 0x2d2d3e2c
mov byte [esp + 0x18], 0x80
mov dword [esp + 0x19], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 8
ja 0x40df7b
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.0040e820
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 0x40df50
lea eax, [esp + 0x14]
mov ecx, esi
push 0x4589f0
push eax
push edi
call fcn.0040d8b0
mov dword [esp + 0x14], 0x59fee4f4
mov dword [esp + 0x18], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 7
ja 0x40dfdb
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 0x14]
push dword [esp + 4]
push eax
call fcn.0040e8a0
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, 8
jb 0x40dfb0
mov ecx, esi
push ebx
lea eax, [esp + 0x18]
push eax
push edi
call fcn.0040d8b0
mov ebx, dword [str.tLYMe5__7]
mov dword [esp + 0x14], 0x41eaecd0
mov byte [esp + 0x18], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 4
ja 0x40e03b
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 0x14]
push dword [esp + 4]
push eax
call fcn.0040e8f0
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 0x40e010
mov ecx, esi
push ebx
lea eax, [esp + 0x18]
push eax
push edi
call fcn.0040d8b0
mov dword [esp + 0x14], 0x35383001
mov dword [esp + 0x18], 0x83d3429
mov dword [esp + 0x1c], 0x3a3b3c09
mov byte [esp + 0x20], 0x80
mov dword [esp + 0x21], 0
mov word [esp + 0x25], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x12
ja 0x40e0bb
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.0040e9c0
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, 0x13
jb 0x40e090
mov dword [esp + 4], 0x179a8679
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x40e106
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.0040e980
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x40e0e0
lea ebx, [esp + 4]
mov ecx, esi
lea eax, [esp + 0x14]
push eax
push ebx
push edi
call fcn.0040d8b0
mov dword [esp + 0x14], 0xd2dedcd6
mov byte [esp + 0x18], 0x48
mov dword [esp + 0x19], 0
mov word [esp + 0x1d], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x40e17b
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.0040ea20
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 0x40e150
mov ecx, esi
push ebp
push dword [esp + 0xa0]
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.0040db10
mov ebp, dword [esi + 0x60]
mov dword [esp + 0x14], 0x19ab1b51
mov dword [esp + 0x18], 0x65da67aa
mov dword [esp + 0x1c], 0x61d063cf
mov dword [esp + 0x20], 0x6d1d6fdc
mov dword [esp + 0x24], 0x69ed6b30
mov dword [esp + 0x28], 0x75dd77d8
mov dword [esp + 0x2c], 0x71127332
mov dword [esp + 0x30], 0x7dc57fc3
mov dword [esp + 0x34], 0x79c67bc8
mov dword [esp + 0x38], 0x45f647cf
mov dword [esp + 0x3c], 0x41fc43eb
mov dword [esp + 0x40], 0x4d3f4ffc
mov dword [esp + 0x44], 0x49fb4be6
mov dword [esp + 0x48], 0x55e557f6
mov dword [esp + 0x4c], 0x51fe5327
mov dword [esp + 0x50], 0x5de25fff
mov dword [esp + 0x54], 0x591f5bf3
mov dword [esp + 0x58], 0xa508a738
mov dword [esp + 0x5c], 0xa119a315
mov dword [esp + 0x60], 0xad02af12
mov dword [esp + 0x64], 0xa914ab03
mov dword [esp + 0x68], 0xb5f5b72f
mov dword [esp + 0x6c], 0xb119b31a
mov dword [esp + 0x70], 0xbdc5bfc8
mov dword [esp + 0x74], 0xb911bb10
mov dword [esp + 0x78], 0x853187c3
mov dword [esp + 0x7c], 0x812e8334
mov dword [esp + 0x80], 0x8d238f31
mov dword [esp + 0x84], 0x89218b3b
mov dword [esp + 0x88], 0x95289736
mov dword [esp + 0x8c], 0x91ed933f
mov dword [esp + 0x90], 0x9d889f83
mov word [esp + 0x94], 0x9b9c
mov word [esp + 0x9a], 0
mov dword [esp + 0x96], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x87
ja 0x40e30d
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.0040ead0
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, 0x88
jb 0x40e2e0
mov dword [esp + 4], 0x79dd7b55
mov dword [esp + 8], 0x7de17fe8
mov dword [esp + 0xc], 0x737c
mov byte [esp + 0x10], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xc
ja 0x40e366
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 0x40e340
push 0x493e0
push ebp
push edi
push 0
push 0
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.00411680
add esp, 0x1c
mov ebx, eax
push edi
call fcn.0040cd00
add esp, 4
mov eax, dword [esi + 0x60]
add dword [esi + 4], eax
mov dword [esi + 0x60], 0
jmp 0x40e39b
mov bl, 1
mov eax, ebx
add esp, 0xa4
pop esi
pop edi
pop ebx
pop ebp
ret