Function at 0x140009140
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x90
mov rax, qword [0x1400f4080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rax, qword [0x14020f668]
xor ebp, ebp
movaps xmmword [rsp + 0x80], xmm6
mov rdi, rcx
test rax, rax
je 0x14000917e
mov rcx, qword [rax + 0xa0]
jmp 0x140009181
mov rcx, rbp
cmp qword [rcx + 0x18], rbp
jne 0x1400091a2
test rax, rax
je 0x1400091a2
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x1400091a2
cmp qword [rcx], rbp
je 0x1400091a2
call fcn.1400485a0
call fcn.140048fb0
call fcn.140022ea0
cmp qword [0x14020f9e8], rbp
je 0x140009218
cmp byte [0x1400f410d], bpl
je 0x140009218
cmp dword [0x1400f4104], ebp
jne 0x1400091f2
lea rcx, [0x1400f40f8]
call fcn.140001410
test rax, rax
je 0x1400091f2
lea rcx, [0x1400f40f8]
call fcn.140001410
mov rdx, rax
lea rcx, [0x1400f40f8]
call fcn.1400019f0
cmp dword [0x1400f4104], 1
jne 0x140009218
lea rcx, [0x1400f40f8]
call fcn.140001410
test rax, rax
je 0x140009218
lea rcx, [0x1400f40f8]
call fcn.1400020f0
mov qword [rsp + 0xa8], rbx
call fcn.140004340
cmp qword [0x14020f9e8], rbp
je 0x140009370
mov rcx, rax
call fcn.1400047e0
mov rdx, qword [0x14020f9d8]
test rdx, rdx
je 0x14000935b
mov rcx, qword [0x14020fa48]
lea r8, [rsp + 0x58]
add rdx, 0x10
mov qword [rsp + 0x20], rbp
mov r9d, 8
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rsp + 0x58]
lea r8, [rsp + 0x60]
mov rcx, qword [0x14020fa48]
mov r9d, 8
mov qword [rsp + 0x20], rbp
lea rdx, [rbx + 0x180]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x14020fa48]
lea rdx, [rbx + 0x188]
mov r9d, 4
mov qword [rsp + 0x20], rbp
lea r8, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rsp + 0x50]
test eax, eax
jle 0x14000935b
mov rbx, qword [rsp + 0x60]
mov qword [rsp + 0xb0], rsi
mov esi, eax
mov rcx, qword [0x14020fa48]
lea r8, [rsp + 0x58]
mov r9d, 8
mov qword [rsp + 0x20], rbp
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140009349
mov rcx, qword [0x14020fa48]
lea r8, [rsp + 0x68]
add rdx, 0x90
mov qword [rsp + 0x20], rbp
mov r9d, listen
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
call fcn.14006c140
movsd xmm0, qword [rsp + 0x68]
lea r8, [rsp + 0x40]
mov eax, dword [rsp + 0x70]
lea rdx, [rsp + 0x50]
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], eax
call fcn.14006c310
add rbx, 0x10
sub rsi, 1
jne 0x1400092d3
mov rsi, qword [rsp + 0xb0]
cmp qword [0x14020f9e8], rbp
je 0x140009370
lea rcx, [0x1400f4b40]
call fcn.140008690
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14020f9c0], eax
jle 0x1400093b7
lea rcx, [0x14020f9c0]
call fcn.1400c5a60
cmp dword [0x14020f9c0], 0xffffffff
jne 0x1400093b7
lea rcx, [0x14020f9c0]
mov dword [0x14020f9b8], 0x14
call fcn.1400c59f4
lea rcx, [0x14020f9b8]
call fcn.140008e60
cmp byte [0x1400f4110], bpl
movss xmm6, dword [0x1400e20f0]
je 0x140009491
mov rax, qword [0x14020f668]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x4888]
mov rcx, qword [rcx]
call fcn.1400224e0
mov ecx, dword [rdi + 0xe8]
xorps xmm0, xmm0
movd xmm2, dword [0x1400f40f8]
xorps xmm1, xmm1
cvtdq2ps xmm2, xmm2
mov rbx, rax
cvtsi2ss xmm0, rcx
mov ecx, dword [rdi + 0xec]
cvtsi2ss xmm1, rcx
movss dword [rsp + 0x50], xmm0
movss xmm0, dword [0x1400e20b4]
comiss xmm0, xmm2
movss dword [rsp + 0x54], xmm1
ja 0x140009491
subss xmm2, xmm0
mov dword [rsp + 0x28], 0x1ff
movss xmm0, dword [0x1400e21ac]
lea rdx, [rsp + 0x50]
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm0
mov rcx, rax
call fcn.140040ee0
mov r8d, dword [rbx + 0x78]
mov r9d, 0xffffffff
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], 1
call fcn.14003f4c0
mov dword [rbx + 0x78], ebp
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400094b0
cmp byte [rdi + 0x160], bpl
sete al
mov byte [rdi + 0x160], al
cmp byte [rdi + 0x160], bpl
je 0x1400094c9
mov rcx, rdi
call fcn.1400638a0
mov r8d, 0xa0
jmp 0x1400094cf
mov r8d, 0x800a0
mov rcx, qword [rdi + 0x50]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_SetWindowLongA]
movzx eax, byte [rdi + 0x160]
mov rcx, qword [0x14020f668]
mov byte [rcx + 0x78], al
movzx eax, byte [rdi + 0x160]
mov byte [rcx + 0xd9], al
call fcn.140024b10
mov rcx, qword [rdi + 8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [rdi + 8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [rdi + 8]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [rdi + 8]
mov r9d, 1
mov dword [rsp + 0x30], ebp
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], ebp
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax + 0x148]
movaps xmm6, xmmword [rsp + 0x80]
test eax, eax
js 0x1400095b0
call fcn.140024ed0
mov rax, qword [0x14020f668]
mov rcx, qword [rax + 0x4888]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], bpl
cmove rcx, rbp
call fcn.140047fe0
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [rdi + 8]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140009685
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x140009685
mov rbx, qword [0x14020f668]
test rbx, rbx
je 0x14000964f
mov rbx, qword [rbx + 0xa0]
test rbx, rbx
je 0x14000964f
cmp qword [rbx], rbp
je 0x14000964f
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000961a
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 8], rbp
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14000962d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x10], rbp
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14000964f
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [0x14020f668]
mov qword [rbx + 0x18], rbp
mov rcx, qword [rax + 0x58]
mov qword [rcx + 8], rbp
mov rcx, qword [rdi + 8]
lea rdx, [rdi + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x14020f668]
test rax, rax
je 0x140009685
mov rax, qword [rax + 0xa0]
test rax, rax
je 0x140009685
cmp qword [rax], rbp
je 0x140009685
call fcn.1400485a0
mov rbx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400c5920
mov rbp, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret