Function at 0x140016890
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 0x140016aad
and qword [rsp + 0x70], 0
mov byte [rsp + 0x78], 0
mov dword [rsp + 0x7c], 2
lea rax, str.__f_a_
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, [0x140094c8c]
lea rcx, [rbp - 0x50]
call fcn.140014850
nop
mov r8d, r14d
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x68]
call fcn.140014bb0
nop
lea rcx, [rbp - 0x50]
call fcn.1400147c0
mov r9d, ebx
mov r8d, ebx
lea rdx, [0x140094c8c]
lea rcx, [rbp - 0x50]
call fcn.140014850
nop
mov r8d, r14d
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x68]
call fcn.140014bb0
nop
lea rcx, [rbp - 0x50]
call fcn.1400147c0
lea r9d, [rbx + 0x11]
mov r8d, ebx
lea rdx, [0x140094d70]
lea rcx, [rbp - 0x50]
call fcn.140014850
nop
mov r8d, r14d
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x68]
call fcn.140014bb0
nop
lea rcx, [rbp - 0x50]
call fcn.1400147c0
xor r9d, r9d
mov r8d, ebx
lea rdx, [0x140094d68]
lea rcx, [rbp - 0x50]
call fcn.140014850
nop
lea r8d, [rbx + 3]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x68]
call fcn.140014bb0
nop
lea rcx, [rbp - 0x50]
call fcn.1400147c0
lea r13, str.p_f_a_
mov qword [rsp + 0x30], r13
and qword [rsp + 0x38], 0
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x30]
call fcn.140016f6c
mov qword [rsp + 0x58], r13
xor eax, eax
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x140016a24
lea rcx, [rsp + 0x58]
call fcn.140016ee4
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 0x14003b256
mov qword [rdi + 0x18], r14
mov qword [rsp + 0x58], r13
lea rcx, [rsp + 0x58]
call fcn.140016e10
nop
mov qword [rsp + 0x30], r13
lea rcx, [rsp + 0x30]
call fcn.140016e10
nop
lea rcx, [rsp + 0x68]
call fcn.140014f88
mov rcx, qword [rdi + 0x18]
mov r14d, 0xf001f
xor ebx, ebx
lea rax, [rcx + 1]
mov esi, 0x80070000
test rax, 0xfffffffffffffffe
je 0x14003b276
cmp qword [rdi + 0x10], 0
jne 0x140016af4
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 0x14003b294
test ebx, ebx
js 0x140016b01
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.14002cdb0
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 0x140016a75
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x14003b287
movzx ebx, ax
or ebx, esi
test ebx, ebx
js 0x140016b01
jmp 0x140016ac4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x140016af4
movzx ebx, ax
or ebx, esi
jmp 0x140016af4