Function at 0x4397e0
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 [0x497080]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xorps xmm0, xmm0
mov dword [0x4a879c], 0
push edi
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
movups xmmword [0x4a8784], xmm0
movq qword [0x4a8794], xmm0
push 1
push 0
push 0
push dword [0x4a87a0]
push 0x4a8784
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x439858
push 0x4a8784
call dword [sym.imp.USER32.dll_TranslateMessage]
push 0x4a8784
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 0x439a74
mov ecx, dword [0x4a877c]
cmp esi, ecx
jne 0x43989c
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 [0x4a87a0]
call edi
mov ecx, dword [0x4a877c]
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 [0x4a877c]
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [ebp - 0xc]
mov esi, dword [0x4a8670]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x4a877c]
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 0x439944
mov byte [esi + 0xec], 1
mov eax, dword [esi + 0xe8]
mov byte [esi + 0x3f8], 1
mov dword [esi + 0x3a8], eax
jmp 0x43994b
mov byte [esi + 0xec], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp eax, dword [0x4a8d2c]
jne 0x439977
cmp edx, dword [0x4a8d34]
jne 0x439977
mov eax, dword [ebp - 0x1c]
cmp eax, dword [0x4a8d30]
jne 0x439977
cmp ecx, dword [0x4a8d38]
je 0x4399be
movups xmm0, xmmword [ebp - 0x20]
push 8
push ecx
push edx
push dword [ebp - 8]
movups xmmword [0x4a8d2c], xmm0
mov dword [0x4a8c7c], edx
push dword [ebp - 0xc]
mov dword [0x4a882c], ecx
push 0
push dword [0x4a87a0]
mov dword [0x4a87d8], edx
mov dword [0x4a87dc], ecx
call edi
mov eax, dword [0x4a8818]
push 0x4a87d8
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
call fcn.00438950
cmp dword [0x4a8788], 0x12
jne 0x439827
call fcn.00421940
mov esi, dword [0x4a8670]
mov ecx, esi
mov dword [0x4a8cec], 0
call fcn.00406400
cmp dword [0x4a8670], esi
jne 0x4399fe
mov dword [0x4a8670], 0
test esi, esi
je 0x439a22
mov ecx, esi
call fcn.004132c0
mov eax, dword [0x4a8670]
test eax, eax
je 0x439a18
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 [0x4a8818]
test ecx, ecx
je 0x439a40
mov eax, dword [ecx]
push ecx
call dword [eax + 0xa8]
mov eax, dword [0x4a8818]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [0x4a87b4]
test ecx, ecx
je 0x439a50
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [0x4a87a0]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 4]
mov eax, dword [0x4a878c]
xor ecx, ebp
pop edi
pop esi
call fcn.00476194
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