Function at 0x4750e0
Capabilities:
Check for time delay via gettickcount
Check if file exists
Check internet connectivity via wininet
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50b0c8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
cmp byte [0x554092], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x475122
call esi
mov dword [0x55ad74], eax
mov ebx, dword [ebp + 8]
push ebx
call fcn.00489f60
cmp byte [0x554092], 0
je 0x4751a0
call esi
mov dword [0x55ad78], eax
sub eax, dword [0x55ad74]
mov edi, 0x55ae78
push eax
push 0x520088
push 0x52009c
call fcn.00459820
mov eax, dword [0x55ae78]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x55ad7c]
test eax, eax
je 0x475190
mov ecx, dword [0x55ae78]
mov edx, dword [ecx - 0xc]
push eax
push edx
push 2
push ecx
call fcn.004e8840
mov ecx, dword [0x55ad7c]
push ecx
call fcn.004e5d97
add esp, 0x14
cmp byte [0x554092], 0
je 0x4751a0
call esi
mov dword [0x55ad74], eax
add ebx, 0xb4
push ebx
lea edx, [esp + 0x18]
push edx
mov ebx, 0x5200c8
call fcn.0045ce40
add esp, 8
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4751ed
push 0xb
push str.__RegServer
lea ebx, [esp + 0x1c]
call fcn.0045b440
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00475060
add esp, 4
cmp byte [0x554092], 0
je 0x475252
call esi
mov dword [0x55ad78], eax
sub eax, dword [0x55ad74]
mov edi, 0x55ae78
push eax
push 0x520100
push 0x52009c
call fcn.00459820
mov edx, dword [0x55ae78]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x55ad7c]
test eax, eax
je 0x475252
mov ecx, dword [0x55ae78]
mov edx, dword [ecx - 0xc]
push eax
push edx
push 2
push ecx
call fcn.004e8840
mov eax, dword [0x55ad7c]
push eax
call fcn.004e5d97
add esp, 0x14
push 1
call fcn.00458c80
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 0
call dword [sym.imp.SensApi.dll_IsNetworkAlive]
test eax, eax
jne 0x4752aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x47532d
push 0
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x47532d
mov al, byte [esp + 0x18]
test al, 0x20
jne 0x47532d
test al, 7
je 0x47532d
cmp byte [0x554092], 0
je 0x4752ba
call esi
mov dword [0x55ad74], eax
mov ebx, dword [ebp + 8]
call fcn.00488d10
push ebx
call fcn.004893f0
cmp byte [0x554092], 0
je 0x47532d
call esi
mov dword [0x55ad78], eax
sub eax, dword [0x55ad74]
mov edi, 0x55ae78
push eax
push 0x52012c
push 0x52009c
call fcn.00459820
mov eax, dword [0x55ae78]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x55ad7c]
test eax, eax
je 0x47532d
mov ecx, dword [0x55ae78]
mov edx, dword [ecx - 0xc]
push eax
push edx
push 2
push ecx
call fcn.004e8840
mov ecx, dword [0x55ad7c]
push ecx
call fcn.004e5d97
add esp, 0x14
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x475355
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4