Function at 0x424170
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [0x5a6900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
push str.CMYDownloadProc::DoStartDownloadFile_Start
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx]
call eax
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x60], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x60]
mov dword [eax + 0x64], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x60]
mov dword [eax + 0x68], edx
push str.CMYDownloadProc::DoStartDownloadFile_GetRemoteSiteInfo_Start
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx]
call eax
add esp, 8
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x70]
call fcn.0043a950
mov dword [ebp - 0xc], eax
push str.CMYDownloadProc::DoStartDownloadFile_GetRemoteSiteInfo_End
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx]
call eax
add esp, 8
cmp dword [ebp - 0xc], 0
jne 0x42421c
push str.CMYDownloadProc::DoStartDownloadFile::m_pDownloadInfo__GetRemoteSiteInfo___Is_FALSE
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx]
call eax
add esp, 8
xor eax, eax
jmp 0x42441e
lea ecx, [ebp - 0x238]
call fcn.00423dd0
mov dword [ebp - 0x23c], 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x70]
call fcn.00439ff0
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x70]
call fcn.0043ae50
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x244]
push eax
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.00435fd0
mov ecx, dword [ebp - 8]
call fcn.00424850
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
jne 0x4242f7
cmp dword [ebp - 0x240], 0
je 0x4242f7
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x48
call fcn.00404880
push eax
call fcn.0049a99b
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
je 0x4242f7
mov eax, dword [ebp - 0x244]
add eax, dword [ebp - 0x248]
cdq
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 0x2a0], edx
mov eax, dword [ebp - 0x220]
cmp eax, dword [ebp - 0x2a4]
jne 0x4242f7
mov ecx, dword [ebp - 0x21c]
cmp ecx, dword [ebp - 0x2a0]
jne 0x4242f7
mov ecx, dword [ebp - 8]
call fcn.00424430
test eax, eax
je 0x4242f7
mov dword [ebp - 0x23c], 0
cmp dword [ebp - 0x23c], 0
je 0x4243ce
mov eax, dword [ebp - 0x244]
add eax, dword [ebp - 0x248]
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x254], 1
mov dword [ebp - 0x258], 0xa
cmp dword [ebp - 0x244], 0x2800
jg 0x424342
mov dword [ebp - 0x254], 1
jmp 0x42437e
mov eax, dword [ebp - 0x244]
cdq
mov ecx, 0x2800
idiv ecx
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x25c]
cmp eax, dword [ebp - 0x258]
jg 0x424372
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x254], eax
jmp 0x42437e
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x254]
mov dword [eax + 0x3c], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x3c]
mov dword [eax + 0x7c], edx
mov eax, dword [ebp - 0x250]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x48
call fcn.00404880
push eax
mov ecx, dword [ebp - 8]
call fcn.004246f0
test eax, eax
jne 0x4243ce
push str.CMYDownloadProc::DoStartDownloadFile::CreateNullFile_Is_FALSE
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx]
call eax
add esp, 8
xor eax, eax
jmp 0x42441e
mov ecx, dword [ebp - 8]
call fcn.00424e70
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4243f8
push str.CMYDownloadProc::DoStartDownloadFile::DoAssignDownloadTask_Is_FALSE
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx]
call eax
add esp, 8
xor eax, eax
jmp 0x42441e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x60], eax
push str.CMYDownloadProc::DoStartDownloadFile_End
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx]
call eax
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004af76a
mov esp, ebp
pop ebp
ret