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

Disassembly:
mov eax, 0x1030
call fcn.10019cd0
mov eax, dword [0x10023050]
xor eax, esp
mov dword [esp + 0x102c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x103c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
call esi
sub eax, dword [0x10023eac]
cmp eax, 0x2710
ja 0x10003858
test ebp, ebp
jne 0x100038dc
cmp dword [esp + 0x1048], ebp
jne 0x10003aac
cmp dword [esp + 0x104c], ebp
jne 0x10003aac
test edi, edi
jne 0x10003aac
push 0
mov edi, str.LEVEL
call fcn.10002d10
add esp, 4
push 0xffffffffffffffff
mov edi, 0x1001cb40
mov dword [0x10023ea4], eax
call fcn.10002d10
add esp, 4
push 3
mov edi, str.OUTPUT
mov dword [0x10023ea8], eax
call fcn.10002d10
add esp, 4
mov dword [0x100238cc], eax
call fcn.10002e90
mov dword [0x100238d0], eax
call fcn.10003180
test byte [0x100238cc], 4
je 0x100038cd
mov eax, dword [0x10023eb0]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x100038cd
push eax
push str.RS_DEBUG_VIEW
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x10023eb0], eax
call esi
mov dword [0x10023eac], eax
test ebp, ebp
je 0x10003aac
mov ebx, dword [0x100238cc]
push 0x800
lea ecx, [esp + 0x83c]
push 0
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea edi, [esp + 0x838]
call fcn.10003270
mov edx, edi
push edx
call fcn.10003340
add esp, 4
mov ecx, 0x800
mov eax, edi
cmp byte [eax], 0
je 0x10003924
inc eax
sub ecx, 1
jne 0x10003917
jmp 0x10003947
test ecx, ecx
je 0x10003947
mov eax, 0x800
sub eax, ecx
mov ecx, 0x800
sub ecx, eax
lea edx, [esp + eax + 0x838]
mov eax, 0x1001cb64
call fcn.100034e0
mov edi, dword [esp + 0x1048]
push edi
lea eax, [esp + 0x83c]
call fcn.10003440
add esp, 4
mov ecx, 0x800
lea eax, [esp + 0x838]
lea ebx, [ebx]
cmp byte [eax], 0
je 0x1000397d
inc eax
sub ecx, 1
jne 0x10003970
jmp 0x1000399d
test ecx, ecx
je 0x1000399d
mov eax, 0x800
sub eax, ecx
mov ecx, 0x800
sub ecx, eax
lea edx, [esp + eax + 0x838]
mov eax, ebp
call fcn.100034e0
mov ecx, 0x800
lea eax, [esp + 0x838]
lea esp, [esp]
cmp byte [eax], 0
je 0x100039bd
inc eax
sub ecx, 1
jne 0x100039b0
jmp 0x100039e0
test ecx, ecx
je 0x100039e0
mov eax, 0x800
sub eax, ecx
mov ecx, 0x800
sub ecx, eax
lea edx, [esp + eax + 0x838]
mov eax, 0x1001cb68
call fcn.100034e0
test bl, 1
je 0x10003a02
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x100039f2
mov ecx, 0x10023eb8
lea eax, [esp + 0x838]
push eax
call fcn.10003570
add esp, 4
test bl, 2
je 0x10003a15
lea ecx, [esp + 0x838]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test bl, 4
je 0x10003aac
mov edx, dword [0x10023eb0]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10003aac
mov esi, 0x814
push esi
lea eax, [esp + 0x24]
push 0
push eax
call sub.MSVCR90.dll_memset
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 eax, dword [esp + 0x104c]
lea edx, [esp + 0x14]
push edx
push 0
mov dword [esp + 0x38], eax
mov eax, dword [0x10023eb0]
push 0x4a
lea ecx, [esp + 0x2c]
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ecx
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.100192c6
add esp, 0x1030
ret