Function at 0x140052b50
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x48
mov ecx, reloc.WLDAP32.dll_Ordinal_45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140052b75
cmp byte [reloc.WS2_32.dll_accept], 0
sete al
mov byte [reloc.WS2_32.dll_accept], al
jmp 0x140052b7c
movzx eax, byte [reloc.WS2_32.dll_accept]
test al, al
je 0x140052f34
mov rax, qword [0x140117840]
lea r8, str.Background
mov qword [rsp + 0x60], rbx
xor edx, edx
mov qword [rsp + 0x40], rdi
mov rcx, qword [rax + 0x4bc8]
mov rcx, qword [rcx]
call fcn.140008ac0
mov rcx, qword [0x140117840]
movss xmm0, dword [rcx + 0x14]
movss xmm1, dword [rcx + 0x10]
mov rcx, rax
unpcklps xmm1, xmm0
movq rdx, xmm1
call fcn.1400452d0
xor ecx, ecx
call fcn.140027640
xor edx, edx
lea rcx, str.Menu
mov r8d, 0x28bb
call fcn.14000efd0
mov rbx, qword [0x140117840]
xor ecx, ecx
call fcn.140027640
mov rax, qword [0x140117840]
movdqa xmm0, xmmword [0x140102dc0]
movdqa xmm1, xmmword [0x140102940]
mov dword [rbx + 0x3928], 0x3f800000
mov dword [rbx + 0x3938], 0x40a00000
mov dword [rbx + 0x3964], 0x40800000
mov dword [rbx + 0x3968], 0x40400000
mov dword [rbx + 0x3930], 0x41000000
mov dword [rbx + 0x3934], 0x41000000
mov dword [rbx + 0x397c], 0x40800000
mov dword [rbx + 0x3980], 0x40800000
mov dword [rbx + 0x3974], 0x41000000
mov dword [rbx + 0x3978], 0x40a00000
mov dword [rbx + 0x396c], 0x41400000
mov dword [rbx + 0x399c], 0x40000000
mov dword [rbx + 0x39a0], 0x41400000
mov dword [rbx + 0x395c], 0x40800000
mov dword [rbx + 0x3948], 0x3f000000
mov dword [rbx + 0x394c], 0x3f000000
movups xmmword [rax + 0x3a38], xmm0
mov edi, 4
movdqa xmm0, xmmword [0x140102970]
movups xmmword [rax + 0x3a68], xmm0
movdqa xmm0, xmmword [0x140102f80]
movups xmmword [rax + 0x3a48], xmm1
movdqa xmm1, xmmword [0x140102f10]
movups xmmword [rax + 0x3b48], xmm0
movups xmmword [rax + 0x3b38], xmm0
movups xmmword [rax + 0x3a88], xmm1
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
mov eax, dword [rdi + rbx]
cmp dword [0x140117e58], eax
jle 0x140052d37
lea rcx, [0x140117e58]
call fcn.1400d2a90
cmp dword [0x140117e58], 0xffffffff
jne 0x140052d37
lea rcx, [0x140117e58]
mov dword [0x140117e60], 0x2d0
call fcn.1400d2a24
mov eax, dword [rdi + rbx]
cmp dword [0x140117e40], eax
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x60]
jle 0x140052d77
lea rcx, [0x140117e40]
call fcn.1400d2a90
cmp dword [0x140117e40], 0xffffffff
jne 0x140052d77
lea rcx, [0x140117e40]
mov dword [0x140117e5c], 0x1c2
call fcn.1400d2a24
mov r11, qword [0x140117840]
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov rax, qword [r11 + 0x40a0]
movss xmm0, dword [rax + 0x2c]
movss xmm1, dword [rax + 0x28]
unpcklps xmm1, xmm0
movd xmm0, dword [0x140117e60]
movsd qword [0x140117940], xmm1
movd xmm1, dword [0x140117e5c]
mov rax, qword [r11 + 0x40a0]
cvtdq2ps xmm1, xmm1
mov byte [rax + 0xcc], 1
mov rcx, qword [r11 + 0x40a0]
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x54], xmm1
movss dword [rsp + 0x50], xmm0
call fcn.140011f90
mov rax, qword [r11 + 0x40a0]
lea r8, str.Foreground
mov edx, 1
mov byte [rax + 0xcc], 1
mov rax, qword [r11 + 0x40a0]
mov rcx, qword [rax + 0x2b0]
mov qword [0x140117858], rcx
mov rcx, qword [r11 + 0x4bc8]
mov rcx, qword [rcx]
call fcn.140008ac0
movdqa xmm0, xmmword [0x140102dd0]
lea rcx, [rsp + 0x30]
movss xmm1, dword [0x140117940]
addss xmm1, dword [0x14010285c]
movups xmmword [rsp + 0x30], xmm0
movss xmm0, dword [0x140117944]
addss xmm0, dword [0x140102850]
movss dword [rsp + 0x50], xmm1
movss dword [rsp + 0x54], xmm0
call fcn.140004540
mov rcx, qword [0x140117858]
lea r8, [rsp + 0x50]
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0
mov r9d, eax
movss dword [rsp + 0x20], xmm0
lea rdx, [0x140117940]
call fcn.14002aea0
movss xmm3, dword [0x140117940]
lea rcx, [rsp + 0x30]
movdqa xmm0, xmmword [0x140102f00]
movaps xmm1, xmm3
movss xmm2, dword [0x140117944]
subss xmm2, dword [0x1401027cc]
mov rax, qword [0x140117840]
addss xmm1, dword [0x14010285c]
subss xmm3, dword [0x1401027cc]
movups xmmword [rsp + 0x30], xmm0
movss xmm0, dword [rax + 0x3928]
movss dword [rsp + 0x50], xmm1
movss dword [rsp + 0x3c], xmm0
movss dword [rsp + 0x54], xmm2
movss dword [rsp + 0x58], xmm3
movss dword [rsp + 0x5c], xmm2
call fcn.140004540
movss xmm0, dword [0x1401027f8]
lea r8, [rsp + 0x50]
mov rcx, qword [0x140117858]
lea rdx, [rsp + 0x58]
mov r9d, eax
movss dword [rsp + 0x20], xmm0
call fcn.14002ac30
call fcn.14004de10
call fcn.14004e2c0
add rsp, 0x48
jmp fcn.1400115d0
add rsp, 0x48
ret