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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbx, qword [0x140077570]
movaps xmmword [rsp + 0x20], xmm6
cmp byte [rbx + 0xd3], 0
je 0x1400065c4
test byte [rbx + 0xc], 2
jne 0x1400065c4
mov byte [rbx + 0xd3], 0
xor r14d, r14d
cmp byte [rbx + 0x2ee8], r14b
jne 0x14000661f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140006618
lea r8, [rsp + 0x50]
mov qword [rsp + 0x50], r14
call fcn.140002af0
mov rdi, rax
test rax, rax
je 0x140006618
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call fcn.1400133a0
mov rcx, qword [0x140077570]
test rcx, rcx
je 0x14000660f
dec dword [rcx + 0x3c8]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x2ee8], 1
movss xmm0, dword [rbx + 0x2eec]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x14000665f
subss xmm0, dword [rbx + 0x18]
comiss xmm6, xmm0
movss dword [rbx + 0x2eec], xmm0
jb 0x14000665f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140006651
call fcn.1400135d0
jmp 0x140006658
mov byte [rbx + 0x3b0], 1
mov dword [rbx + 0x2eec], r14d
inc dword [rbx + 0x1990]
movss xmm0, dword [rbx + 0x18]
mov rax, qword [rbx + 0xa0]
mov rdx, qword [0x140077570]
mov byte [rbx + 1], 1
mov dword [rbx + 0x2ec4], r14d
mov dword [rbx + 0x19f0], r14d
cvtps2pd xmm0, xmm0
addsd xmm0, qword [rbx + 0x1988]
movsd qword [rbx + 0x1988], xmm0
mov byte [rax], 1
mov rcx, qword [rdx + 0xb0]
test rcx, rcx
jne 0x1400066ba
mov rax, qword [rdx + 0xa0]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
movss xmm0, dword [rdx + 0xa8]
mov rax, qword [rdx + 0x19f8]
mov qword [rdx + 0x18f0], rcx
mulss xmm0, dword [rcx]
mulss xmm0, dword [rcx + 4]
movss dword [rdx + 0x18fc], xmm0
test rax, rax
je 0x1400066f4
movss xmm1, dword [rax + 0x2a0]
mulss xmm1, xmm0
jmp 0x1400066f7
xorps xmm1, xmm1
movss dword [rdx + 0x18f8], xmm1
lea rsi, [rbx + 0x1e18]
mov rax, qword [rcx + 0x58]
movsd xmm0, qword [rax + 0x38]
mov qword [rdx + 0x1908], rcx
mov rcx, rsi
movsd qword [rdx + 0x1900], xmm0
movss dword [rdx + 0x1910], xmm1
movss xmm0, dword [rbx + 0x10]
movss xmm1, dword [rbx + 0x14]
mov qword [rbx + 0x1918], r14
movss dword [rbx + 0x1920], xmm0
movss dword [rbx + 0x1924], xmm1
mov eax, dword [rbx + 0x15ec]
mov dword [rbx + 0x1914], eax
call fcn.14001c950
mov rax, qword [rbx + 0xa0]
mov r8d, dword [rsi + 0x74]
mov ecx, dword [rsi + 0x70]
mov rbp, qword [rax + 8]
cmp ecx, r8d
jne 0x14000679b
inc ecx
test r8d, r8d
je 0x140006786
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14000678b
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rsi + 0x70]
call fcn.140014350
movsxd rcx, dword [rsi + 0x70]
mov rax, qword [rsi + 0x78]
mov qword [rax + rcx*8], rbp
mov rcx, rsi
inc dword [rsi + 0x70]
call fcn.14001ce40
mov rax, qword [rsi + 0x38]
xor r9d, r9d
mov rcx, rsi
movss xmm1, dword [rax + 0x24]
movss xmm0, dword [rax + 0x20]
movss xmm2, dword [rax + 0x1c]
unpcklps xmm0, xmm1
movss xmm1, dword [rax + 0x18]
movq r8, xmm0
unpcklps xmm1, xmm2
movq rdx, xmm1
call fcn.14001cf00
movzx eax, byte [rbx + 0x15e9]
mov rdx, qword [0x140077570]
neg al
mov eax, r14d
mov byte [rbx + 0x1c70], r14b
sbb ecx, ecx
mov qword [rbx + 0x1c78], r14
and ecx, 2
mov qword [rbx + 0x1c84], r14
cmp byte [rbx + 0x15e8], r14b
mov dword [rbx + 0x1c80], r14d
setne al
or ecx, eax
mov dword [rbx + 0x1e48], ecx
mov qword [rbx + 0x1c94], r14
mov qword [rbx + 0x1c8c], r14
cmp byte [rbx + 0x1ec4], r14b
je 0x14000686d
mov eax, dword [rbx + 0x1ee4]
cmp eax, dword [rbx + 0x1a24]
jne 0x14000686d
cmp dword [rdx + 0x1a24], eax
jne 0x14000685e
mov dword [rdx + 0x1a2c], eax
cmp dword [rdx + 0x1a28], eax
jne 0x14000686d
mov byte [rdx + 0x1a37], 1
lea rax, [rbx + 0x1a10]
mov ecx, dword [rax]
cmp dword [rbx + 0x1a18], r14d
jne 0x140006888
mov dword [rbx + 0x1a1c], r14d
jmp 0x14000689a
mov r8d, ecx
mov r9, rax
test ecx, ecx
je 0x1400068a7
cmp dword [rbx + 0x1a24], ecx
jne 0x1400068a7
mov dword [rbx + 0x1a20], r14d
mov r8d, ecx
mov r9, rax
movss xmm1, dword [rbx + 0x18]
test r8d, r8d
je 0x1400068e0
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1a1c]
movss dword [rbx + 0x1a1c], xmm0
cmp dword [rbx + 0x1a24], r8d
je 0x1400068e0
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1a20]
movss dword [rbx + 0x1a20], xmm0
mov eax, dword [rbx + 0x1a24]
movaps xmm2, xmm1
mov dword [rbx + 0x1a18], r8d
mov dword [r9], r14d
mov byte [rbx + 0x1a14], r14b
cmp dword [rbx + 0x1a2c], eax
je 0x140006952
cmp dword [rbx + 0x1a28], eax
jne 0x140006952
test eax, eax
je 0x140006952
mov ecx, dword [rdx + 0x1a24]
test ecx, ecx
setne al
mov byte [rdx + 0x1a34], al
test ecx, ecx
je 0x140006931
mov dword [rdx + 0x1a30], r14d
mov byte [rdx + 0x1a36], r14b
mov dword [rdx + 0x1a24], r14d
mov dword [rdx + 0x1a3c], r14d
mov byte [rdx + 0x1a35], r14b
mov qword [rdx + 0x1a48], r14
movss xmm2, dword [rbx + 0x18]
mov ecx, dword [rbx + 0x1a24]
test ecx, ecx
je 0x14000696f
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x1a30]
movss dword [rbx + 0x1a30], xmm0
mov rax, qword [rbx + 0x1a48]
addss xmm2, dword [rbx + 0x1a60]
mov qword [rbx + 0x1a50], rax
movzx eax, byte [rbx + 0x1a36]
mov byte [rbx + 0x1a38], al
mov eax, dword [rbx + 0x2e98]
movss dword [rbx + 0x1a60], xmm2
mov dword [rbx + 0x1a28], ecx
mov dword [rbx + 0x1a2c], r14d
mov byte [rbx + 0x1a37], r14b
mov byte [rbx + 0x1a34], r14b
test eax, eax
je 0x1400069ca
cmp ecx, eax
je 0x1400069ca
mov dword [rbx + 0x2e98], r14d
mov eax, dword [rbx + 0x1f34]
lea rcx, [rbx + 0xca8]
lea rdx, [rbx + 0x4a8]
mov dword [rbx + 0x1f38], eax
mov r8d, 0x800
mov qword [rbx + 0x1f30], 0x7f7fffff
mov byte [rbx + 0x1ec5], r14b
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x14004c178]
lea rcx, [rbx + 0x135]
lea rax, [rbx + 0x4ac]
mov r8d, 0x80
nop dword [rax]
cmp byte [rcx - 1], r14b
je 0x140006a3c
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x140006a35
movaps xmm0, xmm6
jmp 0x140006a3f
addss xmm0, dword [rbx + 0x18]
jmp 0x140006a3f
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], r14b
je 0x140006a5e
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x140006a57
movaps xmm0, xmm6
jmp 0x140006a61
addss xmm0, dword [rbx + 0x18]
jmp 0x140006a61
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], r14b
je 0x140006a81
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x140006a7a
movaps xmm0, xmm6
jmp 0x140006a84
addss xmm0, dword [rbx + 0x18]
jmp 0x140006a84
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], r14b
je 0x140006aa5
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x140006a9e
movaps xmm0, xmm6
jmp 0x140006aa8
addss xmm0, dword [rbx + 0x18]
jmp 0x140006aa8
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x140006a20
call fcn.14000fd70
call fcn.140005b10
movsxd rax, dword [rbx + 0x3128]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbx + rax*4 + 0x2f48]
addss xmm0, dword [rbx + 0x312c]
movss dword [rbx + 0x312c], xmm0
movss dword [rbx + rax*4 + 0x2f48], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x3128]
movss xmm1, dword [rbx + 0x312c]
inc ecx
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x78
sub ecx, eax
comiss xmm1, xmm6
mov dword [rbx + 0x3128], ecx
jbe 0x140006b43
divss xmm1, dword [0x14004c100]
movss xmm0, dword [0x14004c024]
divss xmm0, xmm1
jmp 0x140006b4b
movss xmm0, dword [0x14004c154]
movss dword [rbx + 0x3b4], xmm0
call fcn.1400058e0
call fcn.140006110
mov r10, qword [0x140077570]
mov eax, dword [r10 + 0x1aa8]
sub eax, 1
js 0x140006bab
movsxd rdx, eax
mov rax, qword [r10 + 0x1ab0]
add rax, 8
lea r8, [rdx + rdx*2]
shl r8, 4
add r8, rax
nop dword [rax]
mov rax, qword [r8]
test rax, rax
je 0x140006ba1
test dword [rax + 0xc], 0x8000000
jne 0x140006bc1
sub r8, 0x30
sub rdx, 1
jns 0x140006b90
cmp qword [rbx + 0x1b80], r14
je 0x140006be0
movss xmm0, dword [rbx + 0x1b9c]
comiss xmm0, xmm6
jbe 0x140006be0
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x14004c0ac]
addss xmm1, dword [rbx + 0x1e10]
minss xmm1, dword [0x14004c024]
jmp 0x140006bfd
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x14004c0b8]
movss xmm1, dword [rbx + 0x1e10]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1e10], xmm1
mov dword [rbx + 0x1ec0], r14d
mov qword [rbx + 0x3134], 0xffffffffffffffff
mov dword [rbx + 0x3130], 0xffffffff
mov dword [rbx + 0x2ed8], 0x3f800000
mov dword [rbx + 0x2edc], 0x3f800000
call fcn.140005ea0
cmp dword [rbx + 0x1a24], r14d
jne 0x140006cc2
mov rdx, qword [rbx + 0x1b40]
test rdx, rdx
je 0x140006cc2
cmp byte [rdx + 0x7a], r14b
je 0x140006cc2
test dword [rdx + 0xc], 0x40000
jne 0x140006cc2
cmp byte [rbx + 0x130], r14b
jne 0x140006cc2
movsxd rax, dword [r10 + 0x3c]
test eax, eax
js 0x140006cc2
movss xmm0, dword [r10 + rax*4 + 0x4a8]
ucomiss xmm0, xmm6
jp 0x140006cc2
jne 0x140006cc2
cmp dword [rbx + 0x1b48], r14d
je 0x140006cb1
mov ecx, dword [rbx + 0x1ba8]
cmp ecx, 0x7fffffff
je 0x140006cb1
cmp byte [rbx + 0x131], r14b
mov eax, 2
cmovne eax, r14d
add eax, ecx
mov dword [rdx + 0x3bc], eax
jmp 0x140006cc2
movzx eax, byte [rbx + 0x131]
neg al
sbb ecx, ecx
mov dword [rdx + 0x3bc], ecx
mov r8d, r14d
mov dword [rbx + 0x1ba8], 0x7fffffff
cmp dword [rbx + 0x19a0], r14d
je 0x140006d0b
mov rdx, r14
nop dword [rax + rax]
mov rax, qword [rbx + 0x19a8]
lea rdx, [rdx + 8]
inc r8d
mov rcx, qword [rdx + rax - 8]
movzx eax, byte [rcx + 0x7a]
mov byte [rcx + 0x7b], al
mov byte [rcx + 0x7a], r14b
mov byte [rcx + 0x7c], r14b
cmp r8d, dword [rbx + 0x19a0]
jne 0x140006ce0
mov rax, qword [rbx + 0x1b40]
test rax, rax
je 0x140006d85
cmp byte [rax + 0x7b], r14b
jne 0x140006d85
mov eax, dword [r10 + 0x19b0]
sub eax, 1
js 0x140006d85
movsxd r9, eax
mov rax, qword [r10 + 0x19b8]
lea r10, [rax + r9*8]
mov r8, qword [r10]
test r8, r8
je 0x140006d63
cmp byte [r8 + 0x7b], r14b
je 0x140006d63
mov eax, dword [r8 + 0xc]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0xc], 0x18
setae al
test al, cl
jne 0x140006d6f
sub r10, 8
sub r9, 1
jns 0x140006d37
jmp 0x140006d85
mov rax, qword [r8 + 0x378]
test rax, rax
cmovne r8, rax
mov rcx, r8
call fcn.14000cdf0
mov ecx, dword [rbx + 0x19d4]
test ecx, ecx
jns 0x140006dac
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x19d0]
test eax, eax
cmovg edx, eax
call fcn.140014350
mov dword [rbx + 0x19d0], r14d
mov ecx, dword [rbx + 0x1abc]
test ecx, ecx
jns 0x140006dda
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1ab8]
test eax, eax
cmovg edx, eax
call fcn.1400148b0
mov dword [rbx + 0x1ab8], r14d
mov rcx, qword [rbx + 0x1b40]
call fcn.14000e2f0
mov rax, qword [0x140077570]
lea rcx, str.DebugDefault
xor r8d, r8d
xor edx, edx
mov dword [rax + 0x1af4], 0x43c80000
mov dword [rax + 0x1af8], 0x43c80000
mov dword [rax + 0x1acc], 4
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rdi
pop rsi
jmp fcn.140009dd0