Function at 0x530c70
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4e10
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x63a404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x20], 1
jne 0x530eeb
cmp dword [esi + 0x24], 0
je 0x530eeb
push 0x647b94
lea ecx, [ebp - 0x18]
call fcn.00544950
push 0x5c
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.005454a0
push esi
lea ecx, [ebp - 0x18]
call fcn.00545810
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + 0x70]
cmp ecx, 5
jne 0x530e38
test eax, eax
je 0x530cf6
push ecx
mov ecx, eax
call fcn.0051bc80
mov dword [esi + 0x24], 0
push 0x58
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0x2b
call fcn.0056ea97
mov ecx, dword [ebp - 0x1c]
add esp, 4
inc ecx
mov dword [ebp - 0x20], eax
push 0xffffffffffffffff
push str.CRC_Checking_Installer_Downloaded_File___s_
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x1c]
xor edx, edx
add esp, 0x14
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x20]
push eax
push 0x136
push str.OInstallerCache::update
push str.d:jenkinsworkspaceclient3.lib.manifestdownloadermanifestdownloaderlib_srcoinstallercache.cpp
push edx
call fcn.0054faa0
mov byte [ebp - 4], 0
add esp, 0x18
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x530d78
push 2
push eax
call fcn.0056ea89
add esp, 8
mov ecx, esi
call fcn.00530a90
lea ecx, [ebp - 0x20]
test al, al
je 0x530dca
push str.CRC_Checking_Installer_Downloaded_File___s__Success
call fcn.005447b0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
push ecx
push eax
push 0x139
push str.OInstallerCache::update
push str.d:jenkinsworkspaceclient3.lib.manifestdownloadermanifestdownloaderlib_srcoinstallercache.cpp
push 0
call fcn.0054faa0
add esp, 0x18
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004ffe40
mov dword [esi + 0x20], 2
jmp 0x530ed4
push str.CRC_Checking_Installer_Downloaded_File___s__Failed_CRC32_check__deleting_and_restarting
call fcn.005447b0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
push ecx
push eax
push 0x13e
push str.OInstallerCache::update
push str.d:jenkinsworkspaceclient3.lib.manifestdownloadermanifestdownloaderlib_srcoinstallercache.cpp
push 0
call fcn.0054faa0
add esp, 0x18
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004ffe40
lea ecx, [ebp - 0x18]
call fcn.00545f90
mov edi, eax
test edi, edi
je 0x530e22
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 2
push edi
call fcn.0056ea89
add esp, 8
lea ecx, [esi + 8]
mov dword [esi + 0x20], 0
xor edx, edx
call fcn.00530f90
jmp 0x530ed4
cmp ecx, 6
jne 0x530ed4
lea ecx, [ebp - 0x20]
test eax, eax
je 0x530e79
push str.OInstallerCache_Download_File___s__Failed_due_to___s_
call fcn.005447b0
mov byte [ebp - 4], 4
mov ecx, dword [esi + 0x24]
add ecx, 0x38
push ecx
push eax
push 0x14a
push str.OInstallerCache::update
push str.d:jenkinsworkspaceclient3.lib.manifestdownloadermanifestdownloaderlib_srcoinstallercache.cpp
push 0
call fcn.0054faa0
add esp, 0x18
jmp 0x530ea1
push str.OInstallerCache_Download_File___s__Failed_due_to__unknown_
call fcn.005447b0
push eax
push 0x14e
push str.OInstallerCache::update
push str.d:jenkinsworkspaceclient3.lib.manifestdownloadermanifestdownloaderlib_srcoinstallercache.cpp
push 0
mov byte [ebp - 4], 5
call fcn.0054faa0
add esp, 0x14
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.004ffe40
lea ecx, [ebp - 0x18]
call fcn.00545f90
mov edi, eax
test edi, edi
je 0x530ecd
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 2
push edi
call fcn.0056ea89
add esp, 8
mov dword [esi + 0x20], 3
call fcn.005305a0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x530eeb
push 2
push eax
call fcn.0056ea89
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret