Function at 0x1800111d0
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push rbp
push rsi
lea rbp, [rsp - 0x41d8]
mov eax, 0x42d8
call fcn.180110950
sub rsp, rax
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rbp + 0x41b0], rax
mov rsi, rcx
call fcn.1800f3548
mov rcx, rax
test rax, rax
je 0x180011761
mov rax, qword [rax]
mov qword [rsp + 0x42f8], rbx
mov qword [rsp + 0x4300], rdi
mov qword [rsp + 0x4308], r12
mov qword [rsp + 0x42c8], r14
call qword [rax + 0x18]
mov r12, 0xffffffffffffffff
lea rbx, [rax + 0x18]
mov qword [rsp + 0x58], rbx
test rsi, rsi
je 0x1800113e4
mov rax, r12
nop
inc rax
cmp word [rsi + rax*2], 0
jne 0x180011250
cmp rax, 1
jb 0x1800113e4
mov rax, r12
nop word [rax + rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x180011270
mov r8d, eax
lea rcx, [rsp + 0x58]
mov rdx, rsi
call fcn.180007b10
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rbx, qword [rsp + 0x58]
mov edx, 0x80
cmp eax, 0xffffffff
cmove eax, edx
test al, 0x10
jne 0x1800113e4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1800112d5
mov rcx, rbx
call sym.SafeBase64.dll_IsFileExist
test eax, eax
jne 0x1800112d5
lea edi, [rax + 1]
jmp 0x1800113e6
mov r8d, 0x104
mov dword [rsp + 0x60], 0x2000
lea rdx, [rbp + 0x1b0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x180011320
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x180011320
lea rcx, [rbp + 0x1b0]
call sym.SafeBase64.dll_IsFileExist
test eax, eax
jne 0x180011320
lea edi, [rax + 1]
jmp 0x1800113e6
mov edi, 1
lea r9, [rsp + 0x60]
mov edx, edi
lea r8, [rbp + 0x1b0]
mov rcx, rsi
call qword [sym.imp.MPR.dll_WNetGetUniversalNameW]
test eax, eax
jne 0x180011365
mov rcx, qword [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x180011365
mov rcx, qword [rbp + 0x1b0]
call sym.SafeBase64.dll_IsFileExist
test eax, eax
je 0x1800113e6
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [rbx - 0x10], edi
jl 0x18001176c
cmp word [rbx + 2], 0x3a
jne 0x1800113e4
mov rcx, rsi
call sym.SafeBase64.dll_PurgeFileBuffer
lea rdx, [0x1801423a8]
mov ecx, 0x1c0
call fcn.18010fdb8
test rax, rax
je 0x1800113e4
mov rcx, rax
call fcn.180022380
mov r14, rax
test rax, rax
je 0x1800113e4
cmp dword [rbx - 0x10], 0
jl 0x18001176c
movzx edx, word [rbx]
mov rcx, rax
call fcn.180018d00
mov rcx, r14
test eax, eax
je 0x1800113df
lea rdx, [rsp + 0x58]
call fcn.1800223f0
test eax, eax
jne 0x18001143b
mov rcx, r14
call fcn.180011780
xor edi, edi
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r12d
sub r12d, 1
jg 0x180011400
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov r12, qword [rsp + 0x4308]
mov eax, edi
mov rdi, qword [rsp + 0x4300]
mov rbx, qword [rsp + 0x42f8]
mov r14, qword [rsp + 0x42c8]
mov rcx, qword [rbp + 0x41b0]
xor rcx, rsp
call fcn.18010faf0
add rsp, 0x42d8
pop rsi
pop rbp
ret
mov rcx, qword [r14 + 0x180]
sub rcx, 0x18
call fcn.18000f360
add rax, 0x18
lea rdx, [r14 + 0x1a0]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x40]
mov eax, dword [r14 + 0x188]
mov dword [rsp + 0x28], eax
mov rax, qword [r14 + 0x18c]
mov qword [rsp + 0x2c], rax
mov rax, qword [r14 + 0x194]
mov qword [rsp + 0x34], rax
mov eax, dword [r14 + 0x19c]
mov dword [rsp + 0x3c], eax
call fcn.180011af0
cmp dword [rsp + 0x2c], 0x42
jb 0x180011752
xor edi, edi
mov qword [rsp + 0x42d0], r13
mov qword [rsp + 0x42c0], r15
lea rcx, [rbp - 0x60]
xor edx, edx
mov qword [r14 + 0x1b8], rdi
mov r8d, 0x208
lea r15, [0x1801864a0]
lea r13d, [rdi + 0x42]
call fcn.180113150
mov rax, r12
inc rax
cmp word [rsi + rax*2], di
jne 0x1800114d6
cmp rax, 3
jb 0x180011628
mov r8, rsi
lea rcx, [rbp - 0x60]
mov edx, 0x103
call fcn.1801259f0
lea rcx, [rbp - 0x60]
mov rax, r12
cmp word [rcx + rax*2 + 2], di
lea rax, [rax + 1]
jne 0x180011501
lea rdi, [rbp - 0x60]
lea rdi, [rdi + rax*2]
lea rax, [rbp - 0x60]
cmp rdi, rax
je 0x18001153b
nop dword [rax]
mov rax, rdi
sub rdi, 2
cmp word [rdi], 0x2e
je 0x180011538
lea rax, [rbp - 0x60]
cmp rdi, rax
jne 0x180011520
jmp 0x18001153b
mov rdi, rax
lea rdx, [0x180154ed8]
mov rcx, rdi
call fcn.1801153c8
test eax, eax
je 0x180011628
lea rdx, [0x180154ee0]
mov rcx, rdi
call fcn.1801153c8
test eax, eax
je 0x1800115f8
lea rdx, [0x180154ee8]
mov rcx, rdi
call fcn.1801153c8
test eax, eax
je 0x1800115f8
lea rdx, [0x180154ef0]
mov rcx, rdi
call fcn.1801153c8
test eax, eax
je 0x1800115f8
lea rdx, [0x180154ef8]
mov rcx, rdi
call fcn.1801153c8
test eax, eax
je 0x1800115f8
lea rdx, [0x180154f00]
mov rcx, rdi
call fcn.1801153c8
test eax, eax
je 0x1800115d7
lea rdx, [0x180154f08]
mov rcx, rdi
call fcn.1801153c8
test eax, eax
jne 0x180011628
mov r13d, 0x1a00
lea r15, [0x180188630]
jmp 0x18001163f
mov eax, dword [rsp + 0x2c]
cmp eax, 0xe00
jb 0x1800115f1
mov r13d, 0xe00
lea r15, [0x180187830]
jmp 0x18001163f
cmp eax, 0x342
jmp 0x180011630
mov eax, dword [rsp + 0x2c]
cmp eax, 0xc00
jb 0x180011612
mov r13d, 0xc00
lea r15, [0x1801868e0]
jmp 0x18001163f
cmp eax, 0x3f0
jb 0x18001163f
mov r13d, 0x3f0
lea r15, [0x1801864f0]
jmp 0x18001163f
cmp dword [rsp + 0x2c], 0x342
jb 0x18001163f
lea r15, [0x1801874e0]
mov r13d, 0x342
lea r9, [rbp - 0x68]
mov r8d, r13d
mov rdx, r15
mov rcx, r14
call fcn.180022dc0
mov rcx, r14
mov r15d, eax
call fcn.180011780
xor eax, eax
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
call fcn.1800f4d24
xor r9d, r9d
lea rcx, [rsp + 0x70]
mov rdx, rsi
lea r8d, [r9 + 2]
call fcn.1800f5490
mov r13, qword [rsp + 0x42d0]
test eax, eax
je 0x18001173d
lea rcx, [rsp + 0x70]
call fcn.1800f537c
mov ecx, eax
lea rdx, [0x1801423a8]
mov rsi, rax
call fcn.18010fb14
mov rdi, rax
test rax, rax
je 0x18001173d
mov r9, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
call qword [r9 + 0x58]
mov r8d, esi
lea rcx, [rsp + 0x70]
mov rdx, rdi
call fcn.1800f56d4
cmp esi, eax
jne 0x180011735
lea r9, [rsp + 0x64]
mov edx, esi
lea r8, [rsp + 0x68]
mov rcx, rdi
call qword [sym.imp.imagehlp.dll_CheckSumMappedFile]
test rax, rax
je 0x180011735
mov ecx, dword [rsp + 0x64]
cmp dword [rsp + 0x68], ecx
je 0x180011735
mov dword [rax + 0x58], ecx
xor r8d, r8d
mov rax, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
xor edx, edx
call qword [rax + 0x58]
mov r8d, esi
lea rcx, [rsp + 0x70]
mov rdx, rdi
call fcn.1800f583c
mov rcx, rdi
call sym.SafeBase64.dll_SafeBase_free
lea rcx, [rsp + 0x70]
call fcn.1800f4e2c
mov edi, r15d
mov r15, qword [rsp + 0x42c0]
lea rcx, [rsp + 0x20]
call fcn.180010ec0
jmp 0x1800113e6
mov ecx, 0x80004005
call fcn.180007f70
int3
mov ecx, 0x80070057
call fcn.180007f70
int3