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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10117e1e
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x1013d8f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10140274
lea ecx, [ebp - 0x2c]
call fcn.100be9c0
mov dword [ebp - 4], 0
push 0x10140240
lea ecx, [ebp - 0x48]
call fcn.100be9c0
mov byte [ebp - 4], 1
mov al, byte [ebp + 0x14]
mov byte [0x101545c4], al
mov cl, byte [ebp + 0x10]
mov byte [0x101545c5], cl
mov edx, dword [ebp + 8]
mov dword [0x101545b0], edx
mov eax, dword [ebp + 0xc]
mov dword [0x101545ac], eax
movzx ecx, byte [ebp + 0x18]
test ecx, ecx
je 0x100be300
movzx edx, byte [ebp + 0x14]
test edx, edx
jne 0x100be300
mov byte [0x101545d1], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0xfa
mov dword [ebp - 0x70], eax
push 0x101545c8
push 0
push 0
push 0x100be840
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [0x101545d1]
test eax, eax
je 0x100be2ce
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x70]
jae 0x100be2ce
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100be2ae
mov dword [ebp - 0xa0], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.10085250
mov dword [ebp - 4], reloc.USER32.dll_SetCursor
lea ecx, [ebp - 0x2c]
call fcn.10085250
mov eax, dword [ebp - 0xa0]
jmp 0x100be5d5
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x101545c8], eax
movzx ecx, byte [0x101545d0]
test ecx, ecx
jne 0x100be3ca
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0x100be5f0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov edx, dword [0x10153400]
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x84], 0
movzx eax, byte [0x101545c4]
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 0x100be39d
lea ecx, [ebp - 0x48]
call fcn.1008c6e0
mov dword [ebp - reloc.USER32.dll_SetCursor], eax
jmp 0x100be3ab
lea ecx, [ebp - 0x2c]
call fcn.1008c6e0
mov dword [ebp - reloc.USER32.dll_SetCursor], eax
mov edx, dword [ebp - reloc.USER32.dll_SetCursor]
mov dword [ebp - 0x74], edx
lea eax, [ebp - 0x98]
push eax
call fcn.100c51f0
add esp, 4
mov byte [0x101545d0], 1
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0x100be408
mov dword [ebp - 0x9c], 0
jmp 0x100be3ed
mov edx, dword [ebp - 0x9c]
add edx, 1
mov dword [ebp - 0x9c], edx
cmp dword [ebp - 0x9c], reloc.USER32.dll_SetCursor
jge 0x100be408
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
jmp 0x100be3de
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [0x101545b0]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x68], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [0x101545ac]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x6c], eax
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0x100be447
lea edx, [ebp - 0x48]
mov dword [ebp - reloc.USER32.dll_SetCursor], edx
jmp 0x100be450
lea eax, [ebp - 0x2c]
mov dword [ebp - reloc.USER32.dll_SetCursor], eax
mov ecx, dword [ebp - reloc.USER32.dll_SetCursor]
mov dword [ebp - reloc.USER32.dll_SetCursor], ecx
mov edx, dword [ebp - reloc.USER32.dll_SetCursor]
push edx
lea ecx, reloc.USER32.dll_SetCursor
call fcn.10084e50
mov byte [ebp - 4], 2
push 0
mov eax, dword [0x10153400]
push eax
push 0
push 0
mov ecx, dword [0x101545ac]
push ecx
mov edx, dword [0x101545b0]
push edx
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
movzx edx, byte [0x101545c4]
neg edx
sbb edx, edx
and edx, 0xf8000000
add edx, 0x8000000
or edx, 0x80000000
push edx
push 0x101546e8
lea eax, reloc.USER32.dll_SetCursor
push eax
movzx ecx, byte [ebp + 0x10]
neg ecx
sbb ecx, ecx
and ecx, 0xffffff88
add ecx, 0x80
push ecx
call fcn.100c5570
add esp, 0x30
mov dword [0x101545b8], eax
mov byte [ebp - 4], 1
lea ecx, reloc.USER32.dll_SetCursor
call fcn.10084ed0
push 4
mov edx, dword [0x101545b8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x101545b8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0x100be522
push 0
push 0x64
push 2
mov edx, dword [0x101545b8]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [0x101545b8]
mov dword [ebp - reloc.USER32.dll_SetCursor], eax
lea ecx, reloc.USER32.dll_SetCursor
push ecx
push 0x10140238
lea ecx, reloc.USER32.dll_SetCursor
call fcn.1008d8f0
mov dword [ebp - reloc.USER32.dll_SetCursor], eax
mov edx, dword [ebp - reloc.USER32.dll_SetCursor]
mov dword [ebp - reloc.USER32.dll_SetCursor], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - reloc.USER32.dll_SetCursor]
call fcn.100beb20
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.1008da20
add esp, 8
mov byte [ebp - 4], 5
lea ecx, reloc.USER32.dll_SetCursor
call fcn.1008b320
lea ecx, [ebp - 0x64]
call fcn.1007fed0
push eax
push reloc.USER32.dll_GetKeyState
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov byte [0x101545d1], 0
mov ecx, dword [0x101545b8]
mov dword [ebp - reloc.USER32.dll_SetCursor], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.1007fe90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.10085250
mov dword [ebp - 4], reloc.USER32.dll_SetCursor
lea ecx, [ebp - 0x2c]
call fcn.10085250
mov eax, dword [ebp - reloc.USER32.dll_SetCursor]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e6605
mov esp, ebp
pop ebp
ret