Function at 0x1400526d0
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
sub rsp, 0x898
mov rax, qword [0x1403f4280]
xor rax, rsp
mov qword [rsp + 0x880], rax
movzx eax, byte [0x1403f5294]
test eax, eax
jne 0x140052d49
mov eax, dword [0x1403f52a4]
inc eax
mov dword [rsp + 0x34], eax
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0xf0]
call fcn.140019af0
mov rcx, rax
call fcn.14001df20
nop
movzx eax, byte [0x1403f51bc]
test eax, eax
je 0x140052747
lea rdx, [rsp + 0x170]
lea rcx, [0x1403f4e80]
call fcn.14004d5f0
cmp qword [rax], 0
jne 0x140052749
jmp 0x1400526ec
lea rcx, [rsp + 0x7e0]
call fcn.14004f350
nop
cvtsi2ss xmm0, dword [0x1403f51c0]
lea rax, [rsp + 0x7e0]
mov qword [rsp + 0x20], rax
movzx r9d, byte [0x1403f51c8]
mov r8d, dword [0x1403f51cc]
movaps xmm1, xmm0
lea rcx, [0x1403f4e80]
call fcn.14005b7e0
movzx eax, al
test eax, eax
je 0x140052d1f
movzx eax, byte [rsp + 0x820]
test eax, eax
je 0x1400527b4
lea rcx, [rsp + 0x7e0]
call fcn.14001fcf0
nop
jmp 0x1400526ec
lea rdx, [rsp + 0x7e0]
lea rcx, [0x1403f4e80]
call fcn.14004f710
movzx eax, byte [rax + 0x40]
test eax, eax
je 0x1400527e3
lea rcx, [rsp + 0x7e0]
call fcn.14001fcf0
nop
jmp 0x1400526ec
lea rdx, [rsp + 0x7e0]
lea rcx, [0x1403f4e80]
call fcn.14004f710
movzx eax, byte [rax + 0x40]
test eax, eax
jne 0x140052810
mov ecx, dword [0x1403f51c4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x140052823
lea rcx, [rsp + 0x7e0]
call fcn.14001fcf0
nop
jmp 0x1400526ec
movzx eax, byte [rsp + 0x820]
test eax, eax
je 0x140052859
movzx eax, byte [0x1403f533c]
test eax, eax
je 0x140052846
call fcn.1400523b0
mov byte [0x1403f533c], 0
lea rcx, [rsp + 0x7e0]
call fcn.14001fcf0
nop
jmp 0x140052d49
movzx eax, byte [0x1403f518d]
test eax, eax
je 0x14005289a
movzx eax, byte [rsp + 0x874]
test eax, eax
jne 0x14005289a
movzx eax, byte [0x1403f533c]
test eax, eax
je 0x140052887
call fcn.1400523b0
mov byte [0x1403f533c], 0
lea rcx, [rsp + 0x7e0]
call fcn.14001fcf0
nop
jmp 0x1400526ec
mov ecx, dword [0x1403f51c4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x1400528d5
movzx eax, byte [0x1403f533c]
test eax, eax
je 0x1400528c2
call fcn.1400523b0
mov byte [0x1403f533c], 0
lea rcx, [rsp + 0x7e0]
call fcn.14001fcf0
nop
jmp 0x1400526ec
lea rcx, [rsp + 0x7d0]
call fcn.140012fb0
nop
mov eax, dword [0x1403f51d0]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 9
ja case.default.0x14005290e
movsxd rax, dword [rsp + 0x30]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x52d64]
add rax, rcx
jmp rax
lea rax, [rsp + 0x230]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0x38]
call fcn.14004f2c0
mov qword [rsp + 0x40], rax
mov r9d, 0x796e
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x104]
lea rcx, [0x1403f4e80]
call fcn.14005be90
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x14005290e
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0x48]
call fcn.14004f2c0
mov qword [rsp + 0x50], rax
mov r9d, 0x9995
mov r8, qword [rsp + 0x50]
lea rdx, [rsp + 0x110]
lea rcx, [0x1403f4e80]
call fcn.14005be90
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x14005290e
lea rax, [rsp + 0x370]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0x58]
call fcn.14004f2c0
mov qword [rsp + 0x60], rax
mov r9d, 0x60f2
mov r8, qword [rsp + 0x60]
lea rdx, [rsp + 0x11c]
lea rcx, [0x1403f4e80]
call fcn.14005be90
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x14005290e
lea rax, [rsp + 0x410]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0x68]
call fcn.14004f2c0
mov qword [rsp + 0x70], rax
mov r9d, 0x60f1
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0xf8]
lea rcx, [0x1403f4e80]
call fcn.14005be90
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x14005290e
lea rax, [rsp + 0x190]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0x78]
call fcn.14004f2c0
mov qword [rsp + 0x80], rax
mov r9d, 0x60f0
mov r8, qword [rsp + 0x80]
lea rdx, [rsp + 0x128]
lea rcx, [0x1403f4e80]
call fcn.14005be90
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x14005290e
lea rax, [rsp + 0x550]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0x88]
call fcn.14004f2c0
mov qword [rsp + 0x90], rax
mov r9d, 0x2e28
mov r8, qword [rsp + 0x90]
lea rdx, [rsp + 0x134]
lea rcx, [0x1403f4e80]
call fcn.14005be90
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x14005290e
lea rax, [rsp + 0x5f0]
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0x98]
call fcn.14004f2c0
mov qword [rsp + 0xa0], rax
mov r9d, 0xdead
mov r8, qword [rsp + 0xa0]
lea rdx, [rsp + 0x140]
lea rcx, [0x1403f4e80]
call fcn.14005be90
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x14005290e
lea rax, [rsp + 0x690]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0xa8]
call fcn.14004f2c0
mov qword [rsp + 0xb0], rax
mov r9d, 0x49d9
mov r8, qword [rsp + 0xb0]
lea rdx, [rsp + 0x14c]
lea rcx, [0x1403f4e80]
call fcn.14005be90
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x14005290e
lea rax, [rsp + 0x730]
mov qword [rsp + 0xb8], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0xb8]
call fcn.14004f2c0
mov qword [rsp + 0xc0], rax
mov r9d, 0xcc4d
mov r8, qword [rsp + 0xc0]
lea rdx, [rsp + 0x158]
lea rcx, [0x1403f4e80]
call fcn.14005be90
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
jmp case.default.0x14005290e
lea rax, [rsp + 0x4b0]
mov qword [rsp + 0xc8], rax
lea rdx, [rsp + 0x7e0]
mov rcx, qword [rsp + 0xc8]
call fcn.14004f2c0
mov qword [rsp + 0xd0], rax
mov r9d, 0x3779
mov r8, qword [rsp + 0xd0]
lea rdx, [rsp + 0x164]
lea rcx, [0x1403f4e80]
call fcn.14005be90
lea rcx, [rsp + 0x7d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xe0]
lea rcx, [rsp + 0x7d0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0xe0]
call fcn.140051e60
mov byte [0x1403f533c], 1
jmp 0x140052d36
movzx eax, byte [0x1403f533c]
test eax, eax
je 0x140052d36
call fcn.1400523b0
mov byte [0x1403f533c], 0
lea rcx, [rsp + 0x7e0]
call fcn.14001fcf0
nop
jmp 0x1400526ec
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.140100260
add rsp, 0x898
pop rdi
pop rsi
ret