Function at 0x14004a2c0
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov rsi, rcx
mov dword [rcx + 8], 1
xor r12d, r12d
mov qword [rcx], r12
mov byte [rcx + 0x10], r12b
cmp dword [0x1401eb6c0], 0xb23a8c33
je 0x14004a327
mov ecx, 0x6c0
call fcn.1400f2ce0
mov qword [rbp + 0x6f], rax
test rax, rax
je 0x14004a31b
mov rcx, rax
call fcn.1400302c0
mov rcx, rax
jmp 0x14004a31e
mov rcx, r12
mov qword [0x1401f7b90], rcx
jmp 0x14004a32e
mov rcx, qword [0x1401f7b90]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov qword [rbp + 0x77], rax
mov dword [rbp - 0x69], r12d
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp + 0x17], xmm0
mov dword [rbp - 0x69], r12d
movaps xmm1, xmmword [rbp - 0x69]
movdqa xmmword [rbp + 7], xmm1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp - 0x59], 4
mov eax, eax
mov qword [rbp - 0x51], rax
movaps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rbp - 9], xmm0
mov dword [rbp - 0x69], 4
mov qword [rbp - 0x61], 0x1f
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x19], xmm0
lea rax, [rbp - 0x19]
mov qword [rbp - 0x49], rax
lea rax, [rbp - 9]
mov qword [rbp - 0x41], rax
lea rax, [rbp + 7]
mov qword [rbp - 0x39], rax
lea rax, [rbp + 0x17]
mov qword [rbp - 0x31], rax
cmp dword [0x1401eb6c0], 0xb23a8c33
je 0x14004a3de
mov ecx, 0x6c0
call fcn.1400f2ce0
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x14004a3d2
mov rcx, rax
call fcn.1400302c0
mov rcx, rax
jmp 0x14004a3d5
mov rcx, r12
mov qword [0x1401f7b90], rcx
jmp 0x14004a3e5
mov rcx, qword [0x1401f7b90]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov qword [rbp + 0x6f], rax
lea r9, [rbp + 0x6f]
mov r8d, 4
lea rdx, [rbp - 0x49]
lea rcx, str.JRiver_Process_v_d___d_
call fcn.140048670
lea rdx, [rbp + 0x6f]
lea rcx, [rbp + 0x77]
call fcn.140030d70
nop
mov rdx, qword [rbp + 0x6f]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
mov r14, 0xffffffffffffffff
cmp eax, 0x7ffffc17
je 0x14004a44f
mov eax, dword [rdx + 0x10]
cmp eax, r14d
je 0x14004a445
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004a44f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov ecx, 0x20
call fcn.1400f2ce0
mov rdi, rax
mov qword [rbp + 0x7f], rax
mov rbx, qword [rbp + 0x77]
test rax, rax
je 0x14004a502
lea rax, vtable.JRSharedMemory.0
mov qword [rdi], rax
lea rcx, [rdi + 8]
call fcn.140002570
mov qword [rdi + 0x18], r12
mov qword [rdi + 0x10], r12
test rbx, rbx
je 0x14004a500
cmp word [rbx], 0
je 0x14004a500
xor r9d, r9d
mov rdx, rbx
lea rcx, [rdi + 8]
call fcn.140035440
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0xc70
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rdi + 0x10], rax
test rax, rax
je 0x14004a4e6
mov qword [rsp + 0x20], r12
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 0x14004a500
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14004a500
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x10], r12
jmp 0x14004a505
mov rdi, r12
mov rcx, rsi
call fcn.14004ba90
mov dword [rsi + 8], 1
mov qword [rsi], rdi
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x14004a531
cmp byte [rax], 0
jne 0x14004a531
mov rcx, rsi
call fcn.14004a580
mov byte [rsi + 0x10], 1
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14004a55d
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14004a553
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x14004a55d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, rsi
add rsp, 0xc0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret