Function at 0x65f49c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x65f4a4
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x65f7c1
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x6dc], 0
je 0x65f4ee
mov byte [ebx + 0x66d], 1
mov edx, 0x2710
mov eax, dword [ebx + 0x534]
call fcn.0057ecb4
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00659860
jmp 0x65f7a6
mov byte [ebx + 0x66d], 0
mov edx, 0x2710
mov eax, dword [ebx + 0x534]
call fcn.0057ecb4
mov edx, dword [ebx + 0x5a0]
mov eax, dword [ebx + 0x378]
call fcn.005c8308
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x65f7dc
mov edx, 0x65f818
mov eax, ebx
call fcn.006532c0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x5b0]
call fcn.005b121c
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x65f848
mov edx, 0x65f8f0
mov eax, ebx
call fcn.006532c0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x5b0]
add eax, 0x80
call fcn.00406edc
cmp byte [0x6b8c98], 0
jne 0x65f57b
mov edx, dword [ebx + 0x5b0]
mov eax, dword [ebx + 0x40c]
call fcn.00507c84
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x65f914
mov edx, 0x65f974
mov eax, ebx
call fcn.006532c0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x5ac]
call fcn.004f8a84
push 0x65f9a4
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x65f9c4
mov edx, 0x65f9fc
mov eax, ebx
call fcn.00653318
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x5b8]
call fcn.004f8a84
push 0x65fa34
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x65fa50
mov edx, 0x65f9fc
mov eax, ebx
call fcn.00653318
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x5bc]
call fcn.004f8a84
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x65f7dc
mov edx, 0x65f818
mov eax, ebx
call fcn.006532c0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x5b0]
mov eax, dword [eax + 0x1a0]
call fcn.004a3de0
mov esi, eax
cmp esi, 0xdc
jle 0x65f648
lea edi, [esi + 0x1e]
mov edx, edi
mov eax, dword [ebx + 0x5b0]
sub edx, dword [eax + 0x48]
push edx
mov edx, dword [eax + 0x40]
pop ecx
sub edx, ecx
call fcn.004f8074
mov edx, edi
mov eax, dword [ebx + 0x5b0]
call fcn.004f80dc
cmp dword [ebx + 0x62c], 0
jne 0x65f663
mov dl, 1
mov eax, dword [0x63aa24]
call fcn.0063ae5c
mov dword [ebx + 0x62c], eax
mov eax, dword [ebx + 0x62c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x660010
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x18], 0x660888
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x66153c
mov dword [eax + 0x30], 2
mov dl, 1
call fcn.0063c1c4
push dword [ebx + 0x614]
push 0x65fa84
push 0x65faac
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00407380
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
mov eax, ebx
call fcn.0064c3d0
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 0x644]
call fcn.00406edc
lea eax, [ebp - 0x2c]
mov ecx, 0x65fac4
mov edx, dword [ebx + 0x614]
call fcn.004072b0
mov edx, dword [ebp - 0x2c]
mov eax, ebx
call fcn.00653168
mov dword [ebx + 0x660], eax
mov ecx, 0x65fac4
lea eax, [ebp - 0x30]
mov edx, dword [ebx + 0x614]
call fcn.004072b0
mov eax, dword [ebp - 0x30]
call fcn.00406f68
push eax
call sub.KERNEL32.DLL_DeleteFileW
mov eax, dword [ebx + 0x614]
call fcn.004717dc
test al, al
jne 0x65f72b
mov eax, dword [ebx + 0x614]
call fcn.00471800
lea eax, [ebp - 0x34]
mov ecx, 0x65fae8
mov edx, dword [ebx + 0x614]
call fcn.004072b0
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 4]
mov eax, ebx
call fcn.00652e7c
mov eax, dword [ebp - 4]
test eax, eax
je 0x65f757
sub eax, 4
mov eax, dword [eax]
dec eax
jle 0x65f780
mov ecx, 0x65fac4
lea eax, [ebp - 0x38]
mov edx, dword [ebx + 0x614]
call fcn.004072b0
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0x62c]
call fcn.0063c1d4
jmp 0x65f7a6
mov ecx, 0x65fac4
lea eax, [ebp - 0x3c]
mov edx, dword [ebx + 0x614]
call fcn.004072b0
mov edx, dword [ebp - 0x3c]
mov ecx, 0x65fb08
mov eax, dword [ebx + 0x62c]
call fcn.0063c1d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65f7c8
lea eax, [ebp - 0x3c]
mov edx, 0xf
call fcn.00406ed4
ret