Function at 0x1400430a0
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xc8
mov r14, rcx
mov dword [rcx + 8], 1
xor ebp, ebp
mov qword [rcx], rbp
mov byte [rcx + 0x10], bpl
call fcn.140002000
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x30]
mov qword [rsp + 0x110], rax
mov dword [rsp + 0x30], ebp
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0xb0], xmm0
mov dword [rsp + 0x30], ebp
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0xa0], xmm1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x40], 4
mov eax, eax
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x90], xmm0
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x38], 0x1f
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x80], xmm0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x68], rax
call fcn.140002000
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x30]
mov qword [rsp + 0x108], rax
lea r9, [rsp + 0x108]
lea r8d, [rbp + 4]
lea rdx, [rsp + 0x50]
lea rcx, str.JRiver_Process_v_d___d_
call fcn.140044c50
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x110]
call fcn.1400103b0
nop
mov rdx, qword [rsp + 0x108]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
lea rsi, [rbp - 1]
cmp eax, 0x7ffffc17
je 0x1400431f7
mov eax, dword [rdx + 0x10]
cmp eax, esi
je 0x1400431ed
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400431f7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov ecx, 0x20
call fcn.14008d9e0
mov rdi, rax
mov qword [rsp + 0x118], rax
lea rax, vtable.JRSharedMemory.0
mov qword [rdi], rax
call fcn.140002000
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x30]
mov qword [rdi + 8], rax
mov qword [rdi + 0x18], rbp
mov qword [rdi + 0x10], rbp
mov rbx, qword [rsp + 0x110]
test rbx, rbx
je 0x1400432b0
cmp word [rbx], 0
je 0x1400432b0
xor r9d, r9d
mov rdx, rbx
lea rcx, [rdi + 8]
call fcn.140014540
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0xc70
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rdi + 0x10], rax
test rax, rax
je 0x140043296
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 6]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 0x18], rax
cmp qword [rdi + 0x18], 0
jne 0x1400432b0
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1400432b0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x10], rbp
mov rcx, r14
call fcn.140044710
mov dword [r14 + 8], 1
mov qword [r14], rdi
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x1400432de
cmp byte [rax], 0
jne 0x1400432de
mov rcx, r14
call fcn.140043320
mov byte [r14 + 0x10], 1
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140043308
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x1400432fe
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140043308
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rax, r14
add rsp, 0xc8
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret