Function at 0x4311b0
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 eax, dword [0x43c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xorps xmm0, xmm0
mov dword [0x447618], 0
push edi
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
movups xmmword [0x447600], xmm0
movq qword [0x447610], xmm0
push 1
push 0
push 0
push dword [0x44761c]
push 0x447600
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x431228
push 0x447600
call dword [sym.imp.USER32.dll_TranslateMessage]
push 0x447600
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 0x431444
mov ecx, dword [0x4475fc]
cmp esi, ecx
jne 0x43126c
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 [0x44761c]
call edi
mov ecx, dword [0x4475fc]
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 [0x4475fc]
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [ebp - 0xc]
mov esi, dword [0x4474f0]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x4475fc]
mov dword [esi + 0xdc], eax
lea eax, [ebp - 0x28]
push eax
mov dword [esi + 0x18], 0x3c888889
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 0x431314
mov byte [esi + 0xec], 1
mov eax, dword [esi + 0xe8]
mov byte [esi + 0x3f8], 1
mov dword [esi + 0x3a8], eax
jmp 0x43131b
mov byte [esi + 0xec], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp eax, dword [0x447b8c]
jne 0x431347
cmp edx, dword [0x447b94]
jne 0x431347
mov eax, dword [ebp - 0x1c]
cmp eax, dword [0x447b90]
jne 0x431347
cmp ecx, dword [0x447b98]
je 0x43138e
movups xmm0, xmmword [ebp - 0x20]
push 8
push ecx
push edx
push dword [ebp - 8]
movups xmmword [0x447b8c], xmm0
mov dword [0x447ae8], edx
push dword [ebp - 0xc]
mov dword [0x447694], ecx
push 0
push dword [0x44761c]
mov dword [0x447648], edx
mov dword [0x44764c], ecx
call edi
mov eax, dword [0x447684]
push 0x447648
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
call fcn.004307e0
cmp dword [0x447604], 0x12
jne 0x4311f7
call fcn.004217b0
mov esi, dword [0x4474f0]
mov ecx, esi
mov dword [0x447b58], 0
call fcn.004064d0
cmp dword [0x4474f0], esi
jne 0x4313ce
mov dword [0x4474f0], 0
test esi, esi
je 0x4313f2
mov ecx, esi
call fcn.004133e0
mov eax, dword [0x4474f0]
test eax, eax
je 0x4313e8
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 [0x447684]
test ecx, ecx
je 0x431410
mov eax, dword [ecx]
push ecx
call dword [eax + 0xa8]
mov eax, dword [0x447684]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [0x44762c]
test ecx, ecx
je 0x431420
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [0x44761c]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 4]
mov eax, dword [0x447608]
xor ecx, ebp
pop edi
pop esi
call fcn.00432b74
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3