Function at 0x457010
Capabilities:
Log keystrokes via polling
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
mov eax, dword [0x4b7080]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
xorps xmm0, xmm0
mov dword [0x4be860], 0
push edi
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
movups xmmword [0x4be848], xmm0
movq qword [0x4be858], xmm0
push 1
push 0
push 0
push dword [0x4be864]
push 0x4be848
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x457079
push 0x4be848
call dword [sym.imp.USER32.dll_TranslateMessage]
push 0x4be848
call dword [sym.imp.USER32.dll_DispatchMessageA]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0x23
mov esi, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x4572df
mov ecx, dword [0x4be830]
cmp esi, ecx
jne 0x4570bd
push 3
push esi
call dword [sym.imp.USER32.dll_GetWindow]
push 3
push 0
push 0
push 0
push 0
push eax
push dword [0x4be864]
call edi
mov ecx, dword [0x4be830]
lea eax, [esp + 0x10]
xorps xmm0, xmm0
push eax
push ecx
movaps xmmword [esp + 0x18], xmm0
movlpd qword [esp + 0x10], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 8]
push eax
push dword [0x4be830]
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esp + 8]
mov esi, dword [0x4be710]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [0x4be830]
mov dword [esi + 0x94], eax
lea eax, [esp + 0x24]
push eax
mov dword [esi + 0x18], 0x3c888889
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 8]
push 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0xdc0], xmm0
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x10]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0xdc4], xmm0
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x457172
mov byte [esi + 0xdc8], 1
mov eax, dword [esi + 0xdc4]
mov byte [esi + 0x3700], 1
mov dword [esi + 0x36b0], eax
jmp 0x457179
mov byte [esi + 0xdc8], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
cmp eax, dword [0x4bef64]
jne 0x4571a9
cmp edx, dword [0x4bef6c]
jne 0x4571a9
mov eax, dword [esp + 0x14]
cmp eax, dword [0x4bef68]
jne 0x4571a9
cmp ecx, dword [0x4bef70]
je 0x4571f3
movups xmm0, xmmword [esp + 0x10]
push 8
push ecx
push edx
push dword [esp + 0x18]
movups xmmword [0x4bef64], xmm0
mov dword [0x4bed84], edx
push dword [esp + 0x18]
mov dword [0x4be934], ecx
push 0
push dword [0x4be864]
mov dword [0x4be8b8], edx
mov dword [0x4be8bc], ecx
call edi
mov eax, dword [0x4be90c]
push 0x4be8b8
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
call fcn.00455d50
cmp dword [0x4be84c], 0x12
jne 0x457048
call fcn.0042ebd0
mov eax, dword [0x4be710]
test eax, eax
je 0x457218
mov esi, dword [eax + 0x78]
jmp 0x45721a
xor esi, esi
mov ecx, dword [esi + 0x28]
lea edi, [eax + 8]
test ecx, ecx
je 0x457230
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x4be710]
mov dword [edi + 0x68], 0
mov dword [edi + 0x70], 0
test eax, eax
je 0x457248
dec dword [eax + 0xb4]
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push esi
call edi
mov esi, dword [0x4be710]
add esp, 4
mov dword [0x4be710], esi
call fcn.00408c70
mov dword [0x4be710], 0
test esi, esi
je 0x45728f
mov ecx, esi
call fcn.0041da20
mov eax, dword [0x4be710]
test eax, eax
je 0x457289
dec dword [eax + 0xb4]
push esi
call edi
add esp, 4
mov ecx, dword [0x4be90c]
test ecx, ecx
je 0x4572ad
mov eax, dword [ecx]
push ecx
call dword [eax + 0xa8]
mov eax, dword [0x4be90c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [0x4be87c]
test ecx, ecx
je 0x4572bd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [0x4be864]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esp + 0x2c]
mov eax, dword [0x4be850]
pop edi
pop esi
xor ecx, esp
call fcn.00492363
mov esp, ebp
pop ebp
ret
push 8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3