Function at 0x40dac0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x90
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x8c], ecx
add esi, dword [ecx + 0x60]
mov dword [esp + 0x5c], 0x65686a31
mov dword [esp + 0x60], 0x367a7513
mov dword [esp + 0x64], 0xa726418
mov dword [esp + 0x68], 0x7101cf26
mov dword [esp + 0x6c], 0x1070470
mov dword [esp + 0x70], 0x9047c7b
mov dword [esp + 0x74], 0x410b45
mov dword [esp + 0x78], 0x7075097e
mov dword [esp + 0x7c], 0xaaaca800
mov word [esp + 0x80], 0x87ae
mov dword [esp + 0x82], 0
mov byte [esp + 0x86], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0x2a
ja 0x40db8b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
movzx eax, byte [esp + eax + 0x5c]
push dword [esp + 0xc]
push eax
call fcn.0040e680
add esp, 8
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx + 0x5c], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 0x2b
jb 0x40db60
mov dword [esp + 4], 0x5144402e
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 7
ja 0x40dbdb
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
movzx eax, byte [esp + eax + 4]
push dword [esp + 0xc]
push eax
call fcn.0040e620
add esp, 8
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx + 4], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 8
jb 0x40dbb0
mov dword [esp + 0xc], 0xb6ac6063
mov dword [esp + 0x10], 0xb2b66468
mov dword [esp + 0x14], 0xbda6bc63
mov dword [esp + 0x18], 0xbab1bea9
mov dword [esp + 0x1c], 0x52b9adae
mov dword [esp + 0x20], 0x94a7696f
mov dword [esp + 0x24], 0x8781938a
mov dword [esp + 0x28], 0x86ae449c
mov dword [esp + 0x2c], 0x849f9f99
mov dword [esp + 0x30], 0x8499879b
mov dword [esp + 0x34], 0x9f564d9a
mov dword [esp + 0x38], 0x52958989
mov dword [esp + 0x3c], 0xe28a9c98
mov dword [esp + 0x40], 0xe6ec233d
mov dword [esp + 0x44], 0x2b39e0eb
mov dword [esp + 0x48], 0xeae6e0ee
mov dword [esp + 0x4c], 0xf72e322e
mov dword [esp + 0x50], 0xfbf5fffb
mov dword [esp + 0x54], 0x26f1f8f7
mov dword [esp + 0x58], 0x1b3a
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x4f
ja 0x40dcb6
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0xc]
push dword [esp]
push eax
call fcn.0040e5c0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x50
jb 0x40dc90
mov eax, dword [esp + 0xa8]
movzx ecx, byte [esp + 0xc]
mov ebx, esi
test cl, cl
je 0x40dcdb
lea edx, [esp + 0xd]
mov ebx, esi
nop
nop
mov byte [ebx], cl
inc ebx
movzx ecx, byte [edx]
inc edx
test cl, cl
jne 0x40dcd0
mov byte [ebx], 0
movzx ecx, byte [eax]
test cl, cl
je 0x40dcfb
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [ebx], cl
inc ebx
movzx ecx, byte [eax]
inc eax
test cl, cl
jne 0x40dcf0
mov byte [ebx], 0
movzx eax, byte [esp + 4]
test al, al
je 0x40dd1b
lea ecx, [esp + 5]
nop
nop
nop
nop
nop
mov byte [ebx], al
inc ebx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40dd10
mov edx, dword [esp + 0xac]
mov byte [ebx], 0
movzx eax, byte [esp + 0x5c]
test al, al
mov dword [esp + 0x88], esi
je 0x40dd4b
lea ecx, [esp + 0x5d]
nop
nop
nop
nop
nop
nop
nop
mov byte [ebx], al
inc ebx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40dd40
mov byte [ebx], 0
mov ebp, dword [esp + 0xb0]
mov ecx, ebp
shr ecx, 2
mov eax, edx
mov edi, ebx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov esi, ebp
and esi, 0xfffffffc
lea eax, [ebx + esi]
add esi, edx
mov ecx, ebp
shr ecx, 1
and ecx, 1
mov edx, esi
mov edi, eax
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov ecx, ebp
test cl, 1
je 0x40dd96
mov ecx, dword [esp + 0xb0]
and ecx, 2
movzx edx, byte [esi + ecx]
mov byte [eax + ecx], dl
mov dword [esp + 0xc], 0x2a294d4f
mov dword [esp + 0x10], 0x3e3e0c16
mov dword [esp + 0x14], 0xf6390808
mov dword [esp + 0x18], 0xff03f0
mov dword [esp + 0x1c], 0xf7f400fb
mov dword [esp + 0x20], 0xa3a5c803
mov word [esp + 0x24], 0xa5a7
mov byte [esp + 0x26], 0x92
mov dword [esp + 0x27], 0
mov byte [esp + 0x2b], 0
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x5c]
cmp eax, 0x1f
ja 0x40de1b
mov eax, dword [esp + 0x5c]
movzx eax, byte [esp + eax + 0xc]
push dword [esp + 0x5c]
push eax
call fcn.0040e6e0
add esp, 8
mov ecx, dword [esp + 0x5c]
mov byte [esp + ecx + 0xc], al
inc dword [esp + 0x5c]
mov eax, dword [esp + 0x5c]
cmp eax, 0x20
jb 0x40ddf0
add ebx, dword [esp + 0xb0]
movzx eax, byte [esp + 0xc]
test al, al
mov edx, dword [esp + 0x88]
je 0x40de4b
lea ecx, [esp + 0xd]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [ebx], al
inc ebx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40de40
mov byte [ebx], 0
sub ebx, edx
mov eax, dword [esp + 0x8c]
add dword [eax + 0x60], ebx
add esp, 0x90
pop esi
pop edi
pop ebx
pop ebp
ret 0x10