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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1034
call fcn.004584c0
mov eax, dword [0x480630]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x18]
xor eax, ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x103c], eax
mov dword [esp + 0x10], esi
call edi
sub eax, dword [0x482ae8]
cmp eax, 0x2710
ja 0x404551
test ebx, ebx
jne 0x404610
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4047d3
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4047d3
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x4047d3
test esi, esi
jne 0x4047d3
push 0
push str.LEVEL
mov edx, 0x470974
mov ecx, str.RAV.INI
mov esi, str.DEBUG
call fcn.00403430
push 0xffffffffffffffff
push 0x4709a8
mov edx, 0x470974
mov ecx, str.RAV.INI
mov dword [0x482ae4], eax
call fcn.00403430
push 3
push str.OUTPUT
mov edx, 0x470974
mov ecx, str.RAV.INI
mov dword [0x482ae0], eax
call fcn.00403430
push 0x200
push str.LOGSIZE
mov edx, 0x470974
mov ecx, str.RAV.INI
mov dword [0x480114], eax
call fcn.004033a0
push 0x105
push 0x4829d8
mov dword [0x480110], eax
call fcn.00403f50
mov al, byte [0x480114]
add esp, 0x28
test al, 4
je 0x404601
mov eax, dword [0x4829d4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x404601
push eax
push str.RS_DEBUG_VIEW
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x4829d4], eax
call edi
test ebx, ebx
mov dword [0x482ae8], eax
je 0x4047d3
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x404622
mov ecx, dword [0x480114]
mov dword [ebp + 0x14], ecx
jmp 0x404648
test al, 4
je 0x404648
mov edx, dword [0x4829d4]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x404648
push eax
push str.RS_DEBUG_VIEW
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x4829d4], eax
xor eax, eax
mov ecx, 0x200
lea edi, [esp + 0x838]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x838]
push 0x800
push eax
call fcn.00403610
lea ecx, [esp + 0x840]
push 0x800
push ecx
call fcn.00403db0
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x10
lea edx, [esp + 0x838]
push edx
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, 0x800
sub ecx, eax
push ecx
push 0x470984
lea edx, [esp + eax + 0x840]
push edx
call esi
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x83c]
push 0x800
push ecx
call fcn.00403ea0
add esp, 0xc
lea edx, [esp + 0x838]
push edx
call edi
mov ecx, 0x800
sub ecx, eax
push ecx
push ebx
lea edx, [esp + eax + 0x840]
push edx
call esi
lea eax, [esp + 0x838]
push eax
call edi
mov ecx, 0x800
sub ecx, eax
push ecx
push 0x470980
lea edx, [esp + eax + 0x840]
push edx
call esi
mov bl, byte [ebp + 0x14]
test bl, 1
je 0x404730
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x404718
mov eax, 0x4829d8
mov ecx, dword [0x480110]
push ecx
push eax
lea edx, [esp + 0x840]
push edx
call fcn.00403b90
add esp, 0xc
test bl, 2
je 0x404743
lea eax, [esp + 0x838]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test bl, 4
je 0x4047d3
mov ecx, dword [0x4829d4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4047d3
xor eax, eax
mov ecx, 0x205
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov edi, 0x814
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x28], eax
push 0x800
lea eax, [esp + 0x83c]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x38], edx
call esi
mov edx, dword [ebp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push 0
mov dword [esp + 0x38], edx
mov edx, dword [0x4829d4]
push 0x4a
lea eax, [esp + 0x2c]
push edx
mov dword [esp + 0x28], edi
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
xor ecx, ebp
pop ebx
call fcn.004570de
mov esp, ebp
pop ebp
ret