Function at 0x664bc0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6df2db
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x75aa5c]
xor eax, ebp
mov dword [ebp - 0x20], 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 - 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 - 0x84], eax
cmp dword [ebp - 0x84], 0
je 0x664c11
jmp 0x664d91
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov ecx, dword [ebp - 0x80]
add ecx, 0x25c
call fcn.00668cc0
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, 0x25c
call fcn.00668c90
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.00669d90
add esp, 0x18
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, dword [ebp - 0x80]
add ecx, 0x25c
call fcn.00668cc0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00668f30
movzx edx, al
test edx, edx
jne 0x664c96
lea ecx, [ebp - 0x1c]
call fcn.00668f10
cmp dword [eax + 0x68], 1
jne 0x664c96
lea ecx, [ebp - 0x1c]
call fcn.00668f10
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 4]
je 0x664c9b
jmp 0x664e3c
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x68], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.004054a0
test eax, eax
je 0x664d24
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.0066b530
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00405360
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xc4
call fcn.00405490
push eax
mov ecx, dword [ebp - 0x80]
call fcn.0066ace0
test eax, eax
jne 0x664d15
lea ecx, [ebp - 0x1c]
call fcn.00668f10
mov dword [eax + 0x68], 2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00405300
jmp 0x664e3c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00405300
push 1
lea ecx, [ebp - 0x1c]
call fcn.00668f10
add eax, 0xc4
mov ecx, eax
call fcn.00405490
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xc4
call fcn.00405490
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x664d68
lea ecx, [ebp - 0x1c]
call fcn.00668f10
mov dword [eax + 0x68], 2
jmp 0x664e3c
lea ecx, [ebp - 0x1c]
call fcn.00668f10
mov dword [eax + 0x68], 0
push 0
push 0
lea ecx, [ebp - 0x1c]
call fcn.00668ef0
push eax
mov ecx, dword [ebp - 0x80]
call fcn.00666030
jmp 0x664e3c
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x80]
add ecx, 0x25c
call fcn.00668cc0
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, 0x25c
call fcn.00668c90
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.00669d90
add esp, 0x18
lea edx, [ebp - 0x74]
push edx
mov ecx, dword [ebp - 0x80]
add ecx, 0x25c
call fcn.00668cc0
push eax
lea ecx, [ebp - 0x44]
call fcn.00668f30
movzx eax, al
test eax, eax
jne 0x664e16
lea ecx, [ebp - 0x44]
call fcn.00668ef0
cmp dword [eax + 0x68], 1
jne 0x664e16
lea ecx, [ebp - 0x44]
call fcn.00668ef0
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 4]
je 0x664e18
jmp 0x664e3c
lea ecx, [ebp - 0x44]
call fcn.00668f10
mov dword [eax + 0x68], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0xc4
call fcn.00405490
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x10], 0
je 0x664e70
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x78], ecx
cmp dword [ebp - 0x78], 0
je 0x664e66
push 1
mov ecx, dword [ebp - 0x78]
call fcn.006689c0
mov dword [ebp - 0x88], eax
jmp 0x664e70
mov dword [ebp - 0x88], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.005a6f18
mov esp, ebp
pop ebp
ret 0xc