Function at 0x41a850
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x453ead
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x467340]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push esi
push edi
mov eax, dword [0x467340]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov edi, dword [0x46a814]
lea ebx, [esp + 0x134]
mov dword [esp + 0x10], ecx
call fcn.004052d0
xor eax, eax
mov dword [esp + 0x160], eax
cmp dword [esp + 0x148], eax
jne 0x41a961
push 0xe
push str..TaskImpl.cpp
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], eax
mov byte [esp + 0x28], al
call fcn.00406050
push 2
lea eax, [esp + 0x3c]
mov bl, 1
push eax
mov ecx, 0x16a
lea edx, [esp + 0x24]
mov byte [esp + 0x168], bl
call fcn.0041f600
push str.__Error:_Work_dir_string_is_empty_
push ecx
add eax, 0x28
push str.PackageDownloadTask::Run
push eax
mov byte [esp + 0x170], 2
call fcn.00407a60
add esp, 0xc
push eax
call fcn.00407a60
add esp, 8
lea ecx, [esp + 0x38]
mov byte [esp + 0x160], bl
call fcn.0041f890
cmp dword [esp + 0x34], 0x10
jb 0x41a946
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004308f5
add esp, 4
cmp dword [esp + 0x14c], 8
jb 0x41acbd
mov edx, dword [esp + 0x138]
push edx
jmp 0x41acb5
mov dword [esp + 0x18], eax
lea eax, [esp + 0x134]
push eax
mov ebx, str.patch_install.exe
lea esi, [esp + 0x11c]
call fcn.0041b780
add esp, 4
mov byte [esp + 0x160], 3
xor ecx, ecx
xor ebx, ebx
push 0x11
mov eax, str.patch_install.exe
lea esi, [esp + 0xe4]
mov dword [esp + 0xfc], 7
mov dword [esp + 0xf8], ebx
mov word [esp + 0xe8], cx
call fcn.004070b0
push 5
push str..pack
mov eax, esi
mov byte [esp + 0x168], 4
call fcn.00406ee0
mov edx, esi
push edx
lea eax, [esp + 0x138]
push eax
lea edi, [esp + 0x104]
call fcn.0041b6d0
push 0x60
mov byte [esp + 0x16c], 5
call fcn.004309b0
add esp, 0xc
mov dword [esp + 0x14], eax
mov byte [esp + 0x160], 6
mov esi, dword [esp + 0x10]
cmp eax, ebx
je 0x41aa2b
lea ecx, [esp + 0xe0]
push ecx
lea edx, [esp + 0x138]
push edx
lea ecx, [esi + 0xc]
push ecx
push eax
call fcn.00419200
mov edi, eax
jmp 0x41aa2d
xor edi, edi
mov byte [esp + 0x160], 5
mov ecx, dword [esi + 0x2c]
cmp edi, ecx
je 0x41aa48
cmp ecx, ebx
je 0x41aa48
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0x2c], edi
cmp esi, ebx
je 0x41aa54
lea ecx, [esi + 8]
jmp 0x41aa56
xor ecx, ecx
mov eax, edi
lea edx, [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x2c]
push edx
mov dword [esp + 0x14], ebx
call fcn.004194f0
push 0xe
push str..TaskImpl.cpp
lea ecx, [esp + 0x24]
mov edi, eax
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00406050
push ebx
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x17c
lea edx, [esp + 0x24]
mov byte [esp + 0x168], 7
call fcn.0041f600
mov byte [esp + 0x160], 8
mov ecx, dword [esp + 0x10]
push ecx
push ecx
push str.__Windows_Last_Error:
push ecx
push edi
push ecx
push str.__Download_Completed__download_ret:
push ecx
add eax, 0x28
push str.PackageDownloadTask::Run
push eax
call fcn.00407a60
add esp, 0xc
push eax
call fcn.00407a60
add esp, 0xc
push eax
call fcn.00410140
add esp, 4
push eax
call fcn.00407a60
add esp, 0xc
push eax
call fcn.00410140
lea ecx, [esp + 0x38]
mov byte [esp + 0x160], 7
call fcn.0041f890
mov byte [esp + 0x160], 5
cmp dword [esp + 0x34], 0x10
jb 0x41ab25
mov edx, dword [esp + 0x20]
push edx
call fcn.004308f5
add esp, 4
cmp edi, ebx
je 0x41ab33
mov dword [esp + 0x18], 5
jmp 0x41ab8e
mov eax, 8
cmp dword [esp + 0x130], eax
jb 0x41ab4e
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0x10], ecx
jmp 0x41ab59
lea edx, [esp + 0x11c]
mov dword [esp + 0x10], edx
cmp dword [esp + 0x114], eax
jb 0x41ab6f
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], eax
jmp 0x41ab7a
lea ecx, [esp + 0x100]
mov dword [esp + 0x14], ecx
call fcn.00404080
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.00423e70
cmp dword [esi + 0x28], ebx
je 0x41abe9
mov ecx, dword [esi + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push ebx
lea eax, [esp + 0x13c]
mov word [ecx + 4], dx
call fcn.00406820
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0x28]
push edi
push eax
push ecx
call fcn.0041b910
mov edx, dword [0x46a814]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
add esp, 0x28
push ebx
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x100]
mov esi, 8
cmp dword [esp + 0x114], esi
jae 0x41ac05
lea eax, [esp + 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x114], esi
jb 0x41ac25
mov ecx, dword [esp + 0x100]
push ecx
call fcn.004308f5
add esp, 4
xor edx, edx
mov edi, 7
mov dword [esp + 0x114], edi
mov dword [esp + 0x110], ebx
mov word [esp + 0x100], dx
cmp dword [esp + 0xf8], esi
jb 0x41ac5b
mov eax, dword [esp + 0xe4]
push eax
call fcn.004308f5
add esp, 4
xor ecx, ecx
mov dword [esp + 0xf8], edi
mov dword [esp + 0xf4], ebx
mov word [esp + 0xe4], cx
cmp dword [esp + 0x130], esi
jb 0x41ac8c
mov edx, dword [esp + 0x11c]
push edx
call fcn.004308f5
add esp, 4
xor eax, eax
mov dword [esp + 0x130], edi
mov dword [esp + 0x12c], ebx
mov word [esp + 0x11c], ax
cmp dword [esp + 0x14c], esi
jb 0x41acbd
mov ecx, dword [esp + 0x138]
push ecx
call fcn.004308f5
add esp, 4
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.00430900
mov esp, ebp
pop ebp
ret