Function at 0x10006700
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push 0xffffffffffffffff
push 0x10012a46
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x100190d4]
xor eax, esp
mov dword [esp + 0x464], eax
push ebx
push esi
push edi
mov eax, dword [0x100190d4]
xor eax, esp
push eax
lea eax, [esp + 0x478]
mov dword fs:[0], eax
mov edi, dword [esp + 0x488]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
push 0x206
lea eax, [esp + 0x272]
push ebx
push eax
mov dword [esp + 0x48c], ebx
mov word [esp + 0x278], bx
call fcn.10008550
add esp, 0xc
push edi
mov ecx, esi
call fcn.10004d10
mov ecx, eax
lea esi, [ecx + 2]
jmp 0x10006790
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x10006790
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x50]
call fcn.10001b00
mov eax, dword [esp + 0x4c]
mov esi, 8
cmp dword [esp + 0x60], esi
jae 0x100067bd
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x100067e0
cmp dword [esp + 0x60], esi
mov eax, dword [esp + 0x4c]
jae 0x100067d6
lea eax, [esp + 0x4c]
push 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0x206
lea ecx, [esp + 0x6a]
push ebx
push ecx
mov word [esp + 0x70], bx
call fcn.10008550
mov eax, dword [esp + 0x58]
add esp, 0xc
cmp dword [esp + 0x60], esi
jae 0x10006806
lea eax, [esp + 0x4c]
push 0x104
push eax
lea edx, [esp + 0x6c]
push 0x104
push edx
call fcn.10008c06
add esp, 0x10
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x10006930
push 0x104
lea ecx, [esp + 0x270]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x10006930
lea ecx, [esp + 0x26c]
lea eax, [esp + 0x64]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000687d
cmp dx, bx
je 0x10006879
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000687d
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x10006857
xor eax, eax
jmp 0x10006882
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jle 0x10006930
mov al, 1
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x34], al
mov byte [esp + 0x480], al
lea eax, [esp + 0x64]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100068b0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x38]
call fcn.10006120
xor eax, eax
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], ax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 3
call fcn.10004250
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x20], 0x10013ec8
mov word [esp + 0x24], 0x215
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
lea ecx, [esp + 0x30]
mov byte [esp + 0x480], bl
call fcn.10005a80
cmp dword [esp + 0x60], esi
jb 0x10006943
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.10008245
add esp, 4
mov ecx, dword [esp + 0x478]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x464]
xor ecx, esp
call fcn.1000853f
add esp, 0x474
ret 4