Function at 0x140001640
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor ebx, ebx
mov qword [rbp - 0x61], rbx
mov dword [rbp + 0x23], 0x616161
mov edi, 0xf
mov qword [rbp + 0x27], rdi
mov qword [rbp + 0x2f], rdi
movabs rcx, 0x6161616161616161
mov qword [rbp + 0x17], rcx
mov dword [rbp + 0x1f], ecx
mov byte [rbp + 0x26], bl
mov dword [rbp - 0x2d], 0x616161
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], rdi
mov qword [rbp - 0x39], rcx
mov dword [rbp - 0x31], ecx
mov byte [rbp - 0x2a], bl
lea rax, [rbp - 0x39]
mov byte [rax], 0x6d
mov dword [rbp - 0x4d], 0x616161
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x41], rdi
mov qword [rbp - 0x59], rcx
mov dword [rbp - 0x51], ecx
mov byte [rbp - 0x4a], bl
lea rax, [rbp - 0x59]
mov byte [rax], 0x79
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rbp - 0x69], rax
mov dword [rbp - 0x71], ebx
mov dword [rbp - 0x75], 0xfbc2b21e
mov dword [rbp - 0x79], 2
lea ecx, [rbx + 0x40]
call fcn.1400020e0
lea rcx, [rbp - 0x69]
mov qword [rax], rcx
lea rcx, [rbp - 0x75]
mov qword [rax + 8], rcx
lea rcx, [rbp - 0x71]
mov qword [rax + 0x10], rcx
lea rcx, [rbp - 0x79]
mov qword [rax + 0x18], rcx
lea rcx, [rbp - 0x61]
mov qword [rax + 0x20], rcx
lea rcx, [rbp + 0x17]
mov qword [rax + 0x28], rcx
mov dword [rax + 0x30], ebx
lea rsi, [fcn.1400011a0]
mov qword [rax + 0x38], rsi
mov qword [rbp - 0x19], rax
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140002050]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 7], rax
test rax, rax
je 0x1400019f7
cmp dword [rbp + 0xf], ebx
je 0x1400019eb
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp - 0x19], xmm0
lea rcx, [rbp - 0x19]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400019eb
xorps xmm0, xmm0
movdqa xmmword [rbp + 7], xmm0
lea ecx, [rbx + 0x40]
call fcn.1400020e0
lea rcx, [rbp - 0x69]
mov qword [rax], rcx
lea rcx, [rbp - 0x75]
mov qword [rax + 8], rcx
lea rcx, [rbp - 0x71]
mov qword [rax + 0x10], rcx
lea rcx, [rbp - 0x79]
mov qword [rax + 0x18], rcx
lea rcx, [rbp - 0x61]
mov qword [rax + 0x20], rcx
lea rcx, [rbp - 0x39]
mov qword [rax + 0x28], rcx
mov dword [rax + 0x30], ebx
mov qword [rax + 0x38], rsi
mov qword [rbp - 0x19], rax
lea rcx, [rbp - 1]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140002050]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 9], rax
test rax, rax
je 0x1400019dc
cmp dword [rbp - 1], ebx
je 0x1400019d0
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 0x19], xmm0
lea rcx, [rbp - 0x19]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400019d0
xorps xmm0, xmm0
movdqa xmmword [rbp - 9], xmm0
lea ecx, [rbx + 0x40]
call fcn.1400020e0
lea rcx, [rbp - 0x69]
mov qword [rax], rcx
lea rcx, [rbp - 0x75]
mov qword [rax + 8], rcx
lea rcx, [rbp - 0x71]
mov qword [rax + 0x10], rcx
lea rcx, [rbp - 0x79]
mov qword [rax + 0x18], rcx
lea rcx, [rbp - 0x61]
mov qword [rax + 0x20], rcx
lea rcx, [rbp - 0x59]
mov qword [rax + 0x28], rcx
mov dword [rax + 0x30], ebx
mov qword [rax + 0x38], rsi
mov qword [rbp - 0x19], rax
lea rcx, [rbp + 0x3f]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140002050]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x37], rax
test rax, rax
je 0x1400019c1
cmp dword [rbp + 0x3f], ebx
je 0x1400018ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rbp - 1], 0
je 0x1400018bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rbp + 0xf], 0
je 0x1400018c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x140001906
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001901
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001901
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002124
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x41], rdi
mov byte [rbp - 0x59], 0
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x140001950
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000194b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000194b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002124
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], rdi
mov byte [rbp - 0x39], 0
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x14000199a
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001995
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001995
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002124
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400020c0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov dword [rbp + 0x3f], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 1], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0xf], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3