Function at 0x140001bc0
Capabilities:
Read file via mapping

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0xe0
mov rax, qword [0x14002e010]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov rdi, rcx
mov qword [rsp + 0x70], rcx
xor esi, esi
mov r15d, esi
mov qword [rsp + 0x68], rsi
xor r14b, r14b
mov byte [rsp + 0x60], r14b
mov ebx, esi
mov qword [r11 - 0x78], rsi
mov qword [r11 - 0x80], rsi
mov dword [r11 - 0x58], ebx
mov word [r11 - 0x54], 0x500
lea rax, [r11 - 0x78]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov r9d, 0x220
lea r8d, [rsi + 0x20]
mov dl, 2
lea rcx, [r11 - 0x58]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
lea r12d, [rsi + 1]
test eax, eax
je 0x140001cf3
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xb4], xmm0
mov qword [rsp + 0xc8], 5
mov dword [rsp + 0xa8], 0xc0000000
mov qword [rsp + 0xac], 2
mov dword [rsp + 0xc4], esi
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xd0], rax
lea r9, [rsp + 0x78]
xor r8d, r8d
lea rdx, [rsp + 0xa8]
mov ecx, r12d
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclA]
lea edx, [rsi + 0x28]
lea ecx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140001cf3
mov edx, r12d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor r9d, r9d
mov r8, qword [rsp + 0x78]
mov edx, r12d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [rsp + 0x88], 0x18
mov qword [rsp + 0x90], rbx
mov dword [rsp + 0x98], esi
lea rax, str.BD_CST_DBG_INFO_CTRL
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2808
xor r9d, r9d
lea r8d, [r9 + 4]
lea rdx, [rsp + 0x88]
lea rcx, [r9 - 1]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov qword [rdi + 0x50], rax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140001d4e
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140001d61
call qword [sym.imp.ADVAPI32.dll_FreeSid]
test rbx, rbx
je 0x140001d6f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rdi + 0x50]
test rcx, rcx
je 0x140001d95
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r15, rax
mov qword [rsp + 0x68], rax
test r15, r15
je 0x140001e52
mov qword [rdi + 0x58], r15
mov r14d, r12d
lock xadd dword [r15], r14d
cmp r14d, 0x100
jl 0x140001dbf
mov rax, qword [rdi + 0x58]
lock dec dword [rax]
mov r14b, 1
jmp 0x140001e37
mov ebx, esi
mov dword [rsp + 0x64], ebx
cmp ebx, 0x100
jge 0x140001e17
movsxd rax, ebx
lea rdx, [rax*4 + 1]
add rdx, rax
lea rdx, [r15 + rdx*8]
mov qword [rdi + 0x60], rdx
xor eax, eax
lock cmpxchg dword [rdx], r12d
je 0x140001df0
inc ebx
jmp 0x140001dc1
mov rax, qword [rdi + 0x60]
mov dword [rax + 4], esi
mov rcx, qword [rdi + 0x60]
add rcx, 8
lea r9, str.SMARTCACHESP
lea r8, [0x14000b7f8]
mov edx, 0x20
call fcn.140004700
test r14d, r14d
jne 0x140001e27
mov rax, qword [rdi + 0x58]
mov dword [rax + 4], 0x54534348
movzx r14d, byte [rsp + 0x60]
cmp ebx, 0x100
cmove r14d, r12d
mov byte [rsp + 0x60], r14b
jmp 0x140001e52
test r14b, r14b
je 0x140001e76
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x50], rsi
mov qword [rdi + 0x58], rsi
mov qword [rdi + 0x60], rsi
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140009310
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret