Function at 0x14004d9a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x140060040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rcx, 0xfffffffffffffffe
call qword [sym.imp.USER32.dll_SetProcessDpiAwarenessContext]
lea rcx, [0x140060130]
call fcn.14004ea30
test al, al
jne 0x14004d9ff
mov eax, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14004eea0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rbp
ret
call fcn.14004e0a0
test al, al
jne 0x14004da0f
mov eax, 2
jmp 0x14004d9e2
mov byte [0x1400600c0], 1
mov ecx, 1
call fcn.14004eec0
lea rcx, [rbp - 1]
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14004de30]
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 0x14004dd88
cmp dword [rbp - 1], ebx
je 0x14004dd7c
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp + 0x37], xmm0
lea rcx, [rbp + 0x37]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14004dd7c
xorps xmm0, xmm0
movdqa xmmword [rbp - 9], xmm0
lea ecx, [rbx + 1]
call fcn.14004eec0
lea rcx, [rbp - 1]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14004de60]
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 0x14004dd6d
cmp dword [rbp - 1], ebx
je 0x14004dd61
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp + 0x37], xmm0
lea rcx, [rbp + 0x37]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14004dd61
xorps xmm0, xmm0
movdqa xmmword [rbp - 9], xmm0
lea ecx, [rbx + 1]
call fcn.14004eec0
lea rcx, [rbp - 1]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14004de90]
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 0x14004dd52
cmp dword [rbp - 1], ebx
je 0x14004dd46
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp + 0x37], xmm0
lea rcx, [rbp + 0x37]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14004dd46
xorps xmm0, xmm0
movdqa xmmword [rbp - 9], xmm0
lea ecx, [rbx + 1]
call fcn.14004eec0
lea rcx, [rbp - 1]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14004e070]
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 0x14004dd37
cmp dword [rbp - 1], ebx
je 0x14004dd2b
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp + 0x37], xmm0
lea rcx, [rbp + 0x37]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14004dd2b
xorps xmm0, xmm0
movdqa xmmword [rbp - 9], xmm0
cmp byte [0x1400600c0], bl
je 0x14004dcd9
nop
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14004dc02
nop
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_DispatchMessageA]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x14004dbd0
mov rax, qword [0x140060850]
test rax, rax
je 0x14004dc17
mov rcx, qword [rax + 0x98]
jmp 0x14004dc1a
mov rcx, rbx
cmp qword [rcx + 0x48], rbx
jne 0x14004dc25
call fcn.140036700
call fcn.140037940
call fcn.14000d730
call fcn.1400026e0
cmp byte [0x1400600c1], bl
je 0x14004dc41
call fcn.140002c10
cmp byte [0x140060110], bl
je 0x14004dc4e
call fcn.140003760
call fcn.14000f610
xorps xmm0, xmm0
movups xmmword [rbp + 0x37], xmm0
mov rcx, qword [0x140060860]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x140060870]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x140060860]
mov rax, qword [rcx]
lea r8, [rbp + 0x37]
mov rdx, qword [0x140060870]
call qword [rax + 0x190]
mov rax, qword [0x140060850]
mov rax, qword [rax + 0x4b60]
mov rcx, qword [rax]
add rcx, 0x48
mov rax, rbx
cmp byte [rcx], al
cmovne rax, rcx
mov rcx, rax
call fcn.140035ca0
mov rcx, qword [0x140060868]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [rax + 0x40]
cmp byte [0x1400600c0], bl
jne 0x14004dbb0
call fcn.14004e3c0
mov rcx, qword [0x140060178]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [0x140060898]
test rbx, rbx
je 0x14004dd24
lea r9, [0x14004dda0]
mov r8, qword [rbx - 8]
mov edx, 0x148
mov rcx, rbx
call fcn.14004f014
lea rcx, [rbx - 8]
imul rdx, qword [rcx], 0x148
add rdx, 8
call fcn.14004f4a0
nop
xor eax, eax
jmp 0x14004d9e2
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov dword [rbp - 1], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov dword [rbp - 1], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov dword [rbp - 1], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov dword [rbp - 1], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3