Function at 0x18004bf30
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
sub rsp, 0x218
mov rax, qword [0x180302d80]
xor rax, rsp
mov qword [rsp + 0x208], rax
mov rax, qword [0x180306668]
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jne 0x18004bf6e
jmp 0x18004c516
mov rcx, qword [rsp + 0x98]
call fcn.1800487d0
mov qword [rsp + 0xb8], rax
movzx eax, byte [0x180305ffd]
test eax, eax
je 0x18004c3ff
mov rax, qword [0x180306670]
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x18004bfb4
jmp 0x18004c516
mov rcx, qword [rsp + 0x90]
call fcn.18004a450
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x18004bfd9
jmp 0x18004c516
mov dword [rsp + 0x54], 0
jmp 0x18004bfed
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
movsxd rax, dword [rsp + 0x54]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0x88]
call fcn.180053070
mov rcx, qword [rsp + 0xa8]
cmp rcx, rax
jae 0x18004c3ff
mov rcx, qword [rsp + 0x88]
call fcn.180053020
mov qword [rsp + 0xb0], rax
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0xb0]
call fcn.1800521e0
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x18004c04d
jmp 0x18004bfe3
lea rdx, [rsp + 0x198]
mov rcx, qword [rsp + 0x68]
call fcn.18004a0c0
lea rcx, [rsp + 0x110]
mov rdi, rcx
mov rsi, rax
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x1f0]
call fcn.1800530c0
nop
mov rcx, qword [rsp + 0x1f0]
call fcn.180051e10
movzx eax, al
test eax, eax
jne 0x18004c0a3
jmp 0x18004bfe3
lea rdx, [rsp + 0x1a4]
mov rcx, qword [rsp + 0xb8]
call fcn.18004a0c0
mov qword [rsp + 0xc8], rax
lea rdx, [rsp + 0x1b0]
mov rcx, qword [rsp + 0x68]
call fcn.18004a0c0
mov qword [rsp + 0xc0], rax
mov r8, qword [rsp + 0xc0]
lea rdx, [rsp + 0x1f8]
mov rcx, qword [rsp + 0xc8]
call fcn.1800457f0
nop
movss xmm0, dword [rsp + 0x1f8]
mulss xmm0, dword [rsp + 0x1f8]
movss xmm1, dword [rsp + 0x1fc]
mulss xmm1, dword [rsp + 0x1fc]
addss xmm0, xmm1
movss xmm1, dword [rsp + 0x200]
mulss xmm1, dword [rsp + 0x200]
addss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
cvttss2si eax, xmm0
mov dword [rsp + 0x70], eax
mov eax, dword [reloc.WLDAP32.dll_Ordinal_30]
cmp dword [rsp + 0x70], eax
jge 0x18004c3fa
mov rcx, qword [rsp + 0x68]
call fcn.180052270
mov rcx, rax
call fcn.18004a0a0
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0x20], 0xff
mov r9d, 0xff
mov r8d, 0xff
mov edx, 0xff
lea rcx, [rsp + 0x1bc]
call fcn.180023490
mov rcx, rax
call fcn.1800456f0
mov dword [rsp + 0x74], eax
movss xmm2, dword [rsp + 0x1f4]
movss xmm1, dword [rsp + 0x1f0]
lea rcx, [rsp + 0x120]
call fcn.180040c50
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x158]
call fcn.18000ecb0
nop
call fcn.18007fb80
mov qword [rsp + 0xe0], rax
mov byte [rsp + 0x28], 1
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x20], eax
movss xmm3, dword [0x18025de64]
mov r8, qword [rsp + 0xd8]
lea rdx, [rsp + 0x158]
mov rcx, qword [rsp + 0xe0]
call fcn.180048da0
nop
lea rcx, [rsp + 0x158]
call fcn.18000ec20
nop
mov rax, qword [0x1803066e0]
mov qword [rsp + 0xe8], rax
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0xe8]
mov ecx, eax
call fcn.180049b90
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x5c], reloc.WS2_32.dll_select
cmp dword [rsp + 0x78], 1
jne 0x18004c32e
mov dword [rsp + 0x20], 0xff
xor r9d, r9d
mov r8d, 0xff
xor edx, edx
lea rcx, [rsp + 0x1cc]
call fcn.180023490
mov rcx, rax
call fcn.1800456f0
mov dword [rsp + 0x7c], eax
cvtsi2ss xmm0, dword [rsp + 0x5c]
movss xmm1, dword [rsp + 0x1f4]
addss xmm1, xmm0
movaps xmm0, xmm1
movaps xmm2, xmm0
movss xmm1, dword [rsp + 0x1f0]
lea rcx, [rsp + 0x128]
call fcn.180040c50
mov qword [rsp + 0xf0], rax
lea rdx, str._Unlocked_
lea rcx, [rsp + 0x178]
call fcn.18000ecb0
nop
call fcn.18007fb80
mov qword [rsp + 0xf8], rax
mov byte [rsp + 0x28], 1
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x20], eax
movss xmm3, dword [0x18025de5c]
mov r8, qword [rsp + 0xf0]
lea rdx, [rsp + 0x178]
mov rcx, qword [rsp + 0xf8]
call fcn.180048da0
nop
lea rcx, [rsp + 0x178]
call fcn.18000ec20
nop
jmp 0x18004c3fa
mov dword [rsp + 0x20], 0xff
xor r9d, r9d
xor r8d, r8d
mov edx, 0xff
lea rcx, [rsp + 0x1dc]
call fcn.180023490
mov rcx, rax
call fcn.1800456f0
mov dword [rsp + 0x80], eax
cvtsi2ss xmm0, dword [rsp + 0x5c]
movss xmm1, dword [rsp + 0x1f4]
addss xmm1, xmm0
movaps xmm0, xmm1
movaps xmm2, xmm0
movss xmm1, dword [rsp + 0x1f0]
lea rcx, [rsp + 0x130]
call fcn.180040c50
mov qword [rsp + 0x100], rax
lea rdx, str._Locked_
lea rcx, [rsp + 0x138]
call fcn.18000ecb0
nop
call fcn.18007fb80
mov qword [rsp + 0xa0], rax
mov byte [rsp + 0x28], 1
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
movss xmm3, dword [0x18025de5c]
mov r8, qword [rsp + 0x100]
lea rdx, [rsp + 0x138]
mov rcx, qword [rsp + 0xa0]
call fcn.180048da0
nop
lea rcx, [rsp + 0x138]
call fcn.18000ec20
nop
jmp 0x18004bfe3
movzx eax, byte [0x180305ffc]
test eax, eax
je 0x18004c467
call fcn.180051fc0
mov edx, 1
mov ecx, eax
call fcn.180049bb0
mov dword [rsp + 0x60], eax
mov ecx, dword [rsp + 0x60]
call fcn.180049af0
movss dword [rsp + 0x58], xmm0
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x18004c467
movss xmm0, dword [rsp + 0x58]
addss xmm0, dword [0x180305ff8]
movss dword [rsp + 0x58], xmm0
movss xmm1, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x60]
call fcn.1800525f0
nop
movzx eax, byte [0x180305ffe]
test eax, eax
je 0x18004c516
call fcn.180051fc0
mov edx, 1
mov ecx, eax
call fcn.180049bb0
mov dword [rsp + 0x50], eax
mov edx, 1
mov ecx, dword [rsp + 0x50]
call fcn.1800523a0
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
mov r9d, 1
mov r8d, 1
mov edx, 1
mov ecx, dword [rsp + 0x50]
call fcn.1800523d0
xor edx, edx
mov ecx, dword [rsp + 0x50]
call fcn.180052650
xor edx, edx
mov ecx, dword [rsp + 0x50]
call fcn.180052680
xor edx, edx
mov ecx, dword [rsp + 0x50]
call fcn.1800525c0
xor edx, edx
mov ecx, dword [rsp + 0x50]
call fcn.180052650
mov edx, 1
mov ecx, dword [rsp + 0x50]
call fcn.180052620
nop
mov rcx, qword [rsp + 0x208]
xor rcx, rsp
call fcn.180208a80
add rsp, 0x218
pop rdi
pop rsi
ret