Function at 0x40d920
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 0x40ddc9
mov esi, ecx
movzx eax, byte [ecx]
lea ecx, [esp + 0x9c]
push 0xa
push 4
push ecx
push eax
call fcn.0040dde0
add esp, 0x10
mov ebx, eax
lea eax, [esi + 0x10]
push eax
call fcn.0040a350
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.0040c500
add esp, 4
mov edi, eax
mov dword [esp + 0x14], 0x71b1618
mov byte [esp + 0x18], 0xe4
mov dword [esp + 0x19], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xb
ja 0x40d9db
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 0x14]
push dword [esp + 4]
push eax
call fcn.0040e350
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, 0xc
jb 0x40d9b0
lea eax, [esp + 0x14]
mov ecx, esi
push 0x455fc8
push eax
push edi
call fcn.0040d310
mov dword [esp + 0x14], 0x4fead0d8
mov dword [esp + 0x18], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 7
ja 0x40da3b
nop
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 0x14]
push dword [esp + 4]
push eax
call fcn.0040e3d0
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 0x40da10
mov ecx, esi
push ebx
lea eax, [esp + 0x18]
push eax
push edi
call fcn.0040d310
mov ebx, dword [str.MeHdy4__pl3vrs6]
mov dword [esp + 0x14], 0x1fbab0b4
mov dword [esp + 0x18], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 7
ja 0x40da9b
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 0x14]
push dword [esp + 4]
push eax
call fcn.0040e460
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 0x40da70
mov ecx, esi
push ebx
lea eax, [esp + 0x18]
push eax
push edi
call fcn.0040d310
mov dword [esp + 0x14], 0xab5cac5f
mov dword [esp + 0x18], 0x54a750af
mov dword [esp + 0x1c], 0xa25da057
mov byte [esp + 0x20], 0xc4
mov dword [esp + 0x21], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x10
ja 0x40db0b
nop
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 0x14]
push dword [esp + 4]
push eax
call fcn.0040e550
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, 0x11
jb 0x40dae0
mov dword [esp + 4], 0x31cadadf
mov byte [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x40db56
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.0040e4d0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x40db30
lea ebx, [esp + 4]
mov ecx, esi
lea eax, [esp + 0x14]
push eax
push ebx
push edi
call fcn.0040d310
mov dword [esp + 0x14], 0x92aeac96
mov byte [esp + 0x18], 0x38
mov dword [esp + 0x19], 0
mov word [esp + 0x1d], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x40dbcb
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.0040e5c0
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 0x40dba0
mov ecx, esi
push ebp
push dword [esp + 0x9c]
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.0040d570
mov ebp, dword [esi + 0x60]
mov dword [esp + 0x14], 0xd765c907
mov dword [esp + 0x18], 0xd36ed566
mov dword [esp + 0x1c], 0xdf6cd17d
mov dword [esp + 0x20], 0xdb2fdd60
mov dword [esp + 0x24], 0xa71fd904
mov dword [esp + 0x28], 0xa30fa514
mov dword [esp + 0x2c], 0xaf4ea166
mov dword [esp + 0x30], 0xab17ad19
mov dword [esp + 0x34], 0xb70aa91c
mov dword [esp + 0x38], 0xb302b51d
mov dword [esp + 0x3c], 0xbf00b111
mov dword [esp + 0x40], 0xbb49bd00
mov dword [esp + 0x44], 0x8735b912
mov dword [esp + 0x48], 0x8337853a
mov dword [esp + 0x4c], 0x8f228175
mov dword [esp + 0x50], 0x8b368d2d
mov dword [esp + 0x54], 0x97518929
mov dword [esp + 0x58], 0x933c9574
mov dword [esp + 0x5c], 0x9f239123
mov dword [esp + 0x60], 0x9b369d2e
mov dword [esp + 0x64], 0x67d89939
mov dword [esp + 0x68], 0x63a765dd
mov dword [esp + 0x6c], 0x6fc361ce
mov dword [esp + 0x70], 0x6b976d94
mov dword [esp + 0x74], 0x77db69c4
mov dword [esp + 0x78], 0x73db7589
mov dword [esp + 0x7c], 0x7fd271c0
mov dword [esp + 0x80], 0x7bd57dcf
mov dword [esp + 0x84], 0x47eb79d1
mov dword [esp + 0x88], 0x43fc45fa
mov dword [esp + 0x8c], 0x4fbf41ed
mov dword [esp + 0x90], 0x4b5c4d59
mov dword [esp + 0x94], 0x4948
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x83
ja 0x40dd3d
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax + 0x14]
push dword [esp + 4]
push eax
call fcn.0040e6c0
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, 0x84
jb 0x40dd10
mov dword [esp + 4], 0x11fd1fcd
mov dword [esp + 8], 0x15891380
mov word [esp + 0xc], 0x1714
mov dword [esp + 0xe], 0
mov byte [esp + 0x12], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xe
ja 0x40dd96
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.0040e640
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xf
jb 0x40dd70
push 0x493e0
push ebp
push edi
push 0
push 0
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.004105a0
add esp, 0x1c
mov ebx, eax
push edi
call fcn.0040c510
add esp, 4
mov eax, dword [esi + 0x60]
add dword [esi + 4], eax
mov dword [esi + 0x60], 0
jmp 0x40ddcb
mov bl, 1
mov eax, ebx
add esp, 0xa0
pop esi
pop edi
pop ebx
pop ebp
ret