Function at 0x1401b2500
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140300040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rdx
mov rbp, rcx
mov qword [rsp + 0x38], rdx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
cmp qword [rcx + 8], r15
jne 0x1401b25a6
call fcn.140019590
mov rcx, rax
test rax, rax
je 0x1401b27ee
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038ca6.0]
add rax, 0x18
mov qword [rsi], rax
lea rbx, [0x140267540]
mov rdx, rbx
mov rcx, rsi
call fcn.140018bb0
test al, al
jne 0x1401b2599
mov rdi, 0xffffffffffffffff
nop word [rax + rax]
inc rdi
cmp word [rbx + rdi*2], 0
jne 0x1401b2580
mov r8d, edi
mov rdx, rbx
mov rcx, rsi
call fcn.140018f50
nop
mov dword [rsp + 0x30], 1
jmp 0x1401b27ca
mov rcx, qword [rcx + 0x10]
test rcx, rcx
jne 0x1401b260c
call fcn.140019590
mov rdx, rax
test rax, rax
je 0x1401b27ee
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
mov rcx, rdx
call qword [case.0x140038ca6.0]
add rax, 0x18
mov qword [rsi], rax
lea rbx, [0x140267540]
mov rdx, rbx
mov rcx, rsi
call fcn.140018bb0
test al, al
jne 0x1401b2699
mov rdi, 0xffffffffffffffff
nop dword [rax + rax]
inc rdi
cmp word [rbx + rdi*2], 0
jne 0x1401b2600
jmp 0x1401b268a
mov qword [rsp + 0x20], 0x20d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
test rax, rax
jne 0x1401b26a6
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x10], r15
call fcn.140019590
mov rdx, rax
test rax, rax
je 0x1401b27ee
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
mov rcx, rdx
call qword [case.0x140038ca6.0]
add rax, 0x18
mov qword [rsi], rax
lea rbx, [0x140267540]
mov rdx, rbx
mov rcx, rsi
call fcn.140018bb0
test al, al
jne 0x1401b2699
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [rbx + rdi*2], 0
jne 0x1401b2680
mov r8d, edi
mov rdx, rbx
mov rcx, rsi
call fcn.140018f50
nop
mov dword [rsp + 0x30], 1
jmp 0x1401b27ca
mov edx, 0xfa
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1401b26e9
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rdx, [0x140267540]
mov rcx, rsi
call fcn.1400190e0
nop
mov dword [rsp + 0x30], 1
jmp 0x1401b27ca
mov qword [rsp + 0x40], r15
call fcn.140019590
mov rcx, rax
test rax, rax
je 0x1401b27ee
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038ca6.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
mov rdi, 0xffffffffffffffff
cmp byte [r14 + 1], 2
jne 0x1401b2764
mov byte [r14 + 0x20c], 0
lea rdx, [r14 + 2]
test rdx, rdx
je 0x1401b274d
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x1401b2740
mov r15d, eax
mov r8d, r15d
lea rcx, [rsp + 0x40]
call fcn.140018f50
mov byte [r14 + 1], 1
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rcx, [rbx - 0x18]
cmp word [rbx], 0
jne 0x1401b2797
call fcn.140019180
add rax, 0x18
mov qword [rsi], rax
mov dword [rsp + 0x30], 1
jmp 0x1401b27ab
call fcn.140019180
add rax, 0x18
mov qword [rsi], rax
mov dword [rsp + 0x30], 1
lock xadd dword [rbx - 8], edi
sub edi, 1
jg 0x1401b27ca
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
mov rax, rsi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401f74b0
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140019300
int3