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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ef69d
add esp, 0xffffff80
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x10], ecx
call fcn.004eee80
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x1c]
mov ebx, dword [esp + 0x8c]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
mov dword [esp + 0x60], eax
lea ecx, [0x5e1b60]
mov dword [esp], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x8c]
mov dword [esp + 8], edx
call fcn.00409450
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test al, al
je 0x4ef63f
mov eax, dword [ecx + 0x10]
mov dword [esp], edx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004c5e20
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
call fcn.004c61a0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov ecx, dword [esp + 0x9c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004c5e20
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
call fcn.004c61a0
lea eax, [0x5e1b00]
mov dword [esp], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 8], ecx
call fcn.00409450
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test al, al
je 0x4ef4a7
mov dword [esp + 0x40], edx
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 8]
lea edx, [0x5db380]
mov dword [esp], edx
shl ecx, 2
mov dword [esp + 0x30], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004450a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.004d17e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
jb 0x4ef697
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 8]
lea edx, [0x5db380]
mov dword [esp], edx
shl ecx, 2
mov dword [esp + 0x38], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004450a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.004d17e0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
sub eax, ecx
mov edx, eax
neg eax
sar eax, 0x1f
and ecx, eax
mov eax, dword [esp + 0x68]
add eax, ecx
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x38]
cmp ebx, ecx
jb 0x4ef68e
mov ebp, dword [esp + 0x40]
mov ebp, dword [ebp + 0x10]
mov dword [esp + 0x40], ebp
mov esi, dword [esp + 0x84]
mov edi, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov ebp, dword [esp + 0x6c]
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
sub ebx, ecx
mov eax, ebx
neg ebx
sar ebx, 0x1f
and ecx, ebx
mov edx, dword [esp + 0x64]
add ecx, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x40]
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [eax + 8]
test edx, edx
jne 0x4ef48c
xor edx, edx
test edx, edx
jne 0x4ef428
mov edx, dword [ecx + 8]
test edx, edx
jne 0x4ef477
xor ecx, ecx
test ecx, ecx
je 0x4ef46b
mov dword [esp + 0x54], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
call fcn.004c61a0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], eax
call fcn.004c63b0
mov eax, dword [esp + 8]
test eax, eax
sete al
mov byte [esp + 0xa4], al
sub esp, 0xffffff80
ret
mov byte [esp + 0xa4], 0
sub esp, 0xffffff80
ret
movzx ecx, byte [ecx]
test cl, cl
je 0x4ef485
mov ecx, 0xffffffff
jmp 0x4ef424
mov ecx, 1
jmp 0x4ef424
movzx edx, byte [eax]
test dl, dl
je 0x4ef49d
mov edx, 0xffffffff
jmp 0x4ef417
mov edx, 1
jmp 0x4ef417
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 8]
lea edx, [0x5db380]
mov dword [esp], edx
shl ecx, 2
mov dword [esp + 0x2c], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004450a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.004d17e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jb 0x4ef689
mov edx, dword [esp + 0x88]
mov ebx, dword [edx + 0x20]
mov ebp, dword [esp + 0x8c]
mov dword [esp], ebp
sub ecx, eax
mov esi, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
mov ecx, dword [esp + 0x68]
add eax, ecx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
call ebx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x50]
mov ebx, dword [edx + 8]
lea ebp, [0x5db380]
mov dword [esp], ebp
shl ebx, 2
mov dword [esp + 0x34], ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call fcn.004450a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.004d17e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jb 0x4ef684
mov edx, dword [esp + 0x88]
mov ebx, dword [edx + 0x24]
mov ebp, dword [esp + 0x84]
mov esi, dword [ebp + 8]
mov ebp, dword [ebp + 0xc]
mov edi, dword [esp + 0x8c]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
sub ecx, eax
mov ebp, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
mov ecx, dword [esp + 0x68]
add eax, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x88]
mov edx, dword [edx + 0x10]
mov ebx, dword [esp + 0x8c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
jmp 0x4ef40e
mov byte [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
call fcn.004c82f0
mov eax, dword [esp + 0xc]
jmp 0x4ef21d
call fcn.0045def0
call fcn.0045def0
mov eax, ecx
mov ecx, ebx
call fcn.0045def0
call fcn.0045def0
nop
call fcn.0045c8b0
jmp fcn.004ef150