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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4efad0
sub esp, 0x60
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
lea edx, [0x56317c]
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0
call fcn.0046e7a0
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
jne 0x4efa85
xor eax, eax
xor ecx, ecx
cmp eax, 1
jge 0x4ef759
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x64]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x80], eax
add esp, 0x60
ret
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], ecx
mov dword [esp], ecx
lea eax, [0x53eb86]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.004026c0
movzx eax, byte [esp + 0xc]
test al, al
je 0x4ef722
mov ecx, dword [esp + 0x24]
cmp ecx, 1
jb 0x4efac0
lea eax, [ecx - 1]
mov dword [esp + 0x2c], eax
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 1
mov edx, dword [esp + 0x48]
add eax, edx
mov dword [esp + 0x4c], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x56317c]
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0
call fcn.0046e7a0
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
jne 0x4efa64
xor eax, eax
xor ecx, ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004ef2b0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.0046e3e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
je 0x4efa2d
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
lea edx, [0x56317c]
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0
call fcn.0046e7a0
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
jne 0x4efa08
xor eax, eax
xor ecx, ecx
cmp eax, 1
jge 0x4ef890
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x64]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x80], eax
add esp, 0x60
ret
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], ecx
mov dword [esp], ecx
lea eax, [0x53eb88]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.004026c0
movzx eax, byte [esp + 0xc]
test al, al
je 0x4ef859
mov ecx, dword [esp + 0x20]
cmp ecx, 1
jb 0x4efaac
lea eax, [ecx - 1]
mov dword [esp + 0x1c], eax
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 1
mov edx, dword [esp + 0x40]
add eax, edx
mov dword [esp + 0x50], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x56317c]
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0
call fcn.0046e7a0
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
jne 0x4ef9e3
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004ef380
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 8]
test eax, eax
jne 0x4ef947
mov ebp, dword [esp + 0x18]
cmp ebp, ecx
je 0x4ef9a5
xor ebp, ebp
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4ef96e
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x6c], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
add esp, 0x60
ret
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x64]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x80], eax
add esp, 0x60
ret
mov dword [esp + 0x30], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x58], ebx
mov dword [esp], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004026c0
movzx ebp, byte [esp + 0xc]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
jmp 0x4ef941
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jb 0x4efaa7
sub ecx, eax
mov edx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
mov ebx, dword [esp + 0x50]
lea ecx, [ebx + eax]
mov eax, edx
jmp 0x4ef90f
mov ecx, dword [esp + 0x28]
cmp eax, ecx
ja 0x4efab6
sub ecx, eax
mov edx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
mov ebx, dword [esp + 0x44]
lea ecx, [eax + ebx]
mov eax, edx
jmp 0x4ef854
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x64]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x80], eax
add esp, 0x60
ret
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jb 0x4efabb
sub ecx, eax
mov edx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
mov ebx, dword [esp + 0x4c]
lea ecx, [ebx + eax]
mov eax, edx
jmp 0x4ef7d8
mov ecx, dword [esp + 0x68]
cmp eax, ecx
ja 0x4efaca
sub ecx, eax
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
mov ebp, dword [esp + 0x64]
lea ecx, [ebp + eax]
mov eax, ebx
jmp 0x4ef71d
call fcn.00459930
mov eax, 1
call fcn.00459930
call fcn.00459930
call fcn.00459930
mov eax, 1
call fcn.00459930
call fcn.00459930
nop
call fcn.00458300
jmp fcn.004ef6d0