Function at 0x53b6a8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x53b963
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x53b6eb
cmp eax, 0
je 0x53b933
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x53b97c
call fcn.0040c174
mov ecx, dword [ebp - 0x28]
mov edx, dword [0x5a3718]
mov edx, dword [edx]
lea eax, [ebp - 0xc]
call fcn.0040572c
mov eax, dword [ebp - 0xc]
call fcn.0040ae9c
test al, al
je 0x53b73a
mov eax, dword [ebp - 0xc]
call fcn.004058a4
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 0xc]
call fcn.0040ae9c
test al, al
je 0x53b74b
inc dword [ebp - 8]
jmp 0x53b6f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0xc]
call fcn.004ed9f8
xor ecx, ecx
mov dl, 1
mov eax, dword [0x508780]
call fcn.00508ea0
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x53b92c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x53b8fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov dword [eax + 0xc8], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 0xcc], edx
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x3a], 1
mov eax, dword [ebp - 0x14]
add eax, 0x44
call fcn.00405404
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x40], 1
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x39], 1
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x50], 1
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x5c], 1
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x1c9], 0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [0x5a3718]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
call fcn.00502384
mov eax, dword [ebp - 0x14]
call fcn.005035c0
mov byte [ebp - 0x1d], 0
mov eax, dword [ebp - 0x14]
call fcn.005046a8
dec eax
test eax, eax
jl 0x53b8e6
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], 0
mov eax, dword [0x5a3718]
push dword [eax]
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.0050286c
push dword [ebp - 0x34]
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.005027b4
push dword [ebp - 0x38]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004057a8
mov eax, dword [ebp - 0x10]
call fcn.0040ae9c
test al, al
jne 0x53b861
mov byte [ebp - 0x1d], 1
jmp 0x53b8e6
mov dl, 1
mov eax, dword [0x41abf8]
call fcn.00404474
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x53b8d3
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
call fcn.00420340
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 4]
xor eax, eax
call fcn.004dae2c
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.00502924
cmp eax, dword [ebp - 0x1c]
je 0x53b8bd
mov byte [ebp - 0x1d], 1
call fcn.00404e04
jmp 0x53b8e6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b8da
mov eax, dword [ebp - 0x18]
call fcn.004044a4
ret
cmp byte [ebp - 0x1d], 0
je 0x53b8f4
mov eax, dword [ebp - 0x14]
call fcn.00502f4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53b908
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b933
mov eax, dword [ebp - 0xc]
call fcn.004058a4
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 0x14]
call fcn.004044a4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b96a
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00405428
lea eax, [ebp - 0x28]
call fcn.00405404
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00405428
ret