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 0x40e1ee
mov esi, ecx
movzx eax, byte [ecx]
lea ecx, [esp + 0x9c]
push 0xa
push 4
push ecx
push eax
call fcn.0040e200
add esp, 0x10
mov ebx, eax
lea eax, [esi + 0x10]
push eax
call fcn.0040a850
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.0040ca00
add esp, 4
mov edi, eax
mov dword [esp + 0x10], 0x95ada294
mov byte [esp + 0x14], 0x38
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.0040e650
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 0x45428c
push eax
push edi
call fcn.0040d760
mov dword [esp + 0x10], 0x9ffaf0e8
mov word [esp + 0x14], 0
mov byte [esp + 0x16], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x40de76
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x10]
push dword [esp]
push eax
call fcn.0040e6b0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x40de50
mov ecx, esi
push ebx
lea eax, [esp + 0x14]
push eax
push edi
call fcn.0040d760
mov ebx, dword [str.YtvEEK__]
mov dword [esp + 0x10], 0x8f2a3034
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.0040e710
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.0040d760
mov dword [esp + 0x10], 0xdde8e091
mov dword [esp + 0x14], 0xe8e5ecd9
mov dword [esp + 0x18], 0xeaebd4e9
mov byte [esp + 0x1c], 0x70
mov dword [esp + 0x1d], 0
mov word [esp + 0x21], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x12
ja 0x40df46
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x10]
push dword [esp]
push eax
call fcn.0040e7f0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x13
jb 0x40df20
mov dword [esp + 0xc], 0x179a8679
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x40df86
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0xc]
push dword [esp]
push eax
call fcn.0040e790
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x40df60
lea eax, [esp + 0xc]
mov ecx, esi
lea edx, [esp + 0x10]
push edx
push eax
push edi
call fcn.0040d760
mov dword [esp + 0x10], 0x4a424042
mov byte [esp + 0x14], 0xf4
mov dword [esp + 0x15], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x40dfe6
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x10]
push dword [esp]
push eax
call fcn.0040e830
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x40dfc0
mov ecx, esi
push ebp
push dword [esp + 0x9c]
lea eax, [esp + 0x18]
push eax
push edi
call fcn.0040d9b0
mov ebx, dword [esi + 0x60]
mov dword [esp + 0x10], 0x61176739
mov dword [esp + 0x14], 0x7dee6316
mov dword [esp + 0x18], 0x79087f03
mov dword [esp + 0x1c], 0x754d7bf4
mov dword [esp + 0x20], 0x71fd7718
mov dword [esp + 0x24], 0x8d0d7300
mov dword [esp + 0x28], 0x89ae8fc6
mov dword [esp + 0x2c], 0x85058bff
mov dword [esp + 0x30], 0x810a87f0
mov dword [esp + 0x34], 0x9df283fb
mov dword [esp + 0x38], 0x99ec9fff
mov dword [esp + 0x3c], 0x95ab9b14
mov dword [esp + 0x40], 0x91e797ea
mov dword [esp + 0x44], 0xade593e2
mov dword [esp + 0x48], 0xa9d2af9b
mov dword [esp + 0x4c], 0xa526abcb
mov dword [esp + 0x50], 0xa1e3a7c7
mov dword [esp + 0x54], 0xbdc0a380
mov dword [esp + 0x58], 0xb931bfcd
mov dword [esp + 0x5c], 0xb5c6bbce
mov dword [esp + 0x60], 0xb1c4b7d7
mov dword [esp + 0x64], 0xcdf5b33b
mov dword [esp + 0x68], 0xc9b1cfae
mov dword [esp + 0x6c], 0xc585cb80
mov dword [esp + 0x70], 0xc1b9c7b8
mov dword [esp + 0x74], 0xddb9c38f
mov dword [esp + 0x78], 0xd9a2dfac
mov dword [esp + 0x7c], 0xd5a7dba9
mov dword [esp + 0x80], 0xd1a9d7af
mov dword [esp + 0x84], 0xeda0d3a2
mov dword [esp + 0x88], 0xe9ddef93
mov dword [esp + 0x8c], 0xe5f0ebff
mov word [esp + 0x90], 0xe7e4
mov byte [esp + 0x94], 0
mov word [esp + 0x92], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x84
ja 0x40e168
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.0040e8e0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x85
jb 0x40e140
mov dword [esp], 0x9750b3d
mov dword [esp + 4], 0x5710778
mov dword [esp + 8], 0x304
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0xb
ja 0x40e1b9
mov eax, dword [esp + 0xc]
movzx eax, byte [esp + eax]
push dword [esp + 0xc]
push eax
call fcn.0040e880
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 0x40e190
mov eax, esp
push 0x493e0
push ebx
push edi
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
push eax
call fcn.00410ec0
add esp, 0x1c
mov ebx, eax
push edi
call fcn.0040ca10
add esp, 4
mov eax, dword [esi + 0x60]
add dword [esi + 4], eax
mov dword [esi + 0x60], 0
jmp 0x40e1f0
mov bl, 1
mov eax, ebx
add esp, 0xa0
pop esi
pop edi
pop ebx
pop ebp
ret