Function at 0x530aa0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5a87
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x63b404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0x10]
xor ebx, ebx
xor al, al
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0xe], al
cmp dword [esi + 4], ebx
jbe 0x531002
push 8
call fcn.0056f5ce
mov edx, eax
add esp, 4
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], 0
xor ecx, ecx
cmp ebx, dword [esi + 4]
jae 0x530b06
mov eax, dword [esi]
test eax, eax
je 0x530b06
mov ecx, dword [eax + ebx*4]
push ecx
mov ecx, edx
call fcn.005456c0
mov dword [ebp - 4], 0xffffffff
mov ebx, 5
push 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 0
call fcn.0056f8a6
push 0xffffffffffffffff
push str.unzip
mov esi, eax
lea eax, [ebp - 0x1c]
push 6
push esi
push eax
call fcn.00585d85
xor ecx, ecx
add esp, 0x18
test eax, eax
cmovne ebx, ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ebx
xor bl, bl
mov eax, dword [ecx]
test eax, eax
je 0x530b7b
cmp dword [ecx + 4], 0
jbe 0x530b7b
test esi, esi
je 0x530c66
cmp dword [ebp - 0x1c], 0
jbe 0x530b7b
push esi
push eax
call fcn.005856ed
add esp, 8
test eax, eax
sete bl
test esi, esi
je 0x530b8a
push 2
push esi
call fcn.0056f898
add esp, 8
test bl, bl
je 0x530c66
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.005456c0
mov dword [ebp - 4], 1
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
lea eax, [edi + 0x18]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x48]
call fcn.005394e0
add esp, 0xc
test al, al
je 0x530bf7
lea ecx, [ebp - 0x48]
call fcn.00546d80
mov esi, eax
test esi, esi
je 0x530bf1
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 2
push esi
call fcn.0056f898
add esp, 8
mov byte [ebp - 0xe], 1
jmp 0x530c1a
cmp dword [ebp - 0x3c], 0
jle 0x530c1a
cmp dword [edi + 0x2c], 0
lea esi, [edi + 0x28]
jle 0x530c0f
push 0x2c
mov ecx, esi
call fcn.00546290
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00546600
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x530c33
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x3c], 0
test eax, eax
je 0x530c5a
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
jmp 0x530fc0
push 0xa
mov dword [ebp - 0x1c], 0
mov ebx, 4
call fcn.0056f8a6
push 0xffffffffffffffff
push str.copy
mov esi, eax
lea eax, [ebp - 0x1c]
push 5
push esi
push eax
call fcn.00585d85
xor ecx, ecx
add esp, 0x18
test eax, eax
mov byte [ebp - 0xd], cl
cmovne ebx, ecx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
test eax, eax
je 0x530cc7
cmp dword [ecx + 4], 0
jbe 0x530cc7
test esi, esi
je 0x530fc0
test ebx, ebx
je 0x530cc7
push esi
push eax
call fcn.005856ed
add esp, 8
test eax, eax
sete bl
jmp 0x530cca
mov bl, byte [ebp - 0xd]
test esi, esi
je 0x530cd9
push 2
push esi
call fcn.0056f898
add esp, 8
test bl, bl
je 0x530fc0
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x530f39
mov ecx, eax
call fcn.00546be0
test al, al
je 0x530f39
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.005483c0
mov ebx, eax
test ebx, ebx
je 0x530e68
mov edx, ebx
call fcn.0053a1f0
mov ecx, dword [ebp + 0x14]
mov esi, eax
push 2
call fcn.00546c90
cmp esi, eax
sete byte [ebp - 0xe]
jne 0x530e5b
push dword [ebp + 0xc]
lea ecx, [ebp - 0x58]
call fcn.005456c0
push dword [ebp + 8]
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 3
call fcn.005456c0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.00546d80
lea ecx, [ebp - 0x58]
mov esi, eax
call fcn.00546d80
push eax
push esi
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x530e03
push 0x5e
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x2e
call fcn.0056f8a6
mov ecx, eax
mov eax, dword [ebp - 0x2c]
push 0xffffffffffffffff
push str.Unable_to_move_file___s__to___s__error_code__d
inc eax
mov dword [ebp - 0x30], ecx
push eax
push ecx
lea eax, [ebp - 0x1c]
push eax
call fcn.00585d85
mov ecx, dword [ebp - 0x2c]
xor edx, edx
add esp, 0x18
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x30]
push eax
push 0x1c5
push str.OFileManager::moveFile
push str.d:jenkinsworkspaceclient3.lib.platformlibplatformlib_srcofilemanager.cpp
push 0
call fcn.00550890
mov eax, dword [ebp - 0x30]
add esp, 0x20
test eax, eax
je 0x530dfc
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push esi
call fcn.0056fc1b
push dword [ebp - 0x20]
call fcn.0056fc1b
mov eax, dword [ebp - 0x50]
add esp, 8
test eax, eax
je 0x530e2d
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x4c], 0
test eax, eax
je 0x530e54
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
jmp 0x530fb8
push 0x38
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x34], 0x1b
call fcn.0056f8a6
mov ecx, eax
mov eax, dword [ebp - 0x34]
push 0xffffffffffffffff
push str.Copy_OutputStream_Failed__s
inc eax
mov dword [ebp - 0x38], ecx
push eax
push ecx
lea eax, [ebp - 0x20]
push eax
call fcn.00585d85
mov ecx, dword [ebp - 0x34]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x34], ecx
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 6
push esi
push eax
call fcn.00545b40
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
add esp, 0x20
test eax, eax
je 0x530ee2
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [ebp - 0x38], 0
cmp dword [edi + 0x2c], 0
lea ebx, [edi + 0x28]
mov dword [ebp - 0x34], 0
jle 0x530efb
push 0x2c
mov ecx, ebx
call fcn.00546290
push esi
mov ecx, ebx
call fcn.00546600
test esi, esi
je 0x530fb8
mov eax, dword [esi]
test eax, eax
je 0x530f22
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [esi], 0
push 8
push esi
mov dword [esi + 4], 0
call fcn.0056f898
add esp, 8
jmp 0x530fb8
push 0x32
mov dword [ebp - 0x24], 0
mov esi, 0x18
call fcn.0056f8a6
push 0xffffffffffffffff
push str.Copy_failed_due_to_noCRC
mov ebx, eax
lea eax, [ebp - 0x24]
push 0x19
push ebx
push eax
mov dword [ebp - 0x60], ebx
call fcn.00585d85
xor ecx, ecx
add esp, 0x18
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 4], 7
lea esi, [edi + 0x28]
cmp dword [edi + 0x2c], ecx
jle 0x530f89
push 0x2c
mov ecx, esi
call fcn.00546290
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
call fcn.00546600
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x530fb1
push 2
push ebx
call fcn.0056f898
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
add dword [edi + 0x18], 1
adc dword [edi + 0x1c], 0
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x530fda
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [ebx], 0
push 8
push ebx
mov dword [ebx + 4], 0
call fcn.0056f898
mov ebx, dword [ebp - 0x18]
add esp, 8
mov esi, dword [ebp + 0x10]
inc ebx
mov dword [ebp - 0x18], ebx
cmp ebx, dword [esi + 4]
jb 0x530ae0
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10