Function at 0x45edbc
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 0x45edc5
push ecx
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.00404d04
mov eax, dword [ebp + 0x28]
call fcn.00404d04
mov eax, dword [ebp + 0x24]
call fcn.00404d04
mov eax, dword [ebp + 0x1c]
call fcn.00404d04
mov eax, dword [ebp + 0x18]
call fcn.00404d04
mov eax, dword [ebp + 0x14]
call fcn.00404d04
xor eax, eax
push ebp
push 0x45f896
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.0045acd4
mov dl, 1
mov eax, dword [ebx + 0x64]
call fcn.0045ac80
mov eax, dword [ebx + 0x94]
call fcn.00419014
dec eax
jle 0x45eeaa
lea edx, [ebp - 0x320]
mov eax, dword [ebx + 0x34]
call fcn.00408da0
push dword [ebp - 0x320]
push 0x45f8b4
push dword [ebx + 0x104]
push 0x45f8b4
mov eax, dword [ebx + 0x94]
call fcn.00463e34
lea edx, [ebp - 0x324]
call fcn.00408da0
push dword [ebp - 0x324]
push 0x45f8c0
lea eax, [ebp - 0x31c]
mov edx, 6
call fcn.00404bd4
mov edx, dword [ebp - 0x31c]
mov eax, dword [ebx + 0x48]
call fcn.0044d738
jmp 0x45eeb4
xor edx, edx
mov eax, dword [ebx + 0x48]
call fcn.0044d738
cmp dword [ebp + 0x24], 0
je 0x45ef1e
push dword [ebx + 0x78]
push 0x45f8b4
lea edx, [ebp - 0x32c]
mov esi, dword [ebx + 0x48]
mov eax, esi
call fcn.0044d708
push dword [ebp - 0x32c]
lea edx, [ebp - 0x330]
mov eax, dword [ebp + 0x1c]
call fcn.0045cd64
push dword [ebp - 0x330]
push 0x45f8b4
push dword [ebx + 0x108]
push 0x45f8b4
push dword [ebp + 0x24]
lea eax, [ebp - 0x328]
mov edx, 8
call fcn.00404bd4
mov edx, dword [ebp - 0x328]
mov eax, esi
call fcn.0044d738
jmp 0x45ef91
push dword [ebx + 0x78]
push 0x45f8b4
lea edx, [ebp - 0x338]
mov esi, dword [ebx + 0x48]
mov eax, esi
call fcn.0044d708
push dword [ebp - 0x338]
lea edx, [ebp - 0x33c]
mov eax, dword [ebp + 0x1c]
call fcn.0045cd64
push dword [ebp - 0x33c]
push 0x45f8b4
push dword [ebx + 0x108]
push 0x45f8b4
lea edx, [ebp - 0x340]
mov eax, dword [ebp + 0x1c]
call fcn.00409494
push dword [ebp - 0x340]
lea eax, [ebp - 0x334]
mov edx, 8
call fcn.00404bd4
mov edx, dword [ebp - 0x334]
mov eax, esi
call fcn.0044d738
cmp dword [ebp + 0x24], 0
je 0x45f00b
mov dword [ebp - 0x314], 1
mov eax, 0x45f8c4
mov dword [ebp - 0x308], eax
mov eax, dword [ebp + 0x24]
call fcn.00404d14
mov dword [ebp - 0x304], eax
mov eax, 0x45f8c4
mov dword [ebp - 0x2fc], eax
xor esi, esi
push esi
mov eax, dword [ebp - 8]
call fcn.00404d14
push eax
mov eax, dword [ebp + 0x28]
call fcn.00404d14
push eax
lea eax, [ebp - 0x318]
push eax
call sub.mpr.dll_WNetAddConnection2A
test eax, eax
je 0x45f00b
cmp word [ebx + 0xca], 0
je 0x45f7bb
mov edx, ebx
mov eax, dword [ebx + 0xcc]
call dword [ebx + 0xc8]
jmp 0x45f7bb
xor esi, esi
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0x24], 0
je 0x45f035
push dword [ebp + 0x24]
push 0x45f8d0
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404bd4
jmp 0x45f040
lea eax, [ebp - 0x24]
mov edx, dword [ebp + 0x1c]
call fcn.004048ec
cmp dword [ebp + 0x14], 0
je 0x45f053
lea eax, [ebp - 0x28]
mov edx, dword [ebp + 0x14]
call fcn.004048ec
jmp 0x45f05e
lea edx, [ebp - 0x28]
mov eax, dword [ebp + 0x1c]
call fcn.0045cd64
lea ecx, [ebp - 0x344]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 0x18]
call fcn.0045d258
mov edx, dword [ebp - 0x344]
lea eax, [ebp - 0x28]
call fcn.004048ec
lea eax, [ebx + 0x68]
mov edx, dword [ebp - 0x28]
call fcn.004048a8
lea eax, [ebx + 0x6c]
mov edx, dword [ebp + 0x18]
call fcn.004048a8
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
call fcn.00404c60
jne 0x45f0f7
cmp word [ebx + 0xa2], 0
je 0x45f0ba
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
cmp word [ebx + 0xaa], 0
je 0x45f7bb
lea eax, [ebp - 0x348]
mov ecx, dword [ebp - 0x24]
mov edx, 0x45f8dc
call fcn.00404b60
mov eax, dword [ebp - 0x348]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
jmp 0x45f7bb
mov eax, 0x4000
call fcn.00402aa0
mov dword [ebp - 0x1c], eax
xor edx, edx
mov eax, dword [ebp - 0x24]
call fcn.00409124
mov edi, eax
mov dword [ebp - 0x1ac], edi
inc edi
jne 0x45f183
mov edx, 0x4000
mov eax, dword [ebp - 0x1c]
call fcn.00402ad0
cmp word [ebx + 0xa2], 0
je 0x45f143
mov ecx, 1
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
cmp word [ebx + 0xaa], 0
je 0x45f7bb
lea eax, [ebp - 0x34c]
mov ecx, dword [ebp - 0x24]
mov edx, 0x45f904
call fcn.00404b60
mov eax, dword [ebp - 0x34c]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
jmp 0x45f7bb
cmp byte [ebp + 0x10], 0
jne 0x45f197
cmp word [ebx + 0x14a], 0
je 0x45f290
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.0045cc98
cmp word [ebx + 0x14a], 0
je 0x45f217
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 + 0x14c]
call dword [ebx + 0x148]
cmp byte [ebp - 0x29], 0
jne 0x45f282
mov edx, 0x4000
mov eax, dword [ebp - 0x1c]
call fcn.00402ad0
mov eax, dword [ebp - 0x1ac]
call fcn.00409244
jmp 0x45f7bb
fld qword [ebp - 0x58]
mov eax, dword [ebp + 0xc]
fcomp qword [eax]
fnstsw ax
sahf
ja 0x45f282
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.00402ad0
mov eax, dword [ebp - 0x1ac]
call fcn.00409244
cmp word [ebx + 0x12a], 0
je 0x45f7bb
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 + 0x12c]
call dword [ebx + 0x128]
jmp 0x45f7bb
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.00409200
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x45f320
mov eax, dword [ebp - 0x1ac]
call fcn.00409244
mov edx, 0x4000
mov eax, dword [ebp - 0x1c]
call fcn.00402ad0
cmp word [ebx + 0xa2], 0
je 0x45f2e0
mov ecx, 2
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
cmp word [ebx + 0xaa], 0
je 0x45f7bb
lea eax, [ebp - 0x350]
mov ecx, dword [ebp - 0x24]
mov edx, 0x45f928
call fcn.00404b60
mov eax, dword [ebp - 0x350]
push eax
mov ecx, 2
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
jmp 0x45f7bb
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x1ac]
call fcn.00409200
mov eax, dword [ebp - 0x28]
call fcn.004092b4
test al, al
je 0x45f3a6
mov byte [ebp - 0x29], 1
cmp word [ebx + 0xe2], 0
je 0x45f35e
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 0x45f381
mov eax, dword [ebp - 0x1ac]
call fcn.00409244
mov edx, 0x4000
mov eax, dword [ebp - 0x1c]
call fcn.00402ad0
jmp 0x45f7bb
cmp byte [ebx + 0x164], 0
je 0x45f3a6
lea edx, [ebp - 0x354]
mov eax, dword [ebp - 0x28]
call fcn.0045e1fc
mov edx, dword [ebp - 0x354]
lea eax, [ebp - 0x28]
call fcn.004048ec
lea edx, [ebp - 0x358]
mov eax, dword [ebp - 0x28]
call fcn.00409460
mov eax, dword [ebp - 0x358]
call fcn.0045d32c
mov eax, dword [ebp - 0x28]
call fcn.0040917c
mov edi, eax
mov dword [ebp - 0x2f8], edi
test edi, edi
jge 0x45f448
mov eax, dword [ebp - 0x1ac]
call fcn.00409244
mov edx, 0x4000
mov eax, dword [ebp - 0x1c]
call fcn.00402ad0
cmp word [ebx + 0xa2], 0
je 0x45f408
mov ecx, 3
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
cmp word [ebx + 0xaa], 0
je 0x45f7bb
lea eax, [ebp - 0x35c]
mov ecx, dword [ebp - 0x28]
mov edx, 0x45f94c
call fcn.00404b60
mov eax, dword [ebp - 0x35c]
push eax
mov ecx, 3
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
jmp 0x45f7bb
mov byte [ebx + 0x38], 0
mov edi, dword [ebp - 0x1c]
mov edx, edi
mov ecx, 0x4000
mov eax, dword [ebp - 0x1ac]
call fcn.004091a8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x45f4ee
mov edx, 0x4000
mov eax, dword [ebp - 0x1c]
call fcn.00402ad0
mov eax, dword [ebp - 0x1ac]
call fcn.00409244
mov eax, dword [ebp - 0x2f8]
call fcn.00409244
cmp word [ebx + 0xa2], 0
je 0x45f4ae
mov ecx, 4
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
cmp word [ebx + 0xaa], 0
je 0x45f7bb
lea eax, [ebp - 0x360]
mov ecx, dword [ebp - 0x24]
mov edx, 0x45f970
call fcn.00404b60
mov eax, dword [ebp - 0x360]
push eax
mov ecx, 4
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
jmp 0x45f7bb
mov edx, edi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2f8]
call fcn.004091d4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x45f58b
mov eax, dword [ebp - 0x1ac]
call fcn.00409244
mov eax, dword [ebp - 0x2f8]
call fcn.00409244
mov edx, 0x4000
mov eax, dword [ebp - 0x1c]
call fcn.00402ad0
cmp word [ebx + 0xa2], 0
je 0x45f54b
mov ecx, 5
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
cmp word [ebx + 0xaa], 0
je 0x45f7bb
lea eax, [ebp - 0x364]
mov ecx, dword [ebp - 0x28]
mov edx, 0x45f994
call fcn.00404b60
mov eax, dword [ebp - 0x364]
push eax
mov ecx, 5
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
jmp 0x45f7bb
add esi, dword [ebp - 0x18]
cmp word [ebx + 0xea], 0
je 0x45f5ae
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 0x45f5f0
mov dword [ebp - 0x36c], esi
xor eax, eax
mov dword [ebp - 0x368], eax
fild qword [ebp - 0x36c]
fstp qword [ebp - 0x60]
wait
fild dword [ebp - 0x10]
fdivr qword [ebp - 0x60]
fstp qword [ebp - 0x60]
wait
fld dword [0x45f9b8]
fmul qword [ebp - 0x60]
call fcn.00402d30
mov edx, eax
mov eax, dword [ebx + 0x44]
call fcn.0045a414
jmp 0x45f5fd
mov edx, 0x64
mov eax, dword [ebx + 0x44]
call fcn.0045a414
push dword [ebx + 0x7c]
push 0x45f8b4
lea edx, [ebp - 0x374]
mov eax, esi
call fcn.0045ce28
push dword [ebp - 0x374]
push 0x45f8b4
push dword [ebx + 0x104]
push 0x45f8b4
lea edx, [ebp - 0x378]
mov eax, dword [ebp - 0x10]
call fcn.0045ce28
push dword [ebp - 0x378]
lea eax, [ebp - 0x370]
mov edx, 7
call fcn.00404bd4
mov edx, dword [ebp - 0x370]
mov eax, dword [ebx + 0x4c]
call fcn.0044d738
push dword [ebx + 0x80]
push 0x45f8b4
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x36c], eax
xor eax, eax
mov dword [ebp - 0x368], eax
fild qword [ebp - 0x36c]
mov dword [ebp - 0x388], esi
xor eax, eax
mov dword [ebp - 0x384], eax
fild qword [ebp - 0x388]
fdivrp st(1)
fmul dword [0x45f9bc]
call fcn.00402d30
lea edx, [ebp - 0x380]
call fcn.0045cf7c
push dword [ebp - 0x380]
lea eax, [ebp - 0x37c]
mov edx, 3
call fcn.00404bd4
mov edx, dword [ebp - 0x37c]
mov eax, dword [ebx + 0x50]
call fcn.0044d738
cmp byte [ebx + 0x114], 0
je 0x45f728
push dword [ebx + 0x120]
push 0x45f8c0
mov eax, dword [ebx + 0x44]
call fcn.0045a264
lea edx, [ebp - 0x390]
call fcn.00408da0
push dword [ebp - 0x390]
push 0x45f9c8
push dword [ebx + 0x118]
lea eax, [ebp - 0x38c]
mov edx, 5
call fcn.00404bd4
mov edx, dword [ebp - 0x38c]
mov eax, dword [ebx + 0x3c]
call fcn.0044d738
push dword [ebx + 0x84]
push 0x45f8b4
lea eax, [ebp - 0x398]
push eax
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov edx, esi
call fcn.0045d0d0
push dword [ebp - 0x398]
lea eax, [ebp - 0x394]
mov edx, 3
call fcn.00404bd4
mov edx, dword [ebp - 0x394]
mov eax, dword [ebx + 0x54]
call fcn.0044d738
mov eax, dword [0x46d164]
mov eax, dword [eax]
call fcn.0043efdc
cmp dword [ebp - 0x14], 0
je 0x45f794
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jne 0x45f794
cmp byte [ebx + 0x38], 0
je 0x45f44c
mov eax, dword [ebp - 0x1ac]
call fcn.00409244
mov eax, dword [ebp - 0x2f8]
call fcn.00409244
mov edx, 0x4000
mov eax, dword [ebp - 0x1c]
call fcn.00402ad0
mov byte [ebp - 9], 1
cmp dword [ebp + 0x24], 0
je 0x45f7f3
push 0xffffffffffffffff
push 1
mov eax, dword [ebp + 0x24]
call fcn.00404d14
push eax
call sub.mpr.dll_WNetCancelConnection2A
test eax, eax
je 0x45f7f3
cmp word [ebx + 0xca], 0
je 0x45f7ef
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 0x45f8a0
lea eax, [ebp - 0x398]
mov edx, 4
call fcn.00404878
lea eax, [ebp - 0x380]
mov edx, 5
call fcn.00404878
lea eax, [ebp - 0x364]
mov edx, 0xb
call fcn.00404878
lea eax, [ebp - 0x338]
call fcn.00404854
lea eax, [ebp - 0x334]
mov edx, 2
call fcn.00404878
lea eax, [ebp - 0x32c]
call fcn.00404854
lea eax, [ebp - 0x328]
mov edx, 4
call fcn.00404878
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00404878
lea eax, [ebp - 8]
call fcn.00404854
lea eax, [ebp + 0x14]
mov edx, 3
call fcn.00404878
lea eax, [ebp + 0x24]
mov edx, 2
call fcn.00404878
ret