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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x50
mov rdi, qword [0x1800a4b70]
xor ebp, ebp
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
cmp byte [rdi + 0xcb], bpl
je 0x1800198df
test byte [rdi + 0xc], 2
jne 0x1800198df
mov byte [rdi + 0xcb], bpl
cmp byte [rdi + 0x2f44], bpl
jne 0x1800198fd
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1800198f6
call fcn.18000da84
mov byte [rdi + 0x2f44], 1
movss xmm0, dword [rdi + 0x2f48]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x18001993c
subss xmm0, dword [rdi + 0x18]
comiss xmm6, xmm0
movss dword [rdi + 0x2f48], xmm0
jb 0x18001993c
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x18001992f
call fcn.18000d7d4
jmp 0x180019936
mov byte [rdi + 0x3a4], 1
mov dword [rdi + 0x2f48], ebp
inc dword [rdi + 0x19b0]
movss xmm0, dword [rdi + 0x18]
mov rax, qword [rdi + 0xa8]
mov byte [rdi + 0x19bc], 1
mov dword [rdi + 0x2f18], ebp
mov dword [rdi + 0x1a60], ebp
cvtps2pd xmm0, xmm0
addsd xmm0, qword [rdi + 0x19a8]
movsd qword [rdi + 0x19a8], xmm0
mov byte [rax], 1
mov rax, qword [0x1800a4b70]
mov rcx, qword [rax + 0xb8]
test rcx, rcx
jne 0x180019998
mov rax, qword [rax + 0xa8]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
call fcn.1800135fc
and dword [rsp + 0x20], ebp
and dword [rsp + 0x24], ebp
mov eax, dword [rdi + 0x1604]
movss xmm2, dword [rdi + 0x10]
movss xmm0, dword [rdi + 0x14]
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm0
movups xmm1, xmmword [rsp + 0x20]
mov dword [rdi + 0x192c], eax
mov eax, ebp
mov dword [rdi + 0x1940], ebp
movdqu xmmword [rdi + 0x1930], xmm1
cmp byte [rdi + 0x1600], bpl
je 0x1800199f4
mov dword [rdi + 0x1940], 1
mov eax, 1
cmp byte [rdi + 0x1601], bpl
je 0x180019a06
or eax, 2
mov dword [rdi + 0x1940], eax
test byte [rdi + 0xc], 8
je 0x180019a15
or eax, 4
mov dword [rdi + 0x1940], eax
lea rbx, [rdi + 0x1d90]
mov rcx, rbx
call fcn.18002a4cc
mov rdx, qword [rdi + 0xa8]
mov rcx, rbx
mov rdx, qword [rdx + 8]
call fcn.18002be38
mov rcx, rbx
call fcn.18002bed0
lea rbx, [rdi + 0x1e38]
mov rcx, rbx
call fcn.18002a4cc
mov rdx, qword [rdi + 0xa8]
mov rcx, rbx
mov rdx, qword [rdx + 8]
call fcn.18002be38
mov rcx, rbx
call fcn.18002bed0
mov byte [rdi + 0x1d30], bpl
mov qword [rdi + 0x1d38], rbp
mov qword [rdi + 0x1d44], rbp
mov dword [rdi + 0x1d40], ebp
mov qword [rdi + 0x1d5c], rbp
mov qword [rdi + 0x1d54], rbp
mov qword [rdi + 0x1d4c], rbp
cmp byte [rdi + 0x1ee4], bpl
je 0x180019ab5
mov ecx, dword [rdi + 0x1f04]
cmp ecx, dword [rdi + 0x1ab0]
jne 0x180019ab5
call fcn.18001b53c
lea rax, [rdi + 0x1a9c]
mov ecx, dword [rax]
cmp dword [rdi + 0x1aa4], ebp
jne 0x180019ace
mov dword [rdi + 0x1aa8], ebp
jmp 0x180019adf
mov edx, ecx
mov r8, rax
test ecx, ecx
je 0x180019aea
cmp dword [rdi + 0x1ab0], ecx
jne 0x180019aea
mov dword [rdi + 0x1aac], ebp
mov edx, ecx
mov r8, rax
movss xmm1, dword [rdi + 0x18]
test edx, edx
je 0x180019b21
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1aa8]
movss dword [rdi + 0x1aa8], xmm0
cmp dword [rdi + 0x1ab0], edx
je 0x180019b21
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1aac]
movss dword [rdi + 0x1aac], xmm0
mov eax, dword [rdi + 0x1ab0]
movaps xmm2, xmm1
mov dword [rdi + 0x1aa4], edx
mov dword [r8], ebp
mov byte [rdi + 0x1aa0], bpl
cmp dword [rdi + 0x1ab4], eax
je 0x180019b5c
cmp dword [rdi + 0x1aec], eax
jne 0x180019b5c
test eax, eax
je 0x180019b5c
xor edx, edx
xor ecx, ecx
call fcn.18001b6a0
movss xmm2, dword [rdi + 0x18]
mov ecx, dword [rdi + 0x1ab0]
test ecx, ecx
je 0x180019b79
movaps xmm0, xmm2
addss xmm0, dword [rdi + 0x1ab8]
movss dword [rdi + 0x1ab8], xmm0
mov rax, qword [rdi + 0x1ae0]
addss xmm2, dword [rdi + 0x1b04]
mov qword [rdi + 0x1af8], rax
mov al, byte [rdi + 0x1abf]
mov byte [rdi + 0x1af1], al
mov eax, dword [rdi + 0x2ee0]
movss dword [rdi + 0x1b04], xmm2
mov dword [rdi + 0x1aec], ecx
mov dword [rdi + 0x1ab4], ebp
mov byte [rdi + 0x1ac0], bpl
mov byte [rdi + 0x1af0], bpl
mov byte [rdi + 0x1abc], bpl
test eax, eax
je 0x180019bd8
cmp ecx, eax
je 0x180019bd8
mov dword [rdi + 0x2ee0], ebp
test ecx, ecx
jne 0x180019bea
mov qword [rdi + 0x1ac4], rbp
mov qword [rdi + 0x1ad0], rbp
mov eax, dword [rdi + 0x1f54]
lea rbx, [rdi + 0x4a0]
mov rdx, rbx
mov dword [rdi + 0x1f58], eax
lea rcx, [rdi + 0xca0]
mov qword [rdi + 0x1f50], 0x7f7fffff
mov r8d, 0x800
mov byte [rdi + 0x1ee5], bpl
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
lea rax, [rdi + 0x14c]
mov ecx, 0x200
cmp byte [rax], bpl
je 0x180019c4b
movss xmm0, dword [rbx]
comiss xmm6, xmm0
jbe 0x180019c44
movaps xmm0, xmm6
jmp 0x180019c53
addss xmm0, dword [rdi + 0x18]
jmp 0x180019c53
movss xmm0, dword [0x180045ee0]
movss dword [rbx], xmm0
inc rax
add rbx, 4
sub rcx, 1
jne 0x180019c31
call fcn.18000f3e4
call fcn.18001a680
movsxd rax, dword [rdi + 0x319c]
movss xmm1, dword [rdi + 0x18]
movss xmm7, dword [0x180045ec8]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x2fbc]
addss xmm0, dword [rdi + 0x31a0]
movss dword [rdi + 0x31a0], xmm0
movss dword [rdi + rax*4 + 0x2fbc], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x319c]
movss xmm1, dword [rdi + 0x31a0]
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 [rdi + 0x319c], ecx
jbe 0x180019cf0
divss xmm1, dword [0x180045e6c]
movss xmm0, dword [0x180045d58]
divss xmm0, xmm1
jmp 0x180019cf3
movaps xmm0, xmm7
movss dword [rdi + 0x3a8], xmm0
call fcn.18001a040
call fcn.18001ab60
call fcn.180011c8c
test rax, rax
jne 0x180019d44
cmp qword [rdi + 0x1c18], rbp
je 0x180019d25
movss xmm0, dword [rdi + 0x1c34]
comiss xmm0, xmm6
ja 0x180019d44
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x180045e04]
movss xmm1, dword [rdi + 0x1d88]
subss xmm1, xmm0
maxss xmm1, xmm6
jmp 0x180019d61
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x180045ddc]
addss xmm1, dword [rdi + 0x1d88]
minss xmm1, dword [0x180045d58]
movss dword [rdi + 0x1d88], xmm1
or ebx, 0xffffffff
mov eax, 0x3f800000
mov dword [rdi + 0x31ac], ebx
mov dword [rdi + 0x31a8], ebx
mov dword [rdi + 0x31a4], ebx
mov dword [rdi + 0x2f34], eax
mov dword [rdi + 0x2f38], eax
mov dword [rdi + 0x1ee0], ebp
call fcn.18001a21c
mov r8, qword [rdi + 0x1bd0]
test r8, r8
je 0x180019dd8
cmp byte [r8 + 0x7e], bpl
je 0x180019dd8
test dword [r8 + 0xc], 0x40000
jne 0x180019dd8
cmp byte [rdi + 0x148], bpl
jne 0x180019dd8
mov rax, qword [0x1800a4b70]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
js 0x180019dd8
call fcn.1800188ac
test al, al
mov al, 1
jne 0x180019ddb
mov al, bpl
mov r9d, 0x7fffffff
mov byte [rdi + 0x1d28], al
cmp dword [rdi + 0x1ab0], ebp
jne 0x180019e37
test al, al
je 0x180019e37
mov qword [rdi + 0x1d10], r8
mov dword [rdi + 0x1d20], r9d
cmp dword [rdi + 0x1bd8], ebp
je 0x180019e27
mov edx, dword [rdi + 0x1c40]
cmp edx, r9d
je 0x180019e27
mov al, byte [rdi + 0x149]
neg al
sbb ecx, ecx
not ecx
and ecx, 2
add ecx, edx
jmp 0x180019e31
mov al, byte [rdi + 0x149]
neg al
sbb ecx, ecx
mov dword [rdi + 0x1d24], ecx
mov r8, qword [rdi + 0x1d10]
mov qword [rdi + 0x1d08], rbp
mov dword [rdi + 0x1d1c], r9d
mov dword [rdi + 0x1d18], r9d
test r8, r8
je 0x180019eba
mov eax, dword [rdi + 0x1d20]
mov qword [rdi + 0x1d08], r8
cmp eax, r9d
je 0x180019e82
mov ecx, dword [r8 + 0x178]
cmp ecx, ebx
je 0x180019e82
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rdi + 0x1d18], edx
mov eax, dword [rdi + 0x1d24]
cmp eax, r9d
je 0x180019ea5
mov ecx, dword [r8 + 0x17c]
cmp ecx, ebx
je 0x180019ea5
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rdi + 0x1d1c], edx
mov qword [rdi + 0x1d10], rbp
mov dword [rdi + 0x1d24], r9d
mov dword [rdi + 0x1d20], r9d
movss xmm0, dword [rdi + 0xd0]
comiss xmm0, xmm6
mov dword [rdi + 0x1c40], r9d
jb 0x180019ede
movsd xmm7, qword [rdi + 0x19a8]
cvtpd2ps xmm7, xmm7
subss xmm7, xmm0
mov ebx, ebp
cmp dword [rdi + 0x1a10], ebp
je 0x180019f37
mov rsi, rbp
mov rax, qword [rdi + 0x1a18]
mov rcx, qword [rsi + rax]
mov al, byte [rcx + 0x7e]
mov byte [rcx + 0x7f], al
mov word [rcx + 0x88], bp
mov byte [rcx + 0x7e], bpl
mov byte [rcx + 0x80], bpl
test al, al
jne 0x180019f29
cmp byte [rcx + 0x3a8], bpl
jne 0x180019f29
comiss xmm7, dword [rcx + 0x254]
jbe 0x180019f29
call fcn.18001b82c
inc ebx
add rsi, 8
cmp ebx, dword [rdi + 0x1a10]
jne 0x180019eeb
mov rax, qword [rdi + 0x1bd0]
test rax, rax
je 0x180019f50
cmp byte [rax + 0x7f], bpl
jne 0x180019f50
xor ecx, ecx
call fcn.180013918
lea rbx, [rdi + 0x1a40]
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x180019f76
mov eax, ecx
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.180002204
mov dword [rbx], ebp
lea rbx, [rdi + 0x1bc0]
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x180019f9e
mov eax, ecx
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.180002644
mov dword [rbx], ebp
xor edx, edx
mov rcx, qword [rdi + 0x1bd0]
call fcn.1800119d4
call fcn.1800197c4
mov rax, qword [0x1800a4b70]
mov ecx, 0x43c80000
xor r8d, r8d
xor edx, edx
or dword [rax + 0x1b08], 2
mov dword [rax + 0x1b28], ecx
mov dword [rax + 0x1b2c], ecx
lea rcx, str.DebugDefault
mov dword [rax + 0x1b10], 4
call fcn.180013c68
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
mov byte [rdi + 0x19bd], 1
add rsp, 0x50
pop rdi
ret