Function at 0x140058420
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140d6a4c0]
xor rax, rsp
mov qword [rbp + 0x27], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
lea r12, [rbp + 0x5f]
movabs r15, 0xff00ff00ff00ff00
mov qword [rbp - 0x31], r15
mov qword [rbp - 0x29], r12
mov rdi, qword [r12]
xor rdi, r15
mov qword [rbp - 0x39], rdi
xor esi, esi
mov qword [r12], rsi
movups xmmword [0x140d6b5e0], xmm0
movups xmmword [0x140d6b5f0], xmm0
movups xmmword [0x140d6b600], xmm0
lea r14, [rbp + 0x5f]
movss xmm6, dword [0x14013a318]
nop dword [rax]
nop dword [rax + rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x140d6b5d8]
lea rcx, [0x140d6b5e0]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1400584f0
lea rcx, [0x140d6b5e0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140d6b5e0]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x140d6b5d0]
cmp rax, rcx
jne 0x14005853d
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [0x140d6b5d8]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140d6b5d0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 0x21], rsi
lea rdx, [rbp - 0x19]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rbp - 0x21]
mov rcx, qword [0x140d6b5d0]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp - 0x21]
mov dword [rbp - 0x19], eax
mov eax, dword [rbp - 0x1d]
mov dword [rbp - 0x15], eax
call fcn.140010db0
mov rbx, rax
mov dword [rax + 0x10], 0x3c888889
lea rcx, [rbp + 0x1f]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [rbp + 0x1f]
sub ecx, dword [rbp - 0x21]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe38], xmm0
mov ecx, dword [rbp + 0x23]
sub ecx, dword [rbp - 0x1d]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe3c], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400585de
mov byte [rbx + 0xe40], 1
mov byte [rbx + 0x3858], 1
mov eax, dword [rbx + 0xe3c]
mov dword [rbx + 0x3808], eax
jmp 0x1400585e5
mov byte [rbx + 0xe40], 0
mov ecx, dword [rbp - 0xd]
mov edx, dword [rbp - 0x11]
mov eax, dword [0x140d6bd08]
cmp dword [rbp - 0x19], eax
jne 0x140058611
cmp edx, dword [0x140d6bd10]
jne 0x140058611
mov eax, dword [0x140d6bd0c]
cmp dword [rbp - 0x15], eax
jne 0x140058611
cmp ecx, dword [0x140d6bd14]
je 0x140058672
movups xmm0, xmmword [rbp - 0x19]
movups xmmword [0x140d6bd08], xmm0
mov dword [0x140d6bbb4], edx
mov dword [0x140d6bbac], ecx
mov dword [0x140d6b590], edx
mov dword [0x140d6b594], ecx
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov r9d, dword [rbp - 0x1d]
mov r8d, dword [rbp - 0x21]
xor edx, edx
mov rcx, qword [0x140d6b5d8]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140d6b580]
mov rax, qword [rcx]
lea rdx, [0x140d6b590]
call qword [rax + 0x80]
call fcn.140032500
call fcn.140033230
call fcn.140018470
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp - 1], r15
mov qword [rbp + 7], r14
mov rbx, qword [r14]
mov rax, rbx
xor rax, r15
mov qword [rbp - 9], rax
mov qword [r14], rsi
call fcn.140051070
call fcn.140059640
nop
mov qword [r14], rbx
call fcn.140058d90
mov ecx, dword [reloc.WS2_32.dll_getpeername]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14005870b
cmp byte [0x140d6bce9], 0
je 0x14005870b
mov eax, dword [0x140d6bcc8]
test eax, eax
jne 0x1400586e7
mov ecx, WSAGetLastError
call fcn.14005c240
mov eax, dword [0x140d6bcc8]
cmp eax, 1
jne 0x1400586fc
mov ecx, 0x42
call fcn.14005c240
mov eax, dword [0x140d6bcc8]
cmp eax, 2
jne 0x14005870b
mov ecx, Ordinal_41
call fcn.14005c240
cmp byte [0x140d6bceb], 0
je 0x1400587ac
mov rax, qword [0x140d6bb78]
mov rcx, qword [rax + 0x30]
test rcx, rcx
je 0x1400587ac
add rcx, 0x1898
call fcn.14004e180
test rax, rax
je 0x1400587ac
mov ecx, dword [0x140d6bcec]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400587ac
xorps xmm0, xmm0
movdqu xmmword [rbp - 5], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
mov dword [rbp - 9], esi
mov dword [rbp + 0xb], 2
mov r8d, Ordinal_45
lea rdx, [rbp - 9]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
xorps xmm0, xmm0
movdqu xmmword [rbp - 5], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
mov dword [rbp - 9], esi
mov dword [rbp + 0xb], 4
mov r8d, Ordinal_45
lea rdx, [rbp - 9]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
call fcn.14000ed90
mov rcx, qword [0x140d6b580]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 7
call qword [rax + 0x1c8]
mov rcx, qword [0x140d6b580]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, reloc.WLDAP32.dll_Ordinal_27
call qword [rax + 0x1c8]
mov rcx, qword [0x140d6b580]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x140d6b580]
mov rax, qword [rcx]
mov dword [rsp + 0x30], esi
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], esi
mov r9d, 1
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x140d6b580]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140058858
call fcn.14001a260
call fcn.140010a20
mov rcx, rax
call fcn.140032560
mov rcx, qword [0x140d6b580]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140d6b580]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x1400588b1
mov rcx, qword [0x140d6b580]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x1400588b1
call fcn.140032470
mov rcx, qword [0x140d6b580]
mov rax, qword [rcx]
lea rdx, [0x140d6b590]
call qword [rax + 0x80]
call fcn.1400320f0
cmp dword [0x140d6b5e8], 0x12
jne 0x1400584b0
call fcn.140032fb0
call fcn.140033540
xor ecx, ecx
call fcn.14000e600
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
lea r14, [rbp + 0x5f]
mov qword [rbp - 1], r15
mov qword [rbp + 7], r14
mov rbx, qword [r14]
mov rax, rbx
xor rax, r15
mov qword [rbp - 9], rax
mov qword [r14], rsi
mov rcx, qword [0x140d6b580]
test rcx, rcx
je 0x140058914
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140d6b580]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140d6b578]
test rcx, rcx
je 0x140058927
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov qword [r14], rbx
mov rcx, qword [0x140d6b5d8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x140d6b5f0]
xor rdi, r15
mov qword [r12], rdi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140134350
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret