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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452f81
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.00407d70
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x44
call fcn.00425f00
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x421da3
push 0
call fcn.00426b70
add esp, 4
movzx eax, al
test eax, eax
jne 0x421d66
jmp 0x421d8f
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x2c]
push edx
push str.SupportBreakDownload
push 0xe9
push 0x458760
push 0
call fcn.00426b90
add esp, 0xc
push eax
call fcn.00426ad0
add esp, 0xc
mov eax, dword [ebp - 0x58]
mov dword [eax + 0xbc], 3
xor eax, eax
jmp 0x42216c
mov ecx, dword [ebp - 0x58]
add ecx, 0x44
call fcn.00422520
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.004225c0
lea ecx, [ebp - 0x20]
call fcn.00422620
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
jmp 0x421de1
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.004225e0
cmp dword [ebp - 0x2c], eax
jge 0x421e89
push 0x38
call fcn.0044770a
add esp, 4
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x40], 0
je 0x421e24
mov eax, dword [ebp - 0x2c]
add eax, 1
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x40]
call fcn.00422f00
mov dword [ebp - 0x5c], eax
jmp 0x421e2b
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.00420d60
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.00420d60
mov ecx, dword [eax]
call fcn.0041b5d0
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.00420d60
mov ecx, dword [eax]
call fcn.004225a0
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00422650
jmp 0x421dd8
mov dword [ebp - 0x24], 0
push 0
call fcn.00426b70
add esp, 4
movzx edx, al
test edx, edx
jne 0x421ea3
jmp 0x421ec5
push str.Begin_SupportBreakDownload__n
push 0xfb
push 0x4587bc
push 0
call fcn.00426b90
add esp, 0xc
push eax
call fcn.00426ad0
add esp, 8
mov eax, 1
test eax, eax
je 0x421f2d
push 0x1f4
push 1
push 0
lea ecx, [ebp - 0x20]
call fcn.00420d60
push eax
lea ecx, [ebp - 0x20]
call fcn.004225e0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x421f01
mov dword [ebp - 0x24], 1
jmp 0x421f2d
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 0x421f1d
jmp 0x421f2d
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0xd0], 0
je 0x421f2b
jmp 0x421f2d
jmp 0x421ec5
push 0
call fcn.00426b70
add esp, 4
movzx edx, al
test edx, edx
jne 0x421f40
jmp 0x421f66
mov eax, dword [ebp - 0x24]
push eax
push str.End_SupportBreakDownload__bThreadFinish_d_n
push 0x10f
push 0x458808
push 0
call fcn.00426b90
add esp, 0xc
push eax
call fcn.00426ad0
add esp, 0xc
cmp dword [ebp - 0x24], 0
jne 0x422027
mov dword [ebp - 0x38], 0
jmp 0x421f82
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.004225e0
cmp dword [ebp - 0x38], eax
jge 0x421faa
mov edx, dword [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.00420d60
mov ecx, dword [eax]
call fcn.0041b610
jmp 0x421f79
push 0xffffffffffffffff
push 1
push 0
lea ecx, [ebp - 0x20]
call fcn.00420d60
push eax
lea ecx, [ebp - 0x20]
call fcn.004225e0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push 0
call fcn.00426b70
add esp, 4
movzx eax, al
test eax, eax
jne 0x421fdb
jmp 0x421ffd
push str.End_WaitForMultipleObjects__n
push 0x119
push 0x458860
push 0
call fcn.00426b90
add esp, 0xc
push eax
call fcn.00426ad0
add esp, 8
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0xd0], 0
je 0x422018
mov edx, dword [ebp - 0x58]
mov dword [edx + 0xbc], 5
jmp 0x422025
mov eax, dword [ebp - 0x58]
mov dword [eax + 0xbc], 1
jmp 0x422063
mov ecx, dword [ebp - 0x58]
add ecx, 0x44
call fcn.00422540
test eax, eax
je 0x422056
mov ecx, dword [ebp - 0x58]
add ecx, 0x44
call fcn.00422560
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x58]
mov dword [edx + 0xbc], 6
jmp 0x422063
mov eax, dword [ebp - 0x58]
mov dword [eax + 0xbc], 2
mov ecx, dword [ebp - 0x58]
add ecx, 0x44
call fcn.00426290
push 0
call fcn.00426b70
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x422081
jmp 0x4220a3
push str.out_put_file_close__n
push 0x133
push str.OnlineSetupV2CommonDownloadManager.cpp
push 0
call fcn.00426b90
add esp, 0xc
push eax
call fcn.00426ad0
add esp, 8
mov edx, dword [ebp - 0x58]
cmp dword [edx + 0xbc], 6
jne 0x422153
mov ecx, dword [ebp - 0x58]
add ecx, 0x2c
call fcn.00407d70
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x4588f0
mov eax, dword [ebp - 0x58]
add eax, 0x2c
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00402a40
add esp, 0xc
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x2c
call fcn.00407d70
push eax
mov ecx, dword [ebp - 0x60]
call fcn.00407d70
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x4c]
call fcn.0041cea0
cmp dword [ebp - 0x48], 0
je 0x42213e
push 0x4588f8
mov edx, dword [ebp - 0x58]
add edx, 0x2c
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.00402a40
add esp, 0xc
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
call fcn.00407d70
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x50]
call fcn.0041cea0
mov ecx, dword [ebp - 0x58]
call fcn.00422480
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.00420bd0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret