Function at 0x140058430
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 [0x140563980]
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 [0x140564aa0], xmm0
movups xmmword [0x140564ab0], xmm0
movups xmmword [0x140564ac0], 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 [0x140564a98]
lea rcx, [0x140564aa0]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140058500
lea rcx, [0x140564aa0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140564aa0]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x140564a90]
cmp rax, rcx
jne 0x14005854d
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 [0x140564a98]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140564a90]
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 [0x140564a90]
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.140010dc0
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 0x1400585ee
mov byte [rbx + 0xe40], 1
mov byte [rbx + 0x3858], 1
mov eax, dword [rbx + 0xe3c]
mov dword [rbx + 0x3808], eax
jmp 0x1400585f5
mov byte [rbx + 0xe40], 0
mov ecx, dword [rbp - 0xd]
mov edx, dword [rbp - 0x11]
mov eax, dword [0x1405651c8]
cmp dword [rbp - 0x19], eax
jne 0x140058621
cmp edx, dword [0x1405651d0]
jne 0x140058621
mov eax, dword [0x1405651cc]
cmp dword [rbp - 0x15], eax
jne 0x140058621
cmp ecx, dword [0x1405651d4]
je 0x140058682
movups xmm0, xmmword [rbp - 0x19]
movups xmmword [0x1405651c8], xmm0
mov dword [0x140565074], edx
mov dword [0x14056506c], ecx
mov dword [0x140564a50], edx
mov dword [0x140564a54], 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 [0x140564a98]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140564a40]
mov rax, qword [rcx]
lea rdx, [0x140564a50]
call qword [rax + 0x80]
call fcn.140032510
call fcn.140033240
call fcn.140018480
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.140051080
call fcn.140059650
nop
mov qword [r14], rbx
call fcn.140058da0
mov ecx, dword [reloc.WS2_32.dll_getpeername]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14005871b
cmp byte [0x1405651a9], 0
je 0x14005871b
mov eax, dword [0x140565188]
test eax, eax
jne 0x1400586f7
mov ecx, WSAGetLastError
call fcn.14005c250
mov eax, dword [0x140565188]
cmp eax, 1
jne 0x14005870c
mov ecx, 0x42
call fcn.14005c250
mov eax, dword [0x140565188]
cmp eax, 2
jne 0x14005871b
mov ecx, Ordinal_41
call fcn.14005c250
cmp byte [0x1405651ab], 0
je 0x1400587bc
mov rax, qword [0x140565038]
mov rcx, qword [rax + 0x30]
test rcx, rcx
je 0x1400587bc
add rcx, 0x1898
call fcn.14004e190
test rax, rax
je 0x1400587bc
mov ecx, dword [0x1405651ac]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400587bc
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.14000eda0
mov rcx, qword [0x140564a40]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 7
call qword [rax + 0x1c8]
mov rcx, qword [0x140564a40]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, reloc.WLDAP32.dll_Ordinal_27
call qword [rax + 0x1c8]
mov rcx, qword [0x140564a40]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x140564a40]
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 [0x140564a40]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140058868
call fcn.14001a270
call fcn.140010a30
mov rcx, rax
call fcn.140032570
mov rcx, qword [0x140564a40]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140564a40]
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 0x1400588c1
mov rcx, qword [0x140564a40]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x1400588c1
call fcn.140032480
mov rcx, qword [0x140564a40]
mov rax, qword [rcx]
lea rdx, [0x140564a50]
call qword [rax + 0x80]
call fcn.140032100
cmp dword [0x140564aa8], 0x12
jne 0x1400584c0
call fcn.140032fc0
call fcn.140033550
xor ecx, ecx
call fcn.14000e610
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 [0x140564a40]
test rcx, rcx
je 0x140058924
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140564a40]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x140564a38]
test rcx, rcx
je 0x140058937
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov qword [r14], rbx
mov rcx, qword [0x140564a98]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x140564ab0]
xor rdi, r15
mov qword [r12], rdi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140134380
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