Function at 0x439ae0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x445040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xorps xmm0, xmm0
mov dword [0x46f97c], 0
push edi
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
movups xmmword [0x46f964], xmm0
movq qword [0x46f974], xmm0
push 1
push 0
push 0
push dword [0x46f980]
push 0x46f964
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x439b58
push 0x46f964
call dword [sym.imp.USER32.dll_TranslateMessage]
push 0x46f964
call dword [sym.imp.USER32.dll_DispatchMessageA]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x46f960]
cmp eax, ecx
jne 0x439b8a
push 3
push eax
call dword [sym.imp.USER32.dll_GetWindow]
push 3
push 0
push 0
push 0
push 0
push eax
push dword [0x46f980]
call edi
mov ecx, dword [0x46f960]
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push ecx
movaps xmmword [ebp - 0x20], xmm0
movlpd qword [ebp - 0xc], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0xc]
push eax
push dword [0x46f960]
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [ebp - 0xc]
mov esi, dword [0x46f850]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x46f960]
mov dword [esi + 0xdc], eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0xc]
push 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0xe4], xmm0
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0xe8], xmm0
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x439c2b
mov byte [esi + 0xec], 1
mov eax, dword [esi + 0xe8]
mov byte [esi + 0x3f8], 1
mov dword [esi + 0x3a8], eax
jmp 0x439c32
mov byte [esi + 0xec], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp eax, dword [0x46ff00]
jne 0x439c5e
cmp edx, dword [0x46ff08]
jne 0x439c5e
mov eax, dword [ebp - 0x1c]
cmp eax, dword [0x46ff04]
jne 0x439c5e
cmp ecx, dword [0x46ff0c]
je 0x439ca5
movups xmm0, xmmword [ebp - 0x20]
push 8
push ecx
push edx
push dword [ebp - 8]
movups xmmword [0x46ff00], xmm0
mov dword [0x46fe5c], edx
push dword [ebp - 0xc]
mov dword [0x46fa0c], ecx
push 0xffffffffffffffff
push dword [0x46f980]
mov dword [0x46f9b4], edx
mov dword [0x46f9b8], ecx
call edi
mov eax, dword [0x46f9f4]
push 0x46f9b4
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
call fcn.004389d0
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x46f968], 0x12
jne 0x439b27
call fcn.004218b0
mov esi, dword [0x46f850]
mov ecx, esi
mov dword [0x46fecc], 0
call fcn.00406360
cmp dword [0x46f850], esi
jne 0x439ced
mov dword [0x46f850], 0
test esi, esi
je 0x439d11
mov ecx, esi
call fcn.00413210
mov eax, dword [0x46f850]
test eax, eax
je 0x439d07
dec dword [eax + 0x394]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, dword [0x46f9f4]
test ecx, ecx
je 0x439d2f
mov eax, dword [ecx]
push ecx
call dword [eax + 0xa8]
mov eax, dword [0x46f9f4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [0x46f994]
test ecx, ecx
je 0x439d3f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [0x46f980]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 4]
mov eax, dword [0x46f96c]
xor ecx, ebp
pop edi
pop esi
call fcn.0043aac4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret