Function at 0x1001b630
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10087098
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x100ab06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.10010d50
test al, al
je 0x1001b686
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1001b815
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.10011340
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.1001c270
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x1001b6ce
mov ecx, dword [eax]
jmp 0x1001b6d0
mov ecx, eax
mov eax, dword [eax + 0x10]
lea edx, [ebp - 0x60]
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x58]
push 0
mov dword [ebp - 0x5c], eax
call fcn.100118f0
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x1001b702
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.1000b3e0
sub esp, 8
mov dword [ebp - 0x2c], 0xf
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov ecx, esp
mov dword [ebp - 0x30], 0
cmovae eax, dword [ebp - 0x58]
mov byte [ebp - 0x40], 0
mov dword [ecx], eax
mov eax, dword [ebp - 0x48]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.100125f0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
cmp ecx, eax
je 0x1001b74d
push 0xffffffffffffffff
push 0
push eax
call fcn.1000abc0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x1001b766
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.1000b4f0
xor eax, eax
mov dword [ebp - 0x2c], 7
lea ecx, [ebp + 8]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.10012920
test al, al
jne 0x1001b79d
lea ecx, [ebp - 0x28]
call fcn.10012920
test al, al
jne 0x1001b79d
lea edx, [ebp - 0x28]
lea ecx, [ebp + 8]
call fcn.100117e0
cmp dword [ebp - 0x18], 0x104
jae 0x1001b7bc
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 5
cmovae eax, dword [ebp - 0x28]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x1001b7d5
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.1000b4f0
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x1001b801
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.1000b4f0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x1001b831
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.1000b4f0
xor eax, eax
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001ecda
mov esp, ebp
pop ebp
ret 0x18