Function at 0x420cd0
Capabilities:
Check for time delay via gettickcount
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ec91
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0x40], eax
mov edx, dword [ebp - 0x58]
add edx, 0x20
push edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [eax + 0x18]
push edx
mov ecx, dword [ebp - 0x58]
add ecx, 0x2c
call fcn.00411fb0
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x44
call fcn.00424f30
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x420d83
push 0
call fcn.00425ba0
add esp, 4
movzx eax, al
test eax, eax
jne 0x420d46
jmp 0x420d6f
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x2c]
push edx
push str.SupportBreakDownload
push 0xe9
push 0x4542f0
push 0
call fcn.00425bc0
add esp, 0xc
push eax
call fcn.00425b00
add esp, 0xc
mov eax, dword [ebp - 0x58]
mov dword [eax + 0xbc], 3
xor eax, eax
jmp 0x42114c
mov ecx, dword [ebp - 0x58]
add ecx, 0x44
call fcn.00421500
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.004215c0
lea ecx, [ebp - 0x20]
call fcn.00421620
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
jmp 0x420dc1
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.004215e0
cmp dword [ebp - 0x2c], eax
jge 0x420e69
push 0x38
call fcn.0044351a
add esp, 4
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x40], 0
je 0x420e04
mov eax, dword [ebp - 0x2c]
add eax, 1
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x40]
call fcn.00421f50
mov dword [ebp - 0x5c], eax
jmp 0x420e0b
mov dword [ebp - 0x5c], 0
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x3c], edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.00406a40
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.00406a40
mov ecx, dword [eax]
call fcn.0041a730
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.00406a40
mov ecx, dword [eax]
call fcn.004215a0
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00421670
jmp 0x420db8
mov dword [ebp - 0x24], 0
push 0
call fcn.00425ba0
add esp, 4
movzx edx, al
test edx, edx
jne 0x420e83
jmp 0x420ea5
push str.Begin_SupportBreakDownload__n
push 0xfb
push 0x454368
push 0
call fcn.00425bc0
add esp, 0xc
push eax
call fcn.00425b00
add esp, 8
mov eax, 1
test eax, eax
je 0x420f0d
push 0x1f4
push 1
push 0
lea ecx, [ebp - 0x20]
call fcn.00406a40
push eax
lea ecx, [ebp - 0x20]
call fcn.004215e0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x420ee1
mov dword [ebp - 0x24], 1
jmp 0x420f0d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x34]
sub edx, dword [ecx + 0x40]
mov eax, dword [ebp - 0x58]
cmp edx, dword [eax + 0x10]
jle 0x420efd
jmp 0x420f0d
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0xd0], 0
je 0x420f0b
jmp 0x420f0d
jmp 0x420ea5
push 0
call fcn.00425ba0
add esp, 4
movzx edx, al
test edx, edx
jne 0x420f20
jmp 0x420f46
mov eax, dword [ebp - 0x24]
push eax
push str.End_SupportBreakDownload__bThreadFinish_d_n
push 0x10f
push 0x4543d0
push 0
call fcn.00425bc0
add esp, 0xc
push eax
call fcn.00425b00
add esp, 0xc
cmp dword [ebp - 0x24], 0
jne 0x421007
mov dword [ebp - 0x38], 0
jmp 0x420f62
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.004215e0
cmp dword [ebp - 0x38], eax
jge 0x420f8a
mov edx, dword [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.00406a40
mov ecx, dword [eax]
call fcn.0041a770
jmp 0x420f59
push 0xffffffffffffffff
push 1
push 0
lea ecx, [ebp - 0x20]
call fcn.00406a40
push eax
lea ecx, [ebp - 0x20]
call fcn.004215e0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push 0
call fcn.00425ba0
add esp, 4
movzx eax, al
test eax, eax
jne 0x420fbb
jmp 0x420fdd
push str.End_WaitForMultipleObjects__n
push 0x119
push 0x454448
push 0
call fcn.00425bc0
add esp, 0xc
push eax
call fcn.00425b00
add esp, 8
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0xd0], 0
je 0x420ff8
mov edx, dword [ebp - 0x58]
mov dword [edx + 0xbc], 5
jmp 0x421005
mov eax, dword [ebp - 0x58]
mov dword [eax + 0xbc], 1
jmp 0x421043
mov ecx, dword [ebp - 0x58]
add ecx, 0x44
call fcn.00421540
test eax, eax
je 0x421036
mov ecx, dword [ebp - 0x58]
add ecx, 0x44
call fcn.00421560
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x58]
mov dword [edx + 0xbc], 6
jmp 0x421043
mov eax, dword [ebp - 0x58]
mov dword [eax + 0xbc], 2
mov ecx, dword [ebp - 0x58]
add ecx, 0x44
call fcn.004252c0
push 0
call fcn.00425ba0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x421061
jmp 0x421083
push str.out_put_file_close__n
push 0x133
push str.New_LoginGuaGua_trunkClientOnlineSetupV2CommonDownloadManager.cpp
push 0
call fcn.00425bc0
add esp, 0xc
push eax
call fcn.00425b00
add esp, 8
mov edx, dword [ebp - 0x58]
cmp dword [edx + 0xbc], 6
jne 0x421133
mov ecx, dword [ebp - 0x58]
add ecx, 0x2c
call fcn.00411fb0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x454510
mov eax, dword [ebp - 0x58]
add eax, 0x2c
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00402bf0
add esp, 0xc
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x2c
call fcn.00411fb0
push eax
mov ecx, dword [ebp - 0x60]
call fcn.00411fb0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x4c]
call fcn.0041bff0
cmp dword [ebp - 0x48], 0
je 0x42111e
push 0x454518
mov edx, dword [ebp - 0x58]
add edx, 0x2c
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.00402bf0
add esp, 0xc
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
call fcn.00411fb0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x50]
call fcn.0041bff0
mov ecx, dword [ebp - 0x58]
call fcn.00421460
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0xbc], 0
mov dword [ebp - 0x54], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00421650
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret