Function at 0x140001f00
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140048040]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor ebp, ebp
lea ecx, [rbp + 8]
call fcn.14003a8f8
lea rcx, [0x140001960]
mov qword [rax], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x140002dc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1400022e0
xorps xmm0, xmm0
movups xmmword [0x140048150], xmm0
movups xmmword [0x140048160], xmm0
movups xmmword [0x140048170], xmm0
nop dword [rax]
nop dword [rax + rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x140048a20]
lea rcx, [0x140048150]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140001fd0
lea rcx, [0x140048150]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140048150]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x140048a50]
cmp rax, rcx
jne 0x14000201d
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [0x140048a20]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140048a50]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x40], rbp
lea rdx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rsp + 0x40]
mov rcx, qword [0x140048a50]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x4c], eax
mov rcx, qword [0x140048aa0]
mov rax, qword [0x140048a50]
mov qword [rcx + 0x120], rax
mov ecx, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
mov eax, dword [0x140048b10]
cmp dword [rsp + 0x48], eax
jne 0x14000209c
cmp edx, dword [0x140048b18]
jne 0x14000209c
mov eax, dword [0x140048b14]
cmp dword [rsp + 0x4c], eax
jne 0x14000209c
cmp ecx, dword [0x140048b1c]
je 0x140002100
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [0x140048b10], xmm0
mov dword [0x140048a60], edx
mov dword [0x140048a64], ecx
mov dword [0x140048100], edx
mov dword [0x140048104], ecx
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov rcx, qword [0x140048a20]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400480f8]
mov rax, qword [rcx]
lea rdx, [0x140048100]
call qword [rax + 0x80]
call fcn.140001c00
cmp dword [0x140048158], 0x12
jne 0x140001f90
mov rcx, qword [0x140048aa0]
test rcx, rcx
je 0x140002127
mov rdi, qword [rcx + 0xf0]
jmp 0x14000212a
mov rdi, rbp
lea rsi, [rcx + 8]
test rcx, rcx
je 0x1400021a7
mov rbx, qword [rcx + 0xf0]
test rbx, rbx
je 0x1400021a7
cmp qword [rbx], 0
je 0x1400021a7
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140002162
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbx + 8], rbp
mov rcx, qword [0x140048aa0]
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x14000217f
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbx + 0x10], rbp
mov rcx, qword [0x140048aa0]
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x1400021a7
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbx + 0x18], rbp
mov rcx, qword [0x140048aa0]
mov rax, qword [rcx + 0xa8]
mov qword [rax + 8], rbp
mov rdx, qword [rdi]
test rdx, rdx
je 0x1400021bf
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140048aa0]
mov qword [rsi + 0xd8], rbp
mov qword [rsi + 0xe8], rbp
test rcx, rcx
je 0x1400021d8
dec dword [rcx + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140048aa0]
test rax, rax
je 0x1400021f6
mov rbx, qword [rax + 0xe8]
jmp 0x1400021f9
mov rbx, rbp
lea rdi, [rax + 8]
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140002213
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140048aa0]
mov qword [rdi + 0xd0], rbp
mov qword [rdi + 0xe0], rbp
test rax, rax
je 0x14000222c
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140048aa0]
mov rcx, rbx
call fcn.140009c80
cmp qword [0x140048aa0], rbx
jne 0x140002254
mov qword [0x140048aa0], rbp
test rbx, rbx
je 0x14000227c
mov rcx, rbx
call fcn.140018900
mov rax, qword [0x140048aa0]
test rax, rax
je 0x140002273
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1400480f8]
test rcx, rcx
je 0x14000229e
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400480f8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400480f0]
test rcx, rcx
je 0x1400022b0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140048a20]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [0x1400489e8]
mov rcx, qword [0x140048a10]
call qword [sym.imp.USER32.dll_UnregisterClassA]
nop
cmp dword [rsp + 0x60], 0
je 0x1400022f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rsp + 0x60], ebp
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14003a8d0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret