Function at 0x1000a9b0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10101031
mov eax, dword fs:[0]
push eax
sub esp, 0x890
mov eax, dword [0x1014857c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
jne 0x1000a9e8
xor eax, eax
jmp 0x1000ac40
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x1000a9f9
xor eax, eax
jmp 0x1000ac40
cmp dword [ebp + 0xc], 0
jne 0x1000aa06
xor eax, eax
jmp 0x1000ac40
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
test eax, eax
jne 0x1000aa17
xor eax, eax
jmp 0x1000ac40
mov ecx, dword [ebp + 8]
push ecx
call fcn.100ab667
add esp, 4
mov dword [ebp - 0x894], eax
cmp dword [ebp - 0x894], 0x104
jl 0x1000aa3c
xor eax, eax
jmp 0x1000ac40
push 0x410
push 0
lea edx, [ebp - 0x420]
push edx
call fcn.1008e2a0
add esp, 0xc
push 0x1010fc74
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x884]
call fcn.1000b3c0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x884]
call fcn.1000b7a0
mov dword [ebp - 0x890], eax
cmp dword [ebp - 0x890], 0
je 0x1000ac13
lea ecx, [ebp - 0x884]
call fcn.1000bcf0
test eax, eax
je 0x1000aac1
lea ecx, [ebp - 0x884]
call fcn.1000b900
mov dword [ebp - 0x890], eax
jmp 0x1000aa92
lea eax, [ebp - 0x888]
push eax
lea ecx, [ebp - 0x884]
call fcn.1000ba40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x884]
call fcn.1000bcd0
test eax, eax
je 0x1000ab03
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x888]
call fcn.10007150
push eax
call fcn.1000a9b0
add esp, 8
jmp 0x1000abee
lea ecx, [ebp - 0x888]
call fcn.10007150
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov dword [ebp - 0x898], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x898]
push eax
call fcn.100ab682
add esp, 8
test eax, eax
jne 0x1000abee
lea ecx, [ebp - 0x888]
call fcn.10007150
push eax
call fcn.1000ac60
add esp, 4
test eax, eax
jne 0x1000abee
lea ecx, [ebp - 0x88c]
call fcn.10006720
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88c]
push ecx
lea edx, [ebp - 0x888]
push edx
call fcn.1000afb0
add esp, 8
test eax, eax
je 0x1000abae
push 4
push 0
lea ecx, [ebp - 0x88c]
call fcn.10007150
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebp - 0x88c]
push eax
mov ecx, dword [ebp - 0x888]
push ecx
push 0x1010fc7c
call fcn.100440d0
add esp, 0xc
jmp 0x1000abdf
push 4
push 0
lea ecx, [ebp - 0x888]
call fcn.10007150
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edx, dword [ebp - 0x888]
push edx
mov eax, dword [ebp - 0x888]
push eax
push str.delete_file:_s_by_pending:_s
call fcn.100440d0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88c]
call fcn.10006cb0
lea ecx, [ebp - 0x884]
call fcn.1000b900
mov dword [ebp - 0x890], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x888]
call fcn.10006cb0
jmp 0x1000aa92
lea ecx, [ebp - 0x884]
call fcn.1000b750
mov dword [ebp - 0x89c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x884]
call fcn.1000b400
mov eax, dword [ebp - 0x89c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100810f8
mov esp, ebp
pop ebp
ret