Function at 0x140048750
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rcx, 0xfffffffffffffffe
call qword [sym.imp.USER32.dll_SetProcessDpiAwarenessContext]
lea rcx, [0x14005b0c0]
call fcn.140049830
test al, al
jne 0x1400487a8
mov eax, 1
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
call fcn.140049100
test al, al
jne 0x1400487b8
mov eax, 2
jmp 0x14004878e
mov byte [0x14005b050], 1
mov ecx, 1
call fcn.140049b70
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x28], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140048e90]
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 0x140048ade
cmp dword [rbp - 0x18], r14d
jne 0x14004880c
lea ecx, [r14 + 1]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x14004882c
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov ecx, 1
call fcn.140049b70
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140048ec0]
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 0x140048ace
cmp dword [rbp - 0x18], r14d
jne 0x140048877
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140048897
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov ecx, 1
call fcn.140049b70
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140048ef0]
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 0x140048abe
cmp dword [rbp - 0x18], r14d
jne 0x1400488e2
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140048902
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov ecx, 1
call fcn.140049b70
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x1400490d0]
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 0x140048aae
cmp dword [rbp - 0x18], r14d
jne 0x14004894d
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x14004896d
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
call fcn.140048b80
mov rsi, qword [0x14005b870]
mov rbx, qword [0x14005b820]
test rbx, rbx
je 0x14004898e
mov rdi, qword [rbx + 0x98]
jmp 0x140048991
mov rdi, r14
call fcn.140032770
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1400489a5
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400489b3
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400489c2
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x88], r14
mov qword [rbx + 0x98], r14
and dword [rbx + 0xc], 0xfffffff7
mov rcx, rdi
call fcn.14000b420
mov rbx, qword [0x14005b820]
test rbx, rbx
je 0x1400489f1
mov rdi, qword [rbx + 0x90]
jmp 0x1400489f4
mov rdi, r14
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140048a03
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0x80], r14
mov qword [rbx + 0x90], r14
and dword [rbx + 0xc], 0xfffffff8
mov rcx, rdi
call fcn.14000b420
mov rbx, qword [0x14005b820]
call fcn.140009fd0
mov qword [0x14005b820], r14
test rbx, rbx
je 0x140048a45
mov rcx, rbx
call fcn.140021a20
mov rcx, rbx
call fcn.14000b420
call fcn.140049650
mov rcx, qword [rsi + 0x50]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [0x14005b108]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x14005b868]
test rcx, rcx
je 0x140048aa7
lea rbx, [rcx - 8]
lea r9, [0x140048af0]
mov r8, qword [rbx]
mov edx, 0x148
call fcn.140049e48
imul rdx, qword [rbx], 0x148
add rdx, 8
mov rcx, rbx
call fcn.14004a2e4
nop
xor eax, eax
jmp 0x14004878e
mov dword [rbp - 0x18], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov dword [rbp - 0x18], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov dword [rbp - 0x18], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov dword [rbp - 0x18], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3