Function at 0x65d390
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6de9d4
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x75aa5c]
xor eax, ebp
mov dword [ebp - 0x20], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x9c], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
je 0x65d3e8
jmp 0x65d5a3
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [ebp - 0x9c]
add ecx, 0xb8
call fcn.00661190
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x9c]
add ecx, 0xb8
call fcn.00661160
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.00663b50
add esp, 0x18
lea ecx, [ebp - 0x78]
push ecx
mov ecx, dword [ebp - 0x9c]
add ecx, 0xb8
call fcn.00661190
push eax
lea ecx, [ebp - 0x1c]
call fcn.006615b0
movzx edx, al
test edx, edx
jne 0x65d48f
lea ecx, [ebp - 0x1c]
call fcn.00661570
cmp dword [eax + 0x68], 5
jne 0x65d48f
lea ecx, [ebp - 0x1c]
call fcn.00661570
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 0xa0]
cmp edx, dword [ecx + 0xa0]
jne 0x65d48f
lea ecx, [ebp - 0x1c]
call fcn.00661570
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 4]
je 0x65d494
jmp 0x65d6c4
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x68], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.004054a0
test eax, eax
je 0x65d520
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.0066b530
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00405360
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x168
call fcn.00405490
push eax
mov ecx, dword [ebp - 0x9c]
call fcn.0066ace0
test eax, eax
jne 0x65d511
lea ecx, [ebp - 0x1c]
call fcn.00661570
mov dword [eax + 0x68], 6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00405300
jmp 0x65d6c4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00405300
mov eax, dword [ebp - 0x10]
add eax, 0x168
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0066b530
add esp, 8
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00405360
push eax
push 2
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax + 0x50]
call fcn.006b1580
test eax, eax
je 0x65d580
lea ecx, [ebp - 0x1c]
call fcn.00661570
mov dword [eax + 0x68], 6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00405300
jmp 0x65d6c4
lea ecx, [ebp - 0x1c]
call fcn.00661570
mov dword [eax + 0x68], 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00405300
jmp 0x65d6c4
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x80]
push edx
mov ecx, dword [ebp - 0x9c]
add ecx, 0xb8
call fcn.00661190
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x9c]
add ecx, 0xb8
call fcn.00661160
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x60]
push eax
call fcn.00663b50
add esp, 0x18
lea ecx, [ebp - 0x90]
push ecx
mov ecx, dword [ebp - 0x9c]
add ecx, 0xb8
call fcn.00661190
push eax
lea ecx, [ebp - 0x60]
call fcn.006615b0
movzx edx, al
test edx, edx
jne 0x65d650
lea ecx, [ebp - 0x60]
call fcn.00661570
cmp dword [eax + 0x68], 5
jne 0x65d650
lea ecx, [ebp - 0x60]
call fcn.00661570
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 0xa0]
cmp edx, dword [ecx + 0xa0]
jne 0x65d650
lea ecx, [ebp - 0x60]
call fcn.00661570
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 4]
je 0x65d652
jmp 0x65d6c4
lea ecx, [ebp - 0x60]
call fcn.00661590
mov esi, eax
lea ecx, [ebp - 0x60]
call fcn.00661590
add eax, 0x78
mov ecx, eax
call fcn.0064f940
sub eax, 1
cmp dword [esi + 0x98], eax
jb 0x65d68a
lea ecx, [ebp - 0x60]
call fcn.00661590
mov dword [eax + 0x68], 6
jmp 0x65d6c4
lea ecx, [ebp - 0x60]
call fcn.00661590
add eax, 0x98
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 0xa4]
mov dword [edx], ecx
lea ecx, [ebp - 0x60]
call fcn.00661570
push eax
mov ecx, dword [ebp - 0x9c]
call fcn.00660630
cmp dword [ebp - 0x10], 0
je 0x65d71c
mov ecx, dword [ebp - 0x10]
add ecx, 0x168
call fcn.00405490
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x94], ecx
cmp dword [ebp - 0x94], 0
je 0x65d712
push 1
mov ecx, dword [ebp - 0x94]
call fcn.00660c60
mov dword [ebp - 0xa8], eax
jmp 0x65d71c
mov dword [ebp - 0xa8], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.005a6f18
mov esp, ebp
pop ebp
ret 0xc