Function at 0x431c30
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 [0x43d040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xorps xmm0, xmm0
mov dword [0x448688], 0
push edi
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
movups xmmword [0x448670], xmm0
movq qword [0x448680], xmm0
push 1
push 0
push 0
push dword [0x44868c]
push 0x448670
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x431ca8
push 0x448670
call dword [sym.imp.USER32.dll_TranslateMessage]
push 0x448670
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 0x431ec4
mov ecx, dword [0x44866c]
cmp esi, ecx
jne 0x431cec
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 [0x44868c]
call edi
mov ecx, dword [0x44866c]
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 [0x44866c]
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [ebp - 0xc]
mov esi, dword [0x448560]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x44866c]
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 0x431d94
mov byte [esi + 0xec], 1
mov eax, dword [esi + 0xe8]
mov byte [esi + 0x3f8], 1
mov dword [esi + 0x3a8], eax
jmp 0x431d9b
mov byte [esi + 0xec], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp eax, dword [0x448bfc]
jne 0x431dc7
cmp edx, dword [0x448c04]
jne 0x431dc7
mov eax, dword [ebp - 0x1c]
cmp eax, dword [0x448c00]
jne 0x431dc7
cmp ecx, dword [0x448c08]
je 0x431e0e
movups xmm0, xmmword [ebp - 0x20]
push 8
push ecx
push edx
push dword [ebp - 8]
movups xmmword [0x448bfc], xmm0
mov dword [0x44870c], edx
push dword [ebp - 0xc]
mov dword [0x448708], ecx
push 0
push dword [0x44868c]
mov dword [0x4486b8], edx
mov dword [0x4486bc], ecx
call edi
mov eax, dword [0x4486f8]
push 0x4486b8
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
call fcn.00430e40
cmp dword [0x448674], 0x12
jne 0x431c77
call fcn.004216d0
mov esi, dword [0x448560]
mov ecx, esi
mov dword [0x448bc8], 0
call fcn.00406200
cmp dword [0x448560], esi
jne 0x431e4e
mov dword [0x448560], 0
test esi, esi
je 0x431e72
mov ecx, esi
call fcn.00413060
mov eax, dword [0x448560]
test eax, eax
je 0x431e68
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 [0x4486f8]
test ecx, ecx
je 0x431e90
mov eax, dword [ecx]
push ecx
call dword [eax + 0xa8]
mov eax, dword [0x4486f8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [0x44869c]
test ecx, ecx
je 0x431ea0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [0x44868c]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 4]
mov eax, dword [0x448678]
xor ecx, ebp
pop edi
pop esi
call fcn.004331b4
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