Function at 0x1000b730
Capabilities:
Check if file exists
Delete file
Get common file path
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a588d
mov eax, dword fs:[0]
push eax
sub esp, 0x4e0
mov eax, dword [0x100d5688]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call ebx
test eax, eax
je 0x1000b778
mov eax, 1
jmp 0x1000ba94
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000b76e
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1000b79a
push edi
call ebx
test eax, eax
jne 0x1000b76e
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1007f220
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1007f220
push edi
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.1008d83d
add esp, 0x24
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
push 0
push 0x100aea58
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x218]
push eax
call ebx
call fcn.100079d0
mov ecx, eax
test ecx, ecx
je 0x1000bab0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x454], esi
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
lea eax, [ebp - 0x218]
push eax
jne 0x1000b94a
push edi
lea eax, [ebp - 0x454]
push 0x100aea60
push eax
call fcn.100078e0
add esp, 0x10
call fcn.1005dde0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000ba64
push 4
push str.FILE
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], al
call fcn.1000c680
push 3
push 0x100aea94
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 1
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
call fcn.1000c680
mov byte [ebp - 4], 2
call fcn.1005dde0
mov ebx, eax
lea ecx, [ebp - 0x4ec]
push 0xdb
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.10009a70
mov edi, eax
mov esi, dword [ebp - 0x454]
mov ecx, 0x100ae9e4
test esi, esi
mov byte [ebp - 4], 3
cmovne ecx, esi
push ecx
push edi
call fcn.100092f0
mov eax, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x4ec]
call fcn.1000a930
lea ecx, [ebp - 0x438]
call fcn.100074f0
lea ecx, [ebp - 0x450]
call fcn.100074f0
xor edi, edi
jmp 0x1000ba73
call ebx
test eax, eax
jne 0x1000ba6e
push 4
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x454]
push 0x100aea98
push eax
call fcn.100078e0
add esp, 0xc
call fcn.1005dde0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000ba64
push 4
push str.FILE
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], al
call fcn.1000c680
push 3
push 0x100aea94
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 4
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
call fcn.1000c680
mov byte [ebp - 4], 5
call fcn.1005dde0
mov ebx, eax
lea ecx, [ebp - 0x4ec]
push 0xe4
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.10009a70
mov edi, eax
mov esi, dword [ebp - 0x454]
mov ecx, 0x100ae9e4
test esi, esi
mov byte [ebp - 4], 6
cmovne ecx, esi
push ecx
push edi
call fcn.100092f0
mov eax, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x4ec]
call fcn.1000a930
lea ecx, [ebp - 0x450]
call fcn.100074f0
lea ecx, [ebp - 0x438]
call fcn.100074f0
xor edi, edi
jmp 0x1000ba73
mov esi, dword [ebp - 0x454]
xor edi, edi
jmp 0x1000ba73
mov edi, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000ba92
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005f06c
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10007660
int3