Function at 0x6945c0
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x887f50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
push esi
xor ebp, ebp
push edi
mov dword [0x9ddbd8], ebp
call ebx
mov dword [0x9ddbe0], eax
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x69484f
push eax
call fcn.005fc40b
add esp, 4
test eax, eax
je 0x69484f
mov esi, dword [esp + 0x28]
cmp esi, ebp
je 0x69484f
push esi
call fcn.005fc40b
add esp, 4
test eax, eax
je 0x69484f
cmp dword [0x9ddbe4], ebp
jne 0x69464a
mov dword [0x9ddbd8], 2
mov dword [0x9ddbdc], 0x20ea
jmp 0x694863
push esi
call fcn.006a31f0
add esp, 4
cmp eax, 0xffffffff
je 0x694675
test al, 0x10
je 0x694675
mov dword [0x9ddbd8], 0x1e
mov dword [0x9ddbdc], 0x20f4
jmp 0x694863
mov edx, dword [0x8ab26c]
xor ecx, ecx
cmp eax, 0xffffffff
mov dword [esp + 0x10], edx
setne cl
mov edi, ecx
cmp edi, ebp
mov dword [esp + 0x1c], ebp
je 0x6946df
mov eax, dword [0x9de114]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x992d08
push esi
call fcn.006a3d00
add esp, 0x10
test eax, eax
jne 0x6946e9
mov dword [0x9ddbd8], 0x24
mov dword [0x9ddbdc], 0x2100
call ebx
lea ecx, [esp + 0x10]
mov dword [0x9ddbe0], eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.00617ec0
jmp 0x69486a
push esi
lea ecx, [esp + 0x14]
call fcn.006181a0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
push 0
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
mov ebp, 1
call fcn.00693a90
add esp, 0x14
test eax, eax
je 0x694829
test edi, edi
je 0x6947f1
mov eax, dword [0x8ab26c]
mov dword [esp + 0x24], eax
mov ecx, dword [0x9de114]
lea edx, [esp + 0x24]
push ecx
push edx
push 0x992874
push esi
mov byte [esp + 0x2c], 1
call fcn.006a3d00
add esp, 0x10
test eax, eax
je 0x6947f5
mov eax, dword [esp + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 2
push eax
push esi
call edi
test eax, eax
je 0x6947db
mov ecx, dword [esp + 0x10]
push 3
push esi
push ecx
call edi
test eax, eax
je 0x694792
mov edx, dword [esp + 0x24]
xor ebp, ebp
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x694810
mov eax, dword [esp + 0x24]
push eax
call fcn.006a3b20
add esp, 4
jmp 0x694810
mov dword [0x9ddbd8], 0x27
mov dword [0x9ddbdc], 0x2134
call ebx
mov ecx, dword [esp + 0x24]
push 3
push esi
push ecx
mov dword [0x9ddbe0], eax
call edi
test eax, eax
jne 0x694810
mov eax, dword [esp + 0x2c]
or ebp, 0xffffffff
test eax, eax
je 0x694810
mov edx, dword [esp + 0x24]
push 0x103
push edx
push eax
call fcn.005fc3ce
add esp, 0xc
jmp 0x694810
mov dword [0x9ddbd8], 0x28
mov dword [0x9ddbdc], 0x2142
jmp 0x694809
xor ebp, ebp
jmp 0x694829
mov dword [0x9ddbd8], 0x24
mov dword [0x9ddbdc], 0x211f
call ebx
mov dword [0x9ddbe0], eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 0
call fcn.00617ec0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00617ec0
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov dword [0x9ddbd8], 1
mov dword [0x9ddbdc], 0x20e3
call ebx
mov dword [0x9ddbe0], eax
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret