Function at 0x180013880
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
sub rsp, 0x4d8
lea rcx, [0x18032be00]
call fcn.180006a50
mov r9d, 0x40
lea r8, [0x18032be60]
mov rdx, rax
lea rcx, [0x18027e0e0]
call fcn.1800117c0
movzx eax, al
test eax, eax
jne 0x1800138be
jmp 0x18001424a
lea rcx, [0x18032be00]
call fcn.1800182d0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
lea rcx, [0x18032be00]
call fcn.180017f80
lea r8, [rsp + 0x70]
mov rdx, rax
lea rcx, [0x18027e0e0]
call fcn.180011830
movzx eax, al
test eax, eax
jne 0x180013908
jmp 0x18001424a
lea rcx, [0x18032be00]
call fcn.180017f90
lea r8, [rsp + 0x78]
mov rdx, rax
lea rcx, [0x18027e0e0]
call fcn.180011830
movzx eax, al
test eax, eax
jne 0x180013934
jmp 0x18001424a
lea rcx, [rsp + 0x3a0]
call fcn.180011960
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x3a0]
call fcn.180017800
movzx eax, al
test eax, eax
jne 0x18001396d
lea rcx, [rsp + 0x3a0]
call fcn.180011ca0
jmp 0x18001424a
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x3a0]
call fcn.1800178b0
movzx eax, al
test eax, eax
jne 0x1800139a3
movzx eax, byte [0x18032c2dd]
test eax, eax
jne 0x1800139a3
lea rcx, [rsp + 0x3a0]
call fcn.180011ca0
jmp 0x18001424a
lea rcx, [rsp + 0x3a0]
call fcn.180017780
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
movzx ecx, byte [0x18032c2d0]
cmp eax, ecx
je 0x1800139cf
movzx eax, byte [rsp + 0x30]
mov byte [0x18032c2d0], al
xorps xmm0, xmm0
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [0x1801c8e5c]
movss dword [rsp + 0x3c], xmm0
xorps xmm3, xmm3
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0x340]
call fcn.180011bd0
xorps xmm3, xmm3
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0x60]
call fcn.180011bd0
mov dword [rsp + 0x34], 0
jmp 0x180013a23
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x40
jge 0x18001423d
lea rcx, [rsp + 0x250]
call fcn.180011960
nop
mov qword [rsp + 0x58], 0
lea rcx, [0x18032be00]
call fcn.180017f70
mov ecx, dword [rsp + 0x34]
inc ecx
imul ecx, ecx, 0x78
movsxd rcx, ecx
add rax, rcx
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [0x18027e0e0]
call fcn.180011830
movzx eax, al
test eax, eax
jne 0x180013a8a
lea rcx, [rsp + 0x250]
call fcn.180011ca0
jmp 0x180013a19
mov rax, qword [rsp + 0x3a0]
cmp qword [rsp + 0x58], rax
jne 0x180013ab5
mov eax, dword [rsp + 0x34]
mov dword [0x18027e118], eax
lea rcx, [rsp + 0x250]
call fcn.180011ca0
jmp 0x180013a19
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x250]
call fcn.180017800
movzx eax, al
test eax, eax
jne 0x180013ae0
lea rcx, [rsp + 0x250]
call fcn.180011ca0
jmp 0x180013a19
lea rdx, [rsp + 0x288]
lea rcx, [rsp + 0x250]
call fcn.1800178b0
movzx eax, al
test eax, eax
jne 0x180013b0e
lea rcx, [rsp + 0x250]
call fcn.180011ca0
jmp 0x180013a19
movzx eax, byte [0x18032c2dc]
test eax, eax
je 0x180013b3b
mov eax, dword [rsp + 0x3a8]
cmp dword [rsp + 0x258], eax
jne 0x180013b3b
lea rcx, [rsp + 0x250]
call fcn.180011ca0
jmp 0x180013a19
lea rcx, [rsp + 0x250]
call fcn.180017780
movzx eax, al
test eax, eax
jne 0x180013b61
lea rcx, [rsp + 0x250]
call fcn.180011ca0
jmp 0x180013a19
lea rcx, [rsp + 0x250]
call fcn.1800177c0
movzx eax, al
test eax, eax
jne 0x180013b87
lea rcx, [rsp + 0x250]
call fcn.180011ca0
jmp 0x180013a19
lea rdx, [rsp + 0x360]
lea rcx, [rsp + 0x250]
call fcn.180017030
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
add rax, 8
mov qword [rsp + 0x80], rax
mov edx, 6
mov rcx, qword [rsp + 0x80]
call fcn.180011e60
add rax, 0xc
mov qword [rsp + 0x90], rax
movss xmm0, dword [0x18032c2d4]
divss xmm0, dword [0x1801c8918]
movss xmm1, dword [0x18032c2d8]
divss xmm1, dword [0x1801c8918]
movaps xmm2, xmm1
movaps xmm1, xmm0
lea rcx, [rsp + 0x88]
call fcn.180003cd0
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call fcn.180012290
movss dword [rsp + 0x38], xmm0
lea rcx, [rsp + 0x360]
call fcn.180011c80
movss xmm0, dword [rsp + 0x3c]
comiss xmm0, dword [rsp + 0x38]
jbe 0x180013d74
movss xmm0, dword [rsp + 0x38]
movss dword [rsp + 0x3c], xmm0
movzx eax, byte [0x18032bd8b]
test eax, eax
je 0x180013cd3
mov eax, dword [0x18027e118]
mov ecx, 1
mov qword [rsp + 0x98], rcx
movzx ecx, al
mov rax, qword [rsp + 0x98]
shl rax, cl
mov rcx, qword [rsp + 0x328]
and rcx, rax
mov rax, rcx
test rax, rax
jne 0x180013cd3
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0xa0], rcx
movzx ecx, al
mov rax, qword [rsp + 0xa0]
shl rax, cl
mov rcx, qword [rsp + 0x478]
and rcx, rax
mov rax, rcx
test rax, rax
je 0x180013d74
lea rdx, [rsp + 0x380]
lea rcx, [rsp + 0x250]
call fcn.180017030
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
add rax, 8
mov qword [rsp + 0xc0], rax
movsxd rax, dword [0x18032bd8c]
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc0]
call fcn.180011e60
lea rcx, [rsp + 0x60]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x380]
call fcn.180011c80
cmp dword [0x18032bd8c], 6
jne 0x180013d74
movss xmm0, dword [rsp + 0x68]
subss xmm0, dword [0x1801c7ff8]
movss dword [rsp + 0x68], xmm0
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x48]
call fcn.180013680
call fcn.1800b8d80
movss xmm0, dword [rax + 0x10]
movss dword [rsp + 0x40], xmm0
movzx eax, byte [0x18032bda0]
test eax, eax
je 0x180014145
movzx eax, byte [0x18032bda1]
test eax, eax
je 0x180013ddf
lea rax, [rsp + 0x190]
lea rcx, [rsp + 0x48]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x250]
call fcn.180012580
movzx eax, byte [0x18032bda2]
test eax, eax
je 0x180013e25
lea rax, [rsp + 0x1a0]
lea rcx, [rsp + 0x48]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
cvtsi2ss xmm0, dword [rsp + 0x318]
lea r8, [rsp + 0x1a0]
movaps xmm1, xmm0
lea rcx, [rsp + 0x250]
call fcn.1800132a0
movzx eax, byte [0x18032bda3]
test eax, eax
je 0x180013e43
movss xmm1, dword [rsp + 0x40]
lea rcx, [rsp + 0x3a0]
call fcn.180013150
movzx eax, byte [0x18032bda7]
test eax, eax
je 0x180013e59
movss xmm0, dword [rsp + 0x40]
call fcn.180012680
movzx eax, byte [0x18032bda4]
test eax, eax
je 0x180013fae
lea rdx, [0x18027e098]
lea rcx, [rsp + 0x1b0]
call fcn.1800135d0
lea rax, [rsp + 0x1c0]
lea rcx, [rsp + 0x1b0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1d0]
lea rcx, [rsp + 0x1c0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x180]
mov qword [rsp + 0xc8], rax
movss xmm0, dword [rsp + 0x4c]
subss xmm0, dword [0x1801c8e44]
movss xmm1, dword [rsp + 0x50]
divss xmm1, dword [0x1801c8918]
movss xmm2, dword [rsp + 0x48]
addss xmm2, xmm1
movaps xmm1, xmm2
movaps xmm2, xmm0
mov rcx, qword [rsp + 0xc8]
call fcn.180003cd0
mov rax, qword [rax]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xf0], rax
lea rax, [rsp + 0x490]
mov qword [rsp + 0xd8], rax
lea rdx, [rsp + 0x268]
mov rcx, qword [rsp + 0xd8]
call fcn.180003810
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf8], rax
lea rax, [rsp + 0x1e0]
lea rcx, [rsp + 0x1d0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov byte [rsp + 0x20], 1
movss xmm3, dword [0x1801c8e44]
lea r8, [rsp + 0x1e0]
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf8]
call fcn.180014260
movzx eax, byte [0x18032bda5]
test eax, eax
je 0x1800140ec
lea rdx, [0x18027e0a8]
lea rcx, [rsp + 0x1f0]
call fcn.1800135d0
lea rax, [rsp + 0x200]
lea rcx, [rsp + 0x1f0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x210]
lea rcx, [rsp + 0x200]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x188]
mov qword [rsp + 0x100], rax
movss xmm0, dword [rsp + 0x4c]
addss xmm0, dword [rsp + 0x54]
movaps xmm2, xmm0
movss xmm1, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x100]
call fcn.180003cd0
mov rax, qword [rax]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x128], rax
lea rax, [rsp + 0x4b0]
mov qword [rsp + 0x110], rax
lea rdx, [rsp + 0x2d8]
mov rcx, qword [rsp + 0x110]
call fcn.180003810
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x130], rax
lea rax, [rsp + 0x220]
lea rcx, [rsp + 0x210]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov byte [rsp + 0x20], 1
movss xmm3, dword [0x1801c8e44]
lea r8, [rsp + 0x220]
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x130]
call fcn.180014260
movzx eax, byte [0x18032bda6]
test eax, eax
je 0x180014145
lea rdx, [0x18027e0b8]
lea rcx, [rsp + 0x230]
call fcn.1800135d0
lea rax, [rsp + 0x240]
lea rcx, [rsp + 0x230]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
movss xmm2, dword [0x1801c8df8]
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x250]
call fcn.180012310
movzx eax, byte [0x18032bd98]
test eax, eax
je 0x18001416e
mov ecx, dword [0x18032bd9c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x18001416e
lea rcx, [rsp + 0x3a0]
call fcn.1800152e0
movzx eax, byte [0x18032bd8a]
test eax, eax
je 0x18001422b
mov ecx, dword [0x18032bd90]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x18001422b
xorps xmm3, xmm3
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0x350]
call fcn.180011bd0
lea rcx, [rsp + 0x150]
mov rdi, rcx
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x60]
call fcn.180011df0
movzx eax, al
test eax, eax
je 0x18001422b
lea rax, [rsp + 0x160]
lea rcx, [rsp + 0x60]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x170]
lea rcx, [rsp + 0x41c]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x160]
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x3a0]
call fcn.180011f40
nop
lea rcx, [rsp + 0x250]
call fcn.180011ca0
jmp 0x180013a19
lea rcx, [rsp + 0x3a0]
call fcn.180011ca0
add rsp, 0x4d8
pop rdi
pop rsi
ret