Function at 0x140065e80
Capabilities:
Create process on windows
Create thread
Delete file
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x1400e1040]
xor rax, rsp
mov qword [rbp + 0x1f8], rax
cmp byte [0x1400e18a0], 0
je 0x140065ed4
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov byte [0x1400e18a0], 0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0xd
sub r8d, ecx
movsxd rdx, r8d
add rdx, 0x10
lea rcx, [rbp + 0x1d0]
call fcn.140061cf0
mov rdi, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140065f15
mov rdi, qword [rax]
movabs rdx, 0x82cac3b131441a19
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rax
xor ebx, ebx
mov r8d, ebx
lea rcx, [rsp + 0x78]
call fcn.140068c50
nop
mov rax, qword [rbp - 0x80]
test rax, rax
je 0x140065f4c
mov rcx, rdi
call rax
nop
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 0xf
jbe 0x140065f90
inc rdx
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140065f8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140065f8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009b350
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [0x140065d30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x90]
call fcn.14009c304
lea rcx, [rbp + 0x90]
call fcn.140067840
nop
mov r8, qword [0x1400e21a0]
mov rdx, qword [0x1400e2198]
sub r8, rdx
lea rcx, [rbp + 0x90]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0x98]
call fcn.140067ec0
test rax, rax
jne 0x140066020
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x90]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], rax
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.cleanLogs.exe
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1400660b0
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.cleanLogs.exe
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x90], rax
mov rax, qword [rbp + 0x90]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x8c], edx
lea rcx, [rbp + 0x98]
call fcn.1400677d0
lea rcx, [rbp + 0xa0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x138]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov dword [rbp + 0x20], 0x50
mov dword [rbp + 0x24], 0x40
lea rax, [0x1400630f0]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0x38], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x50], xmm1
lea rsi, str.GTA5RP_UTILS
mov qword [rbp + 0x60], rsi
mov qword [rbp + 0x68], rbx
lea rcx, [rbp + 0x20]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov qword [rsp + 0x58], rbx
mov rcx, qword [rbp + 0x38]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov r9d, 0x80000000
mov r8, rsi
mov rdx, qword [rbp + 0x60]
mov ecx, 8
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r14, rax
mov r9d, 2
mov r8b, 0xff
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x1400d8da0]
movdqu xmmword [rsp + 0x78], xmm0
lea rdx, [rsp + 0x78]
mov rcx, r14
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov qword [rbp - 0x5c], rbx
mov qword [rbp - 0x48], 2
mov qword [rbp - 0x30], 2
mov qword [rbp - 0x70], rbx
mov dword [rbp - 0x60], 0x1c
mov dword [rbp - 0x68], 0x3c
mov dword [rbp - 0x64], 1
mov dword [rbp - 0x4c], 0x20
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x54], 1
mov qword [rbp - 0x38], 1
mov dword [rbp + 0x1d0], 0xb000
mov dword [rbp + 0x1d4], 0xa000
lea rdi, [0x1400e22b8]
mov qword [rsp + 0x58], rdi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
lea rsi, [0x1400e22b0]
mov qword [rsp + 0x48], rsi
lea r15, [0x1400e22a0]
mov qword [rsp + 0x40], r15
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
cmp eax, 0x887a0004
jne 0x14006630a
mov qword [rsp + 0x58], rdi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], r15
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 5
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
jne 0x140066b23
mov rcx, qword [0x1400e22a0]
mov rax, qword [rcx]
lea r9, [rsp + 0x68]
lea r8, [0x14009dd08]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x1400e22b0]
mov rax, qword [rcx]
lea r9, [0x1400e2298]
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
call qword [rax + 0x48]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov edx, 0xa
mov rcx, r14
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r14
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [0x1400e2178]
test rax, rax
je 0x14006637d
inc dword [rax + 0x3b4]
mov ecx, 0x3ee8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x1d0], rcx
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1400663af
xor edx, edx
mov rcx, rax
call fcn.140069f50
jmp 0x1400663b2
mov rax, rbx
cmp qword [0x1400e2178], 0
jne 0x1400663c3
mov qword [0x1400e2178], rax
mov rcx, rax
call fcn.14006fba0
mov r15, qword [0x1400e2178]
or dword [r15 + 8], 3
call fcn.140064d40
lea rcx, [0x1400e2378]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140066576
lea rcx, [0x1400e2370]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140066576
mov qword [0x1400e2368], r14
mov rax, qword [0x1400e2178]
or dword [rax + 0xc], 6
lea rcx, [0x1400d89c8]
mov qword [rax + 0xd8], rcx
mov qword [rax + 0x120], r14
mov dword [rax + 0x3c], 9
mov dword [rax + 0x40], 0x25
mov dword [rax + 0x44], 0x27
mov dword [rax + 0x48], 0x26
mov dword [rax + 0x4c], 0x28
mov dword [rax + 0x50], 0x21
mov dword [rax + 0x54], 0x22
mov dword [rax + 0x58], 0x24
mov dword [rax + 0x5c], 0x23
mov dword [rax + 0x60], 0x2d
mov dword [rax + 0x64], 0x2e
mov dword [rax + 0x68], 8
mov dword [rax + 0x6c], 0x20
mov dword [rax + 0x70], 0xd
mov dword [rax + 0x74], 0x1b
mov dword [rax + 0x78], 0xd
mov dword [rax + 0x7c], 0x41
mov dword [rax + 0x80], 0x43
mov dword [rax + 0x84], 0x56
mov dword [rax + 0x88], 0x58
mov dword [rax + 0x8c], 0x59
mov dword [rax + 0x90], 0x5a
lea rax, str.xinput1_4.dll
mov qword [rbp + 0x1d0], rax
lea rax, str.xinput1_3.dll
mov qword [rbp + 0x1d8], rax
lea rax, str.xinput9_1_0.dll
mov qword [rbp + 0x1e0], rax
lea rax, str.xinput1_2.dll
mov qword [rbp + 0x1e8], rax
lea rax, str.xinput1_1.dll
mov qword [rbp + 0x1f0], rax
mov rdi, rbx
nop
mov rcx, qword [rbp + rdi*8 + 0x1d0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x140066541
inc rdi
cmp rdi, 5
jl 0x140066520
jmp 0x140066576
mov qword [0x1400e2350], rsi
lea rdx, str.XInputGetCapabilities
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400e2358], rax
lea rdx, str.XInputGetState
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400e2360], rax
mov rsi, qword [0x1400e22b8]
mov rdi, qword [0x1400e22b0]
mov rax, qword [0x1400e2178]
lea rcx, str.imgui_impl_dx11
mov qword [rax + 0xe0], rcx
or dword [rax + 0xc], 8
mov qword [rbp + 0x1d0], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x68], rbx
mov rax, qword [rdi]
lea r8, [rbp + 0x1d0]
lea rdx, [0x1400d8998]
mov rcx, rdi
call qword [rax]
test eax, eax
jne 0x14006661a
mov rcx, qword [rbp + 0x1d0]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
lea rdx, [0x1400d89a8]
call qword [rax + 0x30]
test eax, eax
jne 0x14006661a
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
lea r8, [rsp + 0x68]
lea rdx, [0x1400d89b8]
call qword [rax + 0x30]
test eax, eax
jne 0x14006661a
mov qword [0x1400e2320], rdi
mov qword [0x1400e2340], rsi
mov rax, qword [rsp + 0x68]
mov qword [0x1400e2328], rax
mov rcx, qword [rbp + 0x1d0]
test rcx, rcx
je 0x14006662c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14006663c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400e2320]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [0x1400e2340]
mov rax, qword [rcx]
call qword [rax + 8]
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x60], xmm2
movups xmmword [rbp - 0x30], xmm2
movups xmmword [rbp - 0x20], xmm2
mov qword [rbp + 0x10], rax
mov dword [rbp - 0x58], 3
mov dword [rbp - 0x54], 1
mov dword [rbp - 0x2c], 0x7f7fffff
mov dword [rbp - 0x20], 0x3f800000
mov edi, 0xffff
mov word [rbp - 0x1c], di
mov byte [rbp - 0x64], al
movaps xmm0, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x90], xmm0
movaps xmm1, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0xa0], xmm1
movaps xmmword [rbp + 0xb0], xmm2
movaps xmmword [rbp + 0xc0], xmm2
movaps xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0xd0], xmm0
movaps xmm1, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0xe0], xmm1
movaps xmmword [rbp + 0xf0], xmm2
movaps xmmword [rbp + 0x100], xmm2
movsd xmm0, qword [rbp + 0x10]
movsd qword [rbp + 0x110], xmm0
lea rax, [0x14009dd40]
mov qword [rbp + 0x90], rax
mov dword [rbp + 0x98], 0x4c24
mov dword [rbp + 0xa4], 0x41600000
lea rdx, [rbp + 0x90]
mov rcx, qword [r15 + 0xa8]
call fcn.140089880
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x60], xmm2
movups xmmword [rbp - 0x50], xmm2
movups xmmword [rbp - 0x30], xmm2
movups xmmword [rbp - 0x20], xmm2
mov qword [rbp + 0x10], rax
mov dword [rbp - 0x58], 3
mov dword [rbp - 0x54], 1
mov dword [rbp - 0x2c], 0x7f7fffff
mov dword [rbp - 0x20], 0x3f800000
mov word [rbp - 0x1c], di
mov byte [rbp - 0x28], 1
mov byte [rbp - 0x50], 1
mov byte [rbp - 0x64], al
mov rax, qword [0x1400e2178]
movaps xmm0, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x90], xmm0
movaps xmm1, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0xa0], xmm1
movaps xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0xb0], xmm0
movaps xmmword [rbp + 0xc0], xmm2
movaps xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0xd0], xmm0
movaps xmm1, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0xe0], xmm1
movaps xmmword [rbp + 0xf0], xmm2
movaps xmmword [rbp + 0x100], xmm2
movsd xmm0, qword [rbp + 0x10]
movsd qword [rbp + 0x110], xmm0
lea rcx, [0x1400a2970]
mov qword [rbp + 0x90], rcx
mov dword [rbp + 0x98], 0x317f8
mov dword [rbp + 0xa4], 0x41800000
lea rcx, [0x1400d8230]
mov qword [rbp + 0xc8], rcx
lea rdx, [rbp + 0x90]
mov rcx, qword [rax + 0xa8]
call fcn.140089880
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c0], xmm0
nop dword [rax]
nop dword [rax + rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140066870
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x140066a0b
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14006688d
cmp byte [0x1400e16b3], 0
sete byte [0x1400e16b3]
mov r8d, dword [0x1400e21f0]
test r8d, r8d
je 0x140066939
mov r9d, dword [0x1400e22a8]
test r9d, r9d
je 0x140066939
mov rcx, qword [0x1400e2298]
test rcx, rcx
je 0x1400668d4
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400e2298], rbx
mov r8d, dword [0x1400e21f0]
mov r9d, dword [0x1400e22a8]
mov rcx, qword [0x1400e22a0]
mov rax, qword [rcx]
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor edx, edx
call qword [rax + 0x68]
mov dword [0x1400e22a8], ebx
mov dword [0x1400e21f0], ebx
mov rcx, qword [0x1400e22a0]
mov rax, qword [rcx]
lea r9, [rsp + 0x68]
lea r8, [0x14009dd08]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x1400e22b0]
mov rax, qword [rcx]
lea r9, [0x1400e2298]
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
call qword [rax + 0x48]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp qword [0x1400e2330], 0
jne 0x140066948
call fcn.14008ebd0
call fcn.14008f6b0
call fcn.14006e8f0
cmp byte [0x1400e16b3], 0
je 0x140066968
call fcn.140063370
mov r8d, 8
jmp 0x14006696e
mov r8d, 0x80028
mov edx, 0xffffffec
mov rcx, r14
call qword [sym.imp.USER32.dll_SetWindowLongA]
call fcn.140064bc0
call fcn.140070da0
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d0], xmm0
mov rcx, qword [0x1400e22b8]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x1400e2298]
mov edx, 1
call qword [rax + 0x108]
mov rcx, qword [0x1400e22b8]
mov rax, qword [rcx]
lea r8, [rbp + 0x1d0]
mov rdx, qword [0x1400e2298]
call qword [rax + 0x190]
mov rax, qword [0x1400e2178]
mov rcx, qword [rax + 0x1dc0]
mov rax, qword [rcx]
add rax, 0x40
mov rcx, rbx
cmp byte [rax], bl
cmovne rcx, rax
call fcn.14008e120
mov rcx, qword [0x1400e22a0]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 1
call qword [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_FreeConsole]
cmp dword [rbp + 0x1a8], 0x12
jne 0x140066830
call fcn.14008f110
mov rcx, qword [0x1400e2328]
test rcx, rcx
je 0x140066a36
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400e2328], rbx
mov rcx, qword [0x1400e2320]
test rcx, rcx
je 0x140066a4f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400e2320], rbx
mov rcx, qword [0x1400e2340]
test rcx, rcx
je 0x140066a68
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400e2340], rbx
mov rcx, qword [0x1400e2350]
test rcx, rcx
je 0x140066a7a
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x1400e2350], rbx
mov qword [0x1400e2358], rbx
mov qword [0x1400e2360], rbx
mov qword [0x1400e2368], rbx
mov qword [0x1400e2370], rbx
mov qword [0x1400e2378], rbx
mov dword [str._t], 9
mov byte [0x1400e21f4], 0
mov byte [0x1400e16b4], 1
mov rdi, qword [0x1400e2178]
mov rcx, rdi
call fcn.14006fec0
cmp qword [0x1400e2178], rdi
jne 0x140066adb
mov qword [0x1400e2178], rbx
test rdi, rdi
je 0x140066b03
mov rcx, rdi
call fcn.14007e350
mov rax, qword [0x1400e2178]
test rax, rax
je 0x140066afa
dec dword [rax + 0x3b4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.140063070
mov rcx, r14
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.USER32.dll_UnregisterClassW]
xor eax, eax
jmp 0x140066b3b
call fcn.140063070
mov rdx, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, 1
mov rcx, qword [rbp + 0x1f8]
xor rcx, rsp
call fcn.14009b330
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret