Function at 0x140009980
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0xa0
mov rax, qword [0x14015c080]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rax, qword [0x1402473f0]
xor ebp, ebp
movaps xmmword [rsp + 0x90], xmm6
mov rdi, rcx
test rax, rax
je 0x1400099c1
mov rcx, qword [rax + 0xa0]
jmp 0x1400099c4
mov rcx, rbp
cmp qword [rcx + 0x18], rbp
jne 0x1400099e5
test rax, rax
je 0x1400099e5
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x1400099e5
cmp qword [rcx], rbp
je 0x1400099e5
call fcn.14004a490
call fcn.14004aea0
call fcn.140024b80
cmp qword [0x140247778], rbp
je 0x140009a5b
cmp byte [0x14015c10d], bpl
je 0x140009a5b
cmp dword [0x14015c104], ebp
jne 0x140009a35
lea rcx, [0x14015c0f8]
call fcn.140001420
test rax, rax
je 0x140009a35
lea rcx, [0x14015c0f8]
call fcn.140001420
mov rdx, rax
lea rcx, [0x14015c0f8]
call fcn.140001a00
cmp dword [0x14015c104], 1
jne 0x140009a5b
lea rcx, [0x14015c0f8]
call fcn.140001420
test rax, rax
je 0x140009a5b
lea rcx, [0x14015c0f8]
call fcn.1400020e0
mov qword [rsp + 0xb8], rbx
call fcn.140004760
cmp qword [0x140247778], rbp
je 0x140009bbd
mov rcx, rax
call fcn.140004c10
mov rdx, qword [0x140247768]
test rdx, rdx
je 0x140009ba8
mov rcx, qword [0x1402477d8]
lea r8, [rsp + 0x60]
add rdx, 0x10
mov qword [rsp + 0x20], rbp
mov r9d, 8
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rsp + 0x60]
lea r8, [rsp + 0x68]
mov rcx, qword [0x1402477d8]
mov r9d, 8
mov qword [rsp + 0x20], rbp
lea rdx, [rbx + 0x180]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x1402477d8]
lea rdx, [rbx + 0x188]
mov r9d, 4
mov qword [rsp + 0x20], rbp
lea r8, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rsp + 0x58]
test eax, eax
jle 0x140009ba8
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0xc0], rsi
mov esi, eax
nop word [rax + rax]
mov rcx, qword [0x1402477d8]
lea r8, [rsp + 0x60]
mov r9d, 8
mov qword [rsp + 0x20], rbp
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x140009b96
mov rcx, qword [0x1402477d8]
lea r8, [rsp + 0x70]
add rdx, 0x90
mov qword [rsp + 0x20], rbp
mov r9d, recvfrom
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
call fcn.14006d650
movsd xmm0, qword [rsp + 0x70]
lea r8, [rsp + 0x40]
mov eax, dword [rsp + 0x78]
lea rdx, [rsp + 0x50]
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], eax
call fcn.14006d820
add rbx, 0x10
sub rsi, 1
jne 0x140009b20
mov rsi, qword [rsp + 0xc0]
cmp qword [0x140247778], rbp
je 0x140009bbd
lea rcx, [0x14015cb40]
call fcn.140009140
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140247750], eax
jle 0x140009c00
lea rcx, [0x140247750]
call fcn.1400cd9c0
cmp dword [0x140247750], 0xffffffff
jne 0x140009c00
lea rcx, [0x140247750]
mov dword [0x140247748], ebp
call fcn.1400cd954
mov eax, dword [0x140247748]
test eax, eax
jne 0x140009c16
mov dword [0x14024774c], 2
jmp 0x140009c7a
cmp eax, 1
jne 0x140009c27
mov dword [0x14024774c], 0x12
jmp 0x140009c7a
cmp eax, 2
jne 0x140009c38
mov dword [0x14024774c], 0x11
jmp 0x140009c7a
cmp eax, 3
jne 0x140009c49
mov dword [0x14024774c], 4
jmp 0x140009c7a
cmp eax, 4
jne 0x140009c5a
mov dword [0x14024774c], 5
jmp 0x140009c7a
cmp eax, 5
jne 0x140009c6b
mov dword [0x14024774c], 6
jmp 0x140009c7a
cmp eax, 6
jne 0x140009c7a
mov dword [0x14024774c], 1
cmp byte [0x14015c110], bpl
movss xmm6, dword [0x14014992c]
je 0x140009d48
mov rax, qword [0x1402473f0]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x4878]
mov rcx, qword [rcx]
call fcn.140024190
mov ecx, dword [rdi + 0xe8]
xorps xmm0, xmm0
movd xmm2, dword [0x14015c0f8]
xorps xmm1, xmm1
cvtdq2ps xmm2, xmm2
mov rbx, rax
cvtsi2ss xmm0, rcx
mov ecx, dword [rdi + 0xec]
cvtsi2ss xmm1, rcx
movss dword [rsp + 0x58], xmm0
movss xmm0, dword [0x1401498f0]
comiss xmm0, xmm2
movss dword [rsp + 0x5c], xmm1
ja 0x140009d48
subss xmm2, xmm0
mov dword [rsp + 0x28], 0x1ff
movss xmm0, dword [0x1401499b0]
lea rdx, [rsp + 0x58]
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm0
mov rcx, rax
call fcn.140042df0
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.1400413c0
mov dword [rbx + 0x78], ebp
cmp byte [0x14015c111], bpl
je 0x140009d5b
mov dword [reloc.WS2_32.dll_bind], 0x14
mov ecx, reloc.WLDAP32.dll_Ordinal_45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140009d7a
cmp byte [rdi + 0x158], bpl
sete al
mov byte [rdi + 0x158], al
mov rax, qword [0x1402473f0]
lea rcx, str.Watermark
xor edx, edx
cmp byte [rdi + 0x158], bpl
movss xmm0, dword [rax + 0x10]
subss xmm0, dword [0x140149af0]
lea r8d, [rdx + 0x27]
mov qword [rax + 0x478c], 0x461c3c00
mov dword [rax + 0x4794], ebp
mov dword [rax + 0x477c], 1
movss dword [rax + 0x4788], xmm0
je 0x140009df4
or dword [rax + 0x4778], 1
call fcn.14002a1d0
lea rcx, str.github.com
call fcn.14004dc50
call fcn.14002c5b0
mov rcx, rdi
call fcn.140063940
mov r8d, 0xa0
jmp 0x140009e17
or dword [rax + 0x4778], 1
call fcn.14002a1d0
lea rcx, str.github.com
call fcn.14004dc50
call fcn.14002c5b0
mov r8d, 0x800a0
mov rcx, qword [rdi + 0x50]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_SetWindowLongA]
movzx eax, byte [rdi + 0x158]
mov rcx, qword [0x1402473f0]
mov byte [rcx + 0x78], al
movzx eax, byte [rdi + 0x158]
mov byte [rcx + 0xd9], al
call fcn.1400267f0
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 + 0x90]
test eax, eax
js 0x140009ef8
call fcn.140026bb0
mov rax, qword [0x1402473f0]
mov rcx, qword [rax + 0x4878]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], bpl
cmove rcx, rbp
call fcn.140049ed0
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 0x140009fcd
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x140009fcd
mov rbx, qword [0x1402473f0]
test rbx, rbx
je 0x140009f97
mov rbx, qword [rbx + 0xa0]
test rbx, rbx
je 0x140009f97
cmp qword [rbx], rbp
je 0x140009f97
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140009f62
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 0x140009f75
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 0x140009f97
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [0x1402473f0]
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 [0x1402473f0]
test rax, rax
je 0x140009fcd
mov rax, qword [rax + 0xa0]
test rax, rax
je 0x140009fcd
cmp qword [rax], rbp
je 0x140009fcd
call fcn.14004a490
mov rbx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400cd880
mov rbp, qword [rsp + 0xc8]
add rsp, 0xa0
pop rdi
ret