Function at 0x1800261c8
Capabilities:
Delete file
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov ebx, edx
mov r12, rcx
lea rdx, [0x18003a0b0]
mov ecx, 0x243
mov rsi, r8
call fcn.180030818
test ebx, ebx
jne 0x180026494
mov rcx, qword [r12 + 8]
lea edx, [rbx + 8]
lea r8d, [rbx + 0xc]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x180026494
mov rcx, rsi
mov qword [rax], rsi
call qword [sym.imp.msvcrt.dll_wcslen]
mov rcx, qword [rdi]
mov ebx, dword [rsi + rax*2 + 2]
mov dword [rdi + 8], ebx
call qword [sym.imp.msvcrt.dll_wcslen]
mov rcx, qword [0x180044070]
lea rdx, [rsi + rax*2 + 6]
mov rax, qword [rcx + 0x30]
mov r13d, 1
test rax, rax
je 0x1800262cd
mov r9, qword [rcx + 0x28]
mov r8d, ebx
mov qword [rsp + 0x20], rax
call fcn.180027948
test eax, eax
jne 0x1800262b7
lea rdx, str.true_n
mov ecx, 0x7ce
call fcn.180030818
lea rdx, [0x18003a0b0]
mov ecx, 0x353
call fcn.180030818
mov rcx, qword [0x1800440a0]
lea ebx, [r13 + 3]
mov word [rsp + 0x78], bx
mov r9, qword [rcx]
lea r8, [rsp + 0x78]
lea edx, [rbx - 2]
call qword [r9 + 0x50]
mov eax, ebx
jmp 0x180026499
lea rdx, str.false_n
mov ecx, 0x7d3
call fcn.180030818
mov bpl, r13b
jmp 0x1800262e1
lea rdx, str.pLoaderSign__NULL_n
mov ecx, 0x7d9
call fcn.180030818
xor bpl, bpl
call fcn.1800266d0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
test ebx, ebx
je 0x180026302
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, qword [rdi]
mov rcx, qword [r12 + 8]
call fcn.18002865c
mov r8, qword [rdi]
test al, al
jne 0x180026360
lea rdx, str.___s_NOT_deleted_with_SecureFileWipe_n
mov ecx, 0x286
call fcn.180030818
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r8, qword [rdi]
test eax, eax
jne 0x180026352
lea rdx, str.___s_NOT_deleted_with_DeleteFileW_n
mov ecx, 0x28e
call fcn.180030818
add ebx, r13d
cmp ebx, 0xa
jl 0x1800262f3
jmp 0x180026371
lea rdx, str._s_deleted_with_DeleteFileW_n
mov ecx, 0x28a
jmp 0x18002636c
lea rdx, str._s_deleted_with_SecureFileWipe_n
mov ecx, 0x282
call fcn.180030818
mov eax, dword [rdi + 8]
and qword [rsp + 0x28], 0
mov ebx, 4
add eax, ebx
xor r9d, r9d
mov r8d, ebx
xor edx, edx
or rcx, 0xffffffffffffffff
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
and qword [rsp + 0x20], 0
lea edx, [rbx - 2]
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
mov r13, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
lea rdx, [rdi + 8]
mov rcx, rax
mov r8d, ebx
mov r14, rax
call qword [sym.imp.msvcrt.dll_memcpy]
mov rcx, qword [rdi]
mov ebx, dword [rdi + 8]
call qword [sym.imp.msvcrt.dll_wcslen]
lea rcx, [r14 + 4]
mov r8d, ebx
lea rdx, [rsi + rax*2 + 6]
call qword [sym.imp.msvcrt.dll_memcpy]
and qword [rsp + 0x30], 0
mov qword [rsp + 0x38], r13
call fcn.18000bcc8
test al, al
je 0x180026415
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.18000b59c
test al, al
je 0x180026415
call fcn.18000bc78
call fcn.18000c918
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [r12 + 8]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.IsAlreadyInitLoaderBody___d_n
movzx r8d, bpl
mov ecx, 0x2c8
call fcn.180030818
test bpl, bpl
je 0x180026494
lea rdx, str.SetEvent___ReplacementEvent____n
mov ecx, 0x2cb
call fcn.180030818
xor eax, eax
lea ecx, [rax + 1]
lock cmpxchg dword [0x1800440a8], ecx
je 0x180026487
lea rdx, str.InterlockedCompareExchange_Error_n
mov ecx, 0x2ce
call fcn.180030818
mov rcx, qword [0x1800440b8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, 3
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret