Function at 0x1800374a0
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 [0x1801045f0]
movaps xmmword [rsp + 0x30], xmm6
cmp byte [rbx + 0xc3], 0
je 0x1800374da
test byte [rbx + 0xc], 2
jne 0x1800374da
mov byte [rbx + 0xc3], 0
xor r15d, r15d
cmp byte [rbx + 0x2eec], r15b
jne 0x180037535
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x18003752e
lea r8, [rsp + 0x60]
mov qword [rsp + 0x60], r15
call fcn.180033e90
mov rdi, rax
test rax, rax
je 0x18003752e
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call fcn.180056110
mov rcx, qword [0x1801045f0]
test rcx, rcx
je 0x180037525
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 0x180037575
subss xmm0, dword [rbx + 0x18]
comiss xmm6, xmm0
movss dword [rbx + 0x2ef0], xmm0
jb 0x180037575
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x180037567
call fcn.180056380
jmp 0x18003756e
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 [0x1801045f0]
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 0x1800375d0
mov rax, qword [rdx + 0xa0]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
movss xmm0, dword [0x1800d4990]
mov rax, qword [rdx + 0x1a50]
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 0x180037617
movss xmm1, dword [rax + 0x2a0]
mulss xmm1, xmm0
jmp 0x18003761a
xorps xmm1, xmm1
movss dword [rdx + 0x1950], xmm1
lea rbp, [rbx + 0x1d60]
mov rax, qword [rcx + 0x48]
mov qword [rsp + 0x20], r15
movups xmm2, xmmword [rsp + 0x20]
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 eax, dword [rbx + 0x15f4]
shufps xmm2, xmm2, 0xd2
movss xmm2, xmm0
mov dword [rbx + 0x196c], eax
shufps xmm2, xmm2, 0x27
movss xmm2, xmm1
shufps xmm2, xmm2, 0x39
movups xmmword [rbx + 0x1970], xmm2
call fcn.18005eb30
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 0x1800376ce
inc ecx
test r8d, r8d
je 0x1800376bc
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1800376be
mov eax, edi
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbp + 0x70]
call fcn.180057170
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.18005f020
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.18005f0e0
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.18005eb30
mov rax, qword [rbx + 0xa0]
mov r8d, dword [rbp + 0x74]
mov ecx, dword [rbp + 0x70]
mov r14, qword [rax + 8]
cmp ecx, r8d
jne 0x180037784
inc ecx
test r8d, r8d
je 0x180037774
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.180057170
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.18005f020
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.18005f0e0
movzx eax, byte [rbx + 0x15f1]
mov rdx, qword [0x1801045f0]
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 0x18003785d
mov eax, dword [rbx + 0x1ed4]
cmp eax, dword [rbx + 0x1a7c]
jne 0x18003785d
cmp dword [rdx + 0x1a7c], eax
jne 0x18003784e
mov dword [rdx + 0x1a84], eax
cmp dword [rdx + 0x1a80], eax
jne 0x18003785d
mov byte [rdx + 0x1a90], 1
lea rax, [rbx + 0x1a68]
mov ecx, dword [rax]
cmp dword [rbx + 0x1a70], r15d
jne 0x180037878
mov dword [rbx + 0x1a74], r15d
jmp 0x18003788a
mov r8d, ecx
mov r9, rax
test ecx, ecx
je 0x180037897
cmp dword [rbx + 0x1a7c], ecx
jne 0x180037897
mov dword [rbx + 0x1a78], r15d
mov r8d, ecx
mov r9, rax
movss xmm1, dword [rbx + 0x18]
test r8d, r8d
je 0x1800378d0
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1a74]
movss dword [rbx + 0x1a74], xmm0
cmp dword [rbx + 0x1a7c], r8d
je 0x1800378d0
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1a78]
movss dword [rbx + 0x1a78], xmm0
mov eax, dword [rbx + 0x1a7c]
movaps xmm2, xmm1
mov dword [rbx + 0x1a70], r8d
mov dword [r9], r15d
mov byte [rbx + 0x1a6c], r15b
cmp dword [rbx + 0x1a84], eax
je 0x180037943
cmp dword [rbx + 0x1a80], eax
jne 0x180037943
test eax, eax
je 0x180037943
mov ecx, dword [rdx + 0x1a7c]
test ecx, ecx
setne al
mov byte [rdx + 0x1a8c], al
test ecx, ecx
je 0x180037922
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
movss xmm2, dword [rbx + 0x18]
mov ecx, dword [rbx + 0x1a7c]
test ecx, ecx
je 0x180037960
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x1a88]
movss dword [rbx + 0x1a88], xmm0
mov rax, qword [rbx + 0x1aa8]
addss xmm2, 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], xmm2
mov dword [rbx + 0x1a80], ecx
mov dword [rbx + 0x1a84], r15d
mov byte [rbx + 0x1a90], r15b
mov byte [rbx + 0x1a8c], r15b
test eax, eax
je 0x1800379bb
cmp ecx, eax
je 0x1800379bb
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 [0x1800d4b8c]
lea rcx, [rbx + 0x13d]
lea rax, [rbx + 0x494]
mov r8d, 0x80
nop
cmp byte [rcx - 1], r15b
je 0x180037a2c
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x180037a25
movaps xmm0, xmm6
jmp 0x180037a2f
addss xmm0, dword [rbx + 0x18]
jmp 0x180037a2f
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], r15b
je 0x180037a4e
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x180037a47
movaps xmm0, xmm6
jmp 0x180037a51
addss xmm0, dword [rbx + 0x18]
jmp 0x180037a51
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], r15b
je 0x180037a71
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x180037a6a
movaps xmm0, xmm6
jmp 0x180037a74
addss xmm0, dword [rbx + 0x18]
jmp 0x180037a74
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], r15b
je 0x180037a95
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x180037a8e
movaps xmm0, xmm6
jmp 0x180037a98
addss xmm0, dword [rbx + 0x18]
jmp 0x180037a98
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x180037a10
call fcn.180052700
call fcn.180036910
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 0x180037b33
divss xmm1, dword [0x1800d4ac0]
movss xmm0, dword [0x1800d4990]
divss xmm0, xmm1
jmp 0x180037b3b
movss xmm0, dword [0x1800d4b6c]
movss dword [rbx + 0x39c], xmm0
call fcn.1800364d0
call fcn.180037010
mov r10, qword [0x1801045f0]
mov eax, dword [r10 + 0x1b08]
sub eax, 1
js 0x180037b9b
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 0x180037b91
test dword [rax + 0xc], 0x8000000
jne 0x180037bb1
sub r8, 0x30
sub rdx, 1
jns 0x180037b80
cmp qword [rbx + 0x1be8], r15
je 0x180037bd0
movss xmm0, dword [rbx + 0x1c04]
comiss xmm0, xmm6
jbe 0x180037bd0
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x1800d4a2c]
addss xmm1, dword [rbx + 0x1d58]
minss xmm1, dword [0x1800d4990]
jmp 0x180037bed
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1800d4a40]
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.180036ca0
mov r8, qword [rbx + 0x1ba0]
test r8, r8
je 0x180037c64
cmp byte [r8 + 0x7e], r15b
je 0x180037c64
test dword [r8 + 0xc], 0x40000
jne 0x180037c64
cmp byte [rbx + 0x138], r15b
jne 0x180037c64
mov ecx, dword [r10 + 0x3c]
test ecx, ecx
js 0x180037c64
call fcn.180038bb0
test al, al
je 0x180037c64
mov al, 1
jmp 0x180037c66
xor al, al
mov byte [rbx + 0x1cf8], al
cmp dword [rbx + 0x1a7c], r15d
jne 0x180037ccc
test al, al
je 0x180037ccc
mov qword [rbx + 0x1ce0], r8
mov dword [rbx + 0x1cf0], 0x7fffffff
cmp dword [rbx + 0x1ba8], r15d
je 0x180037cbb
mov ecx, dword [rbx + 0x1c10]
cmp ecx, 0x7fffffff
je 0x180037cbb
cmp byte [rbx + 0x139], r15b
mov eax, 2
cmovne eax, r15d
add eax, ecx
mov dword [rbx + 0x1cf4], eax
jmp 0x180037ccc
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 0x180037d61
mov eax, dword [rbx + 0x1cf0]
mov qword [rbx + 0x1cd8], r8
cmp eax, 0x7fffffff
je 0x180037d20
mov ecx, dword [r8 + 0x178]
cmp ecx, 0xffffffff
je 0x180037d20
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rbx + 0x1ce8], edx
mov eax, dword [rbx + 0x1cf4]
cmp eax, 0x7fffffff
je 0x180037d46
mov ecx, dword [r8 + 0x17c]
cmp ecx, 0xffffffff
je 0x180037d46
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 0x180037db6
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 0x180037d80
mov rax, qword [rbx + 0x1ba0]
test rax, rax
je 0x180037e30
cmp byte [rax + 0x7f], r15b
jne 0x180037e30
mov eax, dword [r10 + 0x1a08]
sub eax, 1
js 0x180037e30
movsxd r9, eax
mov rax, qword [r10 + 0x1a10]
lea r10, [rax + r9*8]
mov r8, qword [r10]
test r8, r8
je 0x180037e0e
cmp byte [r8 + 0x7f], r15b
je 0x180037e0e
mov eax, dword [r8 + 0xc]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0xc], 0x18
setae al
test al, cl
jne 0x180037e1a
sub r10, 8
sub r9, 1
jns 0x180037de2
jmp 0x180037e30
mov rax, qword [r8 + 0x378]
test rax, rax
cmovne r8, rax
mov rcx, r8
call fcn.18004f660
mov ecx, dword [rbx + 0x1a2c]
test ecx, ecx
jns 0x180037e57
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.180057170
mov dword [rbx + 0x1a28], r15d
mov ecx, dword [rbx + 0x1b1c]
test ecx, ecx
jns 0x180037e85
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.180057680
mov dword [rbx + 0x1b18], r15d
mov rcx, qword [rbx + 0x1ba0]
call fcn.180050c50
mov rax, qword [0x1801045f0]
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.18003bdd0
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x30]
mov byte [rbx + 2], 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret