Function at 0x40d940
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 0x40dddc
mov esi, ecx
movzx eax, byte [ecx]
lea ecx, [esp + 0xa0]
push 0xa
push 4
push ecx
push eax
call fcn.0040ddf0
add esp, 0x10
mov ebx, eax
lea eax, [esi + 0x10]
push eax
call fcn.0040a390
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.0040c4d0
add esp, 4
mov edi, eax
mov dword [esp + 0x14], 0x1b176210
mov byte [esp + 0x18], 0xfc
mov dword [esp + 0x19], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x40d9f6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x14]
push dword [esp]
push eax
call fcn.0040e340
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x14], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x40d9d0
lea eax, [esp + 0x14]
mov ecx, esi
push 0x453a80
push eax
push edi
call fcn.0040d330
mov dword [esp + 0x14], 0x41aaacd4
mov word [esp + 0x18], 0
mov byte [esp + 0x1a], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x40da56
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x14]
push dword [esp]
push eax
call fcn.0040e3a0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x14], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x40da30
mov ecx, esi
push ebx
lea eax, [esp + 0x18]
push eax
push edi
call fcn.0040d330
mov ebx, dword [str.MeHdy4__pl3vrs7]
mov dword [esp], 0xcf6a5054
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
cmp eax, 3
ja 0x40dab9
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x14]
movzx eax, byte [esp + eax]
push dword [esp + 0x14]
push eax
call fcn.0040e420
add esp, 8
mov ecx, dword [esp + 0x14]
mov byte [esp + ecx], al
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, 4
jb 0x40da90
mov eax, esp
mov ecx, esi
push ebx
push eax
push edi
call fcn.0040d330
mov dword [esp + 0x14], 0xadd0a8d9
mov dword [esp + 0x18], 0xd0add4a1
mov dword [esp + 0x1c], 0xa6a7acd1
mov byte [esp + 0x20], 0x48
mov dword [esp + 0x21], 0
mov byte [esp + 0x25], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x11
ja 0x40db26
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x14]
push dword [esp]
push eax
call fcn.0040e520
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x14], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x12
jb 0x40db00
mov dword [esp + 0x10], 0xd17a6a6f
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
lea ebx, [esp + 0x14]
ja 0x40db76
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.0040e4b0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x40db50
lea eax, [esp + 0x10]
mov ecx, esi
push ebx
push eax
push edi
call fcn.0040d330
mov dword [esp + 0x14], 0x4a424042
mov byte [esp + 0x18], 0x34
mov dword [esp + 0x19], 0
mov dword [esp + 0x1c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xb
ja 0x40dbd6
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x14]
push dword [esp]
push eax
call fcn.0040e5a0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x14], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xc
jb 0x40dbb0
mov ecx, esi
push ebp
push dword [esp + 0xa0]
push ebx
push edi
call fcn.0040d580
mov ebp, dword [esi + 0x60]
mov dword [esp + 0x14], 0x73c571b3
mov dword [esp + 0x18], 0x7fc27dca
mov dword [esp + 0x1c], 0x7bcc79d5
mov dword [esp + 0x20], 0x47b345f8
mov dword [esp + 0x24], 0x43fb419c
mov dword [esp + 0x28], 0x4fe34dfc
mov dword [esp + 0x2c], 0x4baa49b2
mov dword [esp + 0x30], 0x57eb55e1
mov dword [esp + 0x34], 0x53ee51e4
mov dword [esp + 0x38], 0x5fee5df5
mov dword [esp + 0x3c], 0x5be859f9
mov dword [esp + 0x40], 0x27d12598
mov dword [esp + 0x44], 0x2395218e
mov dword [esp + 0x48], 0x2f9b2d9e
mov dword [esp + 0x4c], 0x2b8629dd
mov dword [esp + 0x50], 0x378a3595
mov dword [esp + 0x54], 0x33c93191
mov dword [esp + 0x58], 0x3f9c3ddc
mov dword [esp + 0x5c], 0x3b87398f
mov dword [esp + 0x60], 0x7aa05b2
mov dword [esp + 0x64], 0x3b001a1
mov dword [esp + 0x68], 0xfcb0db5
mov dword [esp + 0x6c], 0xba709aa
mov dword [esp + 0x70], 0x17eb15ec
mov dword [esp + 0x74], 0x13bf11bc
mov dword [esp + 0x78], 0x1fb71de1
mov dword [esp + 0x7c], 0x1bb619a8
mov dword [esp + 0x80], 0xe745e553
mov dword [esp + 0x84], 0xe34fe149
mov dword [esp + 0x88], 0xef5ced5e
mov dword [esp + 0x8c], 0xeb1be945
mov dword [esp + 0x90], 0xf7fcf5e1
mov word [esp + 0x94], 0xf1f0
mov dword [esp + 0x96], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x85
ja 0x40dd48
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x14]
push dword [esp]
push eax
call fcn.0040e6e0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x14], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x86
jb 0x40dd20
mov dword [esp], 0xf757f98b
mov dword [esp + 4], 0xf34bf544
mov word [esp + 8], 0xf1f0
mov dword [esp + 0xa], 0
mov word [esp + 0xe], 0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0xf
ja 0x40dda9
nop
nop
mov eax, dword [esp + 0x10]
movzx eax, byte [esp + eax]
push dword [esp + 0x10]
push eax
call fcn.0040e640
add esp, 8
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 0x10
jb 0x40dd80
push 0x493e0
push ebp
push edi
push 0
push 0
push ebx
lea eax, [esp + 0x18]
push eax
call fcn.00410d80
add esp, 0x1c
mov ebx, eax
push edi
call fcn.0040c4e0
add esp, 4
mov eax, dword [esi + 0x60]
add dword [esi + 4], eax
mov dword [esi + 0x60], 0
jmp 0x40ddde
mov bl, 1
mov eax, ebx
add esp, 0xa4
pop esi
pop edi
pop ebx
pop ebp
ret