Function at 0x14000c870
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [0x14006d010]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
xor r13d, r13d
xor edx, edx
lea rcx, [0x140060078]
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
jne 0x14000c90b
lea r9d, [r13 + 0x10]
lea r8, str.Error
lea rdx, str.failed_to_find_game
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.140056f00
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xor edx, edx
lea rcx, [0x140060078]
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
lea rdx, [0x140096058]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [0x140096058]
xor edx, edx
lea ecx, [rdx + 0x38]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x14006e248], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x2f0], xmm0
movups xmmword [rbp + 0x300], xmm0
mov qword [rbp + 0x310], rax
movups xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], r13
mov qword [rbp + 0xc8], r13
lea r8d, [rax + 8]
lea rdx, str.GTA5.exe
lea rcx, [rbp + 0xb0]
call fcn.140006f60
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x2f0]
call fcn.14001f2e0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r13
mov qword [rbp + 0xa8], r13
mov r8d, 0x7d
lea rdx, str.E8_________40_02_FB_40_0A_F0_40_3A_FB_72_E1_40_84_F6_75_72_81_7D___________75_69_81_7D___________75_60_8B_05_________39_45_BC
lea rcx, [rbp + 0x90]
call fcn.140006f60
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x2f0]
call fcn.14001ecc0
mov rbx, rax
mov rdx, qword [rax + 0x20]
inc rdx
mov qword [rax + 0x20], rdx
mov qword [rsp + 0x20], r13
mov r9d, 4
lea r8, [rbp + 0x2c4]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rbp + 0x2c4]
add eax, 4
cdqe
add rax, 0x87
add qword [rbx + 0x20], rax
mov qword [rsp + 0x20], r13
mov r9d, 4
lea r8, [rbp + 0x2e0]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rbp + 0x2e0]
add eax, 4
movsxd rcx, eax
add qword [rbx + 0x20], rcx
mov rax, qword [rbx + 0x20]
mov qword [0x14006e228], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x88], r13
mov r8d, 0x1c
lea rdx, str.75_17_48_8B_0D_________8B_C3
lea rcx, [rbp + 0x70]
call fcn.140006f60
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x2f0]
call fcn.14001ecc0
mov rbx, rax
mov rdx, qword [rax + 0x20]
add rdx, 5
mov qword [rax + 0x20], rdx
mov qword [rsp + 0x20], r13
mov r9d, 4
lea r8, [rbp + 0x2dc]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [rbp + 0x2dc]
add ecx, 4
movsxd rdx, ecx
add qword [rbx + 0x20], rdx
mov rax, qword [rbx + 0x20]
mov qword [0x14006e240], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], r13
mov r8d, 0x2a
lea rdx, str.48_8B_15_________48_8D_2D_________48_8B_CD
lea rcx, [rbp + 0x50]
call fcn.140006f60
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x2f0]
call fcn.14001ecc0
mov rbx, rax
mov rdx, qword [rax + 0x20]
add rdx, 3
mov qword [rax + 0x20], rdx
mov qword [rsp + 0x20], r13
mov r9d, 4
lea r8, [rbp + 0x2d4]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [rbp + 0x2d4]
add ecx, 4
movsxd rdx, ecx
add qword [rbx + 0x20], rdx
mov rax, qword [rbx + 0x20]
mov qword [0x14006e238], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], r13
mov r8d, 0x19
lea rdx, str.F3_0F_10_1D_________8B_0D
lea rcx, [rbp + 0x30]
call fcn.140006f60
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x2f0]
call fcn.14001ecc0
mov rbx, rax
mov rdx, qword [rax + 0x20]
add rdx, 0xa
mov qword [rax + 0x20], rdx
mov qword [rsp + 0x20], r13
mov r9d, 4
lea r8, [rbp + 0x2d0]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [rbp + 0x2d0]
add ecx, 4
movsxd rdx, ecx
add qword [rbx + 0x20], rdx
mov rax, qword [rbx + 0x20]
mov qword [0x14006e230], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], r13
mov r8d, 0x24
lea rdx, str.48_8B_05_________38_98_________8A_C3
lea rcx, [rbp + 0x10]
call fcn.140006f60
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x2f0]
call fcn.14001ecc0
mov rbx, rax
mov rdx, qword [rax + 0x20]
add rdx, 3
mov qword [rax + 0x20], rdx
mov qword [rsp + 0x20], r13
mov r9d, 4
lea r8, [rbp + 0x2d8]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [rbp + 0x2d8]
add ecx, 4
movsxd rdx, ecx
add qword [rbx + 0x20], rdx
mov rax, qword [rbx + 0x20]
mov qword [0x14006e220], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], r13
mov qword [rbp + 0xe8], r13
mov r8d, 0x2a
lea rdx, str.48_8B_0D_________E8_________48_85_C0_74_37
lea rcx, [rbp + 0xd0]
call fcn.140006f60
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x2f0]
call fcn.14001ecc0
mov rbx, rax
mov rdx, qword [rax + 0x20]
add rdx, 3
mov qword [rax + 0x20], rdx
mov qword [rsp + 0x20], r13
mov r9d, 4
lea r8, [rbp + 0x2cc]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [rbp + 0x2cc]
add ecx, 4
movsxd rdx, ecx
add qword [rbx + 0x20], rdx
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], r13
mov qword [rbp + 8], r13
mov r8d, 0x19
lea rdx, str.E8_________B1_01_48_81_C4
lea rcx, [rbp - 0x10]
call fcn.140006f60
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x2f0]
call fcn.14001ecc0
mov rbx, rax
mov rdx, qword [rax + 0x20]
inc rdx
mov qword [rax + 0x20], rdx
mov qword [rsp + 0x20], r13
mov r9d, 4
lea r8, [rbp + 0x2c8]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rbp + 0x2c8]
add eax, 4
cdqe
add rax, 0x296
add qword [rbx + 0x20], rax
mov qword [rsp + 0x20], r13
mov r9d, 4
lea r8, [rbp + 0x2c0]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rbp + 0x2c0]
add eax, 4
movsxd rcx, eax
add qword [rbx + 0x20], rcx
mov rax, qword [rbx + 0x20]
mov qword [0x14006e2a8], rax
mov ecx, 0xb8
call fcn.140056f20
mov qword [rsp + 0x60], rax
mov rcx, rax
call fcn.14001b700
nop
mov rbx, qword [0x14006d430]
mov qword [0x14006d430], rax
test rbx, rbx
je 0x14000cdbb
mov rcx, rbx
call fcn.140001d20
mov edx, 0xb8
mov rcx, rbx
call fcn.1400571b4
mov ecx, 8
call fcn.140056f20
lea rcx, [0x14000a900]
mov qword [rax], rcx
mov qword [rbp + 0x340], rax
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x140010660]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x80], rax
test rax, rax
je 0x14000d9ee
cmp dword [rbp - 0x78], 0
je 0x14000d9e2
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp + 0x1a0], xmm0
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14000d9e2
xorps xmm0, xmm0
movaps xmmword [rbp + 0x1e0], xmm0
movdqa xmmword [rbp - 0x80], xmm0
lea ecx, [rax + 8]
call fcn.140056f20
lea rcx, [0x14000c650]
mov qword [rax], rcx
mov qword [rbp + 0x330], rax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x140010660]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x14000d9d2
cmp dword [rbp - 0x48], 0
je 0x14000d9c6
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp + 0x1b0], xmm0
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14000d9c6
xorps xmm0, xmm0
movaps xmmword [rbp + 0x1f0], xmm0
movdqa xmmword [rbp - 0x50], xmm0
lea ecx, [rax + 8]
call fcn.140056f20
lea rcx, [0x140009950]
mov qword [rax], rcx
mov qword [rbp + 0x338], rax
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x140010660]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x60], rax
test rax, rax
je 0x14000d9b6
cmp dword [rbp - 0x58], 0
je 0x14000d9aa
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp + 0x190], xmm0
lea rcx, [rbp + 0x190]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14000d9aa
xorps xmm0, xmm0
movaps xmmword [rbp + 0x1d0], xmm0
movdqa xmmword [rbp - 0x60], xmm0
lea ecx, [rax + 8]
call fcn.140056f20
lea rcx, [0x14000b8d0]
mov qword [rax], rcx
mov qword [rbp + 0x328], rax
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x140010660]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14000d99a
cmp dword [rbp - 0x68], 0
je 0x14000d98e
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp + 0x180], xmm0
lea rcx, [rbp + 0x180]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14000d98e
xorps xmm0, xmm0
movaps xmmword [rbp + 0x1c0], xmm0
movdqa xmmword [rbp - 0x70], xmm0
mov dword [rbp + 0x270], 0x50
mov dword [rbp + 0x274], 3
lea rax, [0x14000daf0]
mov qword [rbp + 0x278], rax
mov qword [rbp + 0x280], r13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 0x288], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x290], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x2a0], xmm1
lea rax, str.ImGui_Example
mov qword [rbp + 0x2b0], rax
mov qword [rbp + 0x2b8], r13
lea rcx, [rbp + 0x270]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], r13
mov rax, qword [rbp + 0x288]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], 0x320
mov dword [rsp + 0x30], 0x500
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
mov r9d, 0x80000000
lea r8, str.Dear_ImGui_DirectX11_Example
mov rdx, qword [rbp + 0x2b0]
mov ecx, 0x80088
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r15, rax
mov qword [rbp + 0x234], r13
mov qword [rbp + 0x248], 2
mov qword [rbp + 0x260], 2
mov qword [rbp + 0x220], r13
mov dword [rbp + 0x230], 0x1c
mov dword [rbp + 0x228], 0x3c
mov edi, 1
mov dword [rbp + 0x22c], edi
mov dword [rbp + 0x244], 0x20
mov qword [rbp + 0x250], rax
mov qword [rbp + 0x23c], rdi
mov qword [rbp + 0x258], rdi
mov dword [rbp + 0x3b8], 0xb000
mov dword [rbp + 0x3bc], 0xa000
lea rax, [0x14006e2d8]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x320]
mov qword [rsp + 0x50], rax
lea rax, [0x14006e2d0]
mov qword [rsp + 0x48], rax
lea rax, [0x14006e2e0]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x220]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x3b8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, edi
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x14000d192
call fcn.14000da00
mov rdx, qword [rbp + 0x288]
mov rcx, qword [rbp + 0x2b0]
call qword [sym.imp.USER32.dll_UnregisterClassW]
jmp 0x14000d951
call fcn.14000da80
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov edx, 0xa
mov rcx, r15
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r15
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x14006e2c8]
test rbx, rbx
je 0x14000d1e5
inc dword [rbx + 0xf4]
mov ecx, 0x5db0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x78], rcx
mov qword [rbp + 0x2e8], rax
test rax, rax
je 0x14000d217
xor edx, edx
mov rcx, rax
call fcn.14001fd50
jmp 0x14000d21a
mov rax, r13
mov qword [0x14006e2c8], rax
call fcn.1400278b0
test rbx, rbx
je 0x14000d232
mov qword [0x14006e2c8], rbx
xor ecx, ecx
call fcn.14004a6c0
mov rbx, qword [0x14006e2c8]
lea rcx, [rbp + 0x318]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14000d39d
lea rcx, [rbp + 0x2e8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14000d39d
mov rax, qword [0x14006e2c8]
test rax, rax
je 0x14000d27c
inc dword [rax + 0xf4]
mov ecx, 0x48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14000d2a9
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm0
mov qword [rsi + 0x40], rax
jmp 0x14000d2ac
mov rsi, r13
mov qword [rbx + 0x98], rsi
lea rax, str.imgui_impl_win32
mov qword [rbx + 0x88], rax
or dword [rbx + 0xc], 6
mov qword [rsi], r15
mov rax, qword [rbp + 0x318]
mov qword [rsi + 0x20], rax
mov rax, qword [rbp + 0x2e8]
mov qword [rsi + 0x18], rax
mov dword [rsi + 0x28], 9
mov rax, qword [0x14006e2c8]
mov rcx, qword [rax + 0x4860]
mov rax, qword [rcx]
mov qword [rax + 0x28], r15
mov byte [rsi + 0x2d], 1
lea rax, str.xinput1_4.dll
mov qword [rbp + 0x150], rax
lea rax, str.xinput1_3.dll
mov qword [rbp + 0x158], rax
lea rax, str.xinput9_1_0.dll
mov qword [rbp + 0x160], rax
lea rax, str.xinput1_2.dll
mov qword [rbp + 0x168], rax
lea rax, str.xinput1_1.dll
mov qword [rbp + 0x170], rax
mov rbx, r13
nop word [rax + rax]
mov rcx, qword [rbp + rbx*8 + 0x150]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
jne 0x14000d371
inc rbx
cmp rbx, 5
jl 0x14000d350
jmp 0x14000d39d
mov qword [rsi + 0x30], r14
lea rdx, str.XInputGetCapabilities
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x38], rax
lea rdx, str.XInputGetState
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x40], rax
mov r12, qword [0x14006e2d8]
mov r14, qword [0x14006e2d0]
mov rsi, qword [0x14006e2c8]
test rsi, rsi
je 0x14000d3bd
inc dword [rsi + 0xf4]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14000d409
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
movups xmmword [rbx + 0x60], xmm0
mov qword [rbx + 0x70], rax
mov dword [rbx + 0x70], 0x1388
mov dword [rbx + 0x74], 0x2710
jmp 0x14000d40c
mov rbx, r13
mov qword [rsi + 0xa0], rbx
lea rax, str.imgui_impl_dx11
mov qword [rsi + 0x90], rax
or dword [rsi + 0xc], 8
mov qword [rbp + 0x208], r13
mov qword [rbp + 0x200], r13
mov qword [rbp + 0x210], r13
mov rax, qword [r14]
lea r8, [rbp + 0x208]
lea rdx, [0x140062ca8]
mov rcx, r14
call qword [rax]
test eax, eax
jne 0x14000d4a4
mov rcx, qword [rbp + 0x208]
mov rax, qword [rcx]
lea r8, [rbp + 0x200]
lea rdx, [0x140062cb8]
call qword [rax + 0x30]
test eax, eax
jne 0x14000d4a4
mov rcx, qword [rbp + 0x200]
mov rax, qword [rcx]
lea r8, [rbp + 0x210]
lea rdx, [0x140062cc8]
call qword [rax + 0x30]
test eax, eax
jne 0x14000d4a4
mov qword [rbx], r14
mov qword [rbx + 8], r12
mov rax, qword [rbp + 0x210]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp + 0x208]
test rcx, rcx
je 0x14000d4b6
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x200]
test rcx, rcx
je 0x14000d4c8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 8]
movzx eax, byte [0x14006d044]
test al, al
je 0x14000d824
nop word [rax + rax]
xor edx, edx
lea rcx, [0x140060078]
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
lea rdx, [rbp + 0x378]
call qword [sym.imp.USER32.dll_GetWindowInfo]
mov eax, dword [rbp + 0x398]
mov r8d, dword [rbp + 0x390]
sub eax, r8d
mov r9d, dword [rbp + 0x394]
mov edx, dword [rbp + 0x38c]
sub r9d, edx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
mov rcx, r15
call qword [sym.imp.USER32.dll_MoveWindow]
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x348]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14000d5a9
nop dword [rax]
lea rcx, [rbp + 0x348]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x348]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rbp + 0x350], 0x12
jne 0x14000d58c
mov eax, r13d
xchg byte [0x14006d044], al
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x348]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x14000d560
movzx eax, byte [0x14006d044]
test al, al
je 0x14000d824
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14000d5d6
mov rax, qword [0x14006d430]
cmp byte [rax], 0
sete cl
mov byte [rax], cl
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14000d5ee
mov eax, r13d
xchg byte [0x14006d044], al
mov rcx, qword [0x14006d430]
mov ecx, dword [rcx + 0x30]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14000d6c5
mov qword [rsp + 0x78], 8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r13
mov ecx, 8
call fcn.140056f20
mov qword [rbp - 0x28], rax
lea rdx, [rax + 8]
mov qword [rbp - 0x18], rdx
mov rcx, qword [rsp + 0x78]
mov qword [rax], rcx
mov qword [rbp - 0x20], rdx
lea rdx, [rbp - 0x28]
mov rcx, qword [0x14006e240]
call fcn.14000a710
test rax, rax
je 0x14000d6c5
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x138], xmm0
mov qword [rbp + 0x148], r13
lea rcx, [rax + 0x10a8]
lea rdx, [rbp + 0x138]
call fcn.14000a710
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x120], xmm0
mov qword [rbp + 0x130], r13
lea rbx, [rax + 0x8d8]
lea r8, [rbp + 0x120]
xor edx, edx
mov rcx, rbx
call fcn.14000b6d0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x108], xmm0
mov qword [rbp + 0x118], r13
lea r8, [rbp + 0x108]
xor edx, edx
mov rcx, rbx
call fcn.14000b6d0
mov rcx, qword [0x14006d430]
mov ecx, dword [rcx + 0x44]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14000d74e
mov qword [rsp + 0x60], 8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r13
mov ecx, 8
call fcn.140056f20
mov qword [rbp - 0x40], rax
lea rdx, [rax + 8]
mov qword [rbp - 0x30], rdx
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
mov qword [rbp - 0x38], rdx
lea rdx, [rbp - 0x40]
mov rcx, qword [0x14006e240]
call fcn.14000a710
test rax, rax
je 0x14000d74e
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf0], xmm0
mov qword [rbp + 0x100], r13
lea rcx, [rax + 0x280]
lea r8, [rbp + 0xf0]
xorps xmm1, xmm1
call fcn.14000b7d0
mov rax, qword [0x14006e2c8]
test rax, rax
je 0x14000d763
mov rcx, qword [rax + 0xa0]
jmp 0x14000d766
mov rcx, r13
cmp qword [rcx + 0x48], 0
jne 0x14000d772
call fcn.140055650
call fcn.1400536e0
call fcn.140026620
mov rax, qword [0x14006d430]
cmp byte [rax], 0
je 0x14000d78d
call fcn.14000e4c0
call fcn.14000fa00
call fcn.140029380
movaps xmm0, xmmword [0x1400630b0]
movups xmmword [rbp + 0x3c0], xmm0
mov rcx, qword [0x14006e2d8]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x14006e2e8]
mov edx, edi
call qword [rax + 0x108]
mov rcx, qword [0x14006e2d8]
mov rax, qword [rcx]
lea r8, [rbp + 0x3c0]
mov rdx, qword [0x14006e2e8]
call qword [rax + 0x190]
mov rax, qword [0x14006e2c8]
mov rcx, qword [rax + 0x4860]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, r13
cmp byte [rax], r13b
cmovne rcx, rax
call fcn.140054be0
mov rcx, qword [0x14006e2e0]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, edi
call qword [rax + 0x40]
movzx eax, byte [0x14006d044]
test al, al
jne 0x14000d4f0
mov rdi, qword [0x14006e2c8]
test rdi, rdi
je 0x14000d839
mov rbx, qword [rdi + 0xa0]
jmp 0x14000d83c
mov rbx, r13
call fcn.140055b80
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14000d850
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000d85e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000d86d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x90], r13
mov qword [rdi + 0xa0], r13
mov rax, qword [0x14006e2c8]
test rax, rax
je 0x14000d88d
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x14006e2c8]
test rax, rax
je 0x14000d8ab
mov rbx, qword [rax + 0x98]
jmp 0x14000d8ae
mov rbx, r13
lea rdi, [rax + 8]
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14000d8c8
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x14006e2c8]
mov qword [rdi + 0x80], r13
mov qword [rdi + 0x90], r13
test rax, rax
je 0x14000d8e1
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x14006e2c8]
mov qword [0x14006e2c8], rbx
call fcn.140027c90
mov qword [0x14006e2c8], r13
test rbx, rbx
je 0x14000d92c
mov rcx, rbx
call fcn.140038e30
mov rax, qword [0x14006e2c8]
test rax, rax
je 0x14000d923
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.14000da00
mov rcx, r15
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0x288]
mov rcx, qword [rbp + 0x2b0]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov edi, r13d
mov rcx, qword [rbp + 0x300]
mov qword [rbp + 0x300], r13
test rcx, rcx
je 0x14000d969
call fcn.1400571b4
mov rcx, qword [rbp + 0x308]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x300]
test rcx, rcx
je 0x14000d987
call fcn.1400571b4
mov eax, edi
jmp 0x14000c8db
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x68], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x58], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x48], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x78], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3