Function at 0x14004ea80
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x140062040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rcx, 0xfffffffffffffffe
call qword [sym.imp.USER32.dll_SetProcessDpiAwarenessContext]
lea rcx, [0x140062140]
call fcn.14004fb30
test al, al
jne 0x14004eadf
mov eax, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140050070
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rbp
ret
call fcn.14004f190
test al, al
jne 0x14004eaef
mov eax, 2
jmp 0x14004eac2
mov byte [0x1400620c0], 1
mov ecx, 1
call fcn.140050090
lea rcx, [rbp - 1]
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14004ef20]
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 0x14004ee81
cmp dword [rbp - 1], ebx
je 0x14004ee75
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 0x14004ee75
xorps xmm0, xmm0
movdqa xmmword [rbp - 9], xmm0
mov ecx, 1
call fcn.140050090
lea rcx, [rbp - 1]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14004ef50]
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 0x14004ee66
cmp dword [rbp - 1], ebx
je 0x14004ee5a
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 0x14004ee5a
xorps xmm0, xmm0
movdqa xmmword [rbp - 9], xmm0
mov ecx, 1
call fcn.140050090
lea rcx, [rbp - 1]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14004ef80]
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 0x14004ee4b
cmp dword [rbp - 1], ebx
je 0x14004ee3f
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 0x14004ee3f
xorps xmm0, xmm0
movdqa xmmword [rbp - 9], xmm0
mov ecx, 1
call fcn.140050090
lea rcx, [rbp - 1]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14004f160]
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 0x14004ee30
cmp dword [rbp - 1], ebx
je 0x14004ee24
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 0x14004ee24
xorps xmm0, xmm0
movdqa xmmword [rbp - 9], xmm0
cmp byte [0x1400620c0], bl
je 0x14004edd2
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 0x14004ecf2
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 0x14004ecc0
mov rax, qword [0x140062860]
test rax, rax
je 0x14004ed07
mov rcx, qword [rax + 0x98]
jmp 0x14004ed0a
mov rcx, rbx
cmp qword [rcx + 0x48], rbx
jne 0x14004ed15
call fcn.140036c50
call fcn.140037e90
call fcn.14000e770
call fcn.140002500
cmp byte [0x1400620c1], bl
je 0x14004ed31
call fcn.140002ad0
cmp byte [0x140062114], bl
je 0x14004ed45
mov rcx, qword [0x1400628a8]
call fcn.140003930
call fcn.140010670
xorps xmm0, xmm0
movups xmmword [rbp + 0x37], xmm0
mov rcx, qword [0x140062870]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x140062880]
mov edx, 1
call qword [rax + 0x108]
mov rcx, qword [0x140062870]
mov rax, qword [rcx]
lea r8, [rbp + 0x37]
mov rdx, qword [0x140062880]
call qword [rax + 0x190]
mov rax, qword [0x140062860]
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.1400361e0
mov rcx, qword [0x140062878]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 1
call qword [rax + 0x40]
cmp byte [0x1400620c0], bl
jne 0x14004eca0
call fcn.14004f4c0
mov rcx, qword [0x140062188]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [0x1400628a8]
test rbx, rbx
je 0x14004ee1d
lea r9, [0x14004ee90]
mov r8, qword [rbx - 8]
mov edx, 0x188
mov rcx, rbx
call fcn.1400501e4
lea rcx, [rbx - 8]
imul rdx, qword [rcx], 0x188
add rdx, 8
call fcn.140050670
nop
xor eax, eax
jmp 0x14004eac2
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