Function at 0x1400064c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor edi, edi
lea rdx, [0x140009a80]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
call fcn.140002dc0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], dil
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
lea r8d, [rdi + 0x17]
lea rdx, str.Mysettings_settings.txt
lea rcx, [rsp + 0x30]
call fcn.140004d40
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400062f0
mov ecx, dword [rax]
mov dword [rbp - 0x40], ecx
mov ecx, dword [rax + 4]
mov dword [rbp - 0x3c], ecx
mov ecx, dword [rax + 8]
mov dword [rbp - 0x38], ecx
mov ecx, dword [rax + 0xc]
mov dword [rbp - 0x34], ecx
lea rbx, [rax + 0x10]
lea rax, [rbp - 0x30]
cmp rax, rbx
je 0x1400065d3
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1400065a5
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400065a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006607
call fcn.1400071fc
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140006613
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000660e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000660e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400071fc
mov byte [rbp - 0x7f], 0
mov byte [rbp - 0x80], 1
mov ecx, 0x20
call fcn.1400070f0
lea rcx, [rbp - 0x40]
mov qword [rax], rcx
lea rcx, [rbp - 0x80]
mov qword [rax + 8], rcx
lea rcx, [rbp - 0x7f]
mov qword [rax + 0x10], rcx
lea rcx, [0x140005fe0]
mov qword [rax + 0x18], rcx
mov qword [rbp - 0x70], rax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140006a30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x1400067f0
mov ecx, 8
call fcn.1400070f0
lea rcx, [0x140006260]
mov qword [rax], rcx
mov qword [rbp - 0x70], rax
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140006a70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x60], rax
test rax, rax
je 0x1400067e1
cmp dword [rbp - 0x48], 0
je 0x1400067d5
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400067d5
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
cmp dword [rbp - 0x58], eax
je 0x1400067d5
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400067d5
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14000675a
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140006730
cmp dword [rbp - 0x58], 0
je 0x140006767
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rbp - 0x48], 0
je 0x140006774
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1400067b2
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400067ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400067ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400071fc
xor eax, eax
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400070d0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x58], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x48], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3