Function at 0x532fe6
Capabilities:
Delete file

Disassembly:
mov eax, 0x5af0a8
call fcn.00591b5c
sub esp, 0xe4
mov dword [ebp - 0xf0], ecx
mov eax, dword [ebp - 0xf0]
movzx eax, byte [eax + 0x30]
test eax, eax
je 0x53305e
mov eax, dword [ebp - 0xf0]
movzx eax, byte [eax + 0x31]
test eax, eax
je 0x53305e
mov eax, dword [ebp + 8]
and dword [eax], 0
mov eax, dword [ebp + 0xc]
and dword [eax], 0
and dword [eax + 4], 0
mov eax, dword [ebp + 0x10]
and dword [eax], 0
and dword [eax + 4], 0
mov eax, dword [ebp - 0xf0]
and byte [eax + 0x30], 0
mov eax, dword [ebp - 0xf0]
and byte [eax + 0x5b], 0
mov ecx, dword [ebp - 0xf0]
add ecx, 0x80
call fcn.004d1618
mov al, 1
jmp 0x533402
mov eax, dword [ebp - 0xf0]
movzx eax, byte [eax + 0x30]
test eax, eax
jne 0x5330a2
mov ecx, dword [ebp - 0xf0]
add ecx, 0x80
call fcn.004d1628
test eax, eax
jne 0x5330a2
mov eax, dword [ebp + 8]
and dword [eax], 0
mov eax, dword [ebp + 0xc]
and dword [eax], 0
and dword [eax + 4], 0
mov eax, dword [ebp + 0x10]
and dword [eax], 0
and dword [eax + 4], 0
mov al, 1
jmp 0x533402
lea ecx, [ebp - 0x48]
call fcn.004cde9c
and dword [ebp - 4], 0
push dword [ebp + 0x14]
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0xf0]
call fcn.0053206c
mov byte [ebp - 0x4a], al
movzx eax, byte [ebp - 0x4a]
test eax, eax
jne 0x5330f9
push str.Failed_to_get_temp_file_for_compression
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x14]
call dword [eax + 0x10]
and byte [ebp - 0xe9], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004ce1b7
mov al, byte [ebp - 0xe9]
jmp 0x533402
and byte [ebp - 0x49], 0
push dword [ebp + 0x14]
lea eax, [ebp - 0x49]
push eax
lea ecx, [ebp - 0x48]
call fcn.0055420c
push eax
call fcn.0051a047
add esp, 0xc
mov dword [ebp - 0x84], eax
movzx eax, byte [ebp - 0x49]
test eax, eax
jne 0x53316a
push str.Failed_to_open_temp_file__2_
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x14]
call dword [eax + 0x10]
lea ecx, [ebp - 0x48]
call fcn.0055420c
push eax
push str.tempFilename
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x14]
call dword [eax + 0x28]
and byte [ebp - 0xea], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004ce1b7
mov al, byte [ebp - 0xea]
jmp 0x533402
push 0
push 0
push 0
push dword [ebp - 0x84]
lea ecx, [ebp - 0x2c]
call fcn.0051a0d8
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x80]
call fcn.00548cbf
mov byte [ebp - 4], 2
push dword [ebp - 0xf0]
lea ecx, [ebp - 0x80]
call fcn.00529e5d
mov eax, dword [ebp - 0xf0]
cmp dword [eax + 0xc4], 0
je 0x5331c1
mov eax, dword [ebp - 0xf0]
push dword [eax + 0xc4]
lea ecx, [ebp - 0x80]
call fcn.00548cab
mov eax, dword [ebp - 0xf0]
movzx eax, byte [eax + 0x30]
test eax, eax
je 0x5332ce
lea ecx, [ebp - 0xe4]
call fcn.004d00b6
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xf0]
add ecx, 0x5c
call fcn.0055420c
push eax
lea ecx, [ebp - 0xe4]
call fcn.004d0448
push dword [ebp + 0x14]
lea eax, [ebp - 0xe4]
push eax
call fcn.004d5a6a
pop ecx
pop ecx
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0xffffffff
jne 0x533284
push str.Failed_to_open_file_for_reading__6_
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x14]
call dword [eax + 0x10]
push dword [ebp + 0x14]
lea ecx, [ebp - 0x48]
call fcn.0055420c
push eax
call fcn.004d7262
pop ecx
pop ecx
and byte [ebp - 0xeb], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe4]
call fcn.004d018e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.00548d0e
and byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0051a17c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004ce1b7
mov al, byte [ebp - 0xeb]
jmp 0x533402
mov eax, dword [ebp - 0xf0]
push dword [eax + 0xa8]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0xe8]
lea ecx, [ebp - 0x80]
call fcn.00548d28
mov byte [ebp - 0x49], al
push 0
push dword [ebp - 0xe8]
call fcn.004e81eb
pop ecx
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe4]
call fcn.004d018e
jmp 0x533316
mov eax, dword [ebp - 0xf0]
push dword [eax + 0xa8]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0xf0]
add ecx, 0x80
call fcn.004d1628
push eax
mov ecx, dword [ebp - 0xf0]
add ecx, 0x80
call fcn.0055420c
push eax
lea ecx, [ebp - 0x80]
call fcn.00548f90
mov byte [ebp - 0x49], al
push dword [ebp + 0x14]
push dword [ebp - 0x84]
call fcn.004e81eb
pop ecx
pop ecx
or dword [ebp - 0x84], 0xffffffff
mov eax, dword [ebp - 0xf0]
movzx eax, byte [eax + 0x5b]
test eax, eax
je 0x533362
mov ecx, dword [ebp - 0xf0]
add ecx, 0x5c
call fcn.004ccbf8
test eax, eax
je 0x533362
mov ecx, dword [ebp - 0xf0]
add ecx, 0x5c
call fcn.0055420c
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0xf0]
mov byte [eax + 0x5b], 1
lea ecx, [ebp - 0x48]
call fcn.0055420c
push eax
mov ecx, dword [ebp - 0xf0]
add ecx, 0x5c
call fcn.004cf872
mov eax, dword [ebp - 0xf0]
movzx eax, byte [eax + 0x98]
test eax, eax
jne 0x5333b4
mov ecx, dword [ebp - 0xf0]
add ecx, 0x80
call fcn.004d1730
mov eax, dword [ebp - 0xf0]
mov byte [eax + 0x98], 1
jmp 0x5333c5
mov ecx, dword [ebp - 0xf0]
add ecx, 0x80
call fcn.004d1618
mov eax, dword [ebp - 0xf0]
mov byte [eax + 0x30], 1
mov al, byte [ebp - 0x49]
mov byte [ebp - 0xec], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.00548d0e
and byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0051a17c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004ce1b7
mov al, byte [ebp - 0xec]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0x10