Function at 0x10019a20
Capabilities:
Check if file exists
Copy file
Delete file
Get file attributes
Get number of processors
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007866b
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x10094080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x88], ecx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [0x10096ce4]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x18]
lea edi, [ebx + 0x30]
mov dword [ebp - 0x8c], ebx
lea esi, [ebx + 0x48]
mov dword [ebp - 0x94], edi
lea ecx, [ecx + 8]
mov dword [ebp - 0x84], esi
push eax
mov dword [ebp - 0x18], 0x9f
call fcn.10023100
mov edx, dword [edi + 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x80], ecx
mov ecx, SysReAllocString
sub ecx, edx
cmp ecx, dword [ebp - 0x80]
jb 0x10019fdd
cmp dword [edi + 0x14], 7
mov ecx, edi
jbe 0x10019ab7
mov ecx, dword [edi]
cmp dword [eax + 0x14], 7
jbe 0x10019abf
mov eax, dword [eax]
push dword [ebp - 0x80]
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x84]
lea ecx, [ebp - 0x4c]
call fcn.1002c760
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
mov ecx, dword [0x10096ce4]
push eax
mov dword [ebp - 0x1c], 0x9f
lea ecx, [ecx + 8]
call fcn.10023100
mov edx, dword [esi + 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x80], ecx
mov ecx, SysReAllocString
sub ecx, edx
cmp ecx, dword [ebp - 0x80]
jb 0x10019fe2
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x10019b17
mov ecx, dword [esi]
cmp dword [eax + 0x14], 7
jbe 0x10019b1f
mov eax, dword [eax]
push dword [ebp - 0x80]
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x84]
lea ecx, [ebp - 0x34]
call fcn.1002c760
mov byte [ebp - 4], 1
lea eax, [ebp - 0x18]
mov ecx, dword [0x10096ce4]
push eax
mov dword [ebp - 0x18], 0x9e
lea ecx, [ecx + 8]
call fcn.10023100
mov edx, dword [edi + 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x80], ecx
mov ecx, SysReAllocString
sub ecx, edx
cmp ecx, dword [ebp - 0x80]
jb 0x10019fe7
cmp dword [edi + 0x14], 7
mov ecx, edi
jbe 0x10019b74
mov ecx, dword [edi]
cmp dword [eax + 0x14], 7
jbe 0x10019b7c
mov eax, dword [eax]
push dword [ebp - 0x80]
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x84]
lea ecx, [ebp - 0x7c]
call fcn.1002c760
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c]
mov ecx, dword [0x10096ce4]
push eax
mov dword [ebp - 0x1c], 0x9e
lea ecx, [ecx + 8]
call fcn.10023100
mov edx, dword [esi + 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x80], ecx
mov ecx, SysReAllocString
sub ecx, edx
cmp ecx, dword [ebp - 0x80]
jb 0x10019fec
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x10019bd1
mov ecx, dword [esi]
cmp dword [eax + 0x14], 7
jbe 0x10019bd9
mov eax, dword [eax]
push dword [ebp - 0x80]
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x84]
lea ecx, [ebp - 0x64]
call fcn.1002c760
lea eax, [ebx + 0x30]
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 7
jbe 0x10019bfd
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x10019c3e
call ebx
cmp eax, 2
jne 0x10019c3e
mov eax, dword [ebp - 0x8c]
add eax, 0x48
cmp dword [eax + 0x14], 7
jbe 0x10019c27
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10019c3e
call ebx
cmp eax, 2
je 0x10019ff1
cmp dword [ebp - 0x38], 7
lea eax, [ebp - 0x4c]
cmova eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x68], 7
lea eax, [ebp - 0x7c]
cmova eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x20], 7
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x50], 7
lea eax, [ebp - 0x64]
cmova eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x38], 7
lea ecx, [ebp - 0x4c]
mov eax, edi
cmova ecx, dword [ebp - 0x4c]
cmp dword [edi + 0x14], 7
jbe 0x10019c9b
mov eax, dword [edi]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp dword [ebp - 0x68], 7
lea eax, [ebp - 0x7c]
mov ecx, edi
cmova eax, dword [ebp - 0x7c]
cmp dword [edi + 0x14], 7
jbe 0x10019cba
mov ecx, dword [edi]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x10019cce
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10019ce1
call ebx
cmp eax, 2
je 0x10019d1f
cmp dword [ebp - 0x20], 7
lea eax, [ebp - 0x34]
mov ecx, esi
cmova eax, dword [ebp - 0x34]
cmp dword [esi + 0x14], 7
jbe 0x10019cf6
mov ecx, dword [esi]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp dword [ebp - 0x50], 7
lea eax, [ebp - 0x64]
mov ecx, esi
cmova eax, dword [ebp - 0x64]
cmp dword [esi + 0x14], 7
jbe 0x10019d15
mov ecx, dword [esi]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp dword [ebp - 0x20], 7
lea eax, [ebp - 0x34]
mov dword [ebp - 0x80], 0x64
cmova eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10019e57
call ebx
cmp eax, 2
jne 0x10019e57
push dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x4c]
push dword [ebp - 0x90]
mov byte [ebp - 4], 7
push eax
call fcn.1001a770
mov dword [ebp - 4], 3
jmp 0x10019db4
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x10019dbe
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0x14], 7
jbe 0x10019dcd
mov edi, dword [edi]
cmp dword [ebp - 0x38], 7
lea eax, [ebp - 0x4c]
push edi
cmova eax, dword [ebp - 0x4c]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
push eax
call edi
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x10019dec
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10019dff
call ebx
cmp eax, 2
je 0x10019e27
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x10019e09
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x14], 7
jbe 0x10019e18
mov esi, dword [esi]
cmp dword [ebp - 0x20], 7
lea eax, [ebp - 0x34]
push esi
cmova eax, dword [ebp - 0x34]
push eax
call edi
cmp dword [ebp - 0x38], 7
lea eax, [ebp - 0x4c]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmova eax, dword [ebp - 0x4c]
push eax
call esi
cmp dword [ebp - 0x20], 7
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push eax
call esi
mov esi, dword [ebp - 0x80]
cmp esi, 0x64
jne 0x1001a02a
jmp 0x10019e9b
push dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x34]
push dword [ebp - 0x90]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.1001a070
mov dword [ebp - 4], 3
jmp 0x10019db4
mov ecx, dword [ebp - 0x50]
cmp ecx, 7
jbe 0x10019ed5
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10019ecb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a062
push ecx
push edx
call fcn.10052cc4
add esp, 8
mov ecx, dword [ebp - 0x68]
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
cmp ecx, 7
jbe 0x10019f23
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10019f19
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a062
push ecx
push edx
call fcn.10052cc4
add esp, 8
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
cmp ecx, 7
jbe 0x10019f71
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10019f67
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a062
push ecx
push edx
call fcn.10052cc4
add esp, 8
mov ecx, dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp ecx, 7
jbe 0x10019fbf
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10019fb5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a062
push ecx
push edx
call fcn.10052cc4
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10052655
mov esp, ebp
pop ebp
ret 8
call fcn.10001340
call fcn.10001340
call fcn.10001340
call fcn.10001340
push 0x10085a42
lea ecx, [ebp - 0xb4]
call fcn.10026140
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 4
push eax
push 0x69
lea ecx, [ebp - 0xdc]
call fcn.10011bd0
push 0x10092748
lea eax, [ebp - 0xdc]
push eax
call fcn.10053f20
push 0x10085a42
lea ecx, [ebp - 0xb4]
call fcn.10026140
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 9
push eax
push esi
lea ecx, [ebp - 0x104]
call fcn.10011bd0
push 0x10092748
lea eax, [ebp - 0x104]
push eax
call fcn.10053f20
call fcn.1005bfa5
int3