Function at 0x402300
Capabilities:
Check for time delay via gettickcount
Print debug messages

Disassembly:
mov eax, 0x1034
call fcn.004502c0
mov eax, dword [0x4652b0]
xor eax, esp
mov dword [esp + 0x102c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x1040]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
sub eax, dword [0x568ccc]
cmp eax, 0x2710
ja 0x402345
test ebp, ebp
jne 0x4023c9
jmp 0x402586
push 0
mov edi, str.LEVEL
call fcn.00401970
add esp, 4
push 0xffffffffffffffff
mov edi, 0x4581f4
mov dword [0x568cc4], eax
call fcn.00401970
add esp, 4
push 3
mov edi, str.OUTPUT
mov dword [0x568cc8], eax
call fcn.00401970
add esp, 4
mov dword [0x466414], eax
call fcn.00401c20
mov dword [0x466418], eax
call fcn.00401d00
test byte [0x466414], 4
je 0x4023ba
mov eax, dword [0x568cd0]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4023ba
push eax
push str.RS_DEBUG_VIEW
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x568cd0], eax
call esi
mov dword [0x568ccc], eax
test ebp, ebp
je 0x402586
mov ebx, dword [0x466414]
push 0x800
lea ecx, [esp + 0x83c]
push 0
push ecx
call fcn.00443400
add esp, 0xc
lea edi, [esp + 0x838]
call fcn.00401d90
mov edx, edi
push edx
call fcn.00401e60
add esp, 4
mov ecx, 0x800
mov eax, edi
cmp byte [eax], 0
je 0x402411
inc eax
sub ecx, 1
jne 0x402404
jmp 0x402434
test ecx, ecx
je 0x402434
mov eax, 0x800
sub eax, ecx
mov ecx, 0x800
sub ecx, eax
lea edx, [esp + eax + 0x838]
mov eax, 0x458218
call fcn.00402000
mov edi, dword [esp + 0x104c]
push edi
lea eax, [esp + 0x83c]
call fcn.00401f60
add esp, 4
mov ecx, 0x800
lea eax, [esp + 0x838]
cmp byte [eax], 0
je 0x402464
inc eax
sub ecx, 1
jne 0x402457
jmp 0x402484
test ecx, ecx
je 0x402484
mov eax, 0x800
sub eax, ecx
mov ecx, 0x800
sub ecx, eax
lea edx, [esp + eax + 0x838]
mov eax, ebp
call fcn.00402000
mov ecx, 0x800
lea eax, [esp + 0x838]
cmp byte [eax], 0
je 0x40249d
inc eax
sub ecx, 1
jne 0x402490
jmp 0x4024c0
test ecx, ecx
je 0x4024c0
mov eax, 0x800
sub eax, ecx
mov ecx, 0x800
sub ecx, eax
lea edx, [esp + eax + 0x838]
mov eax, 0x45821c
call fcn.00402000
test bl, 1
je 0x4024da
lea eax, [esp + 0x838]
push eax
mov ecx, 0x568cd8
call fcn.00402090
add esp, 4
test bl, 2
je 0x4024ed
lea ecx, [esp + 0x838]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test bl, 4
je 0x402586
mov edx, dword [0x568cd0]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402586
mov esi, 0x814
push esi
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00443400
add esp, 0xc
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x800
lea ecx, [esp + 0x83c]
push ecx
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov edx, dword [0x568cd0]
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x4a
lea eax, [esp + 0x2c]
push edx
mov dword [esp + 0x40], 1
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], 0
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x103c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043defc
add esp, 0x1034
ret