Function at 0x8a5ce3
Capabilities:
Check for time delay via gettickcount
Create thread
Hide graphical window
Log keystrokes via polling
Set environment variable

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0x12c
mov eax, dword [0x8cf8f0]
xor eax, ebp
mov dword [ebp + 0xa8], eax
cmp byte [ebp + 0xc4], 0
mov ecx, dword [ebp + 0xb4]
mov al, byte [ebp + 0xc0]
push ebx
mov bl, byte [ebp + 0xbc]
mov dword [0x8d7470], ecx
mov ecx, dword [ebp + 0xb8]
push esi
push edi
mov byte [0x8d7488], al
mov byte [0x8d7489], bl
mov dword [0x8d7474], ecx
je 0x8a5d92
test al, al
jne 0x8a5d92
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [0x8d7495], 1
call edi
push 0x8d748c
mov esi, eax
xor eax, eax
push eax
push eax
push 0x8a5c2e
push eax
push eax
add esi, 0xfa
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x8a5d81
call edi
cmp eax, esi
jae 0x8a5d8a
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x8d7495], 0
jne 0x8a5d73
xor eax, eax
inc eax
jmp 0x8a5f0c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor esi, esi
cmp byte [0x8d7494], 0
mov dword [0x8d748c], eax
jne 0x8a5e0e
mov eax, dword [0x8d7464]
mov dword [ebp - 0x70], eax
xor eax, eax
cmp byte [0x8d7488], al
mov dword [ebp - 0x80], esi
sete al
mov dword [ebp - 0x7c], 0x8a5a77
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x6c], esi
lea eax, [eax + eax + 0x7f00]
push eax
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
cmp byte [ebp + 0xc0], 0
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], str.ArBase_Test_Bitmap_Window
jne 0x8a5dfd
mov dword [ebp - 0x5c], str.ArBase_Bitmap_Window
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
mov byte [0x8d7494], 1
cmp byte [ebp + 0xc0], 0
je 0x8a5e29
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
inc edi
cmp edi, 0x100
jl 0x8a5e19
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
call esi
sub eax, dword [0x8d7470]
push 1
cdq
sub eax, edx
mov edi, eax
sar edi, 1
call esi
mov ecx, dword [0x8d7474]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
cmp byte [ebp + 0xc0], 0
mov edx, str.ArBase_Test_Bitmap_Window
jne 0x8a5e63
mov edx, str.ArBase_Bitmap_Window
xor esi, esi
push esi
push dword [0x8d7464]
push esi
push esi
push ecx
push dword [0x8d7470]
push eax
mov al, byte [0x8d7488]
neg al
push edi
sbb eax, eax
and eax, 0xf8000000
add eax, 0x8000000
or eax, 0x80000000
neg bl
push eax
push esi
push edx
sbb ebx, ebx
and ebx, 0xffffff88
add ebx, 0x80
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 4
push eax
mov dword [0x8d747c], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x8d747c]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp byte [ebp + 0xc0], 0
je 0x8a5eda
push esi
push 0x64
push 2
push dword [0x8d747c]
call dword [sym.imp.USER32.dll_SetTimer]
push dword [0x8d747c]
lea eax, [ebp - 0x58]
push str._08X
push eax
call fcn.008b25a9
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push str.LOADINGWINDOW
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov eax, dword [0x8d747c]
mov byte [0x8d7495], 0
mov ecx, dword [ebp + 0xa8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.008b0535
add ebp, 0xac
leave
ret