Function at 0x1400593f0
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xd8]
sub rsp, 0x1b0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
mov rax, qword [0x1400a90c0]
xor rax, rsp
mov qword [rbp + 0x50], rax
xor r12d, r12d
mov rdi, qword [0x1400dbe30]
mov rax, qword [rdi + 0x3ec0]
movss xmm9, dword [rax + 0x20]
movss xmm10, dword [rax + 0x24]
movss xmm6, dword [0x140096b08]
cmp byte [0x1400dbe55], r12b
je 0x1400594a8
movss xmm0, dword [rdi + 0x18]
addss xmm0, xmm0
addss xmm0, dword [0x1400dbf54]
movss dword [0x1400dbf54], xmm0
comiss xmm0, xmm6
jb 0x1400594a4
mov byte [0x1400dbe55], r12b
mov dword [0x1400dbe44], 2
mov dword [0x1400dbf54], r12d
jmp 0x14005a2ab
subss xmm6, xmm0
xorps xmm7, xmm7
mov qword [rbp - 0x20], r12
mov dword [rbp - 0x18], r12d
mov dword [rbp + 0x10], 4
movups xmm0, xmmword [rdi + 0x38e8]
movups xmmword [rbp + 0x14], xmm0
lea rcx, [rdi + 0x4808]
lea rdx, [rbp + 0x10]
call fcn.14001ca00
movups xmm0, xmmword [rbp - 0x20]
shufps xmm0, xmm0, 0x93
movss xmm0, xmm6
shufps xmm0, xmm0, 0x39
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rdi + 0x38e8], xmm0
mov rbx, qword [0x1400dbe30]
lea rcx, [rbx + 0x4818]
movss xmm0, dword [rbx + 0x37e0]
mov dword [rbp - 0x20], r12d
movss dword [rbp - 0x1c], xmm0
lea rdx, [rbp - 0x20]
call fcn.14001c910
movss dword [rbx + 0x37e0], xmm6
mov rcx, qword [0x1400dbe30]
mov rax, qword [rcx + 0x3ec0]
mov byte [rax + 0xb0], 1
mov rax, qword [rcx + 0x3ec0]
movss xmm1, dword [rax + 0x1c]
subss xmm1, dword [rax + 0x80]
addss xmm1, dword [0x140096bb8]
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x7c]
addss xmm0, dword [0x140096b84]
movss dword [rax + 0xf8], xmm0
movss dword [rax + 0xfc], xmm1
mov byte [rax + 0x139], 1
mov dword [rbp + 0x10], 0x42700000
mov dword [rbp + 0x14], 0x41c80000
lea rdx, [rbp + 0x10]
lea rcx, str.__Back
call fcn.14002f840
test al, al
je 0x1400595b3
cmp byte [0x1400dbe55], r12b
jne 0x1400595b3
mov byte [0x1400dbe55], 1
mov dword [0x1400dbf54], r12d
mov rax, qword [rdi + 0x58]
mov rcx, qword [rax + 0x60]
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x30], r12
lea rdi, str.Files_Fixer
mov qword [rsp + 0x28], rdi
movss xmm0, dword [0x140096c2c]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x140096c24]
movss xmm2, dword [rbx + 0x14]
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.14002bb30
movaps xmm2, xmm9
subss xmm2, dword [rbp - 0x28]
mulss xmm2, dword [0x140096adc]
mov r9, qword [0x1400dbe30]
mov rax, qword [r9 + 0x3ec0]
mov byte [rax + 0xb0], 1
mov rax, qword [r9 + 0x3ec0]
movss xmm1, dword [rax + 0x1c]
subss xmm1, dword [rax + 0x80]
addss xmm1, dword [0x140096bbc]
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x7c]
addss xmm0, xmm2
movss dword [rax + 0xf8], xmm0
movss dword [rax + 0xfc], xmm1
mov byte [rax + 0x139], 1
mov rax, qword [r9 + 0x3ec0]
mov byte [rax + 0xb0], 1
mov r8, qword [r9 + 0x3ec0]
mov r10, qword [r8 + 0x290]
mov dword [rbp - 0x20], 0x3f800000
mov dword [rbp - 0x1c], 0x3f800000
mov dword [rbp - 0x18], 0x3f800000
movups xmm0, xmmword [rbp - 0x20]
shufps xmm0, xmm0, 0x93
movss xmm0, xmm6
shufps xmm0, xmm0, 0x39
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x20], xmm0
mulss xmm6, dword [r9 + 0x37e0]
movss dword [rbp - 0x14], xmm6
lea rcx, [rbp - 0x20]
call fcn.1400062d0
mov ecx, eax
mov byte [r8 + 0xb0], 1
mov r9, qword [r9 + 0x3ec0]
add r9, 0xf8
movss xmm2, dword [rbx + 0x14]
test eax, 0xff000000
je 0x140059732
ucomiss xmm2, xmm7
jp 0x1400596f2
jne 0x1400596f2
mov rax, qword [r10 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [r10 + 0x88]
movups xmmword [rbp - 0x20], xmm0
mov byte [rsp + 0x48], r12b
movss dword [rsp + 0x40], xmm7
lea rax, [0x14009531b]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rdx, r10
mov rcx, rbx
call fcn.14002bd50
movaps xmm8, xmm9
subss xmm8, dword [0x140096bdc]
mulss xmm8, dword [0x140096adc]
mov rcx, qword [0x1400dbe30]
mov rax, qword [rcx + 0x3ec0]
mov byte [rax + 0xb0], 1
mov rax, qword [rcx + 0x3ec0]
movss xmm1, dword [rax + 0x1c]
subss xmm1, dword [rax + 0x80]
addss xmm1, dword [0x140096bd0]
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x7c]
addss xmm0, xmm8
movss dword [rax + 0xf8], xmm0
movss dword [rax + 0xfc], xmm1
mov byte [rax + 0x139], 1
mov dword [rbp + 0x10], 0x43480000
mov dword [rbp + 0x14], 0x41f00000
lea rdx, [rbp + 0x10]
lea rcx, str.Browse_Game_Folder
call fcn.14002f840
lea r13, [0x1400a91a0]
test al, al
je 0x140059c4d
mov qword [rbp], r12
lea rax, [rbp]
mov qword [rsp + 0x20], rax
lea r9, [0x140093a80]
xor edx, edx
mov r8d, 1
lea rcx, [0x14008d058]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140059c39
mov rcx, qword [rbp]
mov rax, qword [rcx]
mov edx, 0x60
call qword [rax + 0x48]
mov rcx, qword [rbp]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x18]
test eax, eax
js 0x140059c39
mov qword [rbp + 0x10], r12
mov rcx, qword [rbp]
mov rax, qword [rcx]
lea rdx, [rbp + 0x10]
call qword [rax + 0xa0]
test eax, eax
js 0x140059c25
mov rcx, qword [rbp + 0x10]
mov rax, qword [rcx]
lea r8, [rbp - 0x28]
mov edx, 0x80058000
call qword [rax + 0x28]
test eax, eax
js 0x140059c25
mov r9, qword [rbp - 0x28]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [r9 + rdx*2], 0
jne 0x140059863
mov rax, qword [0x1400a92c0]
lea r15, [0x1400a92a8]
cmp rdx, rax
ja 0x1400598b0
mov rdi, r15
cmp rax, 7
cmova rdi, qword [0x1400a92a8]
mov qword [0x1400a92b8], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi], r12w
jmp 0x1400598b8
mov rcx, r15
call fcn.1400661f0
lea rcx, [rsp + 0x58]
call fcn.1400523b0
mov rbx, rax
lea rdi, [0x1400a9248]
cmp rdi, rax
je 0x14005995a
mov rdx, qword [0x1400a9260]
cmp rdx, 7
jbe 0x14005991b
mov rcx, qword [0x1400a9248]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140059916
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140059993
mov rcx, r8
call fcn.140083b7c
mov qword [0x1400a9258], r12
mov qword [0x1400a9260], 7
mov word [0x1400a9248], r12w
movups xmm0, xmmword [rbx]
movups xmmword [0x1400a9248], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x1400a9258], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x14005999f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005999a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005999a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140083b7c
mov qword [rbp - 0x20], r13
mov rcx, r13
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1400599bc
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [0x1400a91ec]
cmp eax, 0x7fffffff
jne 0x1400599dd
dec eax
mov dword [0x1400a91ec], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov r8, rdi
cmp qword [0x1400a9260], 7
cmova r8, qword [0x1400a9248]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9d, dword [0x1400a9258]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
mov rdx, rbx
xor r8d, r8d
lea rcx, [rsp + 0x78]
call fcn.14005e070
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova rcx, qword [rsp + 0x78]
cmp qword [0x1400a9260], 7
cmova rdi, qword [0x1400a9248]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
mov r9d, dword [0x1400a9258]
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
nop
mov r8, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
sub rax, r8
mov r14d, 0x11
lea rsi, str.Selected_Folder:
cmp rax, r14
jb 0x140059b11
lea rax, [r8 + 0x11]
mov qword [rbp - 0x78], rax
lea rbx, [rsp + 0x78]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x78]
lea rax, [0x140095349]
cmp rax, rbx
jbe 0x140059ad4
lea rax, [rbx + r8]
cmp rsi, rax
ja 0x140059ad4
cmp rbx, rsi
ja 0x140059acc
mov rdi, r12
jmp 0x140059ad7
mov rdi, rbx
sub rdi, rsi
jmp 0x140059ad7
mov rdi, r14
lea rcx, [rbx + 0x11]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
sub r14, rdi
lea rdx, [rsi + 0x11]
add rdx, rdi
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x78]
jmp 0x140059b2b
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.140074670
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [0x1400a92a0]
cmp rdx, 0xf
jbe 0x140059b7e
mov rcx, qword [0x1400a9288]
inc rdx
cmp rdx, 0x1000
jb 0x140059b79
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140059bc6
mov rcx, r8
call fcn.140083b7c
movups xmmword [0x1400a9288], xmm6
movups xmmword [0x1400a9298], xmm7
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x140059bd3
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059bcd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059bcd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140083b7c
nop
mov rcx, r13
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140065130
cmp qword [0x1400a92c0], 7
cmova r15, qword [0x1400a92a8]
mov r8, qword [0x1400a92b8]
mov rdx, r15
mov rcx, rax
call fcn.14006f330
lea rdx, [0x1400652f0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x140059c39
mov qword [rbp + 0x10], r12
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp]
test rcx, rcx
je 0x140059c4d
mov qword [rbp], r12
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [0x1400dbe30]
mov rax, qword [rcx + 0x3ec0]
mov byte [rax + 0xb0], 1
mov rax, qword [rcx + 0x3ec0]
movss xmm1, dword [rax + 0x1c]
subss xmm1, dword [rax + 0x80]
addss xmm1, dword [0x140096be4]
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x7c]
addss xmm0, xmm8
movss dword [rax + 0xf8], xmm0
movss dword [rax + 0xfc], xmm1
mov byte [rax + 0x139], 1
cmp qword [0x1400a92b8], 0
je 0x140059cbd
movzx eax, byte [0x1400dbe2e]
test al, al
jne 0x140059cbd
xor ecx, ecx
jmp 0x140059cbf
mov cl, 1
call fcn.140012550
mov dword [rbp - 0x28], 0x43480000
mov dword [rbp - 0x24], 0x41f00000
lea rdx, [rbp - 0x28]
lea rcx, str.Apply_Fixes
call fcn.14002f840
test al, al
je 0x140059ede
lea rcx, [rsp + 0x58]
call fcn.1400523b0
mov rbx, rax
mov r8, rax
cmp qword [rax + 0x18], 7
jbe 0x140059d04
mov r8, qword [rax]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9d, dword [rax + 0x10]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rdx, rdi
xor r8d, r8d
lea rcx, [rbp + 0x30]
call fcn.14005e070
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova rdx, qword [rbp + 0x30]
mov r9d, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x140059d57
mov rbx, qword [rbx]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdx
mov r8, rbx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140059dc1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059dbb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059dbb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140083b7c
nop
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.14005e180
nop
mov ecx, 0x20
call fcn.140083830
mov rbx, rax
mov qword [rbp - 0x20], rax
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.14005e180
nop
mov qword [rbp - 0x20], rbx
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
mov r9, rbx
lea r8, [0x140075e30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x10], rax
test rax, rax
je 0x14005a071
cmp dword [rbp + 0x18], 0
je 0x14005a065
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14005a065
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140059e90
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059e8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059e8a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140083b7c
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x140059ece
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059ec9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059ec9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140083b7c
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], 0xf
mov byte [rbp + 0x30], 0
mov rdx, qword [0x1400dbe30]
dec word [rdx + 0x5b48]
mov eax, dword [rdx + 0x4740]
shr eax, 2
test al, 1
movsxd rcx, dword [rdx + 0x4848]
lea eax, [rcx - 1]
mov dword [rdx + 0x4848], eax
mov rax, qword [rdx + 0x4850]
mov r8d, dword [rax + rcx*4 - 8]
mov dword [rdx + 0x4740], r8d
je 0x140059f2e
test r8b, 4
jne 0x140059f2e
mov eax, dword [rdx + 0x5b44]
mov dword [rdx + 0x37e0], eax
subss xmm9, dword [0x140096bdc]
mulss xmm9, dword [0x140096adc]
mov rax, qword [rdx + 0x3ec0]
mov byte [rax + 0xb0], 1
mov rax, qword [rdx + 0x3ec0]
movss xmm1, dword [rax + 0x1c]
subss xmm1, dword [rax + 0x80]
addss xmm1, dword [0x140096bf8]
movss xmm0, dword [rax + 0x18]
subss xmm0, dword [rax + 0x7c]
addss xmm0, xmm9
movss dword [rax + 0xf8], xmm0
movss dword [rax + 0xfc], xmm1
mov byte [rax + 0x139], 1
mov eax, dword [0x1400dbe4c]
test eax, eax
jle 0x14005a19a
mov ecx, dword [0x1400dbe4c]
mov eax, dword [0x1400dbe48]
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm6, xmm0
mov edx, dword [0x1400dbe4c]
lea rcx, [rbp - 0x48]
call fcn.140039000
mov rbx, rax
mov edx, dword [0x1400dbe48]
lea rcx, [rbp - 0x68]
call fcn.140039000
nop
mov r8d, 1
lea rdx, [0x140095644]
mov rcx, rax
call fcn.1400378e0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r9, rbx
lea r8, [rsp + 0x58]
movzx edx, byte [rsp + 0x50]
lea rcx, [rbp - 0x20]
call fcn.14006c6c0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14005a087
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a081
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a081
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x18], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.140083b7c
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14005a0c5
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a0c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a0c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140083b7c
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x14005a113
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a10e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a10e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140083b7c
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
lea r8, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova r8, qword [rbp - 0x20]
mov dword [rbp - 0x28], 0x43480000
mov dword [rbp - 0x24], 0x41a00000
lea rdx, [rbp - 0x28]
movaps xmm0, xmm6
call fcn.140030c50
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x14005a18a
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a185
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a185
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140083b7c
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
subss xmm10, dword [0x140096b8c]
mov rcx, qword [0x1400dbe30]
mov rax, qword [rcx + 0x3ec0]
mov byte [rax + 0xb0], 1
mov rax, qword [rcx + 0x3ec0]
movss xmm0, dword [rax + 0x1c]
subss xmm0, dword [rax + 0x80]
addss xmm10, xmm0
movss xmm1, dword [rax + 0x18]
subss xmm1, dword [rax + 0x7c]
addss xmm1, dword [0x140096b68]
movss dword [rax + 0xf8], xmm1
movss dword [rax + 0xfc], xmm10
mov byte [rax + 0x139], 1
mov qword [rbp - 0x20], r13
mov rcx, r13
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14005a218
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [0x1400a91ec]
cmp eax, 0x7fffffff
jne 0x14005a239
dec eax
mov dword [0x1400a91ec], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rdx, [0x1400a9288]
cmp qword [0x1400a92a0], 0xf
cmova rdx, qword [0x1400a9288]
lea rcx, [0x14008dfc4]
call fcn.14002ef30
nop
mov rcx, r13
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov ecx, 1
call fcn.140006570
mov r8, qword [0x1400dbe30]
movsxd rax, dword [r8 + 0x4808]
cmp eax, 1
jl 0x14005a2ab
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x4810]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8 + 0x38a8], xmm0
dec dword [r8 + 0x4808]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140083450
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret