Function at 0x470e78
Capabilities:
Check for time delay via gettickcount
Connect network resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x72
push 0
push 0
dec ecx
jne 0x470e81
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.00404f44
mov eax, dword [ebp + 0x28]
call fcn.00404f44
mov eax, dword [ebp + 0x24]
call fcn.00404f44
mov eax, dword [ebp + 0x1c]
call fcn.00404f44
mov eax, dword [ebp + 0x18]
call fcn.00404f44
mov eax, dword [ebp + 0x14]
call fcn.00404f44
xor eax, eax
push ebp
push 0x47192c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov byte [eax], 0
mov byte [ebp - 9], 0
mov dl, 4
mov eax, dword [ebx + 0x64]
call fcn.0043f400
mov dl, 1
mov eax, dword [ebx + 0x64]
call fcn.0043f3ac
mov eax, dword [ebx + 0x94]
call fcn.0041ab50
dec eax
jle 0x470f65
lea edx, [ebp - 0x320]
mov eax, dword [ebx + 0x34]
call fcn.00408eb0
push dword [ebp - 0x320]
push 0x47194c
push dword [ebx + 0xfc]
push 0x47194c
mov eax, dword [ebx + 0x94]
call fcn.00475324
lea edx, [ebp - 0x324]
call fcn.00408eb0
push dword [ebp - 0x324]
push 0x471958
lea eax, [ebp - 0x31c]
mov edx, 6
call fcn.00404e14
mov edx, dword [ebp - 0x31c]
mov eax, dword [ebx + 0x48]
call fcn.0044c614
jmp 0x470f6f
xor edx, edx
mov eax, dword [ebx + 0x48]
call fcn.0044c614
cmp dword [ebp + 0x24], 0
je 0x470fd9
push dword [ebx + 0x78]
push 0x47194c
lea edx, [ebp - 0x32c]
mov esi, dword [ebx + 0x48]
mov eax, esi
call fcn.0044c5e4
push dword [ebp - 0x32c]
lea edx, [ebp - 0x330]
mov eax, dword [ebp + 0x1c]
call fcn.0046ef68
push dword [ebp - 0x330]
push 0x47194c
push dword [ebx + 0x100]
push 0x47194c
push dword [ebp + 0x24]
lea eax, [ebp - 0x328]
mov edx, 8
call fcn.00404e14
mov edx, dword [ebp - 0x328]
mov eax, esi
call fcn.0044c614
jmp 0x47104c
push dword [ebx + 0x78]
push 0x47194c
lea edx, [ebp - 0x338]
mov esi, dword [ebx + 0x48]
mov eax, esi
call fcn.0044c5e4
push dword [ebp - 0x338]
lea edx, [ebp - 0x33c]
mov eax, dword [ebp + 0x1c]
call fcn.0046ef68
push dword [ebp - 0x33c]
push 0x47194c
push dword [ebx + 0x100]
push 0x47194c
lea edx, [ebp - 0x340]
mov eax, dword [ebp + 0x1c]
call fcn.004095c8
push dword [ebp - 0x340]
lea eax, [ebp - 0x334]
mov edx, 8
call fcn.00404e14
mov edx, dword [ebp - 0x334]
mov eax, esi
call fcn.0044c614
cmp dword [ebp + 0x24], 0
je 0x4710c6
mov dword [ebp - 0x314], 1
mov eax, 0x47195c
mov dword [ebp - 0x308], eax
mov eax, dword [ebp + 0x24]
call fcn.00404f54
mov dword [ebp - 0x304], eax
mov eax, 0x47195c
mov dword [ebp - 0x2fc], eax
xor esi, esi
push esi
mov eax, dword [ebp - 8]
call fcn.00404f54
push eax
mov eax, dword [ebp + 0x28]
call fcn.00404f54
push eax
lea eax, [ebp - 0x318]
push eax
call sub.mpr.dll_WNetAddConnection2A
test eax, eax
je 0x4710c6
cmp word [ebx + 0xca], 0
je 0x471851
mov edx, ebx
mov eax, dword [ebx + 0xcc]
call dword [ebx + 0xc8]
jmp 0x471851
xor esi, esi
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0x24], 0
je 0x4710f0
push dword [ebp + 0x24]
push 0x471968
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404e14
jmp 0x4710fb
lea eax, [ebp - 0x24]
mov edx, dword [ebp + 0x1c]
call fcn.00404b2c
cmp dword [ebp + 0x14], 0
je 0x47110e
lea eax, [ebp - 0x28]
mov edx, dword [ebp + 0x14]
call fcn.00404b2c
jmp 0x471119
lea edx, [ebp - 0x28]
mov eax, dword [ebp + 0x1c]
call fcn.0046ef68
lea ecx, [ebp - 0x344]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 0x18]
call fcn.0046f45c
mov edx, dword [ebp - 0x344]
lea eax, [ebp - 0x28]
call fcn.00404b2c
lea eax, [ebx + 0x68]
mov edx, dword [ebp - 0x28]
call fcn.00404ae8
lea eax, [ebx + 0x6c]
mov edx, dword [ebp + 0x18]
call fcn.00404ae8
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
call fcn.00404ea0
jne 0x4711b2
cmp word [ebx + 0xa2], 0
je 0x471175
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
cmp word [ebx + 0xaa], 0
je 0x471851
lea eax, [ebp - 0x348]
mov ecx, dword [ebp - 0x24]
mov edx, 0x471974
call fcn.00404da0
mov eax, dword [ebp - 0x348]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
jmp 0x471851
mov eax, 0x4000
call fcn.00402ac0
mov dword [ebp - 0x1c], eax
xor edx, edx
mov eax, dword [ebp - 0x24]
call fcn.00409234
mov edi, eax
mov dword [ebp - 0x1ac], edi
inc edi
jne 0x47123e
mov edx, 0x4000
mov eax, dword [ebp - 0x1c]
call fcn.00402af0
cmp word [ebx + 0xa2], 0
je 0x4711fe
mov ecx, 1
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
cmp word [ebx + 0xaa], 0
je 0x471851
lea eax, [ebp - 0x34c]
mov ecx, dword [ebp - 0x24]
mov edx, 0x47199c
call fcn.00404da0
mov eax, dword [ebp - 0x34c]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
jmp 0x471851
cmp byte [ebp + 0x10], 0
jne 0x471252
cmp word [ebx + 0x142], 0
je 0x47134b
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x1ac]
push eax
call sub.kernel32.dll_GetFileTime
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44]
push eax
call sub.kernel32.dll_FileTimeToLocalFileTime
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x4c]
call fcn.0046ee9c
cmp word [ebx + 0x142], 0
je 0x4712d2
mov byte [ebp - 0x29], 1
push dword [ebp - 0x54]
push dword [ebp - 0x58]
lea eax, [ebp - 0x29]
push eax
mov ecx, dword [ebp - 4]
mov edx, ebx
mov eax, dword [ebx + 0x144]
call dword [ebx + 0x140]
cmp byte [ebp - 0x29], 0
jne 0x47133d
mov edx, 0x4000
mov eax, dword [ebp - 0x1c]
call fcn.00402af0
mov eax, dword [ebp - 0x1ac]
call fcn.00409354
jmp 0x471851
fld qword [ebp - 0x58]
mov eax, dword [ebp + 0xc]
fcomp qword [eax]
fnstsw ax
sahf
ja 0x47133d
mov eax, dword [ebp + 8]
mov byte [eax], 1
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x58]
mov dword [eax], edx
mov edx, dword [ebp - 0x54]
mov dword [eax + 4], edx
mov edx, 0x4000
mov eax, dword [ebp - 0x1c]
call fcn.00402af0
mov eax, dword [ebp - 0x1ac]
call fcn.00409354
cmp word [ebx + 0x122], 0
je 0x471851
mov eax, dword [ebp + 0xc]
push dword [eax + 4]
push dword [eax]
push dword [ebp - 0x54]
push dword [ebp - 0x58]
mov ecx, dword [ebp - 0x24]
mov edx, ebx
mov eax, dword [ebx + 0x124]
call dword [ebx + 0x120]
jmp 0x471851
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x58]
mov dword [eax], edx
mov edx, dword [ebp - 0x54]
mov dword [eax + 4], edx
mov ecx, 2
xor edx, edx
mov eax, dword [ebp - 0x1ac]
call fcn.00409310
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4713db
mov eax, dword [ebp - 0x1ac]
call fcn.00409354
mov edx, 0x4000
mov eax, dword [ebp - 0x1c]
call fcn.00402af0
cmp word [ebx + 0xa2], 0
je 0x47139b
mov ecx, 2
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
cmp word [ebx + 0xaa], 0
je 0x471851
lea eax, [ebp - 0x350]
mov ecx, dword [ebp - 0x24]
mov edx, 0x4719c0
call fcn.00404da0
mov eax, dword [ebp - 0x350]
push eax
mov ecx, 2
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
jmp 0x471851
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x1ac]
call fcn.00409310
mov eax, dword [ebp - 0x28]
call fcn.004093c4
test al, al
je 0x47143c
mov byte [ebp - 0x29], 1
cmp word [ebx + 0xe2], 0
je 0x471419
lea eax, [ebp - 0x29]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, ebx
mov eax, dword [ebx + 0xe4]
call dword [ebx + 0xe0]
cmp byte [ebp - 0x29], 0
jne 0x47143c
mov eax, dword [ebp - 0x1ac]
call fcn.00409354
mov edx, 0x4000
mov eax, dword [ebp - 0x1c]
call fcn.00402af0
jmp 0x471851
lea edx, [ebp - 0x354]
mov eax, dword [ebp - 0x28]
call fcn.00409594
mov eax, dword [ebp - 0x354]
call fcn.0046f530
mov eax, dword [ebp - 0x28]
call fcn.0040928c
mov edi, eax
mov dword [ebp - 0x2f8], edi
test edi, edi
jge 0x4714de
mov eax, dword [ebp - 0x1ac]
call fcn.00409354
mov edx, 0x4000
mov eax, dword [ebp - 0x1c]
call fcn.00402af0
cmp word [ebx + 0xa2], 0
je 0x47149e
mov ecx, 3
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
cmp word [ebx + 0xaa], 0
je 0x471851
lea eax, [ebp - 0x358]
mov ecx, dword [ebp - 0x28]
mov edx, 0x4719e4
call fcn.00404da0
mov eax, dword [ebp - 0x358]
push eax
mov ecx, 3
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
jmp 0x471851
mov byte [ebx + 0x38], 0
mov edi, dword [ebp - 0x1c]
mov edx, edi
mov ecx, 0x4000
mov eax, dword [ebp - 0x1ac]
call fcn.004092b8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x471584
mov edx, 0x4000
mov eax, dword [ebp - 0x1c]
call fcn.00402af0
mov eax, dword [ebp - 0x1ac]
call fcn.00409354
mov eax, dword [ebp - 0x2f8]
call fcn.00409354
cmp word [ebx + 0xa2], 0
je 0x471544
mov ecx, 4
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
cmp word [ebx + 0xaa], 0
je 0x471851
lea eax, [ebp - 0x35c]
mov ecx, dword [ebp - 0x24]
mov edx, 0x471a08
call fcn.00404da0
mov eax, dword [ebp - 0x35c]
push eax
mov ecx, 4
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
jmp 0x471851
mov edx, edi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2f8]
call fcn.004092e4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x471621
mov eax, dword [ebp - 0x1ac]
call fcn.00409354
mov eax, dword [ebp - 0x2f8]
call fcn.00409354
mov edx, 0x4000
mov eax, dword [ebp - 0x1c]
call fcn.00402af0
cmp word [ebx + 0xa2], 0
je 0x4715e1
mov ecx, 5
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
cmp word [ebx + 0xaa], 0
je 0x471851
lea eax, [ebp - 0x360]
mov ecx, dword [ebp - 0x28]
mov edx, 0x471a2c
call fcn.00404da0
mov eax, dword [ebp - 0x360]
push eax
mov ecx, 5
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
jmp 0x471851
add esi, dword [ebp - 0x18]
cmp word [ebx + 0xea], 0
je 0x471644
push esi
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebx + 0x34]
mov edx, ebx
mov eax, dword [ebx + 0xec]
call dword [ebx + 0xe8]
cmp dword [ebp - 0x10], 0
jle 0x471686
mov dword [ebp - 0x368], esi
xor eax, eax
mov dword [ebp - 0x364], eax
fild qword [ebp - 0x368]
fstp qword [ebp - 0x60]
wait
fild dword [ebp - 0x10]
fdivr qword [ebp - 0x60]
fstp qword [ebp - 0x60]
wait
fld dword [0x471a50]
fmul qword [ebp - 0x60]
call fcn.00402f18
mov edx, eax
mov eax, dword [ebx + 0x44]
call fcn.00438f04
jmp 0x471693
mov edx, 0x64
mov eax, dword [ebx + 0x44]
call fcn.00438f04
push dword [ebx + 0x7c]
push 0x47194c
lea edx, [ebp - 0x370]
mov eax, esi
call fcn.0046f02c
push dword [ebp - 0x370]
push 0x47194c
push dword [ebx + 0xfc]
push 0x47194c
lea edx, [ebp - 0x374]
mov eax, dword [ebp - 0x10]
call fcn.0046f02c
push dword [ebp - 0x374]
lea eax, [ebp - 0x36c]
mov edx, 7
call fcn.00404e14
mov edx, dword [ebp - 0x36c]
mov eax, dword [ebx + 0x4c]
call fcn.0044c614
push dword [ebx + 0x80]
push 0x47194c
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x368], eax
xor eax, eax
mov dword [ebp - 0x364], eax
fild qword [ebp - 0x368]
mov dword [ebp - 0x384], esi
xor eax, eax
mov dword [ebp - 0x380], eax
fild qword [ebp - 0x384]
fdivrp st(1)
fmul dword [0x471a54]
call fcn.00402f18
lea edx, [ebp - 0x37c]
call fcn.0046f180
push dword [ebp - 0x37c]
lea eax, [ebp - 0x378]
mov edx, 3
call fcn.00404e14
mov edx, dword [ebp - 0x378]
mov eax, dword [ebx + 0x50]
call fcn.0044c614
cmp byte [ebx + 0x10c], 0
je 0x4717be
push dword [ebx + 0x118]
push 0x471958
mov eax, dword [ebx + 0x44]
call fcn.00438d54
lea edx, [ebp - 0x38c]
call fcn.00408eb0
push dword [ebp - 0x38c]
push 0x471a60
push dword [ebx + 0x110]
lea eax, [ebp - 0x388]
mov edx, 5
call fcn.00404e14
mov edx, dword [ebp - 0x388]
mov eax, dword [ebx + 0x3c]
call fcn.0044c614
push dword [ebx + 0x84]
push 0x47194c
lea eax, [ebp - 0x394]
push eax
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov edx, esi
call fcn.0046f2d4
push dword [ebp - 0x394]
lea eax, [ebp - 0x390]
mov edx, 3
call fcn.00404e14
mov edx, dword [ebp - 0x390]
mov eax, dword [ebx + 0x54]
call fcn.0044c614
mov eax, dword [0x480798]
mov eax, dword [eax]
call fcn.0046bfc0
cmp dword [ebp - 0x14], 0
je 0x47182a
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jne 0x47182a
cmp byte [ebx + 0x38], 0
je 0x4714e2
mov eax, dword [ebp - 0x1ac]
call fcn.00409354
mov eax, dword [ebp - 0x2f8]
call fcn.00409354
mov edx, 0x4000
mov eax, dword [ebp - 0x1c]
call fcn.00402af0
mov byte [ebp - 9], 1
cmp dword [ebp + 0x24], 0
je 0x471889
push 0xffffffffffffffff
push 1
mov eax, dword [ebp + 0x24]
call fcn.00404f54
push eax
call sub.mpr.dll_WNetCancelConnection2A
test eax, eax
je 0x471889
cmp word [ebx + 0xca], 0
je 0x471885
mov edx, ebx
mov eax, dword [ebx + 0xcc]
call dword [ebx + 0xc8]
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471936
lea eax, [ebp - 0x394]
mov edx, 4
call fcn.00404ab8
lea eax, [ebp - 0x37c]
mov edx, 5
call fcn.00404ab8
lea eax, [ebp - 0x360]
mov edx, 0xa
call fcn.00404ab8
lea eax, [ebp - 0x338]
call fcn.00404a94
lea eax, [ebp - 0x334]
mov edx, 2
call fcn.00404ab8
lea eax, [ebp - 0x32c]
call fcn.00404a94
lea eax, [ebp - 0x328]
mov edx, 4
call fcn.00404ab8
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00404ab8
lea eax, [ebp - 8]
call fcn.00404a94
lea eax, [ebp + 0x14]
mov edx, 3
call fcn.00404ab8
lea eax, [ebp + 0x24]
mov edx, 2
call fcn.00404ab8
ret