Function at 0x14001a254
Capabilities:
Read file via mapping

Disassembly:
mov rax, rsp
push rbp
push r13
push r14
lea rbp, [rax - 0x58]
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 [0x1400c9158]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rdi, rcx
mov rcx, qword [rcx + 0x18]
lea rax, [rcx - 1]
mov r14d, 0xf001f
cmp rax, 0xfffffffffffffffd
jbe 0x14001a471
and qword [rsp + 0x70], 0
mov byte [rsp + 0x78], 0
mov dword [rsp + 0x7c], 2
lea rax, [0x14008cc60]
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, [0x140095b5c]
lea rcx, [rbp - 0x50]
call fcn.140018160
nop
mov r8d, r14d
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x68]
call fcn.1400184c0
nop
lea rcx, [rbp - 0x50]
call fcn.1400180d0
mov r9d, ebx
mov r8d, ebx
lea rdx, [0x140095b5c]
lea rcx, [rbp - 0x50]
call fcn.140018160
nop
mov r8d, r14d
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x68]
call fcn.1400184c0
nop
lea rcx, [rbp - 0x50]
call fcn.1400180d0
lea r9d, [rbx + 0x11]
mov r8d, ebx
lea rdx, [0x140095bb0]
lea rcx, [rbp - 0x50]
call fcn.140018160
nop
mov r8d, r14d
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x68]
call fcn.1400184c0
nop
lea rcx, [rbp - 0x50]
call fcn.1400180d0
xor r9d, r9d
mov r8d, ebx
lea rdx, [0x140095ba8]
lea rcx, [rbp - 0x50]
call fcn.140018160
nop
lea r8d, [rbx + 3]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x68]
call fcn.1400184c0
nop
lea rcx, [rbp - 0x50]
call fcn.1400180d0
lea r13, [0x14008cc50]
mov qword [rsp + 0x30], r13
and qword [rsp + 0x38], 0
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x30]
call fcn.14001a78c
mov qword [rsp + 0x58], r13
xor eax, eax
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x14001a3e8
lea rcx, [rsp + 0x58]
call fcn.14001a704
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 r14, rax
mov rsi, qword [rdi + 0x18]
lea rdx, [rsi - 1]
cmp rdx, 0xfffffffffffffffd
jbe 0x14003ef92
mov qword [rdi + 0x18], r14
mov qword [rsp + 0x58], r13
lea rcx, [rsp + 0x58]
call fcn.14001a630
nop
mov qword [rsp + 0x30], r13
lea rcx, [rsp + 0x30]
call fcn.14001a630
nop
lea rcx, [rsp + 0x68]
call fcn.140018898
mov rcx, qword [rdi + 0x18]
mov r14d, 0xf001f
xor ebx, ebx
lea rax, [rcx + 1]
mov esi, 0x80070000
test rax, 0xfffffffffffffffe
je 0x14003efb2
cmp qword [rdi + 0x10], 0
jne 0x14001a4b8
mov qword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_MapViewOfFile]
mov qword [rdi + 0x10], rax
test rax, rax
je 0x14003efd0
test ebx, ebx
js 0x14001a4c5
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.14002dd40
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop rbp
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop
jmp 0x14001a439
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x14003efc3
movzx ebx, ax
or ebx, esi
test ebx, ebx
js 0x14001a4c5
jmp 0x14001a488
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x14001a4b8
movzx ebx, ax
or ebx, esi
jmp 0x14001a4b8