Function at 0xb04150
Capabilities:
Create thread
Hide graphical window
Log keystrokes via polling
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb438fe
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0xb67890]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xb6a87c
lea ecx, [ebp - 0x2c]
call fcn.00ac4740
mov dword [ebp - 4], 0
push 0xb6a848
lea ecx, [ebp - 0x48]
call fcn.00ac4740
mov byte [ebp - 4], 1
mov al, byte [ebp + 0x14]
mov byte [0xb7e874], al
mov cl, byte [ebp + 0x10]
mov byte [0xb7e875], cl
mov edx, dword [ebp + 8]
mov dword [0xb7e860], edx
mov eax, dword [ebp + 0xc]
mov dword [0xb7e85c], eax
movzx ecx, byte [ebp + 0x18]
test ecx, ecx
je 0xb04260
movzx edx, byte [ebp + 0x14]
test edx, edx
jne 0xb04260
mov byte [0xb7e881], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0xfa
mov dword [ebp - 0x70], eax
push 0xb7e878
push 0
push 0
push 0xb047a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [0xb7e881]
test eax, eax
je 0xb0422e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x70]
jae 0xb0422e
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0xb0420e
mov dword [ebp - 0xa0], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00abd9e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00abd9e0
mov eax, dword [ebp - 0xa0]
jmp 0xb04535
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0xb7e878], eax
movzx ecx, byte [0xb7e880]
test ecx, ecx
jne 0xb0432a
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xb04550
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov edx, dword [0xb7d5a0]
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x84], 0
movzx eax, byte [0xb7e874]
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 0x7f02
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0xb042fd
lea ecx, [ebp - 0x48]
call fcn.00ab1480
mov dword [ebp - 0x1b8], eax
jmp 0xb0430b
lea ecx, [ebp - 0x2c]
call fcn.00ab1480
mov dword [ebp - 0x1b8], eax
mov edx, dword [ebp - 0x1b8]
mov dword [ebp - 0x74], edx
lea eax, [ebp - 0x98]
push eax
call fcn.00aec740
add esp, 4
mov byte [0xb7e880], 1
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0xb04368
mov dword [ebp - 0x9c], 0
jmp 0xb0434d
mov edx, dword [ebp - 0x9c]
add edx, 1
mov dword [ebp - 0x9c], edx
cmp dword [ebp - 0x9c], 0x100
jge 0xb04368
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
jmp 0xb0433e
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [0xb7e860]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x68], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [0xb7e85c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x6c], eax
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0xb043a7
lea edx, [ebp - 0x48]
mov dword [ebp - 0x1bc], edx
jmp 0xb043b0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1bc], eax
mov ecx, dword [ebp - 0x1bc]
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 0x104]
push edx
lea ecx, [ebp - 0x100]
call fcn.00aada40
mov byte [ebp - 4], 2
push 0
mov eax, dword [0xb7d5a0]
push eax
push 0
push 0
mov ecx, dword [0xb7e85c]
push ecx
mov edx, dword [0xb7e860]
push edx
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
movzx edx, byte [0xb7e874]
neg edx
sbb edx, edx
and edx, 0xf8000000
add edx, 0x8000000
or edx, 0x80000000
push edx
push 0xb7e580
lea eax, [ebp - 0x100]
push eax
movzx ecx, byte [ebp + 0x10]
neg ecx
sbb ecx, ecx
and ecx, 0xffffff88
add ecx, 0x80
push ecx
call fcn.00aecac0
add esp, 0x30
mov dword [0xb7e868], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x100]
call fcn.00aa56c0
push 4
mov edx, dword [0xb7e868]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0xb7e868]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0xb04482
push 0
push 0x64
push 2
mov edx, dword [0xb7e868]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [0xb7e868]
mov dword [ebp - 0x1b0], eax
lea ecx, [ebp - 0x1b0]
push ecx
push 0xb6a840
lea ecx, [ebp - 0x1ac]
call fcn.00ab2d30
mov dword [ebp - 0x1c0], eax
mov edx, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c4], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1c4]
call fcn.00b04920
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00ab2e60
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1ac]
call fcn.00ab0670
lea ecx, [ebp - 0x64]
call fcn.00abd8b0
push eax
push 0xb6a830
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov byte [0xb7e881], 0
mov ecx, dword [0xb7e868]
mov dword [ebp - 0x1b4], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00aaa3c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00abd9e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00abd9e0
mov eax, dword [ebp - 0x1b4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00b10e32
mov esp, ebp
pop ebp
ret