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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xcc]
cmp eax, dword [ecx + 8]
jbe 0x4f36d9
sub esp, 0x14c
mov ecx, dword [esp + 0x150]
mov edx, dword [ecx + 8]
lea edi, [esp + 0x11c]
xor eax, eax
call fcn.00460c94
lea ecx, [0x518be0]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, [esp + 0x11c]
mov dword [esp + 8], ecx
call fcn.0040d390
jmp 0x4f2f19
lea eax, [esp + 0x11c]
mov dword [esp], eax
call fcn.0040d5c0
mov eax, dword [esp + 0x11c]
test eax, eax
je 0x4f3288
mov ecx, dword [esp + 0x120]
mov ecx, dword [ecx]
mov dword [esp + 0xc4], ecx
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ebx, dword [ecx + 0x10]
test ebx, ebx
je 0x4f2f60
movzx ebp, byte [ebx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4f2f60
mov ebp, dword [ebx + 0x2c]
mov ebx, dword [ebx + 0x30]
xor esi, esi
mov edi, 0x10
jmp 0x4f3638
xor ebx, ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0xbc], edx
test bl, bl
je 0x4f2fa3
mov dword [esp], ecx
call fcn.004f3b60
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
call fcn.004f36f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, ecx
mov ecx, edx
mov edx, eax
mov eax, dword [esp + 0xc4]
jmp 0x4f300a
mov dword [esp], ecx
call fcn.004f2eb0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x4f3463
lea eax, [0x517f00]
mov dword [esp], eax
mov dword [esp + 4], 0x10
mov dword [esp + 8], 0x10
call fcn.00448940
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax]
mov edx, dword [esp + 0xc]
mov ebx, dword [ecx]
mov ebp, dword [ecx + 4]
mov esi, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx], ebx
mov dword [edx + 4], ebp
mov dword [edx + 8], esi
mov dword [edx + 0xc], ecx
mov ecx, 0x10
mov ebx, 0x10
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4f2f0a
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0xb8], edx
mov eax, dword [esp + 0x150]
mov ecx, dword [eax + 4]
test byte [ecx], al
nop
add ecx, 0x40
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call fcn.00464f50
lea eax, [0x521700]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00448940
mov eax, dword [esp + 0xc]
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov ecx, dword [esp + 0x150]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
lea eax, [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
call fcn.0044c8f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea ebx, [esp + 0xd8]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.004f4050
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xc0], ebx
lea ebp, [esp + 0x78]
mov dword [esp], ebp
mov ebp, dword [esp + 0xbc]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x40]
mov dword [esp + 8], esi
call fcn.0044c8f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x44]
cmp eax, edx
je 0x4f3164
xor eax, eax
jmp 0x4f3184
mov dword [esp], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00402810
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x44]
test al, al
je 0x4f3509
mov eax, dword [esp + 0x4c]
test eax, 1
je 0x4f3478
lea eax, [esp + 0xd8]
mov dword [esp], eax
call fcn.004f4ed0
mov eax, dword [esp + 4]
mov dword [esp + 0xcc], eax
lea ecx, [esp + 0x58]
mov dword [esp], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
call fcn.0044c8f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc8], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x50], edx
mov dword [esp], 0
mov ebx, dword [esp + 0xbc]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 8], ebx
call fcn.0044c8f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0xcc]
mov dword [esp], ebx
mov ebx, dword [esp + 0xc8]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 1
call fcn.004fc810
jmp 0x4f2f0a
mov eax, dword [esp + 0x150]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4f335b
mov dword [esp], ecx
call fcn.004fde00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x4f3346
mov eax, dword [esp + 0x150]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.004fc4d0
mov eax, dword [0x64f2f0]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x4f32e2
mov eax, dword [esp + 0x150]
mov dword [eax + 0x10], ecx
jmp 0x4f32f5
mov edx, dword [esp + 0x150]
lea edi, [edx + 0x10]
mov eax, ecx
call fcn.00460a90
mov eax, edx
mov edx, dword [eax + 4]
mov edx, dword [edx + 8]
mov ebx, dword [ecx + 0x14]
cmp dword [edx + 0x28], ebx
xchg ebp, ebx
setbe bl
xchg ebp, ebx
mov ecx, dword [ecx + 0x18]
mov edx, dword [edx + 0x2c]
cmp ecx, edx
seta dl
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, ebp
or edx, esi
test dl, dl
jne 0x4f3378
mov eax, dword [eax]
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
add esp, 0x14c
ret
mov dword [esp + 0x154], ecx
mov dword [esp + 0x158], edx
add esp, 0x14c
ret
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
add esp, 0x14c
ret
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.004090b0
mov eax, dword [esp + 8]
lea ecx, [0x5175c0]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x150]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.004090b0
mov eax, dword [esp + 8]
lea ecx, [0x5175c0]
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], eax
lea eax, [0x539b38]
mov dword [esp], eax
mov dword [esp + 4], 0x24
lea eax, [esp + 0xe8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004aeba0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409160
mov eax, dword [esp + 8]
lea ecx, [0x517d40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435600
mov dword [esp + 0x154], ecx
mov dword [esp + 0x158], edx
add esp, 0x14c
ret
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp], eax
call fcn.00409050
mov eax, dword [esp + 4]
lea ecx, [0x517e80]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
lea eax, [0x539191]
mov dword [esp], eax
mov dword [esp + 4], 0x21
lea eax, [esp + 0xd0]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004aeba0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409160
mov eax, dword [esp + 8]
lea ecx, [0x517d40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435600
mov dword [esp], 0
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
call fcn.0044c8f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004091e0
mov eax, dword [esp + 0xc]
lea ecx, [0x5141c0]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
call fcn.004091e0
mov eax, dword [esp + 0xc]
lea ecx, [0x5141c0]
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], eax
lea eax, [0x538e79]
mov dword [esp], eax
mov dword [esp + 4], 0x21
lea eax, [esp + 0xe8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004aeba0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409160
mov eax, dword [esp + 8]
lea ecx, [0x517d40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435600
add ebp, 0x24
mov ecx, dword [esp + 0x54]
inc ecx
mov edx, dword [esp + 0xc4]
mov edx, edi
mov edi, eax
mov eax, esi
mov esi, ecx
mov ecx, dword [esp + 0xc4]
cmp esi, ebx
jge 0x4f36cf
mov dword [esp + 0x54], esi
mov dword [esp + 0x3c], edi
lea edi, [esp + 0xf8]
mov esi, ebp
call fcn.00461156
mov ecx, dword [esp + 0x108]
add ecx, dword [esp + 0x114]
mov esi, eax
mov eax, dword [esp + 0x3c]
lea eax, [ecx + eax + 0x10]
mov ecx, dword [esp + 0xf8]
test ecx, 1
jne 0x4f36bf
mov ecx, dword [esp + 0xc4]
mov edi, edx
mov edx, dword [ecx + 4]
mov edx, dword [edx + 4]
mov edx, dword [edx + 0xd0]
mov dword [esp + 0x50], edx
sar edx, 0x1f
shr edx, 0x1e
mov ecx, dword [esp + 0x50]
add ecx, edx
sar ecx, 2
cmp eax, ecx
jbe 0x4f361a
mov eax, esi
mov ecx, dword [esp + 0xc4]
mov edx, edi
xor ebx, ebx
jmp 0x4f2f62
mov eax, esi
mov ecx, dword [esp + 0xc4]
xor ebx, ebx
jmp 0x4f2f62
mov ebx, 1
jmp 0x4f2f62
call fcn.0045f680
jmp fcn.004f2eb0