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

Disassembly:
mov eax, 0x74
call fcn.005f01a0
mov eax, dword [0x67bbb0]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x7c]
xor ecx, ecx
movsd xmm3, qword [esp + 0x88]
xorps xmm4, xmm4
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x84]
push esi
mov dword [esp + 0x34], eax
xor esi, esi
mov eax, dword [esp + 0x98]
test eax, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], ecx
mov ecx, 6
push edi
mov edi, dword [esp + 0x80]
cmovns ecx, eax
comisd xmm4, xmm3
mov dword [esp + 0x20], edi
jbe 0x4f6b3d
mov dword [esp + 0x1c], 0x2d
jmp 0x4f6b60
mov eax, dword [esp + 0xa0]
test al, 2
je 0x4f6b52
mov dword [esp + 0x1c], 0x2b
jmp 0x4f6b60
test al, 4
mov eax, 0x20
cmovne esi, eax
mov dword [esp + 0x1c], esi
mov edx, dword [esp + 0xa4]
movsd xmm1, qword [0x5fce98]
movsd xmm2, qword [0x5f9b78]
cmp edx, 2
jne 0x4f6bdd
ucomisd xmm3, xmm4
lahf
test ah, 0x44
jp 0x4f6b90
mov dword [esp + 0x28], 0
jmp 0x4f6bef
movsd xmm0, qword [0x603cd8]
comisd xmm0, xmm3
jbe 0x4f6ba8
mov dword [esp + 0x28], 1
jmp 0x4f6bef
test ecx, ecx
jne 0x4f6bb4
comisd xmm3, xmm1
jae 0x4f6bd3
test ecx, ecx
jle 0x4f6b86
push ecx
call fcn.004f7530
movsd xmm1, qword [0x5fce98]
add esp, 4
fstp qword [esp + 8]
comisd xmm3, xmmword [esp + 8]
jb 0x4f6b86
mov dword [esp + 0x28], 1
jmp 0x4f6bef
mov dword [esp + 0x28], edx
mov esi, ecx
mov dword [esp + 0x2c], esi
test edx, edx
je 0x4f6c8a
ucomisd xmm3, xmm4
movaps xmm0, xmm3
lahf
test ah, 0x44
jnp 0x4f6c2f
xor eax, eax
comisd xmm2, xmm3
jbe 0x4f6c13
mulsd xmm0, xmm1
dec eax
comisd xmm2, xmm0
ja 0x4f6c04
mov dword [esp + 0x10], eax
comisd xmm0, xmm1
jbe 0x4f6c2f
nop dword [eax]
divsd xmm0, xmm1
inc eax
comisd xmm0, xmm1
ja 0x4f6c20
mov dword [esp + 0x10], eax
mov esi, ecx
mov dword [esp + 0x2c], esi
cmp edx, 2
jne 0x4f6c75
test ecx, ecx
mov eax, 1
cmove esi, eax
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4f6c6e
or eax, 0xffffffff
sub eax, dword [esp + 0x10]
add esi, eax
mov dword [esp + 0x2c], esi
jns 0x4f6c8a
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.005eee94
add esp, 0x74
ret
dec esi
mov dword [esp + 0x2c], esi
jmp 0x4f6c79
mov eax, dword [esp + 0x28]
cmp eax, 1
jne 0x4f6c8a
movaps xmm3, xmm0
movsd qword [esp + 0x90], xmm3
comisd xmm4, xmm3
jbe 0x4f6ca0
xorps xmm3, xmmword [0x603cf0]
movsd qword [esp + 0x90], xmm3
comisd xmm3, xmmword [0x5f9b80]
ja 0x4f6c5b
movaps xmm0, xmm3
call fcn.005eff51
movsd xmm3, qword [0x5f9b78]
mov edx, eax
cmp esi, 9
jle 0x4f6cce
mov esi, 9
mov dword [esp + 0x2c], esi
mov eax, esi
jmp 0x4f6cd7
mov eax, esi
movaps xmm1, xmm3
test esi, esi
je 0x4f6ced
movsd xmm2, qword [0x5fce98]
movaps xmm1, xmm3
mulsd xmm1, xmm2
sub eax, 1
jne 0x4f6ce2
jmp 0x4f6cf5
movsd xmm2, qword [0x5fce98]
movsd xmm4, qword [0x603ce0]
cvttsd2si ecx, xmm1
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
comisd xmm1, xmm4
jb 0x4f6d14
inc ecx
mov eax, esi
test esi, esi
je 0x4f6d29
nop word [eax + eax]
mulsd xmm3, xmm2
sub eax, 1
jne 0x4f6d20
movsd xmm1, qword [esp + 0x90]
mov eax, edx
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x66e380]
subsd xmm1, xmm0
mulsd xmm1, xmm3
cvttsd2si eax, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
comisd xmm1, xmm4
jb 0x4f6d67
inc eax
mov esi, eax
lea edi, [edx + 1]
sub esi, ecx
cmp eax, ecx
cmovb esi, eax
cmovb edi, edx
mov dword [esp + 0xc], esi
xor esi, esi
nop dword [eax]
mov eax, 0xcccccccd
mov ecx, esi
mul edi
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub edi, eax
mov al, byte [edi + str.0123456789]
mov edi, edx
mov byte [esp + esi + 0x64], al
inc esi
test edi, edi
je 0x4f6da9
cmp esi, 0x14
jl 0x4f6d80
mov edi, dword [esp + 0x20]
cmp ecx, 0x13
cmovne ecx, esi
mov esi, dword [esp + 0xc]
mov dword [esp + 0x14], ecx
cmp ecx, 0x14
jae 0x4f723e
cmp dword [esp + 0x2c], 0
mov byte [esp + ecx + 0x64], 0
jle 0x4f6e38
xor eax, eax
cmp dword [esp + 0xa4], 2
jne 0x4f6e0a
test eax, eax
jne 0x4f6e0a
mov eax, 0xcccccccd
mul esi
mov eax, esi
shr edx, 3
lea ecx, [edx + edx*4]
add ecx, ecx
sub eax, ecx
jne 0x4f6e0a
mov eax, dword [esp + 0x2c]
mov esi, edx
dec eax
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x4f6e38
mov eax, dword [esp + 0x24]
jmp 0x4f6dd2
mov ecx, dword [esp + 0x24]
mov eax, 0xcccccccd
mul esi
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub esi, eax
mov al, byte [esi + str.0123456789]
mov esi, edx
mov byte [esp + ecx + 0x50], al
mov eax, ecx
inc eax
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x2c]
jl 0x4f6dd2
cmp dword [esp + 0x24], 0x14
mov esi, 0x13
cmovne esi, dword [esp + 0x24]
mov dword [esp + 0x24], esi
cmp esi, 0x14
jae 0x4f723e
cmp dword [esp + 0x28], 1
mov byte [esp + esi + 0x50], 0
jne 0x4f6f1d
mov eax, dword [esp + 0x10]
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
mov dword [esp + 0x20], ecx
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x20], ecx
lea eax, [ecx + ecx*4]
add eax, eax
sub edx, eax
mov al, byte [edx + str.0123456789]
mov edx, dword [esp + 0x18]
mov byte [esp + edx + 0x3c], al
inc edx
mov dword [esp + 0x18], edx
test ecx, ecx
jle 0x4f6ec2
cmp edx, 0x14
jl 0x4f6e73
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.005eee94
add esp, 0x74
ret
cmp edx, 1
jne 0x4f6f1f
mov ecx, dword [esp + 0x2c]
xor eax, eax
test ecx, ecx
mov byte [esp + 0x3d], 0x30
mov edx, 2
setg al
mov dword [esp + 0x18], edx
sub dword [esp + 0x98], eax
xor eax, eax
cmp dword [esp + 0x1c], eax
setne al
sub dword [esp + 0x98], eax
mov eax, dword [esp + 0x98]
sub eax, dword [esp + 0x14]
sub eax, ecx
mov dword [esp + 0x98], eax
mov eax, 0xfffffffe
sub eax, edx
mov edx, dword [esp + 0x98]
add edx, eax
jmp 0x4f6f75
xor edx, edx
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp dword [esp + 0x1c], eax
setne al
sub dword [esp + 0x98], eax
xor eax, eax
test ecx, ecx
setg al
sub dword [esp + 0x98], eax
mov eax, dword [esp + 0x98]
sub eax, dword [esp + 0x14]
sub eax, ecx
cmp dword [esp + 0x28], 1
mov dword [esp + 0x98], eax
jne 0x4f6f6e
mov eax, 0xfffffffe
sub eax, edx
mov edx, dword [esp + 0x98]
add edx, eax
jmp 0x4f6f75
mov edx, dword [esp + 0x98]
mov eax, ecx
mov ecx, 0
sub eax, esi
cmovns ecx, eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x20], ecx
xor ecx, ecx
test edx, edx
cmovns ecx, edx
mov edx, ecx
neg edx
and al, 1
cmove edx, ecx
test byte [esp + 0xa0], 0x10
mov dword [esp + 0xc], edx
je 0x4f7009
test edx, edx
jle 0x4f7009
mov eax, dword [esp + 0x1c]
mov esi, edx
test eax, eax
je 0x4f6fe3
push eax
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push edi
call fcn.004f69d0
add esp, 0x14
test eax, eax
je 0x4f6c5b
dec esi
mov dword [esp + 0x1c], 0
test esi, esi
jle 0x4f705a
push 0x30
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push edi
call fcn.004f69d0
add esp, 0x14
test eax, eax
je 0x4f6c5b
dec esi
test esi, esi
jg 0x4f6fe3
jmp 0x4f7034
mov esi, edx
test edx, edx
jle 0x4f7034
nop
push 0x20
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push edi
call fcn.004f69d0
add esp, 0x14
test eax, eax
je 0x4f6c5b
dec esi
test esi, esi
jg 0x4f7010
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4f705a
push eax
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push edi
call fcn.004f69d0
add esp, 0x14
test eax, eax
je 0x4f6c5b
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x4f7092
dec eax
mov dword [esp + 0x14], eax
movsx eax, byte [esp + eax + 0x64]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push edi
call fcn.004f69d0
add esp, 0x14
test eax, eax
je 0x4f6c5b
mov eax, dword [esp + 0x14]
test eax, eax
jg 0x4f7062
cmp dword [esp + 0x2c], 0
jg 0x4f70a3
test byte [esp + 0xa0], 8
je 0x4f7100
push 0x2e
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push edi
call fcn.004f69d0
add esp, 0x14
test eax, eax
je 0x4f6c5b
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x4f7100
nop word [eax + eax]
dec eax
mov dword [esp + 0x24], eax
movsx eax, byte [esp + eax + 0x50]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push edi
call fcn.004f69d0
add esp, 0x14
test eax, eax
je 0x4f6c5b
mov eax, dword [esp + 0x24]
test eax, eax
jg 0x4f70d0
cmp dword [esp + 0x20], 0
jle 0x4f713c
nop word [eax + eax]
push 0x30
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push edi
call fcn.004f69d0
add esp, 0x14
test eax, eax
je 0x4f6c5b
mov eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x20], eax
test eax, eax
jg 0x4f7110
cmp dword [esp + 0x28], 1
jne 0x4f7200
mov eax, dword [esp + 0xa0]
not eax
and eax, 0x20
or eax, 0x45
push eax
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push edi
call fcn.004f69d0
add esp, 0x14
test eax, eax
je 0x4f6c5b
cmp dword [esp + 0x10], 0
jge 0x4f71a7
push 0x2d
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push edi
call fcn.004f69d0
add esp, 0x14
test eax, eax
jne 0x4f71c6
pop edi
pop esi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.005eee94
add esp, 0x74
ret
push 0x2b
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push edi
call fcn.004f69d0
add esp, 0x14
test eax, eax
je 0x4f6c5b
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x4f7200
nop
dec eax
mov dword [esp + 0x18], eax
movsx eax, byte [esp + eax + 0x3c]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push edi
call fcn.004f69d0
add esp, 0x14
test eax, eax
je 0x4f6c5b
mov eax, dword [esp + 0x18]
test eax, eax
jg 0x4f71d0
test esi, esi
jns 0x4f7228
push 0x20
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push edi
call fcn.004f69d0
add esp, 0x14
test eax, eax
je 0x4f6c5b
add esi, 1
js 0x4f7204
mov ecx, dword [esp + 0x78]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.005eee94
add esp, 0x74
ret
call fcn.005ef650
int3