Function at 0x14001a680
Capabilities:
Read file via mapping

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
lea eax, [rcx - 1]
cmp eax, 6
ja case.0x14001a6b1.3
cdqe
lea r8, [0x140000000]
mov edx, dword [r8 + rax*4 + 0x1a938]
add rdx, r8
jmp rdx
xor eax, eax
cmp ecx, 5
sete al
mov ecx, eax
call fcn.140018e40
jmp case.0x14001a6b1.3
lea r8, str.D7B7CDDF_EF6B_4070_9478_2B37F70BE7AA
xor edx, edx
lea ecx, [rdx + 6]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov rdi, rax
test rax, rax
je 0x14001a92e
xor eax, eax
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 6]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
test rax, rax
jne 0x14001a716
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14001a92e
lea rcx, [rsp + 0x68]
call fcn.140022660
nop
mov rbx, rsi
cmp word [rsi], 0
je 0x14001a75c
nop word [rax + rax]
cmp dword [rbx + 0x10], 0
je 0x14001a745
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.140022a30
jmp 0x14001a752
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.140022cf0
add rbx, 0x14
cmp word [rbx], 0
jne 0x14001a730
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1000
mov ecx, 0x8000000
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x68]
call fcn.14001f140
jmp case.0x14001a6b1.3
call fcn.14001f360
mov rbx, rax
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x14001a7ab
jmp 0x14001a92e
lea rdx, str.CreateInstance
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
test rax, rax
jne 0x14001a7d3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x14001a92e
xor eax, eax
mov qword [rsp + 0x68], rax
lea r8, [rsp + 0x68]
lea rdx, [0x140044a70]
lea rcx, [0x140044a60]
call r11
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
je 0x14001a826
call fcn.140018d20
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001a816
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x14001a92e
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001a837
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
jmp 0x14001a92e
lea rcx, [rsp + 0x70]
call fcn.140022e10
lea rcx, [rsp + 0x70]
call fcn.140022e30
test al, al
je case.0x14001a6b1.3
call fcn.14001f360
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14001a87d
jmp 0x14001a92e
lea rdx, str.CreateInstance
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
test rax, rax
jne 0x14001a8a5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x14001a92e
xor eax, eax
mov qword [rsp + 0x68], rax
lea r8, [rsp + 0x68]
lea rdx, [0x140044a70]
lea rcx, [0x140044a60]
call r11
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x78], rcx
test rcx, rcx
je 0x14001a8d7
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call fcn.1400236e0
test al, al
je 0x14001a90b
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001a8fb
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
jmp 0x14001a92e
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001a91c
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x14001a6b1.3
call fcn.140020320
xor eax, eax
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret