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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452fa1
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.00425f20
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x421dc3
push 0
call fcn.00426b90
add esp, 4
movzx eax, al
test eax, eax
jne 0x421d86
jmp 0x421daf
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x2c]
push edx
push str.SupportBreakDownload
push 0xe9
push 0x458760
push 0
call fcn.00426bb0
add esp, 0xc
push eax
call fcn.00426af0
add esp, 0xc
mov eax, dword [ebp - 0x58]
mov dword [eax + 0xbc], 3
xor eax, eax
jmp 0x42218c
mov ecx, dword [ebp - 0x58]
add ecx, 0x44
call fcn.00422540
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.004225e0
lea ecx, [ebp - 0x20]
call fcn.00422640
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
jmp 0x421e01
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.00422600
cmp dword [ebp - 0x2c], eax
jge 0x421ea9
push 0x38
call fcn.0044772a
add esp, 4
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x40], 0
je 0x421e44
mov eax, dword [ebp - 0x2c]
add eax, 1
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x40]
call fcn.00422f20
mov dword [ebp - 0x5c], eax
jmp 0x421e4b
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.00420d80
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.00420d80
mov ecx, dword [eax]
call fcn.0041b5f0
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.00420d80
mov ecx, dword [eax]
call fcn.004225c0
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00422670
jmp 0x421df8
mov dword [ebp - 0x24], 0
push 0
call fcn.00426b90
add esp, 4
movzx edx, al
test edx, edx
jne 0x421ec3
jmp 0x421ee5
push str.Begin_SupportBreakDownload__n
push 0xfb
push 0x4587bc
push 0
call fcn.00426bb0
add esp, 0xc
push eax
call fcn.00426af0
add esp, 8
mov eax, 1
test eax, eax
je 0x421f4d
push 0x1f4
push 1
push 0
lea ecx, [ebp - 0x20]
call fcn.00420d80
push eax
lea ecx, [ebp - 0x20]
call fcn.00422600
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x421f21
mov dword [ebp - 0x24], 1
jmp 0x421f4d
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 0x421f3d
jmp 0x421f4d
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0xd0], 0
je 0x421f4b
jmp 0x421f4d
jmp 0x421ee5
push 0
call fcn.00426b90
add esp, 4
movzx edx, al
test edx, edx
jne 0x421f60
jmp 0x421f86
mov eax, dword [ebp - 0x24]
push eax
push str.End_SupportBreakDownload__bThreadFinish_d_n
push 0x10f
push 0x458808
push 0
call fcn.00426bb0
add esp, 0xc
push eax
call fcn.00426af0
add esp, 0xc
cmp dword [ebp - 0x24], 0
jne 0x422047
mov dword [ebp - 0x38], 0
jmp 0x421fa2
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.00422600
cmp dword [ebp - 0x38], eax
jge 0x421fca
mov edx, dword [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.00420d80
mov ecx, dword [eax]
call fcn.0041b630
jmp 0x421f99
push 0xffffffffffffffff
push 1
push 0
lea ecx, [ebp - 0x20]
call fcn.00420d80
push eax
lea ecx, [ebp - 0x20]
call fcn.00422600
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push 0
call fcn.00426b90
add esp, 4
movzx eax, al
test eax, eax
jne 0x421ffb
jmp 0x42201d
push str.End_WaitForMultipleObjects__n
push 0x119
push 0x458860
push 0
call fcn.00426bb0
add esp, 0xc
push eax
call fcn.00426af0
add esp, 8
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0xd0], 0
je 0x422038
mov edx, dword [ebp - 0x58]
mov dword [edx + 0xbc], 5
jmp 0x422045
mov eax, dword [ebp - 0x58]
mov dword [eax + 0xbc], 1
jmp 0x422083
mov ecx, dword [ebp - 0x58]
add ecx, 0x44
call fcn.00422560
test eax, eax
je 0x422076
mov ecx, dword [ebp - 0x58]
add ecx, 0x44
call fcn.00422580
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x58]
mov dword [edx + 0xbc], 6
jmp 0x422083
mov eax, dword [ebp - 0x58]
mov dword [eax + 0xbc], 2
mov ecx, dword [ebp - 0x58]
add ecx, 0x44
call fcn.004262b0
push 0
call fcn.00426b90
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x4220a1
jmp 0x4220c3
push str.out_put_file_close__n
push 0x133
push str.OnlineSetupV2CommonDownloadManager.cpp
push 0
call fcn.00426bb0
add esp, 0xc
push eax
call fcn.00426af0
add esp, 8
mov edx, dword [ebp - 0x58]
cmp dword [edx + 0xbc], 6
jne 0x422173
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.0041cec0
cmp dword [ebp - 0x48], 0
je 0x42215e
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.0041cec0
mov ecx, dword [ebp - 0x58]
call fcn.004224a0
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.00420bf0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret