Function at 0x42e05c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 8
push 0
push 0
dec ecx
jne 0x42e065
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x42e33e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 0xc]
call fcn.0042de98
test al, al
je 0x42e316
xor eax, eax
push ebp
push 0x42e30c
push dword fs:[eax]
mov dword fs:[eax], esp
test bl, bl
je 0x42e14c
mov eax, dword [0x461274]
cmp dword [eax], 2
jne 0x42e0e0
push 0xb
mov eax, dword [ebp - 0x10]
call fcn.00405344
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405344
push eax
call fcn.00427270
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
jmp 0x42e14c
mov eax, dword [ebp - 0x10]
call fcn.00405344
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 0x10]
call fcn.00409954
test al, al
jne 0x42e14c
push 0
mov eax, dword [ebp - 0x10]
call fcn.00405344
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405344
mov ebx, eax
push ebx
call fcn.0042721c
test eax, eax
je 0x42e14c
mov edx, ebx
lea eax, [ebp - 0x1c]
call fcn.004050d0
mov eax, dword [ebp - 0x1c]
call fcn.00405344
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x42e14c
mov byte [ebp - 0x11], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42e316
mov eax, dword [0x461274]
cmp dword [eax], 2
jne 0x42e174
push 5
mov eax, dword [ebp - 0x10]
call fcn.00405344
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405344
push eax
call fcn.00427270
jmp 0x42e302
mov dl, 1
mov eax, dword [0x41630c]
call fcn.0040406c
mov dword [ebp - 0x18], eax
lea eax, [ebp - 4]
call fcn.0042a920
xor eax, eax
push ebp
push 0x42e1ea
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0040e42c
lea eax, [ebp - 0x20]
mov edx, 0x42e358
call fcn.00405180
mov eax, dword [ebp - 0x20]
call fcn.0042de98
test al, al
je 0x42e1e0
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0040e42c
lea eax, [ebp - 0x24]
mov edx, 0x42e358
call fcn.00405180
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42e1fc
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00408ba8
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0x42e36c
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x42e23a
mov edx, 0x42e36c
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x10]
call fcn.0042de98
test al, al
jne 0x42e298
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.00409d48
mov eax, dword [ebp - 8]
call fcn.0040999c
test al, al
jne 0x42e265
mov eax, dword [ebp - 8]
call fcn.004099c0
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x10]
call fcn.00409e88
mov eax, dword [ebp - 0x30]
push eax
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 8]
call fcn.00409f44
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.0040e42c
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 8]
pop ecx
call fcn.004051cc
jmp 0x42e2a3
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.00409f44
cmp dword [ebp - 8], 0
je 0x42e2d7
push dword [ebp - 8]
push 0x42e380
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0xc]
call fcn.00409f44
push dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00405248
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.0040e42c
lea eax, [ebp - 0x44]
mov edx, 0x42e358
call fcn.00405180
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 0x18]
call fcn.0040409c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42e316
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e345
lea eax, [ebp - 0x44]
mov edx, 0xb
call fcn.00404efc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404efc
ret