Function at 0x14004cf40
Capabilities:
Create thread
Set registry value

Disassembly:
bt r8d, 8
jae 0x14003f93e
mov byte [rcx + 0x13e378], 1
jmp method.CMaxxAudioClientEx2.1.virtual_8
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov rsi, rcx
lea rax, str.CMaxxAudioClientEx::Initialize
mov qword [rsp + 0x30], rax
lea r14, [0x14022aa38]
mov qword [rsp + 0x28], r14
xor r15d, r15d
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 3]
lea r8, [0x140303c50]
mov edx, 0x122
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_sharedmaxxaudioclientex.cpp
call fcn.1400189f0
movzx eax, byte [rsi + 0x50]
test al, al
jne 0x14004d589
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x170]
cmp qword [rsi + 0x10], r15
jne 0x14004d01c
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
lea rcx, [rsi + 8]
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], 0x84000000
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, str.CMaxxAudioClientEx
xor r8d, r8d
lea rdx, str.CMaxxAudioClientExNotifications
call fcn.140027210
mov r12d, 1
cmp qword [rsi + 0x13e030], r15
jne 0x14004d0b3
mov ecx, 0x508
call fcn.1401467ec
mov rdi, rax
mov qword [rbp + 0x10], rax
mov dword [rax + 8], r12d
mov dword [rax + 0xc], r12d
lea rax, vtable.std::_Ref_count_obj_class_CRealtekJack_.0
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
mov rcx, rbx
call fcn.140105700
nop
mov qword [rbp - 0x40], rbx
mov qword [rsi + 0x13e030], rbx
mov rbx, qword [rsi + 0x13e038]
mov qword [rsp + 0x78], rbx
mov qword [rsi + 0x13e038], rdi
test rbx, rbx
je 0x14004d0b3
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, r12d
jne 0x14004d0b3
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, r12d
jne 0x14004d0b3
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 8]
nop
cmp qword [rsi + 0x10], 0
je 0x14004d549
mov dword [rsi + 0x2b0], r15d
mov dword [rsi + 0x510], r12d
lea rdx, [rsi + 0x38]
lea rcx, [rsi + 0x58]
call fcn.140034a50
test eax, eax
je 0x14004d181
mov rax, qword [rsi + 0x518]
test rax, rax
jne 0x14004d122
mov ecx, 0x328
call fcn.1401467ec
mov rbx, rax
mov qword [rbp + 0x10], rax
xor edx, edx
mov r8d, 0x328
mov rcx, rax
call fcn.1401659c0
mov rcx, rbx
call fcn.140103b80
mov qword [rsi + 0x518], rax
test rax, rax
je 0x14004d131
lea r9, [rsi + 0x40]
xor r8d, r8d
mov rcx, rax
call fcn.140103d80
mov rax, qword [rsi + 0x520]
test rax, rax
jne 0x14004d172
mov ecx, 0x328
call fcn.1401467ec
mov rbx, rax
mov qword [rbp + 0x10], rax
xor edx, edx
mov r8d, 0x328
mov rcx, rax
call fcn.1401659c0
mov rcx, rbx
call fcn.140103b80
mov qword [rsi + 0x520], rax
test rax, rax
je 0x14004d181
lea r9, [rsi + 0x40]
mov r8d, r12d
mov rcx, rax
call fcn.140103d80
lea r8, str.IPC_PROTECTION
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsi + 0x13df18], rax
test rax, rax
jne 0x14004d1d7
lea rax, str.CMaxxAudioClientEx::Initialize__Create_Mutex_fail
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
mov r9d, 3
lea r8, [0x140303c50]
mov edx, 0x144
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_sharedmaxxaudioclientex.cpp
call fcn.1400189f0
jmp 0x14004d47c
cmp byte [rsi + 0x13e050], 0
jne 0x14004d1f3
mov rax, qword [rsi + 0x13dee8]
shr rax, 0x27
test al, 1
je 0x14004d2f7
lea rcx, [rsi + 0x5d0]
call fcn.14002fd20
movdqa xmm0, xmmword [0x140289fc0]
movdqu xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x140289fd0]
movdqu xmmword [rbp - 0x70], xmm1
mov dword [rbp - 0x60], 0x1c
mov dword [rbp - 0x5c], 0x1d
mov dword [rbp - 0x58], 0x1e
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
call fcn.140016e40
mov rbx, rax
mov qword [rsp + 0x50], rax
lea rdi, [rbp - 0x80]
nop dword [rax]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.140017a20
lea r9, [rax + 0x1c]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x50]
call fcn.140017a40
add rdi, 4
lea rax, [rbp - 0x54]
cmp rdi, rax
je 0x14004d28b
mov rbx, qword [rsp + 0x50]
jmp 0x14004d250
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x20], 1
xor r9d, r9d
lea edx, [r9 + 2]
lea r8d, [r9 + 0xf]
lea rcx, [rsi + 0x5d0]
call fcn.14002f830
nop
lea rcx, [rsp + 0x50]
call fcn.140016d80
mov edx, 0x20
mov rcx, qword [rsp + 0x50]
call fcn.140146bac
lea rax, [rsi + 0x13e0b8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rsi
lea r8, [0x140057830]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 0x13e0b0], rax
xor r8d, r8d
mov edx, r12d
mov rcx, rsi
call fcn.14004df90
mov byte [rsi + 0x50], al
mov byte [rsi + 0x13def8], 1
test al, al
je 0x14004d474
cmp qword [rsi + 0x588], 0
je 0x14004d474
mov eax, dword [rsi + 0x13dee8]
shr rax, 0x16
test al, 1
jne 0x14004d474
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, str.InitDim
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioGeneral
mov rcx, 0xffffffff80000001
call fcn.14001fe40
test eax, eax
jne 0x14004d474
mov dword [rsp + 0x20], 0xfffffffd
mov r9d, r12d
movsd xmm6, qword [0x140289c70]
movaps xmm2, xmm6
mov edx, 0x7f8
mov rcx, qword [rsi + 0x588]
call fcn.14003e7d0
mov dword [rsp + 0x20], 0xfffffffd
mov r9d, 3
movaps xmm2, xmm6
mov edx, 0x7f8
mov rcx, qword [rsi + 0x588]
call fcn.14003e7d0
mov dword [rsp + 0x20], 0xfffffffd
mov r9d, 5
movaps xmm2, xmm6
mov edx, 0x7f8
mov rcx, qword [rsi + 0x588]
call fcn.14003e7d0
mov dword [rsp + 0x20], 0xfffffffd
mov r9d, 0x64
movaps xmm2, xmm6
mov edx, 0x7f8
mov rcx, qword [rsi + 0x588]
call fcn.14003e7d0
movzx eax, byte [rsi + 0x13def8]
mov dword [rbp + 0x18], eax
mov qword [rbp + 0x10], r15
lea rax, [rbp + 0x20]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioGeneral
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x14004d474
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.InitDim
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, rsi
call fcn.1400537b0
mov rcx, rsi
call fcn.1400569d0
mov dword [rsi + 0x13e0bc], eax
call fcn.140058880
mov dword [rsi + 0x13e36c], eax
mov edi, r15d
mov rcx, qword [rsi + 0x5f0]
test rcx, rcx
je 0x14004d4e9
mov r8b, 1
lea rdx, [rbp - 0x30]
call fcn.14002c4e0
cmp qword [rax + 0x18], 8
jb 0x14004d4ba
mov rax, qword [rax]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, str.1da5d803_d492_4edd_8c23_e0c0ffee7f0e_5
mov rdx, rax
mov rcx, 0xffffffff80000002
call fcn.14001fe40
mov ebx, eax
lea rcx, [rbp - 0x30]
call fcn.1400166e0
test ebx, ebx
cmovne edi, r12d
mov dword [rsi + 0x13e370], edi
mov edi, r15d
mov rcx, qword [rsi + 0x5f8]
test rcx, rcx
je 0x14004d543
mov r8b, 1
lea rdx, [rbp - 0x10]
call fcn.14002c4e0
cmp qword [rax + 0x18], 8
jb 0x14004d514
mov rax, qword [rax]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, str.1da5d803_d492_4edd_8c23_e0c0ffee7f0e_5
mov rdx, rax
mov rcx, 0xffffffff80000002
call fcn.14001fe40
mov ebx, eax
lea rcx, [rbp - 0x10]
call fcn.1400166e0
test ebx, ebx
cmovne edi, r12d
mov dword [rsi + 0x13e374], edi
mov eax, r15d
cmp byte [rsi + 0x50], al
setne al
mov dword [rsp + 0x30], eax
lea rax, str.CMaxxAudioClientEx::Initialize_d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9d, 3
lea r8, [0x140303c50]
mov edx, 0x15f
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumermainrel4_dell_12818consumerplatform_vista_sharedmaxxaudioclientex.cpp
call fcn.1400189f0
movzx eax, byte [rsi + 0x50]
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.140146480
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret