Function at 0x180012918
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, 0x40
mov rdi, qword [0x180067c98]
xor ebp, ebp
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
cmp byte [rdi + 0xcb], bpl
je 0x180012953
test byte [rdi + 0xc], 2
jne 0x180012953
mov byte [rdi + 0xcb], bpl
cmp byte [rdi + 0x2f44], bpl
jne 0x180012971
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x18001296a
call fcn.180006d64
mov byte [rdi + 0x2f44], 1
movss xmm0, dword [rdi + 0x2f48]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x1800129b0
subss xmm0, dword [rdi + 0x18]
comiss xmm6, xmm0
movss dword [rdi + 0x2f48], xmm0
jb 0x1800129b0
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x1800129a3
call fcn.180006ab4
jmp 0x1800129aa
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 [0x180067c98]
mov rcx, qword [rax + 0xb8]
test rcx, rcx
jne 0x180012a0c
mov rax, qword [rax + 0xa8]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
call fcn.18000c8b4
movss xmm2, dword [rdi + 0x10]
movss xmm3, dword [rdi + 0x14]
mov qword [rdi + 0x1930], rbp
movss dword [rdi + 0x1938], xmm2
movss dword [rdi + 0x193c], xmm3
mov eax, dword [rdi + 0x1604]
mov dword [rdi + 0x192c], eax
mov eax, ebp
mov dword [rdi + 0x1940], ebp
cmp byte [rdi + 0x1600], bpl
je 0x180012a5e
mov dword [rdi + 0x1940], 1
mov eax, 1
cmp byte [rdi + 0x1601], bpl
je 0x180012a70
or eax, 2
mov dword [rdi + 0x1940], eax
test byte [rdi + 0xc], 8
je 0x180012a7f
or eax, 4
mov dword [rdi + 0x1940], eax
lea rbx, [rdi + 0x1d90]
mov rcx, rbx
call fcn.180022d9c
mov rdx, qword [rdi + 0xa8]
mov rcx, rbx
mov rdx, qword [rdx + 8]
call fcn.180024700
mov rcx, rbx
call fcn.180024798
lea rbx, [rdi + 0x1e38]
mov rcx, rbx
call fcn.180022d9c
mov rdx, qword [rdi + 0xa8]
mov rcx, rbx
mov rdx, qword [rdx + 8]
call fcn.180024700
mov rcx, rbx
call fcn.180024798
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 0x180012b1f
mov ecx, dword [rdi + 0x1f04]
cmp ecx, dword [rdi + 0x1ab0]
jne 0x180012b1f
call fcn.180014598
lea rax, [rdi + 0x1a9c]
mov ecx, dword [rax]
cmp dword [rdi + 0x1aa4], ebp
jne 0x180012b38
mov dword [rdi + 0x1aa8], ebp
jmp 0x180012b49
mov edx, ecx
mov r8, rax
test ecx, ecx
je 0x180012b54
cmp dword [rdi + 0x1ab0], ecx
jne 0x180012b54
mov dword [rdi + 0x1aac], ebp
mov edx, ecx
mov r8, rax
movss xmm1, dword [rdi + 0x18]
test edx, edx
je 0x180012b8b
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x1aa8]
movss dword [rdi + 0x1aa8], xmm0
cmp dword [rdi + 0x1ab0], edx
je 0x180012b8b
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 0x180012bc6
cmp dword [rdi + 0x1aec], eax
jne 0x180012bc6
test eax, eax
je 0x180012bc6
xor edx, edx
xor ecx, ecx
call fcn.1800146fc
movss xmm2, dword [rdi + 0x18]
mov ecx, dword [rdi + 0x1ab0]
test ecx, ecx
je 0x180012be3
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 0x180012c42
cmp ecx, eax
je 0x180012c42
mov dword [rdi + 0x2ee0], ebp
test ecx, ecx
jne 0x180012c54
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 0x180012cb5
movss xmm0, dword [rbx]
comiss xmm6, xmm0
jbe 0x180012cae
movaps xmm0, xmm6
jmp 0x180012cbd
addss xmm0, dword [rdi + 0x18]
jmp 0x180012cbd
movss xmm0, dword [0x18003d628]
movss dword [rbx], xmm0
inc rax
add rbx, 4
sub rcx, 1
jne 0x180012c9b
call fcn.1800086ac
call fcn.1800136e8
movsxd rax, dword [rdi + 0x319c]
movss xmm1, dword [rdi + 0x18]
movss xmm7, dword [0x18003d610]
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 0x180012d5a
divss xmm1, dword [0x18003d5cc]
movss xmm0, dword [0x18003d4f8]
divss xmm0, xmm1
jmp 0x180012d5d
movaps xmm0, xmm7
movss dword [rdi + 0x3a8], xmm0
call fcn.1800130a8
call fcn.180013bc0
call fcn.18000af70
test rax, rax
jne 0x180012dae
cmp qword [rdi + 0x1c18], rbp
je 0x180012d8f
movss xmm0, dword [rdi + 0x1c34]
comiss xmm0, xmm6
ja 0x180012dae
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x18003d578]
movss xmm1, dword [rdi + 0x1d88]
subss xmm1, xmm0
maxss xmm1, xmm6
jmp 0x180012dcb
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x18003d564]
addss xmm1, dword [rdi + 0x1d88]
minss xmm1, dword [0x18003d4f8]
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.180013284
mov r8, qword [rdi + 0x1bd0]
test r8, r8
je 0x180012e42
cmp byte [r8 + 0x7e], bpl
je 0x180012e42
test dword [r8 + 0xc], 0x40000
jne 0x180012e42
cmp byte [rdi + 0x148], bpl
jne 0x180012e42
mov rax, qword [0x180067c98]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
js 0x180012e42
call fcn.18001192c
test al, al
mov al, 1
jne 0x180012e45
mov al, bpl
mov r9d, 0x7fffffff
mov byte [rdi + 0x1d28], al
cmp dword [rdi + 0x1ab0], ebp
jne 0x180012ea1
test al, al
je 0x180012ea1
mov qword [rdi + 0x1d10], r8
mov dword [rdi + 0x1d20], r9d
cmp dword [rdi + 0x1bd8], ebp
je 0x180012e91
mov edx, dword [rdi + 0x1c40]
cmp edx, r9d
je 0x180012e91
mov al, byte [rdi + 0x149]
neg al
sbb ecx, ecx
not ecx
and ecx, 2
add ecx, edx
jmp 0x180012e9b
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 0x180012f24
mov eax, dword [rdi + 0x1d20]
mov qword [rdi + 0x1d08], r8
cmp eax, r9d
je 0x180012eec
mov ecx, dword [r8 + 0x178]
cmp ecx, ebx
je 0x180012eec
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rdi + 0x1d18], edx
mov eax, dword [rdi + 0x1d24]
cmp eax, r9d
je 0x180012f0f
mov ecx, dword [r8 + 0x17c]
cmp ecx, ebx
je 0x180012f0f
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 0x180012f48
movsd xmm7, qword [rdi + 0x19a8]
cvtpd2ps xmm7, xmm7
subss xmm7, xmm0
mov ebx, ebp
cmp dword [rdi + 0x1a10], ebp
je 0x180012fa1
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 0x180012f93
cmp byte [rcx + 0x3a8], bpl
jne 0x180012f93
comiss xmm7, dword [rcx + 0x254]
jbe 0x180012f93
call fcn.180014888
inc ebx
add rsi, 8
cmp ebx, dword [rdi + 0x1a10]
jne 0x180012f55
mov rax, qword [rdi + 0x1bd0]
test rax, rax
je 0x180012fba
cmp byte [rax + 0x7f], bpl
jne 0x180012fba
xor ecx, ecx
call fcn.18000cbd0
lea rbx, [rdi + 0x1a40]
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x180012fe0
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 0x180013008
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.18000acb8
call fcn.180012838
mov rax, qword [0x180067c98]
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.18000cf20
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x20]
mov byte [rdi + 0x19bd], 1
add rsp, 0x40
pop rdi
ret