Function at 0x14003b810
Capabilities:
Log keystrokes via polling
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1400e10c0]
xor rax, rsp
mov qword [rbp - 8], rax
mov ecx, reloc.WLDAP32.dll_Ordinal_45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x14003b86c
mov ecx, reloc.WS2_32.dll_WSASetLastError
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x14003b86c
mov ecx, reloc.WLDAP32.dll_Ordinal_46
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x14003b86c
mov ecx, 0x24
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14003b87a
cmp byte [reloc.WS2_32.dll_accept], 0
sete byte [0x1400e1138]
mov ecx, 0x75
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 2
je 0x14003b8a7
cmp byte [reloc.WS2_32.dll_accept], 0
mov edx, 0x3e8
mov ecx, 0x1f4
sete byte [0x1400e1133]
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, reloc.WLDAP32.dll_Ordinal_35
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14003b8d4
cmp byte [0x1401c7abb], 0
mov edx, 0x3e8
mov ecx, 0x1f4
sete byte [0x1401c7abb]
call qword [sym.imp.KERNEL32.dll_Beep]
cmp qword [0x1401c7fe8], 0
jne 0x14003b8e3
call fcn.140024d40
mov rcx, qword [0x1401c8008]
lea rdx, [rbp - 0x18]
mov rdi, qword [0x1401c7ab0]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 0x10]
lea rcx, [rbp - 0x28]
sub eax, dword [rbp - 0x18]
movd xmm1, eax
mov eax, dword [rbp - 0xc]
sub eax, dword [rbp - 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp - 0x28]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1401c8010]
cvtsi2ss xmm0, qword [0x1401c8018]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1401c8010], rcx
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_recv
and al, 1
mov byte [rdi + 0x130], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_select
and al, 1
mov byte [rdi + 0x131], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [0x1401c7ab0]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x133], 0
mov byte [rdi + 0x132], al
cmp byte [rcx + 0x3af], 0
lea rbx, [rcx + 0x118]
je 0x14003b9ea
cvttss2si eax, dword [rbx]
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x20], eax
cvttss2si eax, dword [rcx + 0x11c]
mov rcx, qword [0x1401c8008]
mov dword [rbp - 0x1c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x1c]
mov ecx, dword [rbp - 0x20]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x1401c8008]
jne 0x14003ba42
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14003ba42
mov rcx, qword [0x1401c8008]
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14003ba42
movd xmm0, dword [rbp - 0x30]
movd xmm1, dword [rbp - 0x2c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xd0], 0
je 0x14003ba52
mov eax, 0xffffffff
jmp 0x14003ba5f
mov rax, qword [0x1401c7ab0]
mov eax, dword [rax + 0x1d70]
cmp dword [reloc.WS2_32.dll_htonl], eax
je 0x14003ba72
mov dword [reloc.WS2_32.dll_htonl], eax
call fcn.140024e90
call fcn.140006ab0
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x14003ba85
call fcn.140046870
cmp byte [0x1401c7abb], 0
je 0x14003ba9a
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.14004a670
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x14003bb12
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x14003bb9f
lea rcx, [rbp - 0x28]
call fcn.140039ef0
mov rax, qword [rbp - 0x28]
movabs rdi, 0x7fffffffff67697f
cmp rax, rdi
jge 0x14003badd
add rax, 0x989680
mov qword [rbp - 0x30], rax
jmp 0x14003baeb
movabs rbx, 0x7fffffffffffffff
mov qword [rbp - 0x30], rbx
lea rcx, [rbp - 0x30]
call fcn.14004fc70
mov rcx, qword [0x1401c8020]
mov edx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
mov byte [reloc.WS2_32.dll_accept], 0
jmp 0x14003bb9f
cmp byte [reloc.WS2_32.dll_accept], 0
jne 0x14003bb9f
lea rcx, [rbp - 0x28]
call fcn.140039ef0
mov rax, qword [rbp - 0x28]
movabs rdi, 0x7fffffffff67697f
movabs rbx, 0x7fffffffffffffff
cmp rax, rdi
jge 0x14003bb51
add rax, 0x989680
mov qword [rbp - 0x30], rax
jmp 0x14003bb55
mov qword [rbp - 0x30], rbx
lea rcx, [rbp - 0x30]
call fcn.14004fc70
mov rcx, qword [0x1401c8020]
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
lea rcx, [rbp - 0x28]
call fcn.140039ef0
mov rax, qword [rbp - 0x28]
cmp rax, rdi
jge 0x14003bb8b
add rax, 0x989680
mov qword [rbp - 0x30], rax
jmp 0x14003bb8f
mov qword [rbp - 0x30], rbx
lea rcx, [rbp - 0x30]
call fcn.14004fc70
mov byte [reloc.WS2_32.dll_accept], 1
call fcn.140007c70
mov rcx, qword [0x1401c8028]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1401c8028]
xor r8d, r8d
mov edx, reloc.WLDAP32.dll_Ordinal_27
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1401c8028]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1401c8028]
xor edi, edi
movss xmm0, dword [0x1400d0db0]
mov r9d, 1
mov dword [rsp + 0x30], edi
xor r8d, r8d
movss dword [rsp + 0x28], xmm0
xor edx, edx
mov rax, qword [rcx]
mov dword [rsp + 0x20], edi
call qword [rax + 0x158]
mov rcx, qword [0x1401c8028]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14003bc62
call fcn.140008120
mov rcx, qword [0x1401c7ab0]
add rcx, 0x1c70
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.140024440
mov rcx, qword [0x1401c8028]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1401c8028]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14003bd24
mov rcx, qword [0x1401c8028]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x14003bd24
cmp qword [0x1401c7ff8], rdi
je 0x14003bd08
mov rcx, qword [0x1401c8000]
test rcx, rcx
je 0x14003bcc4
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401c8000], rdi
mov rcx, qword [0x1401c7ff0]
test rcx, rcx
je 0x14003bcdd
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401c7ff0], rdi
mov rcx, qword [0x1401c7fe8]
mov rbx, qword [0x1401c7ab0]
test rcx, rcx
je 0x14003bcf6
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1401c7fe8], rdi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rdi
mov rcx, qword [0x1401c8028]
lea rdx, [0x1401c7bd0]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140024d40
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400ae470
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret