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

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 dword [0x431870], 0
xorps xmm0, xmm0
movups xmmword [0x431858], xmm0
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
movq qword [0x431868], xmm0
nop dword [eax]
cmp byte [0x43160d], 0
jne 0x427abd
push 1
push 0
push 0
push dword [0x4318f4]
push 0x431858
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x42785e
push 0x431858
call dword [sym.imp.USER32.dll_TranslateMessage]
push 0x431858
call dword [sym.imp.USER32.dll_DispatchMessageA]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x431904]
cmp eax, ecx
jne 0x427890
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 [0x4318f4]
call edi
mov ecx, dword [0x431904]
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push ecx
movaps xmmword [ebp - 0x20], xmm0
movlpd qword [ebp - 8], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 8]
push eax
push dword [0x431904]
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [ebp - 8]
mov esi, dword [0x431610]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x431904]
mov dword [esi + 0xe0], eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 8]
push 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0xe4], xmm0
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0xe8], xmm0
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x427931
mov byte [esi + 0xec], 1
mov eax, dword [esi + 0xe8]
mov byte [esi + 0x3d8], 1
mov dword [esi + 0x388], eax
jmp 0x427938
mov byte [esi + 0xec], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp eax, dword [0x431994]
jne 0x427964
cmp edx, dword [0x43199c]
jne 0x427964
mov eax, dword [ebp - 0x1c]
cmp eax, dword [0x431998]
jne 0x427964
cmp ecx, dword [0x4319a0]
je 0x4279ab
movups xmm0, xmmword [ebp - 0x20]
push 8
push ecx
push edx
push dword [ebp - 4]
movups xmmword [0x431994], xmm0
mov dword [0x4318f8], edx
push dword [ebp - 8]
mov dword [0x4318fc], ecx
push 0
push dword [0x4318f4]
mov dword [0x431820], edx
mov dword [0x431824], ecx
call edi
mov eax, dword [0x431878]
push 0x431820
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
call fcn.00427440
cmp dword [0x43185c], 0x12
jne 0x427820
call fcn.00422350
mov eax, dword [0x43194c]
test eax, eax
je 0x4279d2
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [0x431610]
xorps xmm0, xmm0
mov ecx, esi
mov dword [0x43194c], 0
mov dword [0x431950], 0
mov dword [0x431954], 0
mov dword [0x431958], 0
movlpd qword [0x431960], xmm0
movlpd qword [0x431968], xmm0
mov dword [0x431200], 9
mov byte [0x431948], 0
mov byte [0x43104c], 1
call fcn.00406da0
cmp dword [0x431610], esi
jne 0x427a44
mov dword [0x431610], 0
test esi, esi
je 0x427a68
mov ecx, esi
call fcn.00412db0
mov eax, dword [0x431610]
test eax, eax
je 0x427a5e
dec dword [eax + 0x370]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, dword [0x431878]
test ecx, ecx
je 0x427a86
mov eax, dword [ecx]
push ecx
call dword [eax + 0xa8]
mov eax, dword [0x431878]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [0x431874]
test ecx, ecx
je 0x427a96
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [0x4318f4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x4318d8]
push dword [0x4318ec]
call dword [sym.imp.USER32.dll_UnregisterClassA]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00422350
call fcn.00422620
call fcn.00404860
push dword [0x4318f4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x4318d8]
push dword [0x4318ec]
call dword [sym.imp.USER32.dll_UnregisterClassA]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3