Function at 0x180010d10
Capabilities:
Check if file exists
Create directory
Delete file
Get common file path
Move file
Terminate process

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xb28]
sub rsp, 0xc00
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1800bb120]
xor rax, rsp
mov qword [rbp + 0xaf0], rax
mov rsi, rcx
cmp qword [rcx + 0x30], 0
jbe 0x18001143a
cmp qword [rcx + 0x10], 0
jbe 0x18001143a
cmp qword [rcx + 0x50], 0
jbe 0x18001143a
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0xa0]
call fcn.18005f7c0
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x4c0]
call fcn.18005f7c0
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp qword [rsi + 0x78], 8
jb 0x180010dc7
mov rdx, qword [rsi + 0x60]
jmp 0x180010dcb
lea rdx, [rsi + 0x60]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180010df8
xor edx, edx
lea rcx, [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r8, [rbp + 0xa0]
lea rdx, [0x180090440]
lea rcx, [rbp + 0x4c0]
call fcn.18000f5b0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x6d0]
call fcn.18005f7c0
lea r8, [rbp + 0xa0]
mov edx, 0x104
lea rcx, [rbp + 0x6d0]
call fcn.180065b6c
lea r12, [rsi + 0x80]
cmp qword [r12 + 0x18], 8
jb 0x180010e53
mov rdx, qword [r12]
jmp 0x180010e56
mov rdx, r12
lea rcx, [rbp + 0x6d0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x8e0]
call fcn.18005f7c0
lea r8, [rbp + 0xa0]
mov edx, 0x104
lea rcx, [rbp + 0x8e0]
call fcn.180065b6c
lea rdx, [0x1800be528]
cmp qword [0x1800be540], 8
cmovae rdx, qword [0x1800be528]
lea rcx, [rbp + 0x8e0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [0x1800be5c8]
cmp qword [0x1800be5e0], 8
cmovae rdx, qword [0x1800be5c8]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, 0x62f90
call fcn.18003f840
mov qword [rsp + 0x40], rax
xor r13d, r13d
test rax, rax
je 0x180010efb
mov rcx, rax
call fcn.1800168e0
mov r14, rax
jmp 0x180010efe
mov r14, r13
mov rcx, r14
call fcn.18001a6c0
mov dword [r14 + 0x2478], 1
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], r13
mov word [rbp - 0x40], r13w
or rdi, 0xffffffffffffffff
mov r9, rdi
xor r8d, r8d
lea rdx, [rsi + 0x20]
lea rcx, [rbp - 0x40]
call fcn.180003ab0
nop
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rdx, qword [rbp - 0x40]
mov rcx, r14
call fcn.180012c40
mov dword [r14 + 0x26c4], 0x927c0
xor edx, edx
mov r8d, 0x208
lea rcx, [r14 + 0x5d390]
call fcn.18005f7c0
lea r9, [rbp + 0xa0]
lea r8, [0x180090200]
mov edx, 0x103
lea rcx, [r14 + 0x5d390]
call fcn.18000ecf0
mov rcx, r14
call fcn.18001a910
mov rcx, r14
call fcn.18001b320
mov rax, qword [r14]
lea edx, [rdi + 2]
mov rcx, r14
call qword [rax]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180011420
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp + 0x20]
call fcn.18005f7c0
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r13
mov word [rbp - 0x80], r13w
cmp word [rbp + 0xa0], 0
jne 0x180010fef
mov r8, r13
jmp 0x18001100b
lea rax, [rbp + 0xa0]
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180011000
lea rdx, [rbp + 0xa0]
lea rcx, [rbp - 0x80]
call fcn.180008a90
nop
lea rdx, [rbp - 0x80]
lea rcx, [rbp]
call fcn.18003c9e0
nop
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x180011044
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.180003e80
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r13
mov word [rbp - 0x80], r13w
lea rcx, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rcx, qword [rbp]
lea rdx, [rbp + 0x20]
call fcn.180032b50
mov rdx, rsi
lea rcx, [rbp - 0x20]
call fcn.18003c9e0
nop
cmp byte [rbp + 0x20], 0
jne 0x180011084
mov rbx, r13
jmp 0x180011099
lea rax, [rbp + 0x20]
mov rbx, rdi
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180011090
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rcx, qword [rbp - 0x20]
mov r8, rbx
mov r14, qword [rbp - 0x10]
cmp r14, rbx
cmovb r8, r14
test r8, r8
je 0x1800110cb
lea rdx, [rbp + 0x20]
call fcn.18005f6e0
test eax, eax
jne 0x18001140c
cmp r14, rbx
jb 0x18001140c
ja 0x18001140c
mov dword [rsp + 0x30], r13d
cmp qword [rsi + 0x100], 8
jb 0x1800110f2
mov rcx, qword [rsi + 0xe8]
jmp 0x1800110f9
lea rcx, [rsi + 0xe8]
lea rdx, [rsp + 0x30]
call fcn.180035b80
test al, al
je 0x18001112e
mov r8d, dword [rsp + 0x30]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], r13
mov word [rbp - 0x60], r13w
cmp word [rbp + 0x4c0], 0
jne 0x18001114e
mov r8, r13
jmp 0x18001116b
lea rax, [rbp + 0x4c0]
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180011160
lea rdx, [rbp + 0x4c0]
lea rcx, [rbp - 0x60]
call fcn.180008a90
nop
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r13
mov word [rbp - 0x80], r13w
cmp word [rbp + 0xa0], 0
jne 0x18001119c
mov r8, r13
jmp 0x1800111bb
lea rax, [rbp + 0xa0]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1800111b0
lea rdx, [rbp + 0xa0]
lea rcx, [rbp - 0x80]
call fcn.180008a90
nop
xor r8d, r8d
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.180002c00
nop
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x1800111f7
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.180003e80
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r13
mov word [rbp - 0x80], r13w
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x180011222
inc r8
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.180003e80
lea rcx, [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r13b, r13b
mov r8d, 1
lea rdx, [rbp + 0x6d0]
lea rcx, [rbp + 0x8e0]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x180011262
mov r8, r12
lea rdx, [rsi + 0x60]
mov rcx, rsi
call fcn.180013620
mov r13b, 1
lea rdx, [rsi + 0x60]
lea rcx, [rsi + 0xc8]
call fcn.18000f270
test al, al
je 0x18001138e
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.1800116b0
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2b0]
call fcn.18005f7c0
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae r8, qword [rbp - 0x60]
mov edx, 0x104
lea rcx, [rbp + 0x2b0]
call fcn.180065b6c
lea rcx, [rbp + 0x2b0]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov qword [rbp - 0x68], 7
xor eax, eax
mov qword [rbp - 0x70], rax
mov word [rbp - 0x80], ax
cmp word [rbp + 0x2b0], ax
jne 0x1800112e6
mov edi, eax
jmp 0x1800112fa
lea rax, [rbp + 0x2b0]
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1800112f0
mov r8, rdi
lea rdx, [rbp + 0x2b0]
lea rcx, [rbp - 0x80]
call fcn.180008a90
nop
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x80]
call fcn.180004950
xor edi, edi
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x50], 3
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rax, qword [rbp - 0x80]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rdi
mov eax, 0x614
mov word [rsp + 0x68], ax
lea rcx, [rsp + 0x48]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
nop
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x180011375
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.180003e80
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rdi
mov word [rbp - 0x80], di
lea rcx, [rbp - 0x60]
call fcn.1800038f0
mov rdx, r12
lea rcx, [rsi + 0xe8]
call fcn.18000f230
test al, al
je 0x1800113be
lea rdx, [rsi + 0x60]
lea rcx, [rsi + 0xc8]
call fcn.18000f230
test al, al
je 0x1800113be
mov byte [rsi + 0x150], 1
jmp 0x1800113e7
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.1800116b0
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x60]
call fcn.1800038f0
test r13b, r13b
je 0x18001140c
lea rdx, [rsi + 0x60]
lea rcx, [rsi + 0xc8]
call fcn.1800038c0
mov rdx, r12
lea rcx, [rsi + 0xe8]
call fcn.1800038c0
nop
lea rcx, [rbp - 0x20]
call fcn.18000d830
nop
lea rcx, [rbp]
call fcn.18000d830
nop
mov r8, qword [rbp - 0x28]
cmp r8, 8
jb 0x18001143a
inc r8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.180003e80
mov rcx, qword [rbp + 0xaf0]
xor rcx, rsp
call fcn.18003ff90
lea r11, [rsp + 0xc00]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret