Function at 0x40dd60
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 0x40e20c
mov esi, ecx
movzx eax, byte [ecx]
lea ecx, [esp + 0x9c]
push 0xa
push 4
push ecx
push eax
call fcn.0040e220
add esp, 0x10
mov ebx, eax
lea eax, [esi + 0x10]
push eax
call fcn.0040a770
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.0040c920
add esp, 4
mov edi, eax
mov dword [esp + 0x10], 0xafab9ea8
mov byte [esp + 0x14], 0x6c
mov dword [esp + 0x15], 0
mov dword [esp + 0x18], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xb
ja 0x40de16
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x10]
push dword [esp]
push eax
call fcn.0040e730
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xc
jb 0x40ddf0
lea eax, [esp + 0x10]
mov ecx, esi
push 0x454e68
push eax
push edi
call fcn.0040d770
mov dword [esp + 0x10], 0x79dee494
mov byte [esp + 0x14], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x40de76
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.0040e7b0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x40de50
mov ecx, esi
push ebx
lea eax, [esp + 0x14]
push eax
push edi
call fcn.0040d770
mov ebx, dword [str.hRjzG3__GAS]
mov dword [esp + 0x10], 0x913a0400
mov word [esp + 0x14], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x40ded6
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.0040e820
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x40deb0
mov ecx, esi
push ebx
lea eax, [esp + 0x14]
push eax
push edi
call fcn.0040d770
mov dword [esp + 0x10], 0x4b444477
mov dword [esp + 0x14], 0x7c4f4057
mov dword [esp + 0x18], 0x7275507f
mov byte [esp + 0x1c], 0xcc
mov dword [esp + 0x1d], 0
mov byte [esp + 0x21], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x11
ja 0x40df46
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x10]
push dword [esp]
push eax
call fcn.0040e910
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x12
jb 0x40df20
mov dword [esp], 0x21aa9a87
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 6
ja 0x40df99
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
movzx eax, byte [esp + eax]
push dword [esp + 0xc]
push eax
call fcn.0040e8a0
add esp, 8
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 7
jb 0x40df70
mov ebx, esp
mov ecx, esi
lea eax, [esp + 0x10]
push eax
push ebx
push edi
call fcn.0040d770
mov dword [esp + 0x10], 0x726e6c76
mov byte [esp + 0x14], 0x98
mov word [esp + 0x15], 0
mov byte [esp + 0x17], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x40e006
nop
nop
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.0040e9a0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x40dfe0
mov ecx, esi
push ebp
push dword [esp + 0x9c]
lea eax, [esp + 0x18]
push eax
push edi
call fcn.0040d9b0
mov ebp, dword [esi + 0x60]
mov dword [esp + 0x10], 0x1f707c9
mov dword [esp + 0x14], 0xdfe03f6
mov dword [esp + 0x18], 0x9f80fe3
mov dword [esp + 0x1c], 0x153d0bf4
mov dword [esp + 0x20], 0x11ed17c8
mov dword [esp + 0x24], 0x1dfd13e0
mov dword [esp + 0x28], 0x193e1f26
mov dword [esp + 0x2c], 0x25e51bef
mov dword [esp + 0x30], 0x21da27d0
mov dword [esp + 0x34], 0x2dd223cb
mov dword [esp + 0x38], 0x29dc2fcf
mov dword [esp + 0x3c], 0x351b2bd4
mov dword [esp + 0x40], 0x31c737da
mov dword [esp + 0x44], 0x3dc533c2
mov dword [esp + 0x48], 0x39d23f0b
mov dword [esp + 0x4c], 0xc5c63bdb
mov dword [esp + 0x50], 0xc103c727
mov dword [esp + 0x54], 0xcd20c3e0
mov dword [esp + 0x58], 0xc931cf3d
mov dword [esp + 0x5c], 0xd526cb3e
mov dword [esp + 0x60], 0xd124d737
mov dword [esp + 0x64], 0xdd15d32b
mov dword [esp + 0x68], 0xd931df3e
mov dword [esp + 0x6c], 0xe5e5dbe0
mov dword [esp + 0x70], 0xe109e708
mov dword [esp + 0x74], 0xed09e3df
mov dword [esp + 0x78], 0xe902ef1c
mov dword [esp + 0x7c], 0xf507eb19
mov dword [esp + 0x80], 0xf119f71f
mov dword [esp + 0x84], 0xfd00f302
mov dword [esp + 0x88], 0xf9cdff13
mov dword [esp + 0x8c], 0x85f0fbef
mov word [esp + 0x90], 0x8784
mov byte [esp + 0x96], 0
mov dword [esp + 0x92], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x86
ja 0x40e188
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.0040eac0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x87
jb 0x40e160
mov dword [esp], 0x77d7095b
mov dword [esp + 4], 0x73db75e4
mov dword [esp + 8], 0x7170
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0xb
ja 0x40e1d9
mov eax, dword [esp + 0xc]
movzx eax, byte [esp + eax]
push dword [esp + 0xc]
push eax
call fcn.0040ea30
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 0x40e1b0
push 0x493e0
push ebp
push edi
push 0
push 0
lea eax, [esp + 0x24]
push eax
push ebx
call fcn.00410920
add esp, 0x1c
mov ebx, eax
push edi
call fcn.0040c930
add esp, 4
mov eax, dword [esi + 0x60]
add dword [esi + 4], eax
mov dword [esi + 0x60], 0
jmp 0x40e20e
mov bl, 1
mov eax, ebx
add esp, 0xa0
pop esi
pop edi
pop ebx
pop ebp
ret