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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f4c1
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.00410ff0
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x44
call fcn.00425660
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x421493
push 0
call fcn.004262d0
add esp, 4
movzx eax, al
test eax, eax
jne 0x421456
jmp 0x42147f
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x2c]
push edx
push str.SupportBreakDownload
push 0xe9
push 0x455258
push 0
call fcn.004262f0
add esp, 0xc
push eax
call fcn.00426230
add esp, 0xc
mov eax, dword [ebp - 0x58]
mov dword [eax + 0xbc], 3
xor eax, eax
jmp 0x42185c
mov ecx, dword [ebp - 0x58]
add ecx, 0x44
call fcn.00421c10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.00421cd0
lea ecx, [ebp - 0x20]
call fcn.00421cf0
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
jmp 0x4214d1
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.00406b40
cmp dword [ebp - 0x2c], eax
jge 0x421579
push 0x38
call fcn.00443c4a
add esp, 4
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x40], 0
je 0x421514
mov eax, dword [ebp - 0x2c]
add eax, 1
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x40]
call fcn.00422670
mov dword [ebp - 0x5c], eax
jmp 0x42151b
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.00406b80
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.00406b80
mov ecx, dword [eax]
call fcn.0041aea0
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.00406b80
mov ecx, dword [eax]
call fcn.00421cb0
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00421d40
jmp 0x4214c8
mov dword [ebp - 0x24], 0
push 0
call fcn.004262d0
add esp, 4
movzx edx, al
test edx, edx
jne 0x421593
jmp 0x4215b5
push str.Begin_SupportBreakDownload__n
push 0xfb
push 0x4552b4
push 0
call fcn.004262f0
add esp, 0xc
push eax
call fcn.00426230
add esp, 8
mov eax, 1
test eax, eax
je 0x42161d
push 0x1f4
push 1
push 0
lea ecx, [ebp - 0x20]
call fcn.00406b80
push eax
lea ecx, [ebp - 0x20]
call fcn.00406b40
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x4215f1
mov dword [ebp - 0x24], 1
jmp 0x42161d
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 0x42160d
jmp 0x42161d
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0xd0], 0
je 0x42161b
jmp 0x42161d
jmp 0x4215b5
push 0
call fcn.004262d0
add esp, 4
movzx edx, al
test edx, edx
jne 0x421630
jmp 0x421656
mov eax, dword [ebp - 0x24]
push eax
push str.End_SupportBreakDownload__bThreadFinish_d_n
push 0x10f
push 0x455300
push 0
call fcn.004262f0
add esp, 0xc
push eax
call fcn.00426230
add esp, 0xc
cmp dword [ebp - 0x24], 0
jne 0x421717
mov dword [ebp - 0x38], 0
jmp 0x421672
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.00406b40
cmp dword [ebp - 0x38], eax
jge 0x42169a
mov edx, dword [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.00406b80
mov ecx, dword [eax]
call fcn.0041aee0
jmp 0x421669
push 0xffffffffffffffff
push 1
push 0
lea ecx, [ebp - 0x20]
call fcn.00406b80
push eax
lea ecx, [ebp - 0x20]
call fcn.00406b40
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push 0
call fcn.004262d0
add esp, 4
movzx eax, al
test eax, eax
jne 0x4216cb
jmp 0x4216ed
push str.End_WaitForMultipleObjects__n
push 0x119
push 0x455358
push 0
call fcn.004262f0
add esp, 0xc
push eax
call fcn.00426230
add esp, 8
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0xd0], 0
je 0x421708
mov edx, dword [ebp - 0x58]
mov dword [edx + 0xbc], 5
jmp 0x421715
mov eax, dword [ebp - 0x58]
mov dword [eax + 0xbc], 1
jmp 0x421753
mov ecx, dword [ebp - 0x58]
add ecx, 0x44
call fcn.00421c50
test eax, eax
je 0x421746
mov ecx, dword [ebp - 0x58]
add ecx, 0x44
call fcn.00421c70
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x58]
mov dword [edx + 0xbc], 6
jmp 0x421753
mov eax, dword [ebp - 0x58]
mov dword [eax + 0xbc], 2
mov ecx, dword [ebp - 0x58]
add ecx, 0x44
call fcn.004259f0
push 0
call fcn.004262d0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x421771
jmp 0x421793
push str.out_put_file_close__n
push 0x133
push str.OnlineSetupV2CommonDownloadManager.cpp
push 0
call fcn.004262f0
add esp, 0xc
push eax
call fcn.00426230
add esp, 8
mov edx, dword [ebp - 0x58]
cmp dword [edx + 0xbc], 6
jne 0x421843
mov ecx, dword [ebp - 0x58]
add ecx, 0x2c
call fcn.00410ff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x4553e8
mov eax, dword [ebp - 0x58]
add eax, 0x2c
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00402d00
add esp, 0xc
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x2c
call fcn.00410ff0
push eax
mov ecx, dword [ebp - 0x60]
call fcn.00410ff0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x4c]
call fcn.0041c700
cmp dword [ebp - 0x48], 0
je 0x42182e
push 0x4553f0
mov edx, dword [ebp - 0x58]
add edx, 0x2c
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.00402d00
add esp, 0xc
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
call fcn.00410ff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x50]
call fcn.0041c700
mov ecx, dword [ebp - 0x58]
call fcn.00421b70
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.00421d20
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret