joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f60b0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [section..data]
mov rdi, rax
test rax, rax
jne 0x1400f60f2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400f6139
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400f6192
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
sub rbp, 1
jne 0x1400f6150
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400f61d3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x140148701]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140148702]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400f61a0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x14011e694
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x14011e671
call fcn.140102dac
mov dword [rax], socket
call fcn.14010345c
or eax, 0xffffffff
jmp 0x14011e68e
sub dword [rcx + 0x10], 1
jns 0x14011e680
add rsp, 0x28
jmp fcn.14011e2f4
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x14011e650
Function at 0x140123f04
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140123f24
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140102d3c
or eax, 0xffffffff
jmp 0x140123f26
xor eax, eax
add rsp, 0x28
ret
Function at 0x140002ee0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x30
mov rbp, r9
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
jne 0x140002f23
lea r8d, [rdx + 0x1d]
lea rdx, str.CAECustomized::Init
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp fcn.14005f240
test r8, r8
jne 0x140002f30
mov r8d, 0x1e
jmp 0x140002f01
test rbp, rbp
jne 0x140002f3b
lea r8d, [rbp + 0x1f]
jmp 0x140002f01
test dword [rdx + 0xa8], 0x10000000
jne 0x140002f6c
test byte [rdx + 0x134], 8
jne 0x140002f6c
test dword [rdx + 0xf4], 0x1000
jne 0x140002f6c
test dword [rdx + 0x148], 0x100
jne 0x140002f6c
xor eax, eax
jmp 0x140002f71
mov eax, 0x80
and dword [rcx], 0xffffff7f
lea r8, str.TESHLLED
or dword [rcx], eax
lea rdx, str.Customize
lea rcx, [0x140164310]
xor r9d, r9d
call fcn.1400056a0
xor ecx, ecx
mov edx, 0x400000
cmp eax, 0x51e305a9
mov eax, dword [rdi]
cmove ecx, edx
btr eax, 0x16
or ecx, eax
mov dword [rdi], ecx
test edx, ecx
jne 0x140003037
call fcn.1400b5f50
test eax, eax
je 0x140002fd3
mov eax, 0x1028
cmp word [rsp + 0x60], ax
jne 0x140002fd3
mov ecx, 0x4000
jmp 0x140002fd5
xor ecx, ecx
mov eax, dword [rdi]
lea r9, [rsp + 0x48]
btr eax, 0xe
mov dword [rsp + 0x48], 0
or eax, ecx
lea r8, str.DellAudioUINotExist
lea rdx, str.SoftwareRealtekAudioGUI_INFORMATIONJackInfomation
lea ecx, [rax*8]
xor ecx, eax
and ecx, 0x20000
xor ecx, eax
mov eax, ecx
shl eax, 9
xor eax, ecx
and eax, 0x800000
xor eax, ecx
mov rcx, 0xffffffff80000002
mov dword [rdi], eax
call fcn.14007f4d0
mov eax, dword [rsp + 0x48]
shl eax, 0x1a
xor eax, dword [rdi]
and eax, 0x4000000
xor dword [rdi], eax
mov ecx, dword [rdi]
mov eax, 0x103c
cmp word [rsp + 0x60], ax
je 0x1400030a6
mov r9d, 0x17aa
cmp word [rsp + 0x60], r9w
jne 0x1400030b4
movzx eax, word [rsp + 0x68]
mov edx, 0x6000
cmp ax, dx
jb 0x14000306a
mov edx, 0x67ff
cmp ax, dx
jbe 0x1400030b4
mov edx, 0x2301
cmp ax, dx
jne 0x1400030b4
bts ecx, 0x1c
mov dword [rsp + 0x60], edx
mov dword [rdi], ecx
lea rdx, str.CCustomizeLenovo::AECustomize
lea rcx, str._s__d_0x_04X_04X_DspR0_Copy_RSA1_R0_L_To_RSA1_R0_R
mov r8d, 0x12a
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp fcn.14005f240
mov r9, rdi
mov r8, rbp
mov rcx, rbx
call fcn.140040d30
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140004bd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
test rax, rax
je 0x140004c45
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140004c45
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140004c35
nop
cmp rbx, rcx
jae 0x140004c45
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140004c20
cmp rbx, rcx
jae 0x140004c45
cmp word [rbx], 0
je 0x140004c45
mov rax, rbx
jmp 0x140004c47
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140005b80
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x14015b010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r14, r9
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
xor edi, edi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x38], rdi
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x140005d73
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov r9, rbx
lea r8, str.SoftwareRealtekAudioRtkAudUService
lea rdx, [0x1400e4b68]
lea rcx, [rsp + 0x38]
call fcn.140006bc0
mov rsi, qword [rsi + 8]
mov rbx, qword [rsp + 0x38]
test rbx, rbx
jne 0x140005c29
mov r8d, 0xf0
lea rdx, str.CRegClient::SetRegBinary
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005f240
jmp 0x140005d3c
test rbp, rbp
jne 0x140005c36
mov r8d, 0xf1
jmp 0x140005c11
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x58], rdi
mov rdx, rbx
mov rcx, rsi
call fcn.1400805b0
test eax, eax
jne 0x140005c8b
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.14007f880
test eax, eax
jne 0x140005c8b
mov r8d, 0xfa
lea rdx, str.CRegClient::SetRegBinary
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005f240
nop
jmp 0x140005d3c
mov r9d, 2
mov r8, rbx
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.140027bc0
test eax, eax
je 0x140005cd1
mov r8d, 0xff
lea rdx, str.CRegClient::SetRegBinary
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005f240
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140005d3c
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x140005d3c
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
mov r9d, 3
xor r8d, r8d
mov rdx, rbp
mov rsi, qword [rsp + 0x48]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
je 0x140005d29
mov r8d, 0x103
lea rdx, str.CRegClient::SetRegBinary
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005f240
nop
test rsi, rsi
je 0x140005d3c
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x140005d3c
test rsi, rsi
je 0x140005d37
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov edi, 1
lea rdx, [rbx - 0x18]
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140005d59
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400c0920
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80004005
call fcn.140004fd0
int3
Function at 0x14000d4f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14015b010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
xor edi, edi
add rcx, 8
mov dword [rcx + 0x28], edi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_InitializeCriticalSection]
mov qword [rbx + 0x38], rdi
lea rax, vtable.CAsyncEventNotifyBase.0
mov qword [rbx], rax
lea r8, [0x14000d6f0]
mov qword [rbx + 0x40], rdi
lea rax, [rsp + 0x30]
mov dword [rbx + 0x48], edi
mov r9, rbx
mov dword [rbx + 0x4c], 2
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], edi
mov qword [rbx + 0x50], rdi
mov qword [rbx + 0x58], rdi
mov qword [rbx + 0x60], rdi
mov qword [rbx + 0x68], rdi
mov qword [rbx + 0x70], rdi
mov dword [rbx + 0x78], 0xa
mov dword [rsp + 0x30], edi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rbx + 0x38], rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov qword [rbx + 0x40], rax
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400c0920
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14000d870
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
call fcn.14000b240
mov ecx, 0x3100
cmp word [rax + 0x342], cx
je 0x14000d8a6
call fcn.14000b240
mov ecx, 0x1179
cmp word [rax + 0x342], cx
jne 0x14000d8d2
mov r9d, dword [rdi + 0x48]
test r9d, r9d
je 0x14000d8d2
mov r8d, 0x61
lea rdx, str.CAsyncEventNotifyBase::PostEvent
lea rcx, str._s__d_m_bStop_d__return
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14005f240
lea rcx, [rdi + 8]
mov qword [rsp + 0x30], rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rdi + 0x50]
mov rdx, rsi
call fcn.14000d920
lea rcx, [rdi + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rdi + 0x40]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
Function at 0x1400127c0
Capabilities:
Print debug messages

Disassembly:
push rbp
push rsi
sub rsp, 0x28
mov rsi, rdx
test rdx, rdx
lea rdx, str.CAudioDeviceMuteStateHandler::OnRemoveDevice
mov rbp, rcx
jne 0x1400127f1
mov r8d, 0x18f
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x28
pop rsi
pop rbp
jmp fcn.14005f240
mov qword [rsp + 0x40], rbx
lea rcx, [0x1400e4bf0]
mov r8d, 0x191
mov qword [rsp + 0x58], rdi
call fcn.14005f240
cmp dword [rbp + 0x78], 0
mov edi, 0xffffffff
je 0x1400128bb
mov rdx, qword [rsi + 0x168]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], r14
call fcn.140004520
mov r14, rax
mov rcx, qword [rax]
cmp dword [rcx - 0x10], 0
jge 0x140012842
mov ebx, edi
jmp 0x140012860
lea rdx, str.0.0.0.00000000
call fcn.1400c6bb0
mov rbx, rax
test rax, rax
jne 0x14001285a
mov ebx, edi
jmp 0x140012860
sub rbx, qword [r14]
sar rbx, 1
mov rdx, qword [rsp + 0x48]
mov eax, edi
shr ebx, 0x1f
xor bl, 1
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
mov r14, qword [rsp + 0x20]
sub eax, 1
jg 0x140012889
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x1400128bb
call fcn.14000b240
mov ebx, dword [rax + 0x2dc]
call fcn.14000b690
mov edx, 0x3fd
mov rcx, rax
mov r8d, 0x1f4
test bl, 0xf
jne 0x1400128b6
mov r8d, 0xc8
call fcn.1400b6130
cmp dword [rbp + 0x74], 0
je 0x140012958
mov rdx, qword [rsi + 0x168]
lea rcx, [rsp + 0x50]
call fcn.140004520
mov rsi, rax
mov rcx, qword [rax]
cmp dword [rcx - 0x10], 0
jge 0x1400128e6
mov ebx, edi
jmp 0x140012904
lea rdx, str.0.0.1.00000000
call fcn.1400c6bb0
mov rbx, rax
test rax, rax
jne 0x1400128fe
mov ebx, edi
jmp 0x140012904
sub rbx, qword [rsi]
sar rbx, 1
mov rdx, qword [rsp + 0x50]
shr ebx, 0x1f
xor bl, 1
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x140012926
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test bl, bl
je 0x140012958
call fcn.14000b240
mov ebx, dword [rax + 0x2dc]
call fcn.14000b690
mov edx, 0x3fe
mov rcx, rax
mov r8d, 0x1f4
test bl, 0xf
jne 0x140012953
mov r8d, 0xc8
call fcn.1400b6130
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x58]
add rsp, 0x28
pop rsi
pop rbp
ret
Function at 0x1400154b0
Capabilities:
Print debug messages

Disassembly:
push rbx
push rsi
sub rsp, 0x28
cmp dword [rcx + reloc.OLEAUT32.dll_LPSAFEARRAY_UserUnmarshal], 0
mov rsi, rdx
mov rbx, rcx
je 0x1400154fe
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005f240
mov r8d, 0xf8
lea rdx, str.CAudioDeviceSessionEvents::AddNewAudioSession
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x28
pop rsi
pop rbx
jmp fcn.14005f240
mov qword [rsp + 0x50], rdi
mov eax, 1
lock xadd dword [rcx + 0x120], eax
mov ecx, 0x38
call fcn.1400c0f54
mov rdi, rax
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x20], rax
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x30], rax
lea rax, vtable.CAudioSessionEvents.0
mov qword [rdi], rax
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x1400156d7
mov rax, qword [rax]
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x20], r14
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
xor r14d, r14d
mov r8, rbx
add rax, 0x18
mov rdx, rsi
mov qword [rdi + 0x28], rax
mov rcx, rdi
mov qword [rdi + 8], r14
mov qword [rdi + 0x18], r14
mov qword [rdi + 0x20], r14
call fcn.14001c350
lea rsi, [r14 - 1]
mov rcx, rdi
test eax, eax
je 0x140015689
mov rax, qword [rdi]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbp, qword [rbx + 0x140]
cmp qword [rbx + 0x158], r14
jne 0x14001563e
mov ecx, dword [rbx + 0x160]
test rcx, rcx
jne 0x1400155c5
mov ecx, r14d
jmp 0x1400155df
xor edx, edx
mov rax, rsi
div rcx
cmp rax, 0x18
jb 0x1400156cc
lea rcx, [rcx + rcx*2]
shl rcx, 3
add rcx, 8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x1400156cc
mov rcx, qword [rbx + 0x150]
mov qword [rax], rcx
mov qword [rbx + 0x150], rax
mov r8d, dword [rbx + 0x160]
lea ecx, [r8 - 1]
lea rdx, [rcx*2 + 1]
add rdx, rcx
sub r8d, 1
lea rdx, [rax + rdx*8]
js 0x14001563e
mov rax, qword [rbx + 0x158]
mov qword [rdx], rax
mov qword [rbx + 0x158], rdx
sub rdx, 0x18
sub r8d, 1
jns 0x140015623
mov rcx, qword [rbx + 0x158]
mov rax, qword [rcx]
mov qword [rcx + 0x10], rdi
mov qword [rbx + 0x158], rax
mov qword [rcx + 8], rbp
mov qword [rcx], r14
inc qword [rbx + 0x148]
mov rax, qword [rbx + 0x140]
test rax, rax
je 0x140015679
mov qword [rax], rcx
mov qword [rbx + 0x140], rcx
jmp 0x14001568e
mov qword [rbx + 0x138], rcx
mov qword [rbx + 0x140], rcx
jmp 0x14001568e
call fcn.140014b20
lock xadd dword [rbx + 0x120], esi
mov eax, dword [rbx + 0x120]
test eax, eax
jne 0x1400156b6
cmp dword [rbx + reloc.OLEAUT32.dll_LPSAFEARRAY_UserUnmarshal], r14d
je 0x1400156b6
mov rcx, qword [rbx + 0x118]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov rbp, qword [rsp + 0x48]
mov r14, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x50]
add rsp, 0x28
pop rsi
pop rbx
ret
mov ecx, 0x8007000e
call fcn.140004fd0
int3
mov ecx, 0x80004005
call fcn.140004fd0
int3
Function at 0x14001a460
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x20
mov r14, qword [rcx + 0xc8]
lea r15, [rcx + 0x98]
mov rbx, qword [r15]
test rbx, rbx
je 0x14001a4cf
test r14, r14
je 0x14001a4cf
test rbx, rbx
je 0x14001a512
mov rdi, qword [r14 + 0x10]
mov rsi, qword [rbx + 0x10]
mov rcx, rdi
mov rbx, qword [rbx]
mov r14, qword [r14]
mov rax, qword [rdi]
mov rdx, qword [rsi]
call qword [rax + 0x38]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov edx, 8
mov rcx, rsi
call fcn.1400c094c
test rbx, rbx
jne 0x14001a490
mov rcx, r15
call fcn.14000c2d0
mov rcx, r15
call fcn.14000c2d0
mov r8d, 0x209
lea rdx, str.CAudioModuleAPIBase::UnregisterAllAudioDeviceModuleManagerEvent
lea rcx, [0x1400e4bf0]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
jmp fcn.14005f240
mov ecx, 0x80004005
call fcn.140004fd0
int3

Function at 0x14001d1c0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov rbp, r9
mov ecx, BSTR_UserUnmarshal
mov ebx, r8d
mov rdi, rdx
call fcn.1400c0f54
xor edx, edx
mov r8d, BSTR_UserMarshal
mov rsi, rax
lea rcx, [rax + 2]
call fcn.1400c71e0
mov word [rsi], bx
test rdi, rdi
je 0x14001d252
lea rax, [rsi + 2]
mov edx, 0x7f
sub rdi, rax
nop dword [rax + rax]
lea rcx, [rdx + 0x7fffff7f]
test rcx, rcx
je 0x14001d244
movzx ecx, word [rdi + rax]
test cx, cx
je 0x14001d244
mov word [rax], cx
add rax, 2
sub rdx, 1
jne 0x14001d220
jmp 0x14001d249
test rdx, rdx
jne 0x14001d24d
sub rax, 2
xor ecx, ecx
mov word [rax], cx
movaps xmm0, xmmword [rbp]
mov rdx, rsi
mov eax, dword [rbp + 0x10]
mov rcx, r14
movups xmmword [rsi + 0x104], xmm0
mov dword [rsi + 0x114], eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.14000d870

Function at 0x14001e060
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp r8d, 0x16
jne 0x14001e0a4
mov rax, qword [rsp + 0x60]
lea rdx, str.CBackgroundProcMain::OnWindowsMessage
mov r8d, 0x2e
mov qword [rsp + 0x20], rax
lea rcx, str._s__d_WM_ENDSESSION_wParam_d_lParam_d
call fcn.14005f240
call fcn.140014070
mov rcx, rax
add rsp, 0x30
pop rbx
jmp fcn.1400998c0
cmp r8d, 0x10
jne 0x14001e111
mov rax, qword [rsp + 0x60]
lea rdx, str.CBackgroundProcMain::OnWindowsMessage
mov r8d, 0x34
mov qword [rsp + 0x20], rax
lea rcx, str._s__d_WM_CLOSE_wParam_d_lParam_d_Start
call fcn.14005f240
add rbx, 0xffffffffffffffe0
mov rcx, rbx
call fcn.14001f450
test rbx, rbx
je 0x14001e0f3
mov rcx, rbx
call fcn.14001dfc0
mov edx, 0x108
mov rcx, rbx
call fcn.1400c094c
mov r8d, 0x37
lea rdx, str.CBackgroundProcMain::OnWindowsMessage
lea rcx, str._s__d_WM_CLOSE_end
add rsp, 0x30
pop rbx
jmp fcn.14005f240
add rsp, 0x30
pop rbx
ret
Function at 0x140022b40
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0xc8], rbx
mov rax, qword [0x14015b010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, r8
mov rbp, rdx
mov r15, rcx
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x140022d70
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
xor r13d, r13d
mov dword [rsp + 0x38], r13d
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, rbp
mov rcx, qword [r15]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
lea r14, [r13 - 1]
test eax, eax
jne 0x140022d32
cmp dword [rsp + 0x40], 7
jne 0x140022d32
mov edi, dword [rsp + 0x38]
shr edi, 1
je 0x140022d32
mov ecx, edi
mov eax, 2
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.1400c0f4c
mov r12, rax
test rax, rax
je 0x140022d32
cmp edi, 2
jb 0x140022d29
lea r8d, [rdi + rdi]
mov dword [rsp + 0x3c], r8d
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x44]
xor r8d, r8d
mov rdx, rbp
mov rcx, qword [r15]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140022d29
cmp dword [rsp + 0x44], 7
jne 0x140022d29
mov eax, dword [rsp + 0x3c]
test al, 1
jne 0x140022d29
mov ebp, eax
shr ebp, 1
cmp ebp, 1
jb 0x140022d29
shr rax, 1
cmp word [r12 + rax*2 - 2], r13w
jne 0x140022d29
cmp ebp, 1
jbe 0x140022c8a
cmp word [r12 + rax*2 - 4], r13w
jne 0x140022d29
mov edi, r13d
test ebp, ebp
je 0x140022d29
nop word [rax + rax]
mov eax, edi
lea rdx, [r12 + rax*2]
cmp r13w, word [rdx]
jne 0x140022cb3
mov eax, 1
jmp 0x140022d1f
test rdx, rdx
jne 0x140022cbd
mov eax, r13d
jmp 0x140022cca
mov rax, r14
inc rax
cmp word [rdx + rax*2], r13w
jne 0x140022cc0
mov r8d, eax
lea rcx, [rsp + 0x48]
call fcn.1400048e0
mov rbx, qword [rsp + 0x48]
movzx eax, word [rbx]
cmp ax, word [0x1400e4fe8]
je 0x140022d1c
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CLSIDFromString]
mov rdx, qword [rsi + 8]
cmp qword [rsi + 0x10], rdx
je 0x140022d0f
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdx], xmm0
add qword [rsi + 8], 0x10
jmp 0x140022d1c
lea r8, [rsp + 0x50]
mov rcx, rsi
call fcn.140027720
mov eax, dword [rbx - 0x10]
add edi, eax
cmp edi, ebp
jb 0x140022ca0
mov rcx, r12
call fcn.1400c094c
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x140022d4b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400c0920
mov rbx, qword [rsp + 0xc8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140004fd0
int3