Function at 0x5ed438
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004069f0
mov eax, dword [ebp - 8]
call fcn.004069f0
mov eax, dword [ebp + 0x10]
call fcn.004069f0
xor eax, eax
push ebp
push 0x5ed6ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x15], 0
cmp dword [ebp - 4], 0
je 0x5ed48c
cmp dword [ebp - 8], 0
jne 0x5ed49d
xor edx, edx
mov eax, 0x5ed70c
call fcn.0051eae8
jmp 0x5ed6bd
lea eax, [ebp - 0xc]
mov ecx, 0x5ed75c
mov edx, dword [ebp - 8]
call fcn.00406edc
lea eax, [ebp - 0x10]
mov ecx, 0x5ed774
mov edx, dword [ebp - 8]
call fcn.00406edc
xor eax, eax
push ebp
push 0x5ed6b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.004713d4
test al, al
je 0x5ed5aa
cmp dword [ebp + 0x10], 0
jne 0x5ed4f4
mov eax, dword [ebp - 8]
call fcn.00406a94
push eax
call sub.kernel32.dll_DeleteFileW
jmp 0x5ed5aa
lea ecx, [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00520a54
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp + 0x10]
call fcn.00470308
test al, al
je 0x5ed51e
mov byte [ebp - 0x15], 1
call fcn.00405308
jmp 0x5ed6bd
mov eax, dword [ebp - 0xc]
call fcn.004713d4
test al, al
je 0x5ed59c
mov dl, 1
mov eax, dword [0x48743c]
call fcn.0048d374
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x5ed595
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x68]
lea ecx, [ebp - 0x24]
mov edx, 0x5ed78c
mov eax, dword [ebp - 0x1c]
call fcn.0048bb54
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 0x10]
call fcn.00470308
test al, al
jne 0x5ed57f
mov eax, dword [ebp - 8]
call fcn.00406a94
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ed5aa
mov eax, dword [ebp - 0x1c]
call fcn.0040437c
ret
mov eax, dword [ebp - 8]
call fcn.00406a94
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [ebp - 8]
call fcn.004713d4
test al, al
jne 0x5ed5ea
mov eax, dword [ebp - 0xc]
call fcn.004713d4
test al, al
je 0x5ed5d0
mov eax, dword [ebp - 0xc]
call fcn.00406a94
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [ebp - 0x10]
call fcn.004713d4
test al, al
je 0x5ed5ea
mov eax, dword [ebp - 0x10]
call fcn.00406a94
push eax
call sub.kernel32.dll_DeleteFileW
mov dl, 1
mov eax, dword [0x48743c]
call fcn.0048d374
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x5ed638
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp + 0x10]
mov edx, 0x5ed78c
mov eax, dword [ebp - 0x1c]
call fcn.0048c4ac
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x7c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ed63f
mov eax, dword [ebp - 0x1c]
call fcn.0040437c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ed6f4
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00406a00
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00406a00
lea eax, [ebp + 0x10]
call fcn.004069f8
ret