Function at 0x533420
Capabilities:
Delete file

Disassembly:
mov eax, 0x5af0c2
call fcn.00591b5c
sub esp, 0x40
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax + 0x30]
test eax, eax
je 0x533593
lea ecx, [ebp - 0x28]
call fcn.004cde9c
and dword [ebp - 4], 0
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.0053206c
mov byte [ebp - 0x2a], al
movzx eax, byte [ebp - 0x2a]
test eax, eax
jne 0x53348d
push str.Failed_to_get_temp_file_for_AES_encryption
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
call dword [eax + 0x10]
and byte [ebp - 0x46], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004ce1b7
mov al, byte [ebp - 0x46]
jmp 0x533683
push dword [ebp + 8]
push 0
lea ecx, [ebp - 0x28]
call fcn.0055420c
push eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0x5c
call fcn.0055420c
push eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0xc
call fcn.0055420c
push eax
mov eax, dword [ebp - 0x4c]
push dword [eax + 8]
mov eax, dword [ebp - 0x4c]
push dword [eax + 4]
call fcn.0052b4d4
add esp, 0x1c
mov byte [ebp - 0x29], al
movzx eax, byte [ebp - 0x29]
test eax, eax
jne 0x53350d
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.0055420c
push eax
call fcn.004d712d
pop ecx
pop ecx
push str.Failed_to_AES_encrypt_source_file_data
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
call dword [eax + 0x10]
and byte [ebp - 0x47], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004ce1b7
mov al, byte [ebp - 0x47]
jmp 0x533683
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax + 0x5b]
test eax, eax
je 0x53352a
mov ecx, dword [ebp - 0x4c]
add ecx, 0x5c
call fcn.0055420c
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x4c]
mov byte [eax + 0x5b], 1
lea ecx, [ebp - 0x28]
call fcn.0055420c
push eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0x5c
call fcn.004cf872
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax + 0x98]
test eax, eax
jne 0x53356d
mov ecx, dword [ebp - 0x4c]
add ecx, 0x80
call fcn.004d1730
mov eax, dword [ebp - 0x4c]
mov byte [eax + 0x98], 1
jmp 0x53357b
mov ecx, dword [ebp - 0x4c]
add ecx, 0x80
call fcn.004d1618
mov eax, dword [ebp - 0x4c]
mov byte [eax + 0x30], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004ce1b7
jmp 0x533681
lea ecx, [ebp - 0x44]
call fcn.004d17b0
mov dword [ebp - 4], 1
push dword [ebp + 8]
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0x80
call fcn.004d1628
push eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0x80
call fcn.0055420c
push eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0xc
call fcn.0055420c
push eax
mov eax, dword [ebp - 0x4c]
push dword [eax + 8]
mov eax, dword [ebp - 0x4c]
push dword [eax + 4]
call fcn.0052b518
add esp, 0x1c
mov byte [ebp - 0x45], al
movzx eax, byte [ebp - 0x45]
test eax, eax
jne 0x533617
push str.Failed_to_AES_encrypt_source_data
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
call dword [eax + 0x10]
and byte [ebp - 0x48], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.004d283f
mov al, byte [ebp - 0x48]
jmp 0x533683
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax + 0x98]
test eax, eax
jne 0x533635
mov ecx, dword [ebp - 0x4c]
add ecx, 0x80
call fcn.004d1730
jmp 0x533643
mov ecx, dword [ebp - 0x4c]
add ecx, 0x80
call fcn.004d1618
lea ecx, [ebp - 0x44]
call fcn.004d1628
push eax
lea ecx, [ebp - 0x44]
call fcn.0055420c
push eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0x80
call fcn.004d2a64
lea ecx, [ebp - 0x44]
call fcn.004d1730
mov eax, dword [ebp - 0x4c]
mov byte [eax + 0x98], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.004d283f
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4