Function at 0x65a830
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6de60d
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x75aa5c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
je 0x65a881
jmp 0x65aa12
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov ecx, dword [ebp - 0x80]
add ecx, 0xb8
call fcn.0065af30
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x80]
add ecx, 0xb8
call fcn.0065af00
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.0065bf20
add esp, 0x18
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, dword [ebp - 0x80]
add ecx, 0xb8
call fcn.0065af30
push eax
lea ecx, [ebp - 0x3c]
call fcn.0065b150
movzx edx, al
test edx, edx
jne 0x65a909
lea ecx, [ebp - 0x3c]
call fcn.0065b130
cmp dword [eax + 0x80], 1
jne 0x65a909
lea ecx, [ebp - 0x3c]
call fcn.0065b130
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 4]
je 0x65a90e
jmp 0x65aaae
mov eax, dword [ebp - 0x14]
add eax, 0x24
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.0066b530
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00405360
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x64
call fcn.00405490
push eax
mov ecx, dword [ebp - 0x80]
call fcn.0066ace0
test eax, eax
jne 0x65a96f
lea ecx, [ebp - 0x3c]
call fcn.0065b130
mov dword [eax + 0x80], 2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00405300
jmp 0x65aaae
mov edx, dword [ebp - 0x14]
add edx, 8
push edx
mov eax, dword [ebp - 0x14]
add eax, 0x64
push eax
mov ecx, dword [ebp - 0x80]
call fcn.0065ab20
test eax, eax
je 0x65a9af
lea ecx, [ebp - 0x3c]
call fcn.0065b130
mov dword [eax + 0x80], 2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00405300
jmp 0x65aaae
push 3
push 1
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x80]
mov ecx, dword [edx + 0x50]
call fcn.006b4d00
test eax, eax
je 0x65a9ec
lea ecx, [ebp - 0x3c]
call fcn.0065b130
mov dword [eax + 0x80], 2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00405300
jmp 0x65aaae
lea ecx, [ebp - 0x3c]
call fcn.0065b130
mov dword [eax + 0x80], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00405300
jmp 0x65aaae
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x80]
add ecx, 0xb8
call fcn.0065af30
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [ebp - 0x80]
add ecx, 0xb8
call fcn.0065af00
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.0065bf20
add esp, 0x18
lea edx, [ebp - 0x74]
push edx
mov ecx, dword [ebp - 0x80]
add ecx, 0xb8
call fcn.0065af30
push eax
lea ecx, [ebp - 0x44]
call fcn.0065b150
movzx eax, al
test eax, eax
jne 0x65aa9a
lea ecx, [ebp - 0x44]
call fcn.0065b130
cmp dword [eax + 0x80], 1
jne 0x65aa9a
lea ecx, [ebp - 0x44]
call fcn.0065b130
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 4]
je 0x65aa9c
jmp 0x65aaae
lea ecx, [ebp - 0x44]
call fcn.0065b130
mov dword [eax + 0x80], 2
cmp dword [ebp - 0x14], 0
je 0x65aaf4
mov ecx, dword [ebp - 0x14]
add ecx, 0x64
call fcn.00405490
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x78], ecx
cmp dword [ebp - 0x78], 0
je 0x65aaea
push 1
mov ecx, dword [ebp - 0x78]
call fcn.0065ae00
mov dword [ebp - 0x88], eax
jmp 0x65aaf4
mov dword [ebp - 0x88], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.005a6f18
mov esp, ebp
pop ebp
ret 0xc