Function at 0x1400ec4c0
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
sub rsp, 0x2c8
call fcn.1400f7750
mov qword [rsp + 0x78], rax
lea rax, [0x1401d7198]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x88]
call fcn.140031570
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x88]
call fcn.1400368f0
mov qword [rsp + 0xe8], rax
jmp 0x1400ec51a
mov rax, qword [rsp + 0x58]
add rax, 0x28
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xe8]
cmp qword [rsp + 0x58], rax
je 0x1400ecc35
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x78]
cmp qword [rax], rcx
je 0x1400ec548
jmp 0x1400ec50c
cmp qword [0x1401d7160], 0
je 0x1400ec55c
cmp qword [0x1401d7190], 0
jne 0x1400ec55e
jmp 0x1400ec50c
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400ec575
jmp 0x1400ec50c
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rax + 0x20]
movss dword [rsp + 0x48], xmm0
movss xmm0, dword [rsp + 0x48]
ucomiss xmm0, dword [0x14016d774]
jp 0x1400ec59b
jne 0x1400ec59b
jmp 0x1400ec50c
mov rcx, qword [rsp + 0x40]
call fcn.140104200
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x1400ec5bd
jmp 0x1400ec50c
mov rcx, qword [0x1401d7190]
call fcn.1400f7220
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1400ec5db
jmp 0x1400ec50c
movzx eax, byte [0x1401d49ce]
test eax, eax
je 0x1400ec5ff
mov rcx, qword [rsp + 0x90]
call fcn.1400e82d0
movzx eax, al
test eax, eax
je 0x1400ec5ff
jmp 0x1400ec50c
movzx eax, byte [0x1401d49cf]
test eax, eax
je 0x1400ec625
mov edx, 0x40
mov rcx, qword [rsp + 0x40]
call fcn.1400ffea0
movzx eax, al
test eax, eax
je 0x1400ec625
jmp 0x1400ec50c
movzx eax, byte [0x1401d49d0]
test eax, eax
je 0x1400ec642
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x25]
test eax, eax
jne 0x1400ec642
jmp 0x1400ec50c
movzx eax, byte [0x1401d49cd]
test eax, eax
je 0x1400ec65f
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x24]
test eax, eax
je 0x1400ec65f
jmp 0x1400ec50c
mov rcx, qword [0x1401d7190]
call fcn.1400ff320
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x1400ec67d
jmp 0x1400ec50c
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x68]
call fcn.14010b1c0
nop
lea rcx, [rsp + 0xc8]
call fcn.1400c10f0
movzx eax, al
test eax, eax
je 0x1400ec6b6
lea rcx, [rsp + 0xc8]
call fcn.1400201d0
jmp 0x1400ecc35
lea rax, [rsp + 0x298]
mov qword [rsp + 0xf0], rax
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0xf0]
call fcn.1400329f0
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0xf8]
call fcn.140100b50
movzx eax, al
test eax, eax
jne 0x1400ec709
lea rcx, [rsp + 0xc8]
call fcn.1400201d0
jmp 0x1400ec50c
mov rcx, qword [rsp + 0x68]
call fcn.1400fff20
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jne 0x1400ec738
lea rcx, [rsp + 0xc8]
call fcn.1400201d0
jmp 0x1400ec50c
mov rcx, qword [rsp + 0x98]
call fcn.1401042e0
mov rcx, rax
call fcn.1400ecd30
mov rcx, rax
call fcn.1400ecd60
mov ecx, eax
call fcn.1400ed100
mov edx, eax
lea rcx, [rsp + 0x248]
call fcn.1400ecd90
lea rcx, [rsp + 0xb8]
mov rdi, rcx
mov rsi, rax
mov ecx, listen
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x218]
mov rcx, qword [rsp + 0x60]
call fcn.1400ed3d0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x150]
call fcn.14010b2c0
mov edx, Ordinal_50
mov rcx, qword [0x1401d7190]
call fcn.1400f7c70
mov qword [rsp + 0x100], rax
lea rdx, [rsp + 0x258]
mov rcx, qword [rsp + 0x100]
call fcn.1400feb70
mov qword [rsp + 0x110], rax
lea rdx, [rsp + 0x264]
mov rcx, qword [rsp + 0x60]
call fcn.14010d2a0
lea rcx, [rsp + 0x140]
mov rdi, rcx
mov rsi, rax
mov ecx, listen
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x218]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x270]
call fcn.140104510
mov qword [rsp + 0x108], rax
mov r8, qword [rsp + 0x108]
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x110]
call fcn.1400e6200
movzx eax, byte [0x1401d49cc]
test eax, eax
je 0x1400ec893
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
mov qword [rsp + 0x138], rax
lea rcx, [0x1401d6ea8]
call fcn.14010b500
mov qword [rsp + 0x118], rax
xor edx, edx
mov rcx, qword [rsp + 0x138]
mov rax, rcx
mov rcx, qword [rsp + 0x118]
div rcx
mov rax, rdx
mov dword [0x1401d49c4], eax
lea rax, [rsp + 0x170]
lea rcx, [rsp + 0x150]
mov rdi, rax
mov rsi, rcx
mov ecx, listen
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x180]
lea rcx, [rsp + 0xa8]
mov rdi, rax
mov rsi, rcx
mov ecx, listen
rep movsb byte [rdi], byte [rsi]
lea rdx, [0x1401d49c4]
lea rcx, [0x1401d6ea8]
call fcn.1400e5a30
mov edx, dword [rax]
mov rcx, qword [rsp + 0x40]
call fcn.1400f7c70
mov qword [rsp + 0x120], rax
lea rdx, [rsp + 0x27c]
mov rcx, qword [rsp + 0x120]
call fcn.1400feb70
lea rcx, [rsp + 0x160]
mov rdi, rcx
mov rsi, rax
mov ecx, listen
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x190]
lea rcx, [rsp + 0x160]
mov rdi, rax
mov rsi, rcx
mov ecx, listen
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1a0]
lea rcx, [rsp + 0x170]
mov rdi, rax
mov rsi, rcx
mov ecx, listen
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1b0]
lea rcx, [rsp + 0x180]
mov rdi, rax
mov rsi, rcx
mov ecx, listen
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1c0]
lea rcx, [rsp + 0x190]
mov rdi, rax
mov rsi, rcx
mov ecx, listen
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [rsp + 0x48]
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [rsp + 0xbc]
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [rsp + 0xc0]
movss dword [rsp + 0x28], xmm0
movss xmm0, dword [rsp + 0xb8]
movss dword [rsp + 0x20], xmm0
lea r9, [rsp + 0x1a0]
lea r8, [rsp + 0x1b0]
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x128]
call fcn.1400ff8c0
lea rax, [rsp + 0x1d0]
lea rcx, [rsp + 0x128]
mov rdi, rax
mov rsi, rcx
mov ecx, listen
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1e0]
lea rcx, [rsp + 0xa8]
mov rdi, rax
mov rsi, rcx
mov ecx, listen
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x1d0]
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x210]
call fcn.1400ed8e0
mov rdx, qword [rax]
lea rcx, [rsp + 0x70]
call fcn.140103e70
movss xmm0, dword [rsp + 0x70]
call fcn.1400e2140
movzx eax, al
test eax, eax
je 0x1400eca8a
movss xmm0, dword [rsp + 0x74]
call fcn.1400e2140
movzx eax, al
test eax, eax
je 0x1400eca8a
lea rcx, [rsp + 0xc8]
call fcn.1400201d0
jmp 0x1400ec50c
mov rcx, qword [0x1401d7190]
call fcn.140100040
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [0x1401d7160]
call fcn.1400ec3e0
movss xmm1, dword [0x1401d4ab4]
comiss xmm1, xmm0
jbe 0x1400ecc23
movzx eax, byte [0x1401d49b4]
test eax, eax
je 0x1400ecb26
cmp dword [0x1401d49d4], 1
jne 0x1400ecb26
cmp qword [rsp + 0x78], 0
je 0x1400ecb26
mov ecx, dword [0x1401d49b8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1400ecb26
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x288]
call fcn.14010d030
lea rcx, [rsp + 0x230]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x230]
mov rcx, qword [rsp + 0x60]
call fcn.14010a720
movzx eax, byte [0x1401d49b4]
test eax, eax
je 0x1400ecc23
cmp dword [0x1401d49d4], 0
jne 0x1400ecc23
cmp qword [rsp + 0x78], 0
je 0x1400ecc23
lea rax, [rsp + 0x1f0]
lea rcx, [rsp + 0x128]
mov rdi, rax
mov rsi, rcx
mov ecx, listen
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x200]
lea rcx, [rsp + 0xa8]
mov rdi, rax
mov rsi, rcx
mov ecx, listen
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x1f0]
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x240]
call fcn.1400ed8e0
mov rdx, qword [rax]
lea rcx, [rsp + 0x80]
call fcn.140103e70
movss xmm0, dword [rsp + 0x80]
call fcn.1400e2140
movzx eax, al
test eax, eax
je 0x1400ecbf1
movss xmm0, dword [rsp + 0x84]
call fcn.1400e2140
movzx eax, al
test eax, eax
je 0x1400ecbf1
lea rcx, [rsp + 0xc8]
call fcn.1400201d0
jmp 0x1400ec50c
cmp qword [rsp + 0xa0], 0
je 0x1400ecc23
mov ecx, dword [0x1401d49b8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1400ecc23
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xa0]
call fcn.14010a6e0
nop
lea rcx, [rsp + 0xc8]
call fcn.1400201d0
jmp 0x1400ec50c
add rsp, 0x2c8
pop rdi
pop rsi
ret