Function at 0x1804126e
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
and dword [ebp - 0xc], 0
push ebx
push esi
push edi
mov esi, 0x180f7138
mov edi, eax
call fcn.180572c7
movzx ecx, byte [0x180fb8f9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbba0
push 3
pop ebx
je 0x180412e3
push ebx
push 4
pop esi
push esi
mov dword [ebp - 0x1c], ecx
call fcn.18001d8a
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], esi
call fcn.18035988
mov ecx, dword [ebp + 0x10]
push dword [ecx]
mov ecx, dword [ebp + 0xc]
push dword [ecx]
push dword [eax]
lea eax, [ebp - 0x1c]
push str._PackageCache::Put__key__s__source_file__s__hash__s_
push eax
call fcn.18001000
mov eax, dword [ebp - 0xc]
add esp, 0x14
add eax, 0xfffffff0
call fcn.18004250
mov ecx, dword [ebp + 8]
add ecx, 0x14
mov eax, dword [ecx]
mov dword [ebp - 0x10], ecx
call dword [eax + 4]
mov eax, dword [edi]
sub eax, 0x10
mov dword [ebp - 0xc], 1
call fcn.18003d67
mov esi, eax
add esi, 0x10
cmp dword [esi - 0xc], 0
je 0x18041347
mov eax, dword [edi + 4]
sub eax, 0x10
mov dword [ebp - 0xc], ebx
call fcn.18003d67
mov ebx, eax
add ebx, 0x10
cmp dword [ebx - 0xc], 0
je 0x1804134a
mov eax, dword [edi + 8]
sub eax, 0x10
mov dword [ebp - 0xc], 7
call fcn.18003d67
add eax, 0x10
cmp dword [eax - 0xc], 0
je 0x1804134d
mov byte [ebp - 5], 0
jmp 0x18041351
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov byte [ebp - 5], 1
test byte [ebp - 0xc], 4
je 0x18041363
and dword [ebp - 0xc], 0xfffffffb
add eax, 0xfffffff0
call fcn.18004250
test byte [ebp - 0xc], 2
je 0x18041375
and dword [ebp - 0xc], 0xfffffffd
lea eax, [ebx - 0x10]
call fcn.18004250
test byte [ebp - 0xc], 1
je 0x18041383
lea eax, [esi - 0x10]
call fcn.18004250
cmp byte [ebp - 5], 0
je 0x1804139f
mov esi, 0x80070057
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0xc
mov eax, dword [0x180fa268]
mov ecx, 0x180fa268
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
mov eax, edi
call fcn.18041d4c
movzx ecx, byte [0x180fb8f9]
neg ecx
sbb ecx, ecx
mov esi, 0x180fbba0
and ecx, esi
mov dword [ebp + 8], eax
je 0x18041406
push 3
pop edi
push edi
push 4
pop ebx
push ebx
mov dword [ebp - 0x2c], ecx
call fcn.18001d8a
push dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push str._destination_file__s_
push eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ebx
call fcn.18001000
add esp, 0xc
jmp 0x18041409
push 4
pop ebx
cmp dword [ebp + 8], 0
jge 0x18041422
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.18004250
mov esi, dword [ebp + 8]
jmp 0x1804138e
lea eax, [ebp - 0xc]
lea edi, [ebp + 8]
call fcn.1800bcb5
push dword [eax]
call fcn.18004c24
mov edi, eax
mov eax, dword [ebp + 8]
pop ecx
add eax, 0xfffffff0
call fcn.18004250
test edi, edi
jge 0x18041492
movzx ecx, byte [0x180fb8f9]
neg ecx
sbb ecx, ecx
and ecx, esi
je 0x18041480
push 0xfffffffffffffffe
pop esi
push esi
push ebx
mov dword [ebp - 0x2c], ecx
call fcn.18001d8a
push dword [ebp - 0xc]
push edi
push str._failed_to_create_cache_directory__0x_08x___s_
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], esi
call fcn.18001000
add esp, 0x10
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.18004250
mov esi, edi
jmp 0x1804138e
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push 1
push dword [ebp - 0xc]
push eax
call fcn.1800cbab
mov edi, eax
add esp, 0xc
test edi, edi
jge 0x180414d2
movzx ecx, byte [0x180fb8f9]
neg ecx
sbb ecx, ecx
and ecx, esi
je 0x18041480
push 0xfffffffffffffffe
pop esi
push esi
push ebx
mov dword [ebp - 0x2c], ecx
call fcn.18001d8a
push dword [ebp - 0xc]
push edi
push str._failed_to_copy_file_to_cache__0x_08x___s_
jmp 0x1804146b
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.18041e7e
pop ecx
pop ecx
mov dword [ebp + 8], eax
test eax, eax
jge 0x18041535
movzx ecx, byte [0x180fb8f9]
neg ecx
sbb ecx, ecx
and ecx, esi
je 0x18041523
push 0xfffffffffffffffe
pop esi
push esi
push ebx
mov dword [ebp - 0x2c], ecx
call fcn.18001d8a
push dword [edi]
mov dword [ebp - 0x28], eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x2c]
push str._failed_to_authenticate___package_cache__s___s_
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ebx
call fcn.18001000
add esp, 0x10
mov esi, dword [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi - 0x10]
jmp 0x18041415
mov esi, 0x180f7158
call fcn.180572c7
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.18004250
xor esi, esi
jmp 0x1804138e