Function at 0x140010840
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x1c0
mov rax, qword [0x14007cb40]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
lea rdx, [0x140062e96]
xor ecx, ecx
call fcn.1400467a8
lea rcx, str._Zalupa__Initializing..._n
call fcn.140006b60
nop
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x20]
movzx r8d, byte [rsp + 0x21]
movzx edx, byte [rsp + 0x26]
lea rcx, [rsp + 0x190]
call fcn.14000e240
nop
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x190]
call fcn.14000fe00
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call fcn.140008800
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.140001df0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x190]
call fcn.14000fc00
nop
cmp qword [rsp + 0x40], 0
jne 0x14001091e
lea rcx, str._n_Zalupa__Failed.
call fcn.140006b60
mov eax, 1
jmp 0x140010cf7
mov rcx, qword [rsp + 0x40]
call fcn.140001f10
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
test eax, eax
jne 0x140010a23
lea rcx, str._n_Zalupa__Loading_vdm..._n
call fcn.140006b60
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov edx, 0x18
lea rcx, [rsp + 0x138]
call fcn.140004d90
lea rcx, [rsp + 0x27]
call fcn.140001240
mov r8, rax
mov edx, 0x2600
lea rcx, [rsp + 0x138]
call fcn.140003c90
nop
lea rcx, [rsp + 0x138]
call fcn.140003340
mov r8d, 0x2600
lea rdx, [0x14007a470]
mov rcx, rax
call fcn.14005ed60
nop
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x138]
mov rcx, qword [rsp + 0x70]
call fcn.140003be0
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.1400041c0
movzx eax, al
test eax, eax
jne 0x140010a06
lea rcx, str._n_n_Zalupa__Loading_failed.
call fcn.140006b60
nop
mov dword [rsp + 0x30], 1
lea rcx, [rsp + 0x138]
call fcn.140004070
mov eax, dword [rsp + 0x30]
jmp 0x140010cf7
lea rcx, str._n_Zalupa__Success__n_n
call fcn.140006b60
nop
lea rcx, [rsp + 0x138]
call fcn.140004070
nop
jmp 0x140010a30
lea rcx, str._Zalupa__Success__n_n
call fcn.140006b60
nop
lea rcx, str._Zalupa__Press_F2_to_find_game..._n
call fcn.140006b60
nop
mov ecx, 0x71
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
jne 0x140010a60
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
jmp 0x140010a3d
lea rcx, str._Zalupa__Finding_game..._n
call fcn.140006b60
nop
lea rax, [rsp + 0x118]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x23]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x23]
movzx r8d, byte [rsp + 0x24]
movzx edx, byte [rsp + 0x28]
lea rcx, [rsp + 0xb0]
call fcn.14000e270
mov rcx, rax
call fcn.14000fe20
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.140008800
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x88]
call fcn.140019600
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
jne 0x140010b0b
lea rcx, str._n_Zalupa__Game_not_found.
call fcn.140006b60
mov eax, 1
jmp 0x140010cf7
mov ecx, 0x10
call fcn.14003e0f0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140010b4e
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.140004d90
mov eax, dword [rsp + 0x2c]
mov r8d, eax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call fcn.140010d10
mov qword [rsp + 0x50], rax
jmp 0x140010b57
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14007de68], rax
mov rax, qword [0x14007de68]
mov qword [0x14007de78], rax
lea rcx, [rsp + 0xc0]
call fcn.14000ff10
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x170]
mov rcx, qword [rsp + 0xa8]
call fcn.14000de20
nop
lea rcx, [rsp + 0xc0]
call fcn.1400094b0
nop
lea r8, str.pidoras.dll
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x150]
call fcn.14000e120
nop
lea rcx, [rsp + 0x150]
call fcn.1400028a0
mov rcx, rax
call fcn.1400138f0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140010c52
lea rcx, str._n_Zalupa__Failed_to_load_local_image
call fcn.140006b60
nop
mov dword [rsp + 0x34], 1
lea rcx, [rsp + 0x150]
call fcn.140001420
nop
lea rcx, [rsp + 0x170]
call fcn.140001420
mov eax, dword [rsp + 0x34]
jmp 0x140010cf7
lea rcx, str._Zalupa__Injecting..._n
call fcn.140006b60
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov byte [rsp + 0x25], 1
movzx edx, byte [rsp + 0x25]
mov rcx, qword [rsp + 0x58]
call fcn.1400139a0
test eax, eax
jne 0x140010cb7
lea rcx, str._n_Zalupa__Injection_failed.
call fcn.140006b60
nop
mov dword [rsp + 0x38], 1
lea rcx, [rsp + 0x150]
call fcn.140001420
nop
lea rcx, [rsp + 0x170]
call fcn.140001420
mov eax, dword [rsp + 0x38]
jmp 0x140010cf7
lea rcx, str._Zalupa__Successfully_injected__n
call fcn.140006b60
lea rcx, [0x14007e1f0]
call fcn.140010320
nop
mov dword [rsp + 0x3c], 0
lea rcx, [rsp + 0x150]
call fcn.140001420
nop
lea rcx, [rsp + 0x170]
call fcn.140001420
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.14003e0d0
add rsp, 0x1c0
pop rdi
ret