Function at 0x140054a30
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push rdi
push r15
lea rbp, [rsp - 0x108]
sub rsp, 0x208
mov rax, qword [0x14009a140]
xor rax, rsp
mov qword [rbp + 0x90], rax
lea rax, [0x1400556f0]
mov dword [rbp - 0x80], 0x50
xor r15d, r15d
mov qword [rbp - 0x78], rax
xor ecx, ecx
mov qword [rbp - 0x70], r15
mov dword [rbp - 0x7c], 0x40
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov qword [rbp - 0x38], r15
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x60], xmm0
lea rdi, str.External_Framework
movdqa xmmword [rbp - 0x50], xmm1
lea rcx, [rbp - 0x80]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x40], rdi
call qword [sym.imp.USER32.dll_RegisterClassExA]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rcx, qword [rbp - 0x68]
mov r9d, 0x80000000
mov rdx, qword [rbp - 0x40]
mov r8, rdi
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], rcx
mov ecx, 8
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, 0x20
mov qword [0x14009b6e8], rax
mov rbx, rax
call sub.d3d9.dll_Direct3DCreate9
mov qword [0x14009b710], rax
mov rcx, rax
test rax, rax
je 0x140055180
lea rdx, [0x14009b718]
mov qword [0x14009b720], r15
mov qword [rsp + 0x30], rdx
lea rdi, [0x14009b720]
mov qword [0x14009b72c], r15
mov r9, rbx
mov dword [0x14009b734], r15d
xor edx, edx
mov qword [0x14009b73c], r15
mov r8d, 1
mov dword [0x14009b744], r15d
mov qword [0x14009b754], r15
mov dword [0x14009b748], 1
mov dword [0x14009b738], 1
mov dword [0x14009b728], r15d
mov dword [0x14009b74c], 1
mov dword [0x14009b750], 0x50
mov dword [0x14009b75c], 1
mov rax, qword [rax]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x40
call qword [rax + 0x80]
test eax, eax
js 0x140055179
mov rcx, qword [0x14009b6e8]
mov edx, 3
mov qword [rsp + 0x200], r14
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14009b6e8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov qword [rsp + 0x30], 2
lea rcx, str.1.83
mov qword [rsp + 0x28], 0x14
mov edx, 0x1558
mov r9d, 8
mov qword [rsp + 0x20], 0x10
mov r8d, 0x414
call fcn.14000a9b0
xor ecx, ecx
call fcn.14000a490
call fcn.14000ca20
xor ecx, ecx
mov r14, rax
call fcn.140024d70
mov rcx, qword [0x14009b6e8]
call fcn.14002da00
mov rcx, qword [0x14009b718]
call fcn.14002cdc0
lea rcx, [rbp]
call fcn.14001c4d0
movss xmm3, dword [0x140061660]
lea rax, [rbp]
mov byte [rbp + 0xc], r15b
lea rdx, [0x1400734b0]
mov rcx, qword [r14 + 0xa0]
mov r8d, 0x26b8c
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
call fcn.14001d5b0
cmp byte [0x14009b6e1], r15b
mov qword [0x14009b708], rax
jne 0x1400550cf
mov qword [rsp + 0x230], rsi
mov qword [rsp + 0x238], r12
lea r12, [0x140073468]
mov qword [rsp + 0x240], r13
lea r13, [0x140073488]
movaps xmmword [rsp + 0x1f0], xmm6
movss xmm6, dword [0x14006682c]
movaps xmmword [rsp + 0x1e0], xmm7
movss xmm7, dword [0x14006179c]
movaps xmmword [rsp + 0x1d0], xmm8
xorps xmm8, xmm8
movaps xmmword [rsp + 0x1c0], xmm9
movss xmm9, dword [0x140066830]
movaps xmmword [rsp + 0x1b0], xmm10
movss xmm10, dword [0x1400617a0]
movaps xmmword [rsp + 0x1a0], xmm11
movss xmm11, dword [0x140061628]
nop
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp - 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140054d8f
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [rbp - 0x28], 0x12
jne 0x140054d71
mov byte [0x14009b6e1], 1
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp - 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140054d50
cmp byte [0x14009b6e1], r15b
jne 0x140055083
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140054dc3
mov rcx, qword [0x14009b6e8]
test rcx, rcx
je 0x140054dc3
mov edx, 6
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x2e
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140054dda
mov byte [0x14009b6e1], 1
cmp qword [0x14009b718], r15
je 0x140055076
call fcn.14002ce80
call fcn.14002dbc0
call fcn.140012db0
call fcn.14000cfe0
call fcn.1400551f0
mov rcx, qword [0x14009b708]
call fcn.1400148b0
call fcn.14000c2b0
movss xmm0, dword [r14 + 8]
lea r8, [rsp + 0x60]
movss xmm1, dword [r14 + 0xc]
lea rdx, [rsp + 0x68]
mov dword [rsp + 0x28], r15d
mov r9d, 0xff000000
mov rcx, rax
movss dword [rsp + 0x60], xmm0
movss dword [rsp + 0x64], xmm1
movss dword [rsp + 0x20], xmm8
mov qword [rsp + 0x68], r15
call fcn.14001ead0
cmp byte [0x140073450], r15b
je 0x140054f49
movaps xmm0, xmm9
unpcklps xmm0, xmm10
movq rcx, xmm0
call fcn.140054760
xor edx, edx
lea rcx, str.Game_Cheat_Launcher
mov r8d, 0x26
call fcn.140005ee0
lea rcx, str.Select_a_game_cheat_to_use:
call fcn.140049000
mov rsi, qword [0x14009b6f8]
mov rdi, qword [0x14009b6f0]
cmp rdi, rsi
je 0x140054f3d
lea rbx, [rdi + 8]
nop dword [rax]
cmp qword [rbx + 0x18], 0xf
mov rcx, rbx
mov qword [rsp + 0x70], r15
jbe 0x140054ec2
mov rcx, qword [rbx]
lea rdx, [rsp + 0x70]
call fcn.14003d2a0
test al, al
je 0x140054f2c
mov eax, dword [rdi]
mov dword [0x140073460], eax
cmp r12, rbx
je 0x140054ef6
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
jbe 0x140054eea
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, r12
call fcn.140055870
lea rdx, [rbx + 0x20]
cmp r13, rdx
je 0x140054f15
cmp qword [rbx + 0x38], 0xf
jbe 0x140054f09
mov rdx, qword [rdx]
mov r8, qword [rbx + 0x30]
mov rcx, r13
call fcn.140055870
mov eax, dword [rbx + 0x40]
mov dword [0x1400734a8], eax
mov byte [0x14009b6e0], 1
mov byte [0x140073450], r15b
add rdi, 0x50
add rbx, 0x50
cmp rdi, rsi
jne 0x140054eb0
call fcn.14000aab0
lea rdi, [0x14009b720]
cmp byte [0x14009b6e0], r15b
je 0x140054f6f
mov ecx, dword [0x140073460]
test ecx, ecx
je 0x140054f6a
sub ecx, 1
je 0x14005513f
cmp ecx, 1
jne 0x140054f6f
call fcn.140050ed0
call fcn.140014480
mov rcx, qword [0x14009b718]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14009b718]
xor r8d, r8d
mov edx, 0x1b
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14009b718]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x14009b718]
mov r9d, 3
mov dword [rsp + 0x30], r15d
xor r8d, r8d
movss dword [rsp + 0x28], xmm11
xor edx, edx
mov dword [rsp + 0x20], 0xff000000
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x14009b718]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140055021
call fcn.140014f50
call fcn.14000c5b0
mov rcx, rax
call fcn.14002cea0
mov rcx, qword [0x14009b718]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x14009b718]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r15
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140055076
mov rcx, qword [0x14009b718]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140055076
call fcn.14002ce00
mov rcx, qword [0x14009b718]
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.14002cbb0
cmp byte [0x14009b6e1], r15b
je 0x140054d30
movaps xmm10, xmmword [rsp + 0x1b0]
movaps xmm9, xmmword [rsp + 0x1c0]
movaps xmm8, xmmword [rsp + 0x1d0]
movaps xmm7, xmmword [rsp + 0x1e0]
movaps xmm6, xmmword [rsp + 0x1f0]
mov r13, qword [rsp + 0x240]
mov r12, qword [rsp + 0x238]
mov rsi, qword [rsp + 0x230]
movaps xmm11, xmmword [rsp + 0x1a0]
call fcn.14002d950
call fcn.14002ddc0
xor ecx, ecx
call fcn.14000aa40
mov rcx, qword [0x14009b718]
mov r14, qword [rsp + 0x200]
test rcx, rcx
je 0x140055101
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14009b718], r15
mov rcx, qword [0x14009b710]
test rcx, rcx
je 0x14005511a
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov qword [0x14009b710], r15
mov rcx, qword [0x14009b6e8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, 1
jmp 0x1400551c5
movaps xmm0, xmm6
unpcklps xmm0, xmm7
movq rcx, xmm0
call fcn.140054760
xor edx, edx
lea rcx, str.Errror
mov r8d, 0x26
call fcn.140005ee0
lea rcx, str.Invalid_option.
call fcn.140049000
call fcn.14000aab0
jmp 0x140054f6f
mov rcx, qword [0x14009b710]
mov rdx, qword [0x14009b718]
test rdx, rdx
je 0x1400551a3
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x14009b710]
mov qword [0x14009b718], r15
test rcx, rcx
je 0x1400551b5
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14009b710], r15
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.USER32.dll_UnregisterClassA]
xor eax, eax
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14005d330
add rsp, 0x208
pop r15
pop rdi
pop rbx
pop rbp
ret