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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rbx, qword [0x180103640]
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm7
cmp byte [rbx + 0xc3], 0
je 0x180037f8f
test byte [rbx + 0xc], 2
jne 0x180037f8f
mov byte [rbx + 0xc3], 0
xor r15d, r15d
cmp byte [rbx + 0x2eec], r15b
jne 0x180037fea
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x180037fe3
lea r8, [rsp + 0x60]
mov qword [rsp + 0x60], r15
call fcn.180034910
mov rdi, rax
test rax, rax
je 0x180037fe3
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call fcn.180056450
mov rcx, qword [0x180103640]
test rcx, rcx
je 0x180037fda
dec dword [rcx + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x2eec], 1
movss xmm0, dword [rbx + 0x2ef0]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x18003802a
subss xmm0, dword [rbx + 0x18]
comiss xmm6, xmm0
movss dword [rbx + 0x2ef0], xmm0
jb 0x18003802a
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x18003801c
call fcn.1800566c0
jmp 0x180038023
mov byte [rbx + 0x398], 1
mov dword [rbx + 0x2ef0], r15d
inc dword [rbx + 0x19e8]
movss xmm0, dword [rbx + 0x18]
mov rax, qword [rbx + 0xa0]
mov rdx, qword [0x180103640]
mov byte [rbx + 1], 1
mov dword [rbx + 0x2ec4], r15d
mov dword [rbx + 0x1a48], r15d
cvtps2pd xmm0, xmm0
addsd xmm0, qword [rbx + 0x19e0]
movsd qword [rbx + 0x19e0], xmm0
mov byte [rax], 1
mov rcx, qword [rdx + 0xb0]
test rcx, rcx
jne 0x180038085
mov rax, qword [rdx + 0xa0]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
movss xmm7, dword [0x1800d4910]
mov rax, qword [rdx + 0x1a50]
movaps xmm1, xmm7
mov qword [rdx + 0x1948], rcx
movss xmm0, dword [rcx + 0x14]
mulss xmm0, dword [rdx + 0xa8]
mulss xmm0, dword [rcx + 0x5c]
maxss xmm1, xmm0
movss dword [rdx + 0x1954], xmm1
test rax, rax
je 0x1800380cb
mulss xmm1, dword [rax + 0x2a0]
jmp 0x1800380ce
xorps xmm1, xmm1
movss dword [rdx + 0x1950], xmm1
lea rbp, [rbx + 0x1d60]
mov rax, qword [rcx + 0x48]
movsd xmm0, qword [rax + 0x38]
mov qword [rdx + 0x1960], rcx
mov rcx, rbp
movsd qword [rdx + 0x1958], xmm0
movss dword [rdx + 0x1968], xmm1
movss xmm0, dword [rbx + 0x10]
movss xmm1, dword [rbx + 0x14]
mov qword [rbx + 0x1970], r15
movss dword [rbx + 0x1978], xmm0
movss dword [rbx + 0x197c], xmm1
mov eax, dword [rbx + 0x15f4]
mov dword [rbx + 0x196c], eax
call fcn.18005efe0
mov rax, qword [rbx + 0xa0]
mov edi, 8
mov r8d, dword [rbp + 0x74]
mov ecx, dword [rbp + 0x70]
mov r14, qword [rax + 8]
cmp ecx, r8d
jne 0x180038174
inc ecx
test r8d, r8d
je 0x180038162
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180038164
mov eax, edi
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbp + 0x70]
call fcn.1800573c0
movsxd rcx, dword [rbp + 0x70]
mov rax, qword [rbp + 0x78]
mov qword [rax + rcx*8], r14
mov rcx, rbp
inc dword [rbp + 0x70]
call fcn.18005f4d0
mov rax, qword [rbp + 0x38]
xor r9d, r9d
mov rcx, rbp
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.18005f590
movzx eax, byte [rbx + 0x15f1]
lea rbp, [rbx + 0x1e08]
neg al
mov eax, r15d
sbb ecx, ecx
and ecx, 2
cmp byte [rbx + 0x15f0], r15b
setne al
or ecx, eax
mov dword [rbx + 0x1d90], ecx
mov rcx, rbp
call fcn.18005efe0
mov rax, qword [rbx + 0xa0]
mov r8d, dword [rbp + 0x74]
mov ecx, dword [rbp + 0x70]
mov r14, qword [rax + 8]
cmp ecx, r8d
jne 0x18003822a
inc ecx
test r8d, r8d
je 0x18003821a
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
lea edi, [r8 + rax]
cmp edi, ecx
cmovg ecx, edi
mov edx, ecx
lea rcx, [rbp + 0x70]
call fcn.1800573c0
movsxd rcx, dword [rbp + 0x70]
mov rax, qword [rbp + 0x78]
mov qword [rax + rcx*8], r14
mov rcx, rbp
inc dword [rbp + 0x70]
call fcn.18005f4d0
mov rax, qword [rbp + 0x38]
xor r9d, r9d
mov rcx, rbp
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.18005f590
movzx eax, byte [rbx + 0x15f1]
mov rdx, qword [0x180103640]
neg al
mov eax, r15d
mov byte [rbx + 0x1d00], r15b
sbb ecx, ecx
mov qword [rbx + 0x1d08], r15
and ecx, 2
mov qword [rbx + 0x1d14], r15
cmp byte [rbx + 0x15f0], r15b
mov dword [rbx + 0x1d10], r15d
setne al
or ecx, eax
mov dword [rbx + 0x1e38], ecx
mov qword [rbx + 0x1d2c], r15
mov qword [rbx + 0x1d24], r15
mov qword [rbx + 0x1d1c], r15
cmp byte [rbx + 0x1eb4], r15b
je 0x180038303
mov eax, dword [rbx + 0x1ed4]
cmp eax, dword [rbx + 0x1a7c]
jne 0x180038303
cmp dword [rdx + 0x1a7c], eax
jne 0x1800382f4
mov dword [rdx + 0x1a84], eax
cmp dword [rdx + 0x1a80], eax
jne 0x180038303
mov byte [rdx + 0x1a90], 1
cmp dword [rbx + 0x1a70], r15d
jne 0x180038315
mov dword [rbx + 0x1a74], r15d
jmp 0x180038327
mov eax, dword [rbx + 0x1a68]
test eax, eax
je 0x18003832e
cmp dword [rbx + 0x1a7c], eax
jne 0x18003832e
mov dword [rbx + 0x1a78], r15d
mov eax, dword [rbx + 0x1a68]
test eax, eax
je 0x180038368
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1a74]
movss dword [rbx + 0x1a74], xmm0
cmp dword [rbx + 0x1a7c], eax
je 0x180038368
addss xmm1, dword [rbx + 0x1a78]
movss dword [rbx + 0x1a78], xmm1
mov dword [rbx + 0x1a70], eax
mov eax, dword [rbx + 0x1a7c]
mov dword [rbx + 0x1a68], r15d
mov byte [rbx + 0x1a6c], r15b
cmp dword [rbx + 0x1a84], eax
je 0x1800383d6
cmp dword [rbx + 0x1a80], eax
jne 0x1800383d6
test eax, eax
je 0x1800383d6
mov ecx, dword [rdx + 0x1a7c]
test ecx, ecx
setne al
mov byte [rdx + 0x1a8c], al
test ecx, ecx
je 0x1800383ba
mov dword [rdx + 0x1a88], r15d
mov word [rdx + 0x1a8e], r15w
mov dword [rdx + 0x1a7c], r15d
mov qword [rdx + 0x1a94], r15
mov byte [rdx + 0x1a8d], r15b
mov qword [rdx + 0x1aa8], r15
mov ecx, dword [rbx + 0x1a7c]
test ecx, ecx
je 0x1800383f5
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1a88]
movss dword [rbx + 0x1a88], xmm0
mov rax, qword [rbx + 0x1aa8]
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1ac0]
mov qword [rbx + 0x1ab0], rax
movzx eax, byte [rbx + 0x1a8f]
mov byte [rbx + 0x1a91], al
mov eax, dword [rbx + 0x2e98]
movss dword [rbx + 0x1ac0], xmm0
mov dword [rbx + 0x1a80], ecx
mov dword [rbx + 0x1a84], r15d
mov byte [rbx + 0x1a90], r15b
mov byte [rbx + 0x1a8c], r15b
test eax, eax
je 0x180038455
cmp ecx, eax
je 0x180038455
mov dword [rbx + 0x2e98], r15d
mov eax, dword [rbx + 0x1f24]
lea rcx, [rbx + 0xc90]
lea rdx, [rbx + 0x490]
mov dword [rbx + 0x1f28], eax
mov r8d, 0x800
mov qword [rbx + 0x1f20], 0x7f7fffff
mov byte [rbx + 0x1eb5], r15b
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x1800d4aec]
lea rcx, [rbx + 0x13d]
lea rax, [rbx + 0x494]
mov r8d, 0x80
cmp byte [rcx - 1], r15b
je 0x1800384c4
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x1800384bd
movaps xmm0, xmm6
jmp 0x1800384c7
addss xmm0, dword [rbx + 0x18]
jmp 0x1800384c7
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], r15b
je 0x1800384e6
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x1800384df
movaps xmm0, xmm6
jmp 0x1800384e9
addss xmm0, dword [rbx + 0x18]
jmp 0x1800384e9
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], r15b
je 0x180038509
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x180038502
movaps xmm0, xmm6
jmp 0x18003850c
addss xmm0, dword [rbx + 0x18]
jmp 0x18003850c
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], r15b
je 0x18003852d
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x180038526
movaps xmm0, xmm6
jmp 0x180038530
addss xmm0, dword [rbx + 0x18]
jmp 0x180038530
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x1800384a8
call fcn.180052a00
call fcn.1800373e0
movsxd rax, dword [rbx + 0x313c]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbx + rax*4 + 0x2f5c]
addss xmm0, dword [rbx + 0x3140]
movss dword [rbx + 0x3140], xmm0
movss dword [rbx + rax*4 + 0x2f5c], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x313c]
movss xmm1, dword [rbx + 0x3140]
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 + 0x313c], ecx
jbe 0x1800385c6
divss xmm1, dword [0x1800d4a34]
movaps xmm0, xmm7
divss xmm0, xmm1
jmp 0x1800385ce
movss xmm0, dword [0x1800d4acc]
movss dword [rbx + 0x39c], xmm0
call fcn.180036f90
call fcn.180037ae0
mov r10, qword [0x180103640]
mov eax, dword [r10 + 0x1b08]
sub eax, 1
js 0x18003862b
mov r8, qword [r10 + 0x1b10]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
nop dword [rax]
mov rax, qword [r8]
test rax, rax
je 0x180038621
test dword [rax + 0xc], 0x8000000
jne 0x180038641
sub r8, 0x30
sub rdx, 1
jns 0x180038610
cmp qword [rbx + 0x1be8], r15
je 0x18003865c
movss xmm0, dword [rbx + 0x1c04]
comiss xmm0, xmm6
jbe 0x18003865c
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x1800d499c]
addss xmm1, dword [rbx + 0x1d58]
minss xmm1, xmm7
jmp 0x180038679
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1800d49ac]
movss xmm1, dword [rbx + 0x1d58]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1d58], xmm1
mov dword [rbx + 0x1eb0], r15d
mov qword [rbx + 0x3148], 0xffffffffffffffff
mov dword [rbx + 0x3144], 0xffffffff
mov dword [rbx + 0x2edc], 0x3f800000
mov dword [rbx + 0x2ee0], 0x3f800000
call fcn.180037770
mov r8, qword [rbx + 0x1ba0]
test r8, r8
je 0x1800386f0
cmp byte [r8 + 0x7e], r15b
je 0x1800386f0
test dword [r8 + 0xc], 0x40000
jne 0x1800386f0
cmp byte [rbx + 0x138], r15b
jne 0x1800386f0
mov ecx, dword [r10 + 0x3c]
test ecx, ecx
js 0x1800386f0
call fcn.180039670
test al, al
je 0x1800386f0
mov al, 1
jmp 0x1800386f2
xor al, al
mov byte [rbx + 0x1cf8], al
cmp dword [rbx + 0x1a7c], r15d
jne 0x180038758
test al, al
je 0x180038758
mov qword [rbx + 0x1ce0], r8
mov dword [rbx + 0x1cf0], 0x7fffffff
cmp dword [rbx + 0x1ba8], r15d
je 0x180038747
mov ecx, dword [rbx + 0x1c10]
cmp ecx, 0x7fffffff
je 0x180038747
cmp byte [rbx + 0x139], r15b
mov eax, 2
cmovne eax, r15d
add eax, ecx
mov dword [rbx + 0x1cf4], eax
jmp 0x180038758
movzx eax, byte [rbx + 0x139]
neg al
sbb ecx, ecx
mov dword [rbx + 0x1cf4], ecx
mov r8, qword [rbx + 0x1ce0]
mov qword [rbx + 0x1cd8], r15
mov dword [rbx + 0x1cec], 0x7fffffff
mov dword [rbx + 0x1ce8], 0x7fffffff
test r8, r8
je 0x1800387ed
mov eax, dword [rbx + 0x1cf0]
mov qword [rbx + 0x1cd8], r8
cmp eax, 0x7fffffff
je 0x1800387ac
mov ecx, dword [r8 + 0x178]
cmp ecx, 0xffffffff
je 0x1800387ac
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rbx + 0x1ce8], edx
mov eax, dword [rbx + 0x1cf4]
cmp eax, 0x7fffffff
je 0x1800387d2
mov ecx, dword [r8 + 0x17c]
cmp ecx, 0xffffffff
je 0x1800387d2
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rbx + 0x1cec], edx
mov qword [rbx + 0x1ce0], r15
mov dword [rbx + 0x1cf4], 0x7fffffff
mov dword [rbx + 0x1cf0], 0x7fffffff
mov r8d, r15d
mov dword [rbx + 0x1c10], 0x7fffffff
cmp dword [rbx + 0x19f8], r15d
je 0x180038846
mov rdx, r15
nop word [rax + rax]
mov rax, qword [rbx + 0x1a00]
lea rdx, [rdx + 8]
inc r8d
mov rcx, qword [rdx + rax - 8]
movzx eax, byte [rcx + 0x7e]
mov byte [rcx + 0x7f], al
mov word [rcx + 0x88], r15w
mov byte [rcx + 0x7e], r15b
mov byte [rcx + 0x80], r15b
cmp r8d, dword [rbx + 0x19f8]
jne 0x180038810
mov rax, qword [rbx + 0x1ba0]
test rax, rax
je 0x1800388c0
cmp byte [rax + 0x7f], r15b
jne 0x1800388c0
mov eax, dword [r10 + 0x1a08]
sub eax, 1
js 0x1800388c0
movsxd r9, eax
mov rax, qword [r10 + 0x1a10]
lea r10, [rax + r9*8]
mov r8, qword [r10]
test r8, r8
je 0x18003889e
cmp byte [r8 + 0x7f], r15b
je 0x18003889e
mov eax, dword [r8 + 0xc]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0xc], 0x18
setae al
test al, cl
jne 0x1800388aa
sub r10, 8
sub r9, 1
jns 0x180038872
jmp 0x1800388c0
mov rax, qword [r8 + 0x378]
test rax, rax
cmovne r8, rax
mov rcx, r8
call fcn.18004f960
mov ecx, dword [rbx + 0x1a2c]
test ecx, ecx
jns 0x1800388e7
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1a28]
test eax, eax
cmovg edx, eax
call fcn.1800573c0
mov dword [rbx + 0x1a28], r15d
mov ecx, dword [rbx + 0x1b1c]
test ecx, ecx
jns 0x180038915
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1b18]
test eax, eax
cmovg edx, eax
call fcn.180057a10
mov dword [rbx + 0x1b18], r15d
mov rcx, qword [rbx + 0x1ba0]
call fcn.180050f20
mov rax, qword [0x180103640]
lea rcx, str.DebugDefault
xor r8d, r8d
xor edx, edx
mov dword [rax + 0x1b54], 0x43c80000
mov dword [rax + 0x1b58], 0x43c80000
mov dword [rax + 0x1b2c], 4
call fcn.18003c770
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x20]
mov byte [rbx + 2], 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret