Function at 0x140001e30
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 [0x140041040]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor ebp, ebp
lea ecx, [rbp + 8]
call fcn.140034048
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, [0x1400030c0]
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 0x140002210
xorps xmm0, xmm0
movups xmmword [0x140041130], xmm0
movups xmmword [0x140041140], xmm0
movups xmmword [0x140041150], xmm0
nop dword [rax]
nop dword [rax + rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x140041a20]
lea rcx, [0x140041130]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140001f00
lea rcx, [0x140041130]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140041130]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x140041a50]
cmp rax, rcx
jne 0x140001f4d
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 [0x140041a20]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140041a50]
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 [0x140041a50]
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 [0x140041aa0]
mov rax, qword [0x140041a50]
mov qword [rcx + 0x120], rax
mov ecx, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
mov eax, dword [0x140041b18]
cmp dword [rsp + 0x48], eax
jne 0x140001fcc
cmp edx, dword [0x140041b20]
jne 0x140001fcc
mov eax, dword [0x140041b1c]
cmp dword [rsp + 0x4c], eax
jne 0x140001fcc
cmp ecx, dword [0x140041b24]
je 0x140002030
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [0x140041b18], xmm0
mov dword [0x140041a60], edx
mov dword [0x140041a64], ecx
mov dword [0x1400410e0], edx
mov dword [0x1400410e4], 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 [0x140041a20]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400410d8]
mov rax, qword [rcx]
lea rdx, [0x1400410e0]
call qword [rax + 0x80]
call fcn.140001980
cmp dword [0x140041138], 0x12
jne 0x140001ec0
mov rcx, qword [0x140041aa0]
test rcx, rcx
je 0x140002057
mov rdi, qword [rcx + 0xf0]
jmp 0x14000205a
mov rdi, rbp
lea rsi, [rcx + 8]
test rcx, rcx
je 0x1400020d7
mov rbx, qword [rcx + 0xf0]
test rbx, rbx
je 0x1400020d7
cmp qword [rbx], 0
je 0x1400020d7
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140002092
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbx + 8], rbp
mov rcx, qword [0x140041aa0]
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1400020af
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbx + 0x10], rbp
mov rcx, qword [0x140041aa0]
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x1400020d7
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbx + 0x18], rbp
mov rcx, qword [0x140041aa0]
mov rax, qword [rcx + 0xa8]
mov qword [rax + 8], rbp
mov rdx, qword [rdi]
test rdx, rdx
je 0x1400020ef
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140041aa0]
mov qword [rsi + 0xd8], rbp
mov qword [rsi + 0xe8], rbp
test rcx, rcx
je 0x140002108
dec dword [rcx + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x140041aa0]
test rax, rax
je 0x140002126
mov rbx, qword [rax + 0xe8]
jmp 0x140002129
mov rbx, rbp
lea rdi, [rax + 8]
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140002143
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140041aa0]
mov qword [rdi + 0xd0], rbp
mov qword [rdi + 0xe0], rbp
test rax, rax
je 0x14000215c
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140041aa0]
mov rcx, rbx
call fcn.1400097a0
cmp qword [0x140041aa0], rbx
jne 0x140002184
mov qword [0x140041aa0], rbp
test rbx, rbx
je 0x1400021ac
mov rcx, rbx
call fcn.140017f00
mov rax, qword [0x140041aa0]
test rax, rax
je 0x1400021a3
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1400410d8]
test rcx, rcx
je 0x1400021ce
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400410d8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400410d0]
test rcx, rcx
je 0x1400021e0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140041a20]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [0x1400419e8]
mov rcx, qword [0x140041a10]
call qword [sym.imp.USER32.dll_UnregisterClassA]
nop
cmp dword [rsp + 0x60], 0
je 0x140002220
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.140034020
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