Function at 0x180037d60
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 [0x180103648]
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm7
cmp byte [rbx + 0xc3], 0
je 0x180037d9f
test byte [rbx + 0xc], 2
jne 0x180037d9f
mov byte [rbx + 0xc3], 0
xor r15d, r15d
cmp byte [rbx + 0x2eec], r15b
jne 0x180037dfa
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x180037df3
lea r8, [rsp + 0x60]
mov qword [rsp + 0x60], r15
call fcn.180034750
mov rdi, rax
test rax, rax
je 0x180037df3
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call fcn.180056290
mov rcx, qword [0x180103648]
test rcx, rcx
je 0x180037dea
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 0x180037e3a
subss xmm0, dword [rbx + 0x18]
comiss xmm6, xmm0
movss dword [rbx + 0x2ef0], xmm0
jb 0x180037e3a
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x180037e2c
call fcn.180056500
jmp 0x180037e33
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 [0x180103648]
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 0x180037e95
mov rax, qword [rdx + 0xa0]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
movss xmm7, dword [0x1800d4bd0]
mov rax, qword [rdx + 0x1a50]
movaps xmm0, xmm7
mov qword [rdx + 0x1948], rcx
movss xmm1, dword [rcx + 0x14]
mulss xmm1, dword [rdx + 0xa8]
mulss xmm1, dword [rcx + 0x5c]
maxss xmm0, xmm1
movss dword [rdx + 0x1954], xmm0
test rax, rax
je 0x180037edf
movss xmm1, dword [rax + 0x2a0]
mulss xmm1, xmm0
jmp 0x180037ee2
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.18005ee20
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 0x180037f88
inc ecx
test r8d, r8d
je 0x180037f76
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180037f78
mov eax, edi
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbp + 0x70]
call fcn.180057200
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.18005f310
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.18005f3d0
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.18005ee20
mov rax, qword [rbx + 0xa0]
mov r8d, dword [rbp + 0x74]
mov ecx, dword [rbp + 0x70]
mov r14, qword [rax + 8]
cmp ecx, r8d
jne 0x18003803e
inc ecx
test r8d, r8d
je 0x18003802e
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.180057200
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.18005f310
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.18005f3d0
movzx eax, byte [rbx + 0x15f1]
mov rdx, qword [0x180103648]
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 0x180038117
mov eax, dword [rbx + 0x1ed4]
cmp eax, dword [rbx + 0x1a7c]
jne 0x180038117
cmp dword [rdx + 0x1a7c], eax
jne 0x180038108
mov dword [rdx + 0x1a84], eax
cmp dword [rdx + 0x1a80], eax
jne 0x180038117
mov byte [rdx + 0x1a90], 1
cmp dword [rbx + 0x1a70], r15d
jne 0x180038129
mov dword [rbx + 0x1a74], r15d
jmp 0x18003813b
mov eax, dword [rbx + 0x1a68]
test eax, eax
je 0x180038142
cmp dword [rbx + 0x1a7c], eax
jne 0x180038142
mov dword [rbx + 0x1a78], r15d
mov eax, dword [rbx + 0x1a68]
test eax, eax
je 0x18003817c
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1a74]
movss dword [rbx + 0x1a74], xmm0
cmp dword [rbx + 0x1a7c], eax
je 0x18003817c
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 0x1800381ea
cmp dword [rbx + 0x1a80], eax
jne 0x1800381ea
test eax, eax
je 0x1800381ea
mov ecx, dword [rdx + 0x1a7c]
test ecx, ecx
setne al
mov byte [rdx + 0x1a8c], al
test ecx, ecx
je 0x1800381ce
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 0x180038209
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 0x180038269
cmp ecx, eax
je 0x180038269
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 [0x1800d4db4]
lea rcx, [rbx + 0x13d]
lea rax, [rbx + 0x494]
mov r8d, 0x80
nop dword [rax]
cmp byte [rcx - 1], r15b
je 0x1800382dc
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x1800382d5
movaps xmm0, xmm6
jmp 0x1800382df
addss xmm0, dword [rbx + 0x18]
jmp 0x1800382df
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], r15b
je 0x1800382fe
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x1800382f7
movaps xmm0, xmm6
jmp 0x180038301
addss xmm0, dword [rbx + 0x18]
jmp 0x180038301
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], r15b
je 0x180038321
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x18003831a
movaps xmm0, xmm6
jmp 0x180038324
addss xmm0, dword [rbx + 0x18]
jmp 0x180038324
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], r15b
je 0x180038345
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x18003833e
movaps xmm0, xmm6
jmp 0x180038348
addss xmm0, dword [rbx + 0x18]
jmp 0x180038348
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x1800382c0
call fcn.180052840
call fcn.1800371f0
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 0x1800383de
divss xmm1, dword [0x1800d4cfc]
movaps xmm0, xmm7
divss xmm0, xmm1
jmp 0x1800383e6
movss xmm0, dword [0x1800d4d94]
movss dword [rbx + 0x39c], xmm0
call fcn.180036da0
call fcn.1800378f0
mov r10, qword [0x180103648]
mov eax, dword [r10 + 0x1b08]
sub eax, 1
js 0x18003843f
mov r8, qword [r10 + 0x1b10]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x180038435
test dword [rax + 0xc], 0x8000000
jne 0x180038455
sub r8, 0x30
sub rdx, 1
jns 0x180038424
cmp qword [rbx + 0x1be8], r15
je 0x180038470
movss xmm0, dword [rbx + 0x1c04]
comiss xmm0, xmm6
jbe 0x180038470
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x1800d4c5c]
addss xmm1, dword [rbx + 0x1d58]
minss xmm1, xmm7
jmp 0x18003848d
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1800d4c6c]
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.180037580
mov r8, qword [rbx + 0x1ba0]
test r8, r8
je 0x180038504
cmp byte [r8 + 0x7e], r15b
je 0x180038504
test dword [r8 + 0xc], 0x40000
jne 0x180038504
cmp byte [rbx + 0x138], r15b
jne 0x180038504
mov ecx, dword [r10 + 0x3c]
test ecx, ecx
js 0x180038504
call fcn.180039480
test al, al
je 0x180038504
mov al, 1
jmp 0x180038506
xor al, al
mov byte [rbx + 0x1cf8], al
cmp dword [rbx + 0x1a7c], r15d
jne 0x18003856c
test al, al
je 0x18003856c
mov qword [rbx + 0x1ce0], r8
mov dword [rbx + 0x1cf0], 0x7fffffff
cmp dword [rbx + 0x1ba8], r15d
je 0x18003855b
mov ecx, dword [rbx + 0x1c10]
cmp ecx, 0x7fffffff
je 0x18003855b
cmp byte [rbx + 0x139], r15b
mov eax, 2
cmovne eax, r15d
add eax, ecx
mov dword [rbx + 0x1cf4], eax
jmp 0x18003856c
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 0x180038601
mov eax, dword [rbx + 0x1cf0]
mov qword [rbx + 0x1cd8], r8
cmp eax, 0x7fffffff
je 0x1800385c0
mov ecx, dword [r8 + 0x178]
cmp ecx, 0xffffffff
je 0x1800385c0
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rbx + 0x1ce8], edx
mov eax, dword [rbx + 0x1cf4]
cmp eax, 0x7fffffff
je 0x1800385e6
mov ecx, dword [r8 + 0x17c]
cmp ecx, 0xffffffff
je 0x1800385e6
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 0x180038656
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 0x180038620
mov rax, qword [rbx + 0x1ba0]
test rax, rax
je 0x1800386d0
cmp byte [rax + 0x7f], r15b
jne 0x1800386d0
mov eax, dword [r10 + 0x1a08]
sub eax, 1
js 0x1800386d0
movsxd r9, eax
mov rax, qword [r10 + 0x1a10]
lea r10, [rax + r9*8]
mov r8, qword [r10]
test r8, r8
je 0x1800386ae
cmp byte [r8 + 0x7f], r15b
je 0x1800386ae
mov eax, dword [r8 + 0xc]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0xc], 0x18
setae al
test al, cl
jne 0x1800386ba
sub r10, 8
sub r9, 1
jns 0x180038682
jmp 0x1800386d0
mov rax, qword [r8 + 0x378]
test rax, rax
cmovne r8, rax
mov rcx, r8
call fcn.18004f780
mov ecx, dword [rbx + 0x1a2c]
test ecx, ecx
jns 0x1800386f7
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.180057200
mov dword [rbx + 0x1a28], r15d
mov ecx, dword [rbx + 0x1b1c]
test ecx, ecx
jns 0x180038725
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.180057850
mov dword [rbx + 0x1b18], r15d
mov rcx, qword [rbx + 0x1ba0]
call fcn.180050d60
mov rax, qword [0x180103648]
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.18003c5a0
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