Function at 0x140071c40
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x368
mov rax, qword [0x14016fb40]
xor rax, rsp
mov qword [rsp + 0x350], rax
call fcn.140024000
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0xc3]
test eax, eax
je 0x140071c8b
xor al, al
jmp 0x140072a1c
mov rax, qword [0x140170760]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
add rax, 8
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x68]
add rax, 0x38f0
mov qword [rsp + 0xe8], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x380]
mov rcx, qword [rsp + 0x70]
call fcn.140024440
mov dword [rsp + 0x2b4], eax
lea rcx, [rsp + 0x190]
call fcn.140023ea0
mov rcx, qword [rsp + 0xe8]
movss xmm0, dword [rax]
subss xmm0, dword [rcx + 8]
movss dword [rsp + 0x78], xmm0
movss xmm2, dword [0x140120c40]
movss xmm1, dword [rsp + 0x78]
lea rcx, [rsp + 0x198]
call fcn.140013b10
mov rcx, qword [rsp + 0x70]
add rcx, 0x110
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x1a0]
call fcn.140014f60
mov rcx, qword [rsp + 0x70]
add rcx, 0x110
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x2c0]
call fcn.140013980
movss xmm0, dword [rsp + 0x78]
subss xmm0, dword [0x140108ebc]
movss xmm2, dword [0x140120c3c]
movaps xmm1, xmm0
lea rcx, [rsp + 0x1a8]
call fcn.140013b10
mov rcx, qword [rsp + 0x70]
add rcx, 0x110
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x1b0]
call fcn.140014f60
mov qword [rsp + 0xf0], rax
movss xmm0, dword [rsp + 0x78]
subss xmm0, dword [0x14010b2e0]
movss xmm2, dword [0x140108ebc]
movaps xmm1, xmm0
lea rcx, [rsp + 0x1b8]
call fcn.140013b10
mov rcx, qword [rsp + 0x70]
add rcx, 0x110
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x1c0]
call fcn.140014f60
mov qword [rsp + 0xf8], rax
mov r8, qword [rsp + 0xf0]
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x2d0]
call fcn.140013980
lea r8, [rsp + 0x2c8]
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x230]
call fcn.140013980
movss xmm1, dword [0x14010b304]
mov rcx, rax
call fcn.140071bd0
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x2b4]
lea rcx, [rsp + 0x2c0]
call fcn.140029a50
movzx eax, al
test eax, eax
jne 0x140071e60
xor al, al
jmp 0x140072a1c
lea rax, [rsp + 0x310]
lea rcx, str.None
mov rdi, rax
mov rsi, rcx
mov ecx, 5
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x315]
mov rdi, rax
xor eax, eax
mov ecx, 0x3b
rep stosb byte [rdi], al
mov byte [rsp + 0x50], 0
mov rax, qword [rsp + 0x390]
mov eax, dword [rax]
mov dword [rsp + 0x54], eax
lea rdx, [0x140124ae6]
lea rcx, [rsp + 0x2e0]
call fcn.140005fc0
nop
mov rax, qword [rsp + 0x390]
movsxd rax, dword [rax]
lea rcx, [0x14013b030]
mov rdx, qword [rcx + rax*8]
lea rcx, [rsp + 0x2e0]
call fcn.14006ae00
mov rax, qword [rsp + 0x390]
cmp dword [rax], 0
je 0x140071f1b
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x2b4]
cmp dword [rax + 0x409c], ecx
je 0x140071f1b
lea rcx, [rsp + 0x2e0]
call fcn.14000cb40
mov rdx, rax
lea rcx, [rsp + 0x310]
call fcn.1400699e0
jmp 0x140071f43
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x2b4]
cmp dword [rax + 0x409c], ecx
jne 0x140071f43
lea rdx, [0x140124f08]
lea rcx, [rsp + 0x310]
call fcn.1400699e0
movss xmm0, dword [0x14010b304]
movss dword [rsp + 0x20], xmm0
mov r9b, 1
xor r8d, r8d
lea rdx, [rsp + 0x310]
lea rcx, [rsp + 0x300]
call fcn.14001cf40
xor r8d, r8d
mov edx, dword [rsp + 0x2b4]
lea rcx, [rsp + 0x2c0]
call fcn.140029d20
mov byte [rsp + 0x51], al
mov eax, 4
mov eax, eax
mov ecx, dword [0x140171690]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x140170970], eax
jle 0x140071ff7
lea rcx, [0x140170970]
call fcn.140101460
cmp dword [0x140170970], 0xffffffff
jne 0x140071ff7
mov edx, 0x10
lea rcx, [0x140170960]
call fcn.14000c1d0
lea rcx, [0x140170960]
call fcn.14006a010
lea rcx, [0x140106960]
call fcn.140100fa4
nop
lea rcx, [0x140170970]
call fcn.1401013f4
mov edx, 8
lea rcx, [rsp + 0x2b8]
call fcn.14000c1d0
lea r8, [rsp + 0x2b4]
lea rdx, [rsp + 0x2b8]
lea rcx, [0x140170960]
call fcn.1400763d0
lea rdx, [rsp + 0x1d0]
lea rcx, [0x140170960]
call fcn.140076390
mov rdx, rax
lea rcx, [rsp + 0x2b8]
call fcn.14006aad0
movzx eax, al
test eax, eax
je 0x1400720cc
lea rax, [rsp + 0x260]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
lea rcx, [rsp + 0x260]
call fcn.14006a240
mov r8, rax
lea rdx, [rsp + 0x2b4]
lea rcx, [rsp + 0x288]
call fcn.140065b50
lea r8, [rsp + 0x288]
lea rdx, [rsp + 0x240]
lea rcx, [0x140170960]
call fcn.140069960
lea r8, [rsp + 0x2b4]
lea rdx, [rsp + 0x1d8]
lea rcx, [0x140170960]
call fcn.1400763d0
mov rax, qword [rax]
mov qword [rsp + 0x2b8], rax
call fcn.140024580
movss xmm0, dword [rax + 0x10]
mulss xmm0, dword [0x14010b2a0]
movss dword [rsp + 0x88], xmm0
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x2b4]
cmp dword [rax + 0x409c], ecx
jne 0x14007210c
lea rax, [0x140170910]
mov qword [rsp + 0xd0], rax
jmp 0x140072155
movzx eax, byte [rsp + 0x51]
test eax, eax
je 0x140072126
lea rax, [0x140170920]
mov qword [rsp + 0xc8], rax
jmp 0x140072135
lea rax, [0x140170930]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x110], rax
lea rcx, [rsp + 0x2b8]
call fcn.14006acf0
add rax, 0x14
mov qword [rsp + 0x118], rax
movss xmm3, dword [rsp + 0x88]
mov r8, qword [rsp + 0x110]
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x250]
call fcn.1400536d0
lea rcx, [rsp + 0x220]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x2b8]
call fcn.14006acf0
lea rcx, [rsp + 0x220]
lea rdi, [rax + 0x14]
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x2a8]
mov qword [rsp + 0x120], rax
movss xmm0, dword [0x14013b564]
movss dword [rsp + 0x8c], xmm0
movss xmm1, dword [0x140108eb8]
lea rcx, [0x1401708f0]
call fcn.140023c40
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x28], 0
movss xmm0, dword [rsp + 0x8c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x90]
lea r8, [rsp + 0x2d8]
lea rdx, [rsp + 0x2d0]
mov rcx, qword [rsp + 0x120]
call fcn.140049580
mov rcx, qword [0x140170880]
call fcn.140032920
movss xmm2, dword [0x14010b274]
xorps xmm1, xmm1
lea rcx, [rsp + 0x1e0]
call fcn.140013b10
mov qword [rsp + 0x128], rax
movss xmm1, dword [0x140108eb8]
lea rcx, [0x140170930]
call fcn.140023c40
mov dword [rsp + 0x94], eax
xorps xmm2, xmm2
movss xmm1, dword [0x140108ebc]
lea rcx, [rsp + 0x1e8]
call fcn.140013b10
mov r8, rax
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x1f0]
call fcn.140014f60
mov qword [rsp + 0x130], rax
mov rax, qword [0x140170880]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x388]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x94]
lea r8, [rsp + 0x2c8]
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x138]
call fcn.140072d10
call fcn.1400324d0
call fcn.140025700
mov qword [rsp + 0x148], rax
movss xmm0, dword [0x14013b564]
movss dword [rsp + 0x98], xmm0
movss xmm1, dword [0x140108eb8]
lea rcx, [0x1401708f0]
call fcn.140023c40
mov dword [rsp + 0x9c], eax
movss xmm0, dword [rsp + 0x78]
subss xmm0, dword [0x14010b2e0]
xorps xmm2, xmm2
movaps xmm1, xmm0
lea rcx, [rsp + 0x1f8]
call fcn.140013b10
mov r8, rax
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x180]
call fcn.140014f60
mov qword [rsp + 0x140], rax
mov dword [rsp + 0x28], 0
movss xmm0, dword [rsp + 0x98]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x9c]
lea r8, [rsp + 0x2c8]
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x148]
call fcn.140049580
call fcn.140025700
mov qword [rsp + 0x158], rax
movss xmm0, dword [0x14013b564]
movss dword [rsp + 0xa0], xmm0
xorps xmm1, xmm1
lea rcx, [0x1401708f0]
call fcn.140023c40
mov dword [rsp + 0xa4], eax
movss xmm1, dword [0x140108eb8]
lea rcx, [0x1401708f0]
call fcn.140023c40
mov dword [rsp + 0xa8], eax
movss xmm1, dword [0x140108eb8]
lea rcx, [0x1401708f0]
call fcn.140023c40
mov dword [rsp + 0xac], eax
xorps xmm1, xmm1
lea rcx, [0x1401708f0]
call fcn.140023c40
mov dword [rsp + 0xb0], eax
xorps xmm2, xmm2
movss xmm1, dword [0x14010b2e0]
lea rcx, [rsp + 0x1c8]
call fcn.140013b10
mov r8, rax
lea rdx, [rsp + 0x2c8]
lea rcx, [rsp + 0x188]
call fcn.140014f10
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x40], 0
movss xmm0, dword [rsp + 0xa0]
movss dword [rsp + 0x38], xmm0
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xac]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xb0]
mov r8, qword [rsp + 0x150]
lea rdx, [rsp + 0x2c0]
mov rcx, qword [rsp + 0x158]
call fcn.140049630
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x2a8]
mov qword [rsp + 0x160], rax
movss xmm0, dword [0x14013b564]
movss dword [rsp + 0xb4], xmm0
movss xmm1, dword [0x140108eb8]
lea rcx, [0x140170900]
call fcn.140023c40
mov dword [rsp + 0xb8], eax
mov dword [rsp + 0x28], 0
movss xmm0, dword [rsp + 0xb4]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0xb8]
lea r8, [rsp + 0x2d8]
lea rdx, [rsp + 0x2d0]
mov rcx, qword [rsp + 0x160]
call fcn.140049580
mov rcx, qword [0x140170878]
call fcn.140032920
movss xmm2, dword [0x14010b23c]
xorps xmm1, xmm1
lea rcx, [rsp + 0x200]
call fcn.140013b10
mov qword [rsp + 0x168], rax
movss xmm1, dword [0x140108eb8]
lea rcx, [0x140170910]
call fcn.140023c40
mov dword [rsp + 0xbc], eax
xorps xmm2, xmm2
movss xmm1, dword [0x140108ebc]
lea rcx, [rsp + 0x208]
call fcn.140013b10
mov r8, rax
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x210]
call fcn.140014f60
mov qword [rsp + 0x170], rax
mov rax, qword [0x140170878]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x380]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xbc]
lea r8, [rsp + 0x2c8]
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x178]
call fcn.140072d10
call fcn.1400324d0
mov rcx, qword [0x140170878]
call fcn.140032920
movss xmm2, dword [0x14010b250]
movss xmm1, dword [0x14010b250]
lea rcx, [rsp + 0x218]
call fcn.140013b10
mov qword [rsp + 0xd8], rax
movss xmm1, dword [0x140108eb8]
lea rcx, [0x140170910]
call fcn.140023c40
mov dword [rsp + 0xc0], eax
mov rax, qword [0x140170878]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x310]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xc0]
lea r8, [rsp + 0x2d8]
lea rdx, [rsp + 0x2d0]
mov rcx, qword [rsp + 0xe0]
call fcn.140072d10
call fcn.1400324d0
movzx eax, byte [rsp + 0x51]
test eax, eax
je 0x140072791
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax + 0x3860]
test eax, eax
je 0x140072791
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x2b4]
cmp dword [rax + 0x409c], ecx
je 0x140072772
mov rax, qword [rsp + 0x80]
add rax, 0xe48
mov rdi, rax
xor eax, eax
mov ecx, 5
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x80]
add rax, 0xb50
mov rdi, rax
xor eax, eax
mov ecx, 0x29a
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x390]
mov dword [rax], 0
mov rdx, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x2b4]
call fcn.140037520
xor edx, edx
mov rcx, qword [rsp + 0x70]
call fcn.1400233c0
jmp 0x1400727c7
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax + 0x3860]
test eax, eax
je 0x1400727c7
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x2b4]
cmp dword [rax + 0x409c], ecx
jne 0x1400727c7
call fcn.14001e260
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x2b4]
cmp dword [rax + 0x409c], ecx
jne 0x140072940
mov dword [rsp + 0x5c], 0
jmp 0x1400727f3
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 5
jge 0x140072883
movsxd rax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax + 0xe48]
test eax, eax
je 0x14007287e
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x140072844
cmp dword [rsp + 0x60], 1
je 0x14007284e
cmp dword [rsp + 0x60], 2
je 0x140072858
cmp dword [rsp + 0x60], 3
je 0x140072862
cmp dword [rsp + 0x60], 4
je 0x14007286c
jmp 0x140072874
mov dword [rsp + 0x54], 1
jmp 0x140072874
mov dword [rsp + 0x54], 2
jmp 0x140072874
mov dword [rsp + 0x54], 4
jmp 0x140072874
mov dword [rsp + 0x54], 5
jmp 0x140072874
mov dword [rsp + 0x54], 6
mov byte [rsp + 0x50], 1
call fcn.14001e260
jmp 0x1400727e9
movzx eax, byte [rsp + 0x50]
test eax, eax
jne 0x1400728d4
mov dword [rsp + 0x64], 8
jmp 0x1400728a0
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0xa5
jg 0x1400728d4
mov ecx, dword [rsp + 0x64]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400728d2
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x54], eax
mov byte [rsp + 0x50], 1
call fcn.14001e260
jmp 0x1400728d4
jmp 0x140072896
mov dl, 1
mov ecx, 0x28f
call fcn.140071bb0
movzx eax, al
test eax, eax
je 0x1400728fc
mov rax, qword [rsp + 0x390]
mov dword [rax], 0
call fcn.14001e260
jmp 0x14007290a
mov rax, qword [rsp + 0x390]
mov ecx, dword [rsp + 0x54]
mov dword [rax], ecx
mov dl, 1
mov ecx, 0x20e
call fcn.140071bb0
movzx eax, al
test eax, eax
je 0x140072932
mov rax, qword [rsp + 0x390]
mov dword [rax], 0
call fcn.14001e260
jmp 0x140072940
mov rax, qword [rsp + 0x390]
mov ecx, dword [rsp + 0x54]
mov dword [rax], ecx
movzx eax, byte [rsp + 0x51]
test eax, eax
je 0x140072963
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x68]
movzx eax, byte [rcx + rax + 0x3868]
test eax, eax
jne 0x1400729c5
lea rcx, [rsp + 0x2b8]
call fcn.14006acf0
movzx eax, byte [rax + 0x24]
test eax, eax
je 0x140072a01
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
movzx eax, byte [rcx + rax + 0x3868]
test eax, eax
jne 0x1400729b0
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x68]
movzx eax, byte [rcx + rax + 0x3868]
test eax, eax
je 0x140072a01
lea rcx, [rsp + 0x2b8]
call fcn.14006acf0
movzx eax, byte [rax + 0x25]
test eax, eax
jne 0x140072a01
lea rcx, [rsp + 0x2b8]
call fcn.14006acf0
movzx eax, byte [rax + 0x24]
test eax, eax
jne 0x1400729e4
mov dword [rsp + 0x7c], 1
jmp 0x1400729ec
mov dword [rsp + 0x7c], 0
lea rcx, [rsp + 0x2b8]
call fcn.14006acf0
movzx ecx, byte [rsp + 0x7c]
mov byte [rax + 0x24], cl
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x58], al
lea rcx, [rsp + 0x2e0]
call fcn.140008370
movzx eax, byte [rsp + 0x58]
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.1401010d0
add rsp, 0x368
pop rdi
pop rsi
ret