Function at 0x1001e980
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b926f
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x100f6458]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0xac]
xor bl, bl
cmp dword [ecx + 0x14], 8
mov eax, ecx
mov dword [ebp - 0x270], ecx
jb 0x1001e9c8
mov eax, dword [ecx]
push 0xfde9
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.10067e80
mov dword [ebp - 4], 0
lea eax, [ebp - 0x210]
push 0x200
push 0
push eax
call fcn.10089510
cmp dword [ebp - 0x214], 0x10
lea ecx, [ebp - 0x210]
push 0x100
push ecx
push dword [ebp - 0x218]
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push eax
call fcn.10052e40
add esp, 0x28
test eax, eax
jne 0x1001eb44
call fcn.100429f0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x1001eb2d
push 0x60
mov dword [ebp - 0x234], eax
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x230], eax
push 0x100c85b8
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], 0xf
mov byte [ebp - 0x244], al
call fcn.1000c4b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x25c]
push 3
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
push 0x100c85b4
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0xf
mov byte [ebp - 0x25c], 0
call fcn.1000c4b0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x244]
push 0x73
push eax
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x308]
call fcn.100041a0
mov esi, eax
mov byte [ebp - 4], 3
push str.md5_calc_fail.
push esi
call fcn.10005ff0
add esp, 8
call fcn.100429f0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x308]
call fcn.100062e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x25c]
call fcn.10005180
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.10005180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.10005180
jmp 0x1001ed64
cmp dword [edi + 0x19c], 8
lea esi, [edi + 0x188]
mov eax, esi
jb 0x1001eb57
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov word [eax], cx
mov edx, edi
cmp dword [edi + 0x14], 8
jb 0x1001eb6d
mov edx, dword [edi]
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001eb72
sub ecx, ebx
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.100182f0
lea ecx, [ebp - 0x210]
mov edx, eax
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001eb95
sub ecx, ebx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.100182f0
push 4
push str..tmp
mov ecx, eax
call fcn.100182f0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1001ebcb
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001ebe7
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1001ebe0
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x248], 0
mov byte [ebp - 4], 5
mov al, byte [ebp - 0x229]
mov byte [ebp - 0x264], al
lea eax, [ebp - 0x26c]
mov dword [ebp - method.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8SoftInstallerTask__AEXUResourceInfo___ZPAV3_ABU___Ph__00_2__std__XUResourceInfo___std__.virtual_0], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8SoftInstallerTask__AEXUResourceInfo___ZPAV3_ABU___Ph__00_2__std__XUResourceInfo___std__.0
mov dword [ebp - 0x268], 0x10020700
mov dword [ebp - 0x260], edi
mov dword [ebp - 0x248], eax
mov byte [ebp - 4], 6
lea ebx, [edi + 0x18]
add edi, 0xdc
cmp dword [edi + 0x14], 0x10
jb 0x1001ec3c
mov edi, dword [edi]
push 0xfde9
lea eax, [ebp - 0x244]
push edi
push eax
call fcn.10031970
add esp, 0xc
mov byte [ebp - 4], 7
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x26c]
push eax
push esi
push dword [ebp - 0x270]
push 0
call fcn.10024240
mov bl, al
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x230]
cmp edx, 8
jb 0x1001ecb9
mov ecx, dword [ebp - 0x244]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001ecaf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001ee8f
push edx
push ecx
call fcn.10065f62
add esp, 8
xor eax, eax
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 7
mov word [ebp - 0x244], ax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x248]
test ecx, ecx
je 0x1001ed00
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x26c]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x248], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x214]
cmp edx, 0x10
jb 0x1001ed41
mov ecx, dword [ebp - 0x228]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001ed37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001ee94
push edx
push ecx
call fcn.10065f62
add esp, 8
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x228], 0
test bl, bl
jne 0x1001ee6f
call fcn.100429f0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x1001ee6f
push 0x60
mov dword [ebp - 0x24c], eax
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x248], eax
push 0x100c8638
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x248], 0xf
mov byte [ebp - 0x25c], al
call fcn.1000c4b0
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x244]
push 3
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
push 0x100c869c
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0xf
mov byte [ebp - 0x244], 0
call fcn.1000c4b0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x25c]
push 0x87
push eax
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x308]
call fcn.100041a0
mov esi, eax
mov byte [ebp - 4], 0xb
push str.async_download_fail.
push esi
call fcn.10005ff0
add esp, 8
call fcn.100429f0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x308]
call fcn.100062e0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x244]
call fcn.10005180
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x25c]
call fcn.10005180
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100662e1
mov esp, ebp
pop ebp
ret 8
call fcn.1008c70a
call fcn.1008c70a
int3