Function at 0x6cf404
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x6cf40c
push ecx
push ebx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6cf6ba
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x1c]
mov eax, dword [0x718830]
mov eax, dword [eax]
mov edx, 0x54917bfa
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0xc]
call fcn.0042ba4c
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.004240b8
test al, al
je 0x6cf633
mov dl, 1
mov eax, dword [0x4456c4]
call fcn.00454060
mov dword [ebp - 8], eax
lea edx, [ebp - 0x20]
mov eax, dword [0x718280]
call fcn.0040b610
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.006cbc7c
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x6cf629
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x6cf629
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.004732c4
mov eax, dword [ebp - 0x24]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x717d78]
call fcn.0040b610
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x10]
pop edx
call fcn.00408320
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00408320
mov eax, dword [ebp - 0x30]
mov dl, 1
call fcn.00424020
test al, al
jne 0x6cf61d
mov eax, dword [0x71790c]
mov eax, dword [eax]
xor edx, edx
call fcn.004b6500
test al, al
jne 0x6cf589
push 0x6cf6d4
push dword [ebp - 0x10]
push 0x6cf73c
lea ecx, [ebp - 0x48]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.00424514
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov edx, 4
call fcn.004083a8
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0x11
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x34]
push eax
mov eax, dword [0x71790c]
mov eax, dword [eax]
xor ecx, ecx
mov dx, 0x36
call fcn.004b64b8
mov eax, dword [ebp - 0x34]
mov ecx, 0x308
mov edx, 0x6cf764
call fcn.004070a4
push 0
call sub.kernel32.dll_SetLastError
lea ecx, [ebp - 0x4c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x4c]
call fcn.004080c4
push eax
call sub.kernel32.dll_DeleteFileW
test eax, eax
jne 0x6cf61d
mov eax, dword [0x71790c]
mov eax, dword [eax]
xor edx, edx
call fcn.004b6500
test al, al
jne 0x6cf61d
call sub.kernel32.dll_GetLastError_2
lea edx, [ebp - 0x58]
call fcn.00429534
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
mov edx, 0x6cf818
call fcn.00408320
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0x11
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x50]
push eax
mov eax, dword [0x71790c]
mov eax, dword [eax]
xor ecx, ecx
mov dx, 0x36
call fcn.004b64b8
mov eax, dword [ebp - 0x50]
mov ecx, 0x311
mov edx, 0x6cf764
call fcn.004070a4
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x6cf4ad
mov eax, dword [ebp - 8]
call fcn.0040554c
jmp 0x6cf685
mov eax, dword [0x71790c]
mov eax, dword [eax]
xor edx, edx
call fcn.004b6500
test al, al
jne 0x6cf685
mov eax, 0x6cf884
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0x11
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [0x71790c]
mov eax, dword [eax]
xor ecx, ecx
mov dx, 0x36
call fcn.004b64b8
mov eax, dword [ebp - 0x5c]
mov ecx, 0x31c
mov edx, 0x6cf764
call fcn.004070a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6cf6c1
lea eax, [ebp - 0x5c]
mov edx, 8
call fcn.004072bc
lea eax, [ebp - 0x34]
mov edx, 7
call fcn.004072bc
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004072bc
ret