Function at 0x140049800
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0xe0
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14016a0c0]
xor rax, rsp
mov qword [rbp + 0x80], rax
xor edi, edi
mov ebx, 4
mov rax, qword gs:[0x58]
add rbx, qword [rax]
mov eax, dword [rbx]
cmp dword [0x14016ad14], eax
jle 0x14004988a
lea rcx, [0x14016ad14]
call fcn.1400f1bfc
cmp dword [0x14016ad14], 0xffffffff
jne 0x14004988a
mov byte [0x14016ad0d], dil
lea rcx, [0x1400f4340]
call fcn.1400f1ed8
lea rcx, [0x14016ad14]
call fcn.1400f1b90
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [rbx]
cmp dword [0x14016acf4], eax
jle 0x1400498d9
lea rcx, [0x14016acf4]
call fcn.1400f1bfc
cmp dword [0x14016acf4], 0xffffffff
jne 0x1400498d9
mov qword [0x14016ad00], rdi
lea rcx, [0x1400f4360]
call fcn.1400f1ed8
lea rcx, [0x14016acf4]
call fcn.1400f1b90
lea rcx, [0x14016ad00]
call fcn.140012190
mov eax, dword [rbx]
cmp dword [0x14016acf4], eax
jle 0x140049923
lea rcx, [0x14016acf4]
call fcn.1400f1bfc
cmp dword [0x14016acf4], 0xffffffff
jne 0x140049923
mov qword [0x14016ad00], rdi
lea rcx, [0x1400f4360]
call fcn.1400f1ed8
lea rcx, [0x14016acf4]
call fcn.1400f1b90
lea rcx, [0x14016ad00]
call fcn.140012520
call fcn.140015eb0
mov rcx, rax
call fcn.140014b40
mov ecx, 8
call fcn.1400f1c74
lea rcx, [0x1400491c0]
mov qword [rax], rcx
mov qword [rbp + 0x40], rax
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140049f30]
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 0x140049e9b
mov qword [rbp + 0x40], rdi
mov ecx, 8
call fcn.1400f1c74
lea rcx, [0x140049350]
mov qword [rax], rcx
mov qword [rbp + 0x40], rax
lea rcx, [rbp + 8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140049f30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp], rax
test rax, rax
je 0x140049e8c
mov qword [rbp + 0x40], rdi
mov ecx, 8
call fcn.1400f1c74
lea rcx, [0x140049590]
mov qword [rax], rcx
mov qword [rbp + 0x40], rax
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140049f30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x20], rax
test rax, rax
je 0x140049e7d
mov qword [rbp + 0x40], rdi
call fcn.140015eb0
mov rcx, rax
call fcn.1400152d0
cmp dword [rbp + 0x18], 0
je 0x140049e71
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp + 0x40], xmm0
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140049e71
xorps xmm0, xmm0
movaps xmmword [rbp + 0x10], xmm0
movdqa xmmword [rbp + 0x10], xmm0
mov eax, dword [rbx]
cmp dword [0x14016ad14], eax
jle 0x140049a96
lea rcx, [0x14016ad14]
call fcn.1400f1bfc
cmp dword [0x14016ad14], 0xffffffff
jne 0x140049a96
mov byte [0x14016ad0d], 0
lea rcx, [0x1400f4340]
call fcn.1400f1ed8
lea rcx, [0x14016ad14]
call fcn.1400f1b90
movabs rsi, 0xd2b6ddbe05a87fb8
mov qword [rbp + 0x40], rsi
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x40], rax
movabs r14, 0x9ef21c23355d82e6
mov qword [rbp + 0x40], r14
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x48], rax
movabs rax, 0x809892942e5a5b6b
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x50], rax
movabs rax, 0x9fb456d5e5f2a17a
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x58], rax
movabs r15, 0xec9bfdc777dc11fd
mov qword [rbp + 0x40], r15
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x40], rax
movabs r12, 0xfb9a7f424138c6c6
mov qword [rbp + 0x40], r12
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x48], rax
movabs r13, 0xe5f3f1fd42197b0f
mov qword [rbp + 0x40], r13
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x50], rax
movabs rax, 0x9fd037b0979af508
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x58], rax
cmp dword [rbp + 8], 0
je 0x140049e71
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp + 0x40], xmm0
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140049e71
xorps xmm0, xmm0
movaps xmmword [rbp], xmm0
movdqa xmmword [rbp], xmm0
mov eax, dword [rbx]
cmp dword [0x14016ad14], eax
jle 0x140049bb5
lea rcx, [0x14016ad14]
call fcn.1400f1bfc
cmp dword [0x14016ad14], 0xffffffff
jne 0x140049bb5
mov byte [0x14016ad0d], 0
lea rcx, [0x1400f4340]
call fcn.1400f1ed8
lea rcx, [0x14016ad14]
call fcn.1400f1b90
mov qword [rbp + 0x40], rsi
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x40], r14
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x48], rax
movabs rax, 0x8b9a938427525b6b
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x50], rax
movabs rax, 0x9fb456d5e5f2a16c
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x40], r15
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x40], r12
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x40], r13
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x50], rax
movabs rax, 0x9fd037b0979af508
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x58], rax
mov eax, dword [rbx]
cmp dword [0x14016acf4], eax
jle 0x140049c71
lea rcx, [0x14016acf4]
call fcn.1400f1bfc
cmp dword [0x14016acf4], 0xffffffff
jne 0x140049c71
mov qword [0x14016ad00], rdi
lea rcx, [0x1400f4360]
call fcn.1400f1ed8
lea rcx, [0x14016acf4]
call fcn.1400f1b90
mov rcx, qword [0x14016ad00]
call fcn.1400b3030
call fcn.1400b3140
mov eax, dword [rbx]
cmp dword [0x14016ad14], eax
jle 0x140049cc0
lea rcx, [0x14016ad14]
call fcn.1400f1bfc
cmp dword [0x14016ad14], 0xffffffff
jne 0x140049cc0
mov byte [0x14016ad0d], 0
lea rcx, [0x1400f4340]
call fcn.1400f1ed8
lea rcx, [0x14016ad14]
call fcn.1400f1b90
movabs rax, 0x857a74b2b7f5b28e
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x40], rax
movabs rax, 0x664b135e2229433c
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x48], rax
movabs rax, 0x53a7c00961460c7e
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x50], rax
movabs rax, 0x1571ddf5a5155af2
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x58], rax
movabs rax, 0x7b79f808948f686d
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x60], rax
movabs rcx, 0x4e680666fec7e712
mov qword [rbp + 0x40], rcx
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x68], rax
movabs rax, 0xe00c06d7e497d7d9
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x40], rax
movabs rax, 0x82a76326113794e
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x48], rax
movabs rax, 0x7399ed29486e7c0b
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x50], rax
movabs rax, 0x7114ae94c0793fa0
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x58], rax
movabs rax, 0x170b8d6bf6e6044d
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x40], rcx
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x68], rax
mov eax, dword [rbx]
cmp dword [0x14016ae14], eax
jle 0x140049dfc
lea rcx, [0x14016ae14]
call fcn.1400f1bfc
cmp dword [0x14016ae14], 0xffffffff
jne 0x140049dfc
mov byte [0x14016ae10], 0
lea rcx, [0x1400f4410]
call fcn.1400f1ed8
lea rcx, [0x14016ae14]
call fcn.1400f1b90
call fcn.140010b80
cmp dword [rbp + 0x28], 0
je 0x140049e71
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x40], xmm0
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140049e71
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
cmp dword [rbp + 8], eax
je 0x140049e32
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rbp + 0x18], 0
je 0x140049e3f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor eax, eax
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400f1b70
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x28], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 8], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x18], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3