Function at 0x14001504c
Capabilities:
Read file via mapping

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x48]
sub rsp, 0x140
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400c7228]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rdi, rcx
lea rsi, [rcx + 0x18]
mov rcx, qword [rsi]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
jbe 0x140015258
and qword [rsp + 0x70], 0
mov byte [rsp + 0x78], 0
mov dword [rsp + 0x7c], 2
lea rax, [0x14008c1f8]
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
and qword [rbp - 0x70], 0
and dword [rbp - 0x68], 0
xor r9d, r9d
lea ebx, [r9 + 1]
mov r8d, ebx
lea rdx, [0x140095fa0]
lea rcx, [rbp - 0x50]
call fcn.140015454
nop
mov r8d, 0xf001f
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x68]
call fcn.1400152d8
nop
lea rcx, [rbp - 0x50]
call fcn.14001698c
mov r9d, ebx
mov r8d, ebx
lea rdx, [0x140095fa0]
lea rcx, [rbp - 0x50]
call fcn.140015454
nop
mov r8d, 0xf001f
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x68]
call fcn.1400152d8
nop
lea rcx, [rbp - 0x50]
call fcn.14001698c
lea r9d, [rbx + 0x11]
mov r8d, ebx
lea rdx, [0x140095ec0]
lea rcx, [rbp - 0x50]
call fcn.140015454
nop
mov r8d, 0xf001f
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x68]
call fcn.1400152d8
nop
lea rcx, [rbp - 0x50]
call fcn.14001698c
xor r9d, r9d
mov r8d, ebx
lea rdx, [0x140095eb8]
lea rcx, [rbp - 0x50]
call fcn.140015454
nop
lea r8d, [rbx + 3]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x68]
call fcn.1400152d8
nop
lea rcx, [rbp - 0x50]
call fcn.14001698c
lea rbx, [0x14008c278]
mov qword [rsp + 0x30], rbx
and qword [rsp + 0x38], 0
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x30]
call fcn.140013cf8
mov qword [rsp + 0x58], rbx
xor eax, eax
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x1400151e2
lea rcx, [rsp + 0x58]
call fcn.140013ab8
mov rax, qword [rsp + 0x60]
mov dword [rsp + 0x40], SafeArrayPutElement
mov qword [rsp + 0x48], rax
and dword [rsp + 0x50], 0
lea rax, str.GlobalSearchCrawlScopeVersion
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
xor r9d, r9d
lea r8d, [r9 + 4]
lea rdx, [rsp + 0x40]
or rcx, 0xffffffffffffffff
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_CreateFileMappingW]
mov rdx, rax
mov rcx, rsi
call fcn.140013954
nop
mov qword [rsp + 0x58], rbx
lea rcx, [rsp + 0x58]
call fcn.1400055a0
nop
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x30]
call fcn.1400055a0
nop
lea rcx, [rsp + 0x68]
call fcn.1400139a0
mov rcx, qword [rdi + 0x18]
xor ebx, ebx
lea rax, [rcx + 1]
test rax, 0xfffffffffffffffe
je 0x14003a842
cmp qword [rdi + 0x10], 0
jne 0x14001529b
mov qword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_MapViewOfFile]
mov qword [rdi + 0x10], rax
test rax, rax
je 0x14003a864
test ebx, ebx
js 0x1400152a8
mov rdx, qword [rdi + 0x10]
mov ecx, dword [rdi + 8]
mov dword [rdx], ecx
mov eax, ebx
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14002c150
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x14003a857
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x1400152a8
jmp 0x14001526a
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x14001529b
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14001529b