Function at 0x140048d40
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rdx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
movzx r12d, r8b
mov r14, rdx
mov r15, rcx
test r9b, r9b
je 0x140048da3
cmp byte [rcx + 0x10], 0
jne 0x140048da3
mov rdx, qword [rdx]
sub rdx, 0x18
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x1400490c3
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x1400490b9
mov edi, 0xffffffff
jmp 0x1400490af
mov rax, qword [rcx]
mov rbx, qword [rax + 0x18]
test rbx, rbx
jne 0x140048db1
jmp 0x140048d78
mov rcx, r14
call fcn.14004fd10
mov r8d, 0x104
mov rdx, qword [r14]
lea rcx, [rbx + 0x20c]
call fcn.140165344
xor esi, esi
mov word [rbx + 0x412], si
lea edi, [rsi - 1]
test r12b, r12b
je 0x140048ef7
mov rdx, r14
lea rcx, [rbp - 0x51]
call fcn.14000a560
mov r12, rax
mov qword [rbp - 0x71], rax
mov rcx, qword [r15]
mov rbx, qword [rcx + 0x18]
test rbx, rbx
jne 0x140048e18
mov rdx, qword [rax]
sub rdx, 0x18
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140048e6d
mov eax, dword [rdx + 0x10]
jmp 0x140048e52
mov rcx, r12
call fcn.14004fd10
mov r8d, 0x104
mov rdx, qword [r12]
lea rcx, [rbx + 0x416]
call fcn.140165344
mov word [rbx + 0x61c], si
mov rdx, qword [r12]
sub rdx, 0x18
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140048e6d
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140048e63
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140048e6d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, r14
lea rcx, [rbp - 0x71]
call fcn.14000a560
mov r12, rax
mov qword [rbp - 0x69], rax
mov rcx, qword [r15]
mov rbx, qword [rcx + 0x18]
test rbx, rbx
jne 0x140048ea2
mov rdx, qword [rax]
sub rdx, 0x18
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140048ef7
mov eax, dword [rdx + 0x10]
jmp 0x140048edc
mov rcx, r12
call fcn.14004fd10
mov r8d, 0x104
mov rdx, qword [r12]
lea rcx, [rbx + 0x620]
call fcn.140165344
mov word [rbx + 0x826], si
mov rdx, qword [r12]
sub rdx, 0x18
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140048ef7
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140048eed
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140048ef7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [0x14022a428]
test rcx, rcx
je 0x140048f0c
mov rax, qword [rcx]
call qword [rax + 0x110]
cmp dword [0x14021c658], 0xb23a8c33
je 0x140048f44
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rbp - 0x69], rax
test rax, rax
je 0x140048f38
mov rcx, rax
call fcn.140036570
mov rcx, rax
jmp 0x140048f3b
mov rcx, rsi
mov qword [0x140229e08], rcx
jmp 0x140048f4b
mov rcx, qword [0x140229e08]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov qword [rbp - 0x59], rax
mov dword [rbp - 0x69], esi
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp + 0x27], xmm0
mov dword [rbp - 0x69], esi
movaps xmm1, xmmword [rbp - 0x69]
movdqa xmmword [rbp + 0x17], xmm1
mov dword [rbp - 0x49], 3
mov qword [rbp - 0x41], r14
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp + 7], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp - 0x39], 4
mov eax, eax
mov qword [rbp - 0x31], rax
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 9], xmm0
lea rax, [rbp - 9]
mov qword [rbp - 0x29], rax
lea rax, [rbp + 7]
mov qword [rbp - 0x21], rax
lea rax, [rbp + 0x17]
mov qword [rbp - 0x19], rax
lea rax, [rbp + 0x27]
mov qword [rbp - 0x11], rax
cmp dword [0x14021c658], 0xb23a8c33
je 0x140048ff0
mov ecx, 0x6c0
call fcn.140111d34
mov qword [rbp - 0x69], rax
test rax, rax
je 0x140048fe7
mov rcx, rax
call fcn.140036570
mov rsi, rax
mov qword [0x140229e08], rsi
jmp 0x140048ff7
mov rsi, qword [0x140229e08]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
mov qword [rbp - 0x79], rax
lea r9, [rbp - 0x79]
mov r8d, 4
lea rdx, [rbp - 0x29]
lea rcx, str.JRiver_install_path__process:__d_:__s_r_n
call fcn.140057940
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x59]
call fcn.140037020
nop
mov rdx, qword [rbp - 0x79]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14004905c
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140049052
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004905c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rbp - 0x59]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140049096
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14004908c
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140049096
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x1400490c3
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x1400490b9
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400490c3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret