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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f251
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.00412030
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x44
call fcn.00425460
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x421243
push 0
call fcn.004260d0
add esp, 4
movzx eax, al
test eax, eax
jne 0x421206
jmp 0x42122f
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x2c]
push edx
push str.SupportBreakDownload
push 0xe9
push 0x4542a0
push 0
call fcn.004260f0
add esp, 0xc
push eax
call fcn.00426030
add esp, 0xc
mov eax, dword [ebp - 0x58]
mov dword [eax + 0xbc], 3
xor eax, eax
jmp 0x42160c
mov ecx, dword [ebp - 0x58]
add ecx, 0x44
call fcn.004219c0
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.00421a80
lea ecx, [ebp - 0x20]
call fcn.00421aa0
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
jmp 0x421281
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.00421ad0
cmp dword [ebp - 0x2c], eax
jge 0x421329
push 0x38
call fcn.00443a4a
add esp, 4
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x40], 0
je 0x4212c4
mov eax, dword [ebp - 0x2c]
add eax, 1
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x40]
call fcn.00422450
mov dword [ebp - 0x5c], eax
jmp 0x4212cb
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.004069b0
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.004069b0
mov ecx, dword [eax]
call fcn.0041ace0
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.004069b0
mov ecx, dword [eax]
call fcn.00421a60
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00421b10
jmp 0x421278
mov dword [ebp - 0x24], 0
push 0
call fcn.004260d0
add esp, 4
movzx edx, al
test edx, edx
jne 0x421343
jmp 0x421365
push str.Begin_SupportBreakDownload__n
push 0xfb
push 0x454308
push 0
call fcn.004260f0
add esp, 0xc
push eax
call fcn.00426030
add esp, 8
mov eax, 1
test eax, eax
je 0x4213cd
push 0x1f4
push 1
push 0
lea ecx, [ebp - 0x20]
call fcn.004069b0
push eax
lea ecx, [ebp - 0x20]
call fcn.00421ad0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x4213a1
mov dword [ebp - 0x24], 1
jmp 0x4213cd
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 0x4213bd
jmp 0x4213cd
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0xd0], 0
je 0x4213cb
jmp 0x4213cd
jmp 0x421365
push 0
call fcn.004260d0
add esp, 4
movzx edx, al
test edx, edx
jne 0x4213e0
jmp 0x421406
mov eax, dword [ebp - 0x24]
push eax
push str.End_SupportBreakDownload__bThreadFinish_d_n
push 0x10f
push 0x454360
push 0
call fcn.004260f0
add esp, 0xc
push eax
call fcn.00426030
add esp, 0xc
cmp dword [ebp - 0x24], 0
jne 0x4214c7
mov dword [ebp - 0x38], 0
jmp 0x421422
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.00421ad0
cmp dword [ebp - 0x38], eax
jge 0x42144a
mov edx, dword [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x58]
add ecx, 0x30
call fcn.004069b0
mov ecx, dword [eax]
call fcn.0041ad20
jmp 0x421419
push 0xffffffffffffffff
push 1
push 0
lea ecx, [ebp - 0x20]
call fcn.004069b0
push eax
lea ecx, [ebp - 0x20]
call fcn.00421ad0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push 0
call fcn.004260d0
add esp, 4
movzx eax, al
test eax, eax
jne 0x42147b
jmp 0x42149d
push str.End_WaitForMultipleObjects__n
push 0x119
push 0x4543c4
push 0
call fcn.004260f0
add esp, 0xc
push eax
call fcn.00426030
add esp, 8
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0xd0], 0
je 0x4214b8
mov edx, dword [ebp - 0x58]
mov dword [edx + 0xbc], 5
jmp 0x4214c5
mov eax, dword [ebp - 0x58]
mov dword [eax + 0xbc], 1
jmp 0x421503
mov ecx, dword [ebp - 0x58]
add ecx, 0x44
call fcn.00421a00
test eax, eax
je 0x4214f6
mov ecx, dword [ebp - 0x58]
add ecx, 0x44
call fcn.00421a20
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x58]
mov dword [edx + 0xbc], 6
jmp 0x421503
mov eax, dword [ebp - 0x58]
mov dword [eax + 0xbc], 2
mov ecx, dword [ebp - 0x58]
add ecx, 0x44
call fcn.004257f0
push 0
call fcn.004260d0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x421521
jmp 0x421543
push str.out_put_file_close__n
push 0x133
push str.DownLoaderOnlineSetupV2CommonDownloadManager.cpp
push 0
call fcn.004260f0
add esp, 0xc
push eax
call fcn.00426030
add esp, 8
mov edx, dword [ebp - 0x58]
cmp dword [edx + 0xbc], 6
jne 0x4215f3
mov ecx, dword [ebp - 0x58]
add ecx, 0x2c
call fcn.00412030
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x45446c
mov eax, dword [ebp - 0x58]
add eax, 0x2c
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00402b30
add esp, 0xc
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x2c
call fcn.00412030
push eax
mov ecx, dword [ebp - 0x60]
call fcn.00412030
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x4c]
call fcn.0041c560
cmp dword [ebp - 0x48], 0
je 0x4215de
push 0x454474
mov edx, dword [ebp - 0x58]
add edx, 0x2c
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.00402b30
add esp, 0xc
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
call fcn.00412030
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x50]
call fcn.0041c560
mov ecx, dword [ebp - 0x58]
call fcn.00421920
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.00406990
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret