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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x120
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x18009b200]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r12, rdx
mov r13, rcx
cmp qword [0x18009c7f0], 0
je 0x180058578
mov rcx, qword [0x18009b680]
call fcn.180005d90
test al, al
jne 0x180058578
mov rcx, qword [0x18009b680]
call fcn.1800161e0
test al, al
jne 0x180058578
mov rcx, qword [0x18009c800]
call fcn.180007020
test al, al
je 0x180058578
mov rcx, qword [0x18009c808]
call fcn.180007020
test al, al
je 0x180057767
mov rcx, qword [0x18009c810]
call fcn.180007020
test al, al
je 0x180058578
mov rcx, qword [0x18009c7f0]
mov rcx, qword [rcx + 0x88]
call fcn.180007020
test al, al
je 0x180058578
mov rax, qword [0x18009c7f0]
mov r15d, dword [rax + 0x3c]
cmp r15d, 0xffffffff
je 0x180058578
mov edx, r15d
mov rcx, qword [0x18009b680]
call fcn.180006060
test eax, eax
jne 0x180058578
mov rdi, qword [0x18009c7f0]
cmp byte [rdi + 0x20], al
je 0x1800577f3
mov edx, r15d
mov rcx, qword [0x18009b680]
call fcn.180006050
mov rcx, rax
call fcn.180005b30
mov rcx, rax
call fcn.180005ae0
mov ebx, eax
mov rdi, qword [0x18009c7f0]
mov rcx, qword [rdi + 8]
call fcn.180068340
cmp ebx, eax
jne 0x180058578
cmp byte [rdi + 0x21], 0
je 0x180057811
mov rcx, qword [0x18009b680]
call fcn.180005ee0
xorps xmm1, xmm1
comiss xmm1, xmm0
jae 0x180058578
mov rcx, r12
call fcn.180005d80
mov rbx, qword [0x18009c7f0]
test al, al
jne 0x18005782d
cmp byte [rbx + 0x29], al
je 0x180058578
movss xmm7, dword [0x18008e69c]
cmp dword [r13 + 0x30], 1
jne 0x180057953
cmp dword [r13 + 0x18], 0
je 0x180058578
mov rcx, qword [r13 + 0x10]
test rcx, rcx
je 0x180058578
call fcn.180005d70
test al, al
je 0x180058578
mov rcx, qword [r13 + 0x10]
call fcn.180012c80
mov rdi, rax
mov rcx, r12
call fcn.180005dd0
mov rbx, rax
mov rcx, qword [0x18009c7f0]
movaps xmm1, xmm7
movss xmm0, dword [rcx + 0x2c]
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm6, xmm0
mov rdx, rbx
mov rcx, rdi
call fcn.180003a20
comiss xmm6, xmm0
setae r14b
mov rcx, qword [r13 + 0x10]
call fcn.180005dd0
mov rsi, rax
mov rcx, r12
call fcn.180005dd0
mov rdi, rax
movss xmm0, dword [0x18008e698]
mov dword [rsp + 0x30], 0x3f800000
mov rcx, qword [0x18009c7f0]
add rcx, 0x38
lea rbx, [rsp + 0x30]
comiss xmm0, dword [rcx]
cmovbe rbx, rcx
mov rcx, qword [r13 + 0x10]
call fcn.180012ca0
mov rcx, rax
call fcn.180005b00
movaps xmm6, xmm0
call fcn.180006f40
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm6, xmm1
divss xmm6, dword [0x18008e6d8]
mulss xmm6, dword [rbx]
mov rcx, r12
call fcn.180005db0
addss xmm6, xmm6
addss xmm0, xmm6
movaps xmm1, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm6, xmm0
mov rdx, rdi
mov rcx, rsi
call fcn.180003a20
comiss xmm6, xmm0
setae al
test r14b, r14b
jne 0x18005794c
test al, al
je 0x180058578
mov rbx, qword [0x18009c7f0]
mov eax, dword [rbx + 0x44]
cmp eax, 2
jne 0x180058149
mov eax, dword [rbx + 0x40]
cmp eax, 2
jne 0x180057f03
cmp qword [rbx + 0x58], 0
je 0x180058578
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
xor r14d, r14d
mov qword [rbp - 0x38], r14
lea rcx, [rbx + 0x48]
mov dword [rbp - 0x30], 3
lea rdx, [rbp - 0x30]
call fcn.180026c10
test al, al
je 0x180057a25
call fcn.180006e60
mov rdi, qword [rax + 8]
mov rbx, qword [rax]
cmp rbx, rdi
je 0x180057a1e
mov rcx, qword [rbx]
test rcx, rcx
je 0x180057a15
mov byte [rsp + 0x20], 0
lea r9, [0x18009db18]
mov r8b, 1
mov rax, qword [0x18009c7f0]
movss xmm1, dword [rax + 0x2c]
call fcn.180006410
test al, al
je 0x180057a15
mov rcx, qword [rbx]
call fcn.180005dd0
mov rcx, rax
call fcn.1800094b0
test al, al
je 0x180057a15
mov rdx, qword [rbp - 0x40]
cmp rdx, qword [rbp - 0x38]
je 0x180057a09
mov rax, qword [rbx]
mov qword [rdx], rax
add qword [rbp - 0x40], 8
jmp 0x180057a15
mov r8, rbx
lea rcx, [rbp - 0x48]
call fcn.180012f20
add rbx, 8
cmp rbx, rdi
jne 0x1800579b2
mov rbx, qword [0x18009c7f0]
lea rcx, [rbx + 0x48]
mov dword [rbp - 0x30], 1
lea rdx, [rbp - 0x30]
call fcn.180026c10
test al, al
je 0x180057b7c
call fcn.180006e90
mov r12, qword [rax + 8]
mov rsi, qword [rax]
cmp rsi, r12
je 0x180057adb
mov rcx, qword [rsi]
call fcn.180005dd0
mov rdi, rax
mov rcx, qword [0x18009b680]
call fcn.180005dd0
mov rbx, rax
mov rcx, qword [0x18009c7f0]
movaps xmm1, xmm7
movss xmm0, dword [rcx + 0x2c]
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm6, xmm0
mov rdx, rbx
mov rcx, rdi
call fcn.180003a20
comiss xmm6, xmm0
jb 0x180057ace
mov rcx, qword [rsi]
call fcn.180005dd0
mov rcx, rax
call fcn.1800094b0
test al, al
je 0x180057ace
mov rdx, qword [rbp - 0x40]
cmp rdx, qword [rbp - 0x38]
je 0x180057ac2
mov rax, qword [rsi]
mov qword [rdx], rax
add qword [rbp - 0x40], 8
jmp 0x180057ace
mov r8, rsi
lea rcx, [rbp - 0x48]
call fcn.180012f20
add rsi, 8
cmp rsi, r12
jne 0x180057a56
call fcn.180006ea0
mov r12, qword [rax + 8]
mov rsi, qword [rax]
cmp rsi, r12
je 0x180057b75
mov rcx, qword [rsi]
call fcn.180005dd0
mov rdi, rax
mov rcx, qword [0x18009b680]
call fcn.180005dd0
mov rbx, rax
mov rcx, qword [0x18009c7f0]
movaps xmm1, xmm7
movss xmm0, dword [rcx + 0x2c]
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm6, xmm0
mov rdx, rbx
mov rcx, rdi
call fcn.180003a20
comiss xmm6, xmm0
jb 0x180057b68
mov rcx, qword [rsi]
call fcn.180005dd0
mov rcx, rax
call fcn.1800094b0
test al, al
je 0x180057b68
mov rdx, qword [rbp - 0x40]
cmp rdx, qword [rbp - 0x38]
je 0x180057b5c
mov rax, qword [rsi]
mov qword [rdx], rax
add qword [rbp - 0x40], 8
jmp 0x180057b68
mov r8, rsi
lea rcx, [rbp - 0x48]
call fcn.180012f20
add rsi, 8
cmp rsi, r12
jne 0x180057af0
mov rbx, qword [0x18009c7f0]
lea rcx, [rbx + 0x48]
mov dword [rbp - 0x30], 2
lea rdx, [rbp - 0x30]
call fcn.180026c10
test al, al
je 0x180057c23
call fcn.180006e70
mov rdi, qword [rax + 8]
mov rbx, qword [rax]
cmp rbx, rdi
je 0x180057c1c
nop dword [rax]
mov rcx, qword [rbx]
test rcx, rcx
je 0x180057c13
mov byte [rsp + 0x20], 0
lea r9, [0x18009db18]
xor r8d, r8d
mov rax, qword [0x18009c7f0]
movss xmm1, dword [rax + 0x2c]
call fcn.180006410
test al, al
je 0x180057c13
mov rcx, qword [rbx]
call fcn.180005dd0
mov rcx, rax
call fcn.1800094b0
test al, al
je 0x180057c13
mov rdx, qword [rbp - 0x40]
cmp rdx, qword [rbp - 0x38]
je 0x180057c07
mov rax, qword [rbx]
mov qword [rdx], rax
add qword [rbp - 0x40], 8
jmp 0x180057c13
mov r8, rbx
lea rcx, [rbp - 0x48]
call fcn.180012f20
add rbx, 8
cmp rbx, rdi
jne 0x180057bb0
mov rbx, qword [0x18009c7f0]
lea rcx, [rbx + 0x48]
mov dword [rbp - 0x30], r14d
lea rdx, [rbp - 0x30]
call fcn.180026c10
test al, al
je 0x180057cd6
call fcn.180006e80
mov r12, qword [rax + 8]
mov rsi, qword [rax]
cmp rsi, r12
je 0x180057cd6
mov rcx, qword [rsi]
call fcn.180005dd0
mov rdi, rax
mov rcx, qword [0x18009b680]
call fcn.180005dd0
mov rbx, rax
mov rcx, qword [0x18009c7f0]
movaps xmm1, xmm7
movss xmm0, dword [rcx + 0x2c]
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm6, xmm0
mov rdx, rbx
mov rcx, rdi
call fcn.180003a20
comiss xmm6, xmm0
jb 0x180057cc9
mov rcx, qword [rsi]
call fcn.180005dd0
mov rcx, rax
call fcn.1800094b0
test al, al
je 0x180057cc9
mov rdx, qword [rbp - 0x40]
cmp rdx, qword [rbp - 0x38]
je 0x180057cbd
mov rax, qword [rsi]
mov qword [rdx], rax
add qword [rbp - 0x40], 8
jmp 0x180057cc9
mov r8, rsi
lea rcx, [rbp - 0x48]
call fcn.180012f20
add rsi, 8
cmp rsi, r12
jne 0x180057c51
mov rcx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x40]
cmp rcx, rax
je 0x180057ebd
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], rax
mov byte [rbp - 0x6f], 1
mov qword [rbp - 0x68], 0xffffffffffffffff
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r14
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x51], 1
mov qword [rsp + 0x58], 0xffffffffffffffff
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.180026ca0
lea rax, [rsp + 0x38]
mov qword [rbp - 0x30], rax
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
cmp rcx, 0xffffffffffffffff
jne 0x180057de9
mov rax, qword [rsp + 0x60]
cmp rax, rdx
je 0x180057d70
mov rdx, rax
mov qword [rsp + 0x68], rax
nop word [rax + rax]
mov rax, qword [rsp + 0x40]
cmp rax, qword [rsp + 0x48]
je 0x180057dbb
mov r8, rax
mov qword [rsp + 0x38], rax
add rax, 8
mov qword [rsp + 0x40], rax
cmp rdx, qword [rsp + 0x70]
je 0x180057daa
mov rax, qword [r8]
mov qword [rdx], rax
mov rdx, qword [rsp + 0x68]
add rdx, 8
mov qword [rsp + 0x68], rdx
jmp 0x180057d70
lea rcx, [rsp + 0x60]
call fcn.180012f20
mov rdx, qword [rsp + 0x68]
jmp 0x180057d70
mov rcx, qword [rsp + 0x60]
mov r8, rdx
sub r8, rcx
cmp r8, 8
jb 0x180057e1c
sar r8, 3
lea r9, [rsp + 0x38]
call fcn.1800543c0
mov qword [rsp + 0x58], r14
mov r8, r14
mov r9, qword [rsp + 0x60]
jmp 0x180057e18
mov r9, qword [rsp + 0x60]
sub rdx, r9
sar rdx, 3
cmp rcx, rdx
jae 0x180057e03
lea rax, [rcx + 1]
mov qword [rsp + 0x58], rax
lea r8, [rcx + 1]
cmovae r8, rcx
lea rax, [rcx + 1]
cmovae rax, rcx
cmp rax, rdx
jae 0x180057e1c
mov r14, qword [r9 + r8*8]
lea rcx, [rsp + 0x38]
call fcn.18001ff20
nop
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x180057e70
mov rax, qword [rbp - 0x50]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180057e6b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180057e6b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180080770
test r14, r14
je 0x180057eb9
mov byte [rsp + 0x20], 0
lea r9, [0x18009db18]
xor r8d, r8d
mov rax, qword [0x18009c7f0]
movss xmm1, dword [rax + 0x2c]
mov rcx, r14
call fcn.180006410
test al, al
je 0x180057eb9
mov edx, r15d
mov rcx, qword [0x18009b680]
call fcn.180006050
xor r8d, r8d
mov rdx, r14
mov rcx, rax
call fcn.180005bd0
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x180058578
mov rdx, qword [rbp - 0x38]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x180057ef9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180057ef9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180080770
jmp 0x180058578
cmp eax, 3
je 0x180058158
cmp eax, 1
je 0x180058553
test eax, eax
jne 0x180058578
cmp byte [rbx + 0x24], al
je 0x1800580b3
cmp dword [r13 + 0x30], 1
jne 0x180057f72
cmp dword [r13 + 0x18], 0
je 0x180058578
mov rcx, qword [r13 + 0x10]
test rcx, rcx
je 0x180058578
call fcn.180005d70
test al, al
je 0x180058578
mov edx, r15d
mov rcx, qword [0x18009b680]
call fcn.180006050
mov rbx, rax
mov rcx, qword [r13 + 0x10]
call fcn.180005dd0
jmp 0x18005856a
mov rcx, qword [r13 + 8]
movss xmm6, dword [0x18008e6dc]
test rcx, rcx
je 0x180057fd6
mov byte [rsp + 0x20], 0
lea r9, [0x18009db18]
mov r8b, 1
movaps xmm1, xmm6
call fcn.180006410
test al, al
je 0x180057fcf
mov edx, r15d
mov rcx, qword [0x18009b680]
call fcn.180006050
mov rbx, rax
mov rcx, qword [r13 + 8]
call fcn.180005dd0
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.180005c50
test al, al
jne 0x180058578
mov rbx, qword [0x18009c7f0]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
xor r14d, r14d
mov qword [rbp - 0x38], r14
movsd xmm1, qword [0x18009db18]
movsd qword [rbp - 0x30], xmm1
mov eax, dword [0x18009db20]
mov dword [rbp - 0x28], eax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8b, 1
lea edx, [r14 + 2]
movss xmm0, dword [rbx + 0x2c]
call fcn.180012b60
mov rdi, rax
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x180058071
mov rdx, qword [rbp - 0x38]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x180058060
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180058060
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180080770
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r14
test rdi, rdi
je 0x180058553
mov byte [rsp + 0x20], 0
lea r9, [0x18009db18]
mov r8b, 1
movaps xmm1, xmm6
mov rcx, rdi
call fcn.180006410
test al, al
je 0x180058553
mov edx, r15d
mov rcx, qword [0x18009b680]
call fcn.180006050
mov rcx, rdi
jmp 0x180058539
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
xor r14d, r14d
mov qword [rbp - 0x38], r14
movsd xmm0, qword [0x18009db18]
movsd qword [rbp - 0x30], xmm0
mov eax, dword [0x18009db20]
mov dword [rbp - 0x28], eax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8b, 1
lea edx, [r14 + 2]
movss xmm0, dword [rbx + 0x2c]
call fcn.180012b60
mov rdi, rax
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1800584ab
mov rdx, qword [rbp - 0x38]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005849a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005849a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp eax, 8
jne 0x180058176
cmp dword [rbx + 0x40], 3
jne 0x180058578
mov edx, r15d
mov rcx, qword [0x18009b680]
call fcn.180006050
xor edx, edx
mov rcx, rax
call fcn.180005b50
jmp 0x180058578
test eax, eax
jne 0x18005818a
mov eax, dword [rbx + 0x40]
cmp eax, 3
je 0x180058158
cmp eax, 1
jmp 0x180058551
cmp eax, 1
jne 0x1800581c2
cmp dword [rbx + 0x40], eax
jne 0x180058578
cmp byte [rbx + 0x24], 0
je 0x180058553
mov rcx, qword [rbx + 0x18]
call fcn.180067af0
mov edx, eax
mov rcx, r12
call fcn.180006200
test al, al
je 0x180058578
jmp 0x180058553
cmp eax, 7
jne 0x180058264
cmp dword [r13 + 0x30], 1
jne 0x1800582c5
mov eax, dword [rbx + 0x40]
cmp eax, 3
je 0x180058158
cmp eax, 1
jne 0x180058578
mov rcx, qword [r13 + 0x10]
call fcn.180012c80
mov rbx, rax
mov rcx, r12
call fcn.180005dd0
mov r8, rax
lea rdx, [rbp - 0x48]
mov rcx, rbx
call fcn.180003f70
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.180003c50
mov rcx, r12
call fcn.180005dd0
mov rbx, rax
movss xmm2, dword [0x18008e6bc]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x30]
call fcn.180003fa0
mov r8, rax
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.180003f40
mov edx, r15d
mov rcx, qword [0x18009b680]
call fcn.180006050
lea rdx, [rbp - 0x20]
mov rcx, rax
jmp 0x180058570
cmp eax, 5
je 0x18005814e
cmp eax, 3
jne 0x1800582c5
cmp dword [r13 + 0x30], 0
jne 0x180058578
cmp dword [rbx + 0x40], eax
jne 0x180058578
cmp byte [rbx + 0x24], 0
je 0x1800582a7
mov rcx, qword [rbx + 0x18]
call fcn.180067af0
mov edx, eax
mov rcx, r12
call fcn.180006200
test al, al
je 0x180058578
mov edx, r15d
mov rcx, qword [0x18009b680]
call fcn.180006050
xor edx, edx
mov rcx, rax
call fcn.180005b50
jmp 0x180058578
cmp eax, 9
jne 0x180058578
mov eax, dword [rbx + 0x40]
cmp eax, 3
jne 0x1800582fb
cmp dword [r13 + 0x30], 0
jne 0x180058578
mov rcx, qword [rbx + 0x18]
call fcn.180067af0
mov edx, eax
mov rcx, r12
call fcn.180006200
test al, al
jmp 0x180058152
test eax, eax
jne 0x180058578
cmp byte [rbx + 0x24], al
je 0x180058410
cmp dword [r13 + 0x30], 1
je 0x180057f2d
mov rcx, qword [r13 + 8]
movss xmm6, dword [0x18008e6dc]
test rcx, rcx
je 0x18005837a
mov byte [rsp + 0x20], al
lea r9, [0x18009db18]
mov r8b, 1
movaps xmm1, xmm6
call fcn.180006410
test al, al
je 0x180058373
mov edx, r15d
mov rcx, qword [0x18009b680]
call fcn.180006050
mov rbx, rax
mov rcx, qword [r13 + 8]
call fcn.180005dd0
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.180005c50
test al, al
jne 0x180058578
mov rbx, qword [0x18009c7f0]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
xor r14d, r14d
mov qword [rbp - 0x38], r14
movsd xmm0, qword [0x18009db18]
movsd qword [rbp - 0x30], xmm0
mov eax, dword [0x18009db20]
mov dword [rbp - 0x28], eax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8b, 1
lea edx, [r14 + 2]
movss xmm0, dword [rbx + 0x2c]
call fcn.180012b60
mov rdi, rax
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x180058071
mov rdx, qword [rbp - 0x38]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x180058060
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180058060
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
xor r14d, r14d
mov qword [rbp - 0x38], r14
movsd xmm0, qword [0x18009db18]
movsd qword [rbp - 0x30], xmm0
mov eax, dword [0x18009db20]
mov dword [rbp - 0x28], eax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8b, 1
lea edx, [r14 + 2]
movss xmm0, dword [rbx + 0x2c]
call fcn.180012b60
mov rdi, rax
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1800584ab
mov rdx, qword [rbp - 0x38]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005849a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005849a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180080770
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r14
test rdi, rdi
movss xmm6, dword [0x18008e6dc]
je 0x180058502
mov byte [rsp + 0x20], 0
lea r9, [0x18009db18]
mov r8b, 1
movaps xmm1, xmm6
mov rcx, rdi
call fcn.180006410
test al, al
je 0x180058502
mov edx, r15d
mov rcx, qword [0x18009b680]
call fcn.180006050
mov rbx, rax
mov rcx, rdi
call fcn.180005dd0
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.180005c50
test al, al
jne 0x180058578
mov rcx, qword [r13 + 8]
test rcx, rcx
je 0x180058553
mov byte [rsp + 0x20], 0
lea r9, [0x18009db18]
mov r8b, 1
movaps xmm1, xmm6
call fcn.180006410
test al, al
je 0x180058553
mov edx, r15d
mov rcx, qword [0x18009b680]
call fcn.180006050
mov rcx, qword [r13 + 8]
mov rbx, rax
call fcn.180005dd0
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.180005c50
test al, al
jne 0x180058578
mov edx, r15d
mov rcx, qword [0x18009b680]
call fcn.180006050
mov rbx, rax
call fcn.180006f30
mov rcx, rbx
mov rdx, rax
xor r8d, r8d
call fcn.180005c50
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180080b80
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret