Function at 0x7ff6989f1ff0
Capabilities:
Terminate process

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
lea rcx, [0x7ff698a89c00]
call fcn.7ff698a044a0
cmp byte [0x7ff698a89e10], 0
jne 0x7ff6989f2049
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x7ff698a67718]
call fcn.7ff6989e8140
mov rcx, rax
lea rdx, [0x7ff698a89e18]
call fcn.7ff6989e8120
mov ecx, 0x5dc
call qword [sym.imp.kernel32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.ucrtbase.dll_exit]
int3
mov qword [rsp + 0x100], rbx
lea rax, [0x7ff6989f1f40]
mov qword [rsp + 0x108], rsi
xor ecx, ecx
mov qword [rsp + 0x110], rdi
xor edi, edi
mov qword [rbp + 7], rdi
mov dword [rbp - 9], 0x50
mov dword [rbp - 5], 0x40
mov qword [rbp - 1], rax
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
xorps xmm0, xmm0
mov qword [rbp + 0x3f], rdi
mov qword [rbp + 0xf], rax
lea rcx, [rbp - 9]
mov rax, qword [0x7ff698a88f80]
xorps xmm1, xmm1
mov qword [rbp + 0x37], rax
movdqa xmmword [rbp + 0x17], xmm0
movdqa xmmword [rbp + 0x27], xmm1
call qword [sym.imp.user32.dll_RegisterClassExW]
mov rax, qword [rbp + 0xf]
mov r9d, 0x80000000
mov r8, qword [0x7ff698a88f80]
xor ecx, ecx
mov rdx, qword [rbp + 0x37]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], 5
mov dword [rsp + 0x30], 5
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.user32.dll_CreateWindowExW]
lea ecx, [rdi + 0x20]
mov qword [0x7ff698a89710], rax
mov rbx, rax
call sub.d3d9.dll_Direct3DCreate9
mov qword [0x7ff698a89760], rax
mov rcx, rax
test rax, rax
je 0x7ff6989f23f7
lea rdx, [0x7ff698a89718]
mov qword [0x7ff698a89720], rdi
mov qword [rsp + 0x30], rdx
lea rsi, [0x7ff698a89720]
mov qword [0x7ff698a8972c], rdi
lea r8d, [rdi + 1]
mov dword [0x7ff698a89734], edi
mov r9, rbx
mov qword [0x7ff698a8973c], rdi
xor edx, edx
mov dword [0x7ff698a89744], edi
mov qword [0x7ff698a89754], rdi
mov dword [0x7ff698a89748], 1
mov dword [0x7ff698a89738], 1
mov dword [0x7ff698a89728], edi
mov dword [0x7ff698a8974c], 1
mov dword [0x7ff698a89750], 0x50
mov dword [0x7ff698a8975c], 0x80000000
mov rax, qword [rax]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x40
call qword [rax + 0x80]
test eax, eax
js 0x7ff6989f23f0
xor ecx, ecx
movaps xmmword [rsp + 0xe0], xmm6
call fcn.7ff69899ac70
call fcn.7ff6989a58b0
mov rbx, rax
or dword [rax], 0x400
mov qword [rax + 0x18], rdi
call fcn.7ff6989a5ee0
test dword [rbx], 0x400
je 0x7ff6989f21f8
mov dword [rax + 0xc], edi
mov dword [rax + 0xf0], 0x3f800000
mov rcx, qword [0x7ff698a89710]
call fcn.7ff6989cbc20
mov rcx, qword [0x7ff698a89718]
call fcn.7ff6989ca750
movss xmm6, dword [0x7ff698a61c34]
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
nop word [rax + rax]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp - 0x39]
xor edx, edx
call qword [sym.imp.user32.dll_PeekMessageW]
test eax, eax
je 0x7ff6989f2267
lea rcx, [rbp - 0x39]
call qword [sym.imp.user32.dll_TranslateMessage]
lea rcx, [rbp - 0x39]
call qword [sym.imp.user32.dll_DispatchMessageW]
jmp 0x7ff6989f2373
call fcn.7ff6989ca920
call fcn.7ff6989cbfe0
call fcn.7ff6989ac280
cmp dword [0x7ff698a8a380], edi
jne 0x7ff6989f2296
mov rcx, qword [0x7ff698a89718]
call fcn.7ff6989f3e60
mov dword [0x7ff698a8a380], 1
jmp 0x7ff6989f229b
call fcn.7ff6989f42e0
call fcn.7ff6989a32b0
mov rcx, qword [0x7ff698a89718]
mov r9d, 3
mov dword [rsp + 0x30], edi
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], edi
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x7ff698a89718]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x7ff6989f22ff
call fcn.7ff6989ae2d0
call fcn.7ff6989a5470
mov rcx, rax
call fcn.7ff6989ca9b0
mov rcx, qword [0x7ff698a89718]
mov rax, qword [rcx]
call qword [rax + 0x150]
test dword [rbx], 0x400
je 0x7ff6989f2315
call fcn.7ff6989b4540
xor edx, edx
xor ecx, ecx
call fcn.7ff6989aeef0
mov rcx, qword [0x7ff698a89718]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x7ff6989f236a
mov rcx, qword [0x7ff698a89718]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x7ff6989f236a
call fcn.7ff6989ca7f0
mov rcx, qword [0x7ff698a89718]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.7ff6989ca390
cmp byte [0x7ff698a8a000], dil
je 0x7ff6989f237f
cmp dword [rbp - 0x31], 0x12
je 0x7ff6989f2230
jmp 0x7ff6989f2386
mov dword [rbp - 0x31], 0x12
call fcn.7ff6989cb5e0
call fcn.7ff6989cc5e0
xor ecx, ecx
call fcn.7ff69899b190
mov rcx, qword [0x7ff698a89718]
movaps xmm6, xmmword [rsp + 0xe0]
test rcx, rcx
je 0x7ff6989f23b8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x7ff698a89718], rdi
mov rcx, qword [0x7ff698a89760]
test rcx, rcx
je 0x7ff6989f23d1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x7ff698a89760], rdi
mov rcx, qword [0x7ff698a89710]
call qword [sym.imp.user32.dll_DestroyWindow]
mov rdx, qword [rbp + 0xf]
mov rcx, qword [rbp + 0x37]
call qword [sym.imp.user32.dll_UnregisterClassW]
xor eax, eax
jmp 0x7ff6989f243f
mov rcx, qword [0x7ff698a89760]
mov rdx, qword [0x7ff698a89718]
test rdx, rdx
je 0x7ff6989f241a
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x7ff698a89760]
mov qword [0x7ff698a89718], rdi
test rcx, rcx
je 0x7ff6989f242c
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov qword [0x7ff698a89760], rdi
mov rdx, qword [rbp + 0xf]
mov rcx, qword [rbp + 0x37]
call qword [sym.imp.user32.dll_UnregisterClassW]
mov eax, 1
mov rsi, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x100]
mov rdi, qword [rsp + 0x110]
add rsp, 0xf0
pop rbp
ret