Function at 0x14004d350
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x14005f040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rcx, 0xfffffffffffffffe
call qword [sym.imp.USER32.dll_SetProcessDpiAwarenessContext]
lea rcx, [0x1400d1c70]
call fcn.14004e1b0
test al, al
jne 0x14004d3af
mov eax, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14004e700
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rbp
ret
call fcn.14004d8b0
test al, al
jne 0x14004d3bf
mov eax, 2
jmp 0x14004d392
mov byte [0x1400d1be0], 1
mov ecx, 1
call fcn.14004e720
lea rcx, [rbp - 1]
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14004d7f0]
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 0x14004d74a
cmp dword [rbp - 1], ebx
je 0x14004d73e
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 0x14004d73e
xorps xmm0, xmm0
movdqa xmmword [rbp - 9], xmm0
mov ecx, 1
call fcn.14004e720
lea rcx, [rbp - 1]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14004d820]
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 0x14004d72f
cmp dword [rbp - 1], ebx
je 0x14004d723
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 0x14004d723
xorps xmm0, xmm0
movdqa xmmword [rbp - 9], xmm0
mov ecx, 1
call fcn.14004e720
lea rcx, [rbp - 1]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14004d850]
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 0x14004d714
cmp dword [rbp - 1], ebx
je 0x14004d708
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 0x14004d708
xorps xmm0, xmm0
movdqa xmmword [rbp - 9], xmm0
mov ecx, 1
call fcn.14004e720
lea rcx, [rbp - 1]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14004d880]
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 0x14004d6f9
cmp dword [rbp - 1], ebx
je 0x14004d6ed
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 0x14004d6ed
xorps xmm0, xmm0
movdqa xmmword [rbp - 9], xmm0
cmp byte [0x1400d1be0], bl
je 0x14004d69b
nop dword [rax]
nop dword [rax + rax]
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 0x14004d5c2
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 0x14004d590
mov rax, qword [0x1400d2380]
test rax, rax
je 0x14004d5d7
mov rcx, qword [rax + 0x98]
jmp 0x14004d5da
mov rcx, rbx
cmp qword [rcx + 0x48], rbx
jne 0x14004d5e5
call fcn.140035f50
call fcn.140037190
call fcn.14000e300
call fcn.140002fa0
cmp byte [0x1400d1be1], bl
je 0x14004d601
call fcn.140003480
cmp byte [0x1400d1c32], bl
je 0x14004d60e
call fcn.140004560
call fcn.140010200
xorps xmm0, xmm0
movups xmmword [rbp + 0x37], xmm0
mov rcx, qword [0x1400d2390]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x1400d23a0]
mov edx, 1
call qword [rax + 0x108]
mov rcx, qword [0x1400d2390]
mov rax, qword [rcx]
lea r8, [rbp + 0x37]
mov rdx, qword [0x1400d23a0]
call qword [rax + 0x190]
mov rax, qword [0x1400d2380]
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.1400354e0
mov rcx, qword [0x1400d2398]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 1
call qword [rax + 0x40]
cmp byte [0x1400d1be0], bl
jne 0x14004d570
call fcn.14004db40
mov rcx, qword [0x1400d1cb8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [0x1400d23c8]
test rbx, rbx
je 0x14004d6e6
lea r9, [0x14004d760]
mov r8, qword [rbx - 8]
mov edx, 0x158
mov rcx, rbx
call fcn.14004e790
lea rcx, [rbx - 8]
imul rdx, qword [rcx], 0x158
add rdx, 8
call fcn.14004ec1c
nop
xor eax, eax
jmp 0x14004d392
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