Function at 0x140024c80
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov qword [rbp - 0x49], 0xfffffffffffffffe
mov qword [rsp + 0x120], rbx
mov r14, rcx
call fcn.140155a74
nop
lea rax, vtable.CBackProcWnd.0
mov qword [r14], rax
lea rax, vtable.CList_unsigned_int__unsigned_int_.0
mov qword [r14 + 0x250], rax
xor edi, edi
mov qword [r14 + 0x268], rdi
mov qword [r14 + 0x270], rdi
mov qword [r14 + 0x260], rdi
mov qword [r14 + 0x258], rdi
mov qword [r14 + 0x278], rdi
mov qword [r14 + 0x280], 0xa
lea rcx, [r14 + 0x288]
call fcn.14002e8b0
nop
lea rbx, [r14 + 0x2f8]
mov qword [rbp + 0x6f], rbx
mov rcx, rbx
call fcn.1400ee170
nop
lea rax, vtable.CMMEndpointNotifyEx.0
mov qword [rbx], rax
lea rcx, [rbx + 0xa0]
lea edx, [rdi + 0xa]
call fcn.1401690e4
nop
lea rcx, [r14 + 0x3d0]
call fcn.140032850
nop
lea rcx, [r14 + 0x460]
call fcn.140167dc8
nop
lea rbx, [r14 + 0x470]
mov qword [rbp + 0x6f], rbx
mov edx, 0x1d3
mov rcx, rbx
call fcn.1400fd3d0
lea rax, vtable.CWarningDlg.1.0
mov qword [rbx], rax
lea rax, vtable.CWarningDlg.0
mov qword [rbx + 0x130], rax
mov qword [rbx + 0x370], 0x816
call fcn.140162c14
mov rcx, rax
test rax, rax
je 0x1400252f4
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [r14 + 0x7f0], rax
lea rcx, [r14 + 0x7f8]
call fcn.1400f26a0
nop
lea rcx, [r14 + 0x8d0]
call fcn.140130dc0
nop
mov byte [r14 + 0x48], 1
mov qword [r14 + 0x100], rdi
mov qword [r14 + 0x108], rdi
mov qword [r14 + 0xe8], rdi
mov qword [r14 + 0x110], rdi
mov r15, 0xffffffffffffffff
mov dword [r14 + 0x2e0], r15d
mov qword [r14 + 0x2d8], rdi
mov qword [r14 + 0x118], rdi
mov qword [r14 + 0x2e4], rdi
mov qword [r14 + 0x2ec], rdi
mov qword [r14 + 0x220], rdi
mov qword [r14 + 0x228], rdi
mov qword [r14 + 0x230], rdi
mov qword [r14 + 0x248], rdi
mov qword [r14 + 0x240], rdi
mov qword [r14 + 0x2c8], rdi
mov qword [r14 + 0x2c0], rdi
mov qword [r14 + 0x2d0], rdi
mov eax, dword [0x140465824]
test eax, eax
jne 0x140024e72
mov dword [0x140465820], 0x114
lea rcx, [0x140465820]
call fcn.14003e830
mov eax, dword [0x140465824]
cmp eax, 6
jne 0x140024e85
cmp dword [0x140465828], 0
mov eax, 1
je 0x140024e87
mov eax, edi
mov dword [r14 + 0x7e8], eax
mov qword [r14 + 0x8c0], rdi
mov qword [r14 + 0x8c8], rdi
mov dword [r14 + 0xf0], 1
mov dword [0x1404657c8], edi
mov dword [0x1404657cc], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1401566e8
mov rbx, rax
call fcn.140162c14
mov rcx, rax
test rax, rax
je 0x1400252e9
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x6f], rax
mov rdx, rbx
lea rcx, [rbp + 0x6f]
call fcn.1400168b0
test al, al
jne 0x140024f1e
test rbx, rbx
jne 0x140024f01
mov eax, edi
jmp 0x140024f0e
mov rax, r15
inc rax
cmp word [rbx + rax*2], 0
jne 0x140024f04
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp + 0x6f]
call fcn.140016ad0
nop
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 0x80000000
lea r9, str.Realtek_HD_Audio_CPL_for_Vista
mov rbx, qword [rbp + 0x6f]
mov r8, rbx
xor edx, edx
mov rcx, r14
call fcn.140157be8
lea rcx, [0x1404657f0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rdi, [r14 + 0x120]
mov esi, 0x20
nop word [rax + rax]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi], rax
lea rdi, [rdi + 8]
sub rsi, 1
jne 0x140024f80
xor r9d, r9d
xor edx, edx
xor ecx, ecx
lea r8d, [rsi + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [r14 + 0x220], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [r14 + 0x228], rax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
lea rcx, [0x140027c60]
call fcn.140164718
mov rsi, rax
test rax, rax
jne 0x140024fff
lea rdx, [rbx - 0x18]
jmp 0x1400252b5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov dword [rsp + 0x30], 2
xor eax, eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
lea r9, [r14 + 0x230]
mov r8, rdi
mov rdx, qword [rsi + 0x58]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rsi + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [r14 + 0x238], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [r14 + 0x240], rax
xor r13d, r13d
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
lea rcx, [0x14002a680]
call fcn.140164718
mov rsi, rax
test rax, rax
jne 0x1400250a5
lea rdx, [rbx - 0x18]
jmp 0x1400252b5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
lea r9, [r14 + 0x248]
mov r8, rdi
mov rdx, qword [rsi + 0x58]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rsi + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [r14 + 0x2c0], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [r14 + 0x2c8], rax
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
lea rcx, [0x14002a870]
call fcn.140164718
mov rsi, rax
test rax, rax
jne 0x140025148
lea rdx, [rbx - 0x18]
jmp 0x1400252b5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
lea r9, [r14 + 0x2d0]
mov r8, rdi
mov rdx, qword [rsi + 0x58]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rsi + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 2
mov edx, 0x20
lea r9d, [rdx - 7]
mov r8d, edx
lea rcx, [r14 + 0x460]
call fcn.1401681dc
xor edi, edi
mov r12d, edi
lea r13, [0x140450f38]
lea rax, vtable.ATL::CImage.0
lea rbx, vtable.CImageEx.0
nop dword [rax]
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rdi
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], 0
mov qword [rbp - 0x19], 0
mov word [rbp - 0x11], 0
mov qword [rbp - 0xd], 0xffffffffffffffff
mov qword [rbp - 1], rdi
mov dword [rbp + 7], edi
mov qword [rbp + 0xf], rdi
call fcn.140099610
mov rdi, rax
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [rdi + 0x30]
lea rcx, [rdi + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rbp - 0x39], rbx
xor edi, edi
mov qword [rbp + 0x17], rdi
call fcn.140155310
mov dword [rsp + 0x20], 1
mov r8d, dword [r13]
mov rdx, qword [rax + 0x10]
lea rcx, [rbp - 0x39]
call fcn.140098820
mov rcx, qword [rbp - 0x31]
call fcn.1401606a8
test rax, rax
mov edx, edi
je 0x140025260
mov rdx, qword [rax + 8]
mov r8d, 0xffffff
mov rcx, qword [r14 + 0x468]
call qword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
nop
mov qword [rbp - 0x39], rbx
lea rcx, [rbp - 0x39]
call fcn.140099520
inc r12d
add r13, 0x10
cmp r12d, 6
lea rax, vtable.ATL::CImage.0
jb 0x1400251d0
mov dword [0x1404657d4], 1
mov dword [reloc.DSOUND.dll_DirectSoundCreate], 1
mov rdx, qword [rbp + 0x6f]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r15d
sub r15d, 1
jg 0x1400252cb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, r14
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140012800
nop
mov ecx, 0x80004005
call fcn.140012800
int3