joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004900
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, qword [0x1400294c8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dil, 1
cmp qword [rcx + 0x68], 0
je 0x1400049ac
mov rsi, rcx
cmp byte [rcx + 0x72], 0
je 0x1400049ac
mov rax, qword [rsi]
mov rcx, rsi
mov dx, 0xffff
call qword [rax + 0x18]
cmp ax, 0xffff
je 0x1400049aa
mov rcx, qword [rsi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rsi + 0x74]
mov rax, qword [rcx]
lea rbx, [rsp + 0x28]
mov qword [rsp + 0x20], rbx
lea rdi, [rsp + 0x30]
mov r8, rdi
call qword [rax + 0x40]
cmp eax, 3
je 0x1400049c3
cmp eax, 1
je 0x140004977
test eax, eax
jne 0x1400049aa
mov byte [rsi + 0x72], 0
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
je 0x1400049a0
mov r9, qword [rsi + 0x80]
lea rcx, [rsp + 0x30]
mov edx, 1
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x1400049aa
cmp byte [rsi + 0x72], 0
sete dil
jmp 0x1400049ac
xor edi, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140015400
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov byte [rsi + 0x72], 0
mov dil, 1
jmp 0x1400049ac
Function at 0x140011b30
Capabilities:
Parse pe header

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
movzx eax, word [rdx]
cmp eax, 0x5a4d
jne 0x140011bb0
mov rdi, rdx
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x140011bb0
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], 0
mov ebx, dword [rdi + rax + 0xb0]
test rbx, rbx
je 0x140011bb0
add rbx, rdi
mov r12d, dword [rdi + rax + 0xb4]
add r12, rbx
cmp rbx, r12
jae 0x140011c39
movabs r13, 0x1fffffff8
lea r14, [rbp - 0x20]
lea r15, [rbp - 0x38]
jmp 0x140011bff
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rax, qword [rbp - 0x28]
mov qword [rdx + 0x10], rax
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rdx], xmm0
add qword [rbp - 0x18], 0x18
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, r12
jae 0x140011c3d
cmp dword [rbx + 4], 0
je 0x140011c3d
mov eax, dword [rbx]
add rax, rdi
mov qword [rbp - 0x38], rax
lea rax, [rbx + 8]
mov qword [rbp - 0x30], rax
mov eax, dword [rbx + 4]
add rax, r13
shr rax, 1
mov dword [rbp - 0x28], eax
mov rdx, qword [rbp - 0x18]
cmp rdx, qword [rbp - 0x10]
jne 0x140011be0
mov rcx, r14
mov r8, r15
call fcn.140012280
jmp 0x140011bf4
xor eax, eax
jmp 0x140011c45
mov rax, qword [rbp - 0x10]
movaps xmm0, xmmword [rbp - 0x20]
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rax
jmp 0x140011bbe
Function at 0x1400140d0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x238
mov rsi, rcx
lea rdi, [rsp + 0x20]
mov r8d, 0x20a
mov rcx, rdi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x105
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
cmp eax, 0x105
jb 0x14001415e
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.____Failed_to_get_temp_path
call fcn.1400019b0
mov rdi, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_wchar_t___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::widen_char_const___ptr64]
mov rcx, rdi
mov edx, eax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::put_wchar_t____ptr64]
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::flush_void____ptr64]
mov qword [rsi], 0
movaps xmm0, xmmword [section..rdata]
movups xmmword [rsi + 0x10], xmm0
mov word [rsi], 0
jmp 0x1400141d0
lea rcx, [rsp + 0x20]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
cmp word [rsp + rax*2 + 0x1e], 0x5c
jne 0x140014177
mov word [rsp + rax*2 + 0x1e], 0
mov qword [rsi], 0
movaps xmm0, xmmword [section..rdata]
movups xmmword [rsi + 0x10], xmm0
mov word [rsi], 0
lea rcx, [rsp + 0x20]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov rdi, rax
cmp rax, 7
jbe 0x1400141b3
lea r9, [rsp + 0x20]
mov rcx, rsi
mov rdx, rdi
call fcn.140005720
jmp 0x1400141d0
mov qword [rsi + 0x10], rdi
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov word [rsi + rdi*2], 0
mov rax, rsi
add rsp, 0x238
pop rdi
pop rsi
ret
Function at 0x140014690
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
movaps xmmword [rsp + 0x50], xmm6
mov r12, rcx
mov dword [rsp + 0x2c], 0
xor r15d, r15d
lea r9, [rsp + 0x2c]
mov ecx, 0xb
xor edx, edx
xor r8d, r8d
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x140014880
xor edi, edi
mov rsi, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea rbx, [rsp + 0x2c]
mov r13, qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x140014723
mov edx, dword [rsp + 0x2c]
xor ecx, ecx
mov r8d, 0x3000
mov r9d, 4
call rsi
mov rdi, rax
mov r8d, dword [rsp + 0x2c]
mov ecx, 0xb
mov rdx, rax
mov r9, rbx
call sub.ntdll.dll_NtQuerySystemInformation
cmp eax, 0xc0000004
jne 0x140014738
test rdi, rdi
je 0x1400146f0
mov rcx, rdi
xor edx, edx
mov r8d, 0x8000
call r13
jmp 0x1400146f0
test eax, eax
js 0x140014862
test rdi, rdi
je 0x14001487d
cmp dword [rdi], 0
je 0x140014867
mov rsi, rdi
add rsi, 0x30
xor r14d, r14d
movaps xmm6, xmmword [0x140017010]
nop word cs:[rax + rax]
nop dword [rax]
movzx ebp, word [rsi - 2]
add rbp, rsi
mov qword [rsp + 0x30], 0
movups xmmword [rsp + 0x40], xmm6
mov byte [rsp + 0x30], 0
mov rcx, rbp
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rbx, rax
cmp rax, 0xf
jbe 0x1400147b0
lea rcx, [rsp + 0x30]
mov rdx, rbx
mov r9, rbp
call fcn.14000fa60
jmp 0x1400147ca
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov r8, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x30], 0
cmp qword [r12 + 0x18], 0xf
mov rdx, r12
jbe 0x1400147d9
mov rdx, qword [r12]
cmp qword [rsp + 0x48], 0xf
lea rcx, [rsp + 0x30]
jbe 0x1400147eb
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
mov ebp, eax
test eax, eax
jne 0x140014809
mov r15, qword [rsi - 0x18]
mov rcx, rdi
xor edx, edx
mov r8d, 0x8000
call r13
mov rax, qword [rsp + 0x48]
cmp rax, 0x10
jb 0x140014846
mov rcx, qword [rsp + 0x30]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140014841
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x140014899
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400150b4
test ebp, ebp
je 0x140014880
add r14, 1
mov eax, dword [rdi]
add rsi, 0x128
cmp r14, rax
jb 0x140014770
jmp 0x140014867
test rdi, rdi
je 0x14001487d
xor r15d, r15d
mov rcx, rdi
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x140014880
xor r15d, r15d
mov rax, r15
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140014910
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r14, r8
mov r12, rdx
mov r13, rcx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rsi, rax
movsxd rax, dword [r12 + 0x3c]
movzx ebx, word [rax + r12 + 6]
test rbx, rbx
je 0x1400149a9
movzx ecx, word [rax + r12 + 0x14]
add rax, r12
lea rdi, [rcx + rax]
add rdi, 0x18
xor r15d, r15d
xor ebp, ebp
jmp 0x14001496d
add rbp, 1
add rdi, 0x28
cmp rbp, rbx
jae 0x1400149ac
mov rcx, rdi
mov rdx, r13
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140014960
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
cmp rsi, rax
jne 0x140014960
mov eax, dword [rdi + 0xc]
test eax, eax
je 0x1400149a9
test r14, r14
je 0x1400149a1
mov eax, dword [rdi + 8]
mov dword [r14], eax
mov eax, dword [rdi + 0xc]
mov r15d, eax
add r15, r12
jmp 0x1400149ac
xor r15d, r15d
mov rax, r15
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140004350
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 0x1400043c8
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400043c8
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 0x1400043b5
nop
cmp rbx, rcx
jae 0x1400043c8
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x1400043a0
cmp rbx, rcx
jae 0x1400043c8
cmp word [rbx], 0
je 0x1400043c8
lfence
mov rax, rbx
jmp 0x1400043ca
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 0x14000d430
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14013c010]
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 + 0x40], rdi
lea r8, [0x14000d610]
mov qword [rbx], rax
mov r9, rbx
lea rax, [rsp + 0x30]
mov dword [rbx + 0x48], edi
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], edi
mov dword [rbx + 0x4c], 2
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.1400c17f0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14000d7a0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
call fcn.14000b2a0
mov ecx, 0x3100
cmp word [rax + 0x342], cx
je 0x14000d7d6
call fcn.14000b2a0
mov ecx, 0x1179
cmp word [rax + 0x342], cx
jne 0x14000d802
mov r9d, dword [rdi + 0x48]
test r9d, r9d
je 0x14000d802
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.14005b9a0
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.14000d850
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 0x140012d60
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, rdx
mov r15, rcx
test rdx, rdx
lea rdx, str.CAudioDeviceMuteStateHandler::OnRemoveDevice
jne 0x140012da4
mov r8d, 0x19e
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
jmp fcn.14005b9a0
mov r8d, 0x1a0
lea rcx, [0x1400e3358]
call fcn.14005b9a0
xor edi, edi
lea rbp, [rdi - 1]
cmp dword [r15 + 0x78], edi
je 0x140012ec1
mov rbx, qword [r14 + 0x168]
call fcn.1400046f0
mov rdx, rax
test rax, rax
je 0x140012fcf
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
mov rcx, rdx
call qword [case.0x140048c62.0]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140003e50
test al, al
jne 0x140012e2f
test rbx, rbx
jne 0x140012e11
mov eax, edi
jmp 0x140012e1e
mov rax, rbp
inc rax
cmp word [rbx + rax*2], 0
jne 0x140012e14
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1400040e0
nop
mov rbx, qword [rsp + 0x58]
cmp dword [rbx - 0x10], 0
jge 0x140012e3e
mov esi, ebp
jmp 0x140012e5f
lea rdx, str.0.0.0.00000000
mov rcx, rbx
call fcn.1400c7374
mov rsi, rax
test rax, rax
jne 0x140012e59
mov esi, ebp
jmp 0x140012e5f
sub rsi, rbx
sar rsi, 1
shr esi, 0x1f
xor sil, 1
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140012e89
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140048c62.0]
test sil, sil
je 0x140012ec1
call fcn.14000b2a0
test byte [rax + 0x2dc], 0xf
je 0x140012ea9
call fcn.14000b740
mov r8d, 0x1f4
jmp 0x140012eb4
call fcn.14000b740
mov r8d, 0xc8
mov edx, 0x3fd
mov rcx, rax
call fcn.1400b5a90
cmp dword [r15 + 0x74], 0
je 0x140012fbe
mov rbx, qword [r14 + 0x168]
call fcn.1400046f0
mov rcx, rax
test rax, rax
je 0x140012fcf
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140048c62.0]
add rax, 0x18
mov qword [rsp + 0x60], rax
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140003e50
test al, al
jne 0x140012f2e
test rbx, rbx
je 0x140012f1d
mov rdi, rbp
inc rdi
cmp word [rbx + rdi*2], 0
jne 0x140012f13
mov r8d, edi
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.1400040e0
nop
mov rbx, qword [rsp + 0x60]
cmp dword [rbx - 0x10], 0
jge 0x140012f3d
mov edi, ebp
jmp 0x140012f5e
lea rdx, str.0.0.1.00000000
mov rcx, rbx
call fcn.1400c7374
mov rdi, rax
test rax, rax
jne 0x140012f58
mov edi, ebp
jmp 0x140012f5e
sub rdi, rbx
sar rdi, 1
shr edi, 0x1f
xor dil, 1
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
sub ebp, 1
jg 0x140012f86
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140048c62.0]
test dil, dil
je 0x140012fbe
call fcn.14000b2a0
test byte [rax + 0x2dc], 0xf
je 0x140012fa6
call fcn.14000b740
mov r8d, 0x1f4
jmp 0x140012fb1
call fcn.14000b740
mov r8d, 0xc8
mov edx, 0x3fe
mov rcx, rax
call fcn.1400b5a90
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140004820
int3
Function at 0x1400153f0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
cmp dword [rcx + reloc.OLEAUT32.dll_LPSAFEARRAY_UserUnmarshal], 0
mov rsi, rdx
mov rbx, rcx
je 0x140015445
mov r8d, 0x2f
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005b9a0
mov r8d, 0xef
lea rdx, str.CAudioDeviceSessionEvents::AddNewAudioSession
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
jmp fcn.14005b9a0
mov qword [rsp + 0x40], rdi
lock inc dword [rcx + 0x120]
mov ecx, 0x30
call fcn.1400c1b88
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
mov rdi, rax
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
lea rax, vtable.CAudioSessionEvents.0
mov qword [rdi], rax
call fcn.1400046f0
mov rcx, rax
test rax, rax
je 0x140015602
mov rax, qword [rax]
mov qword [rsp + 0x38], rbp
mov rax, qword [rax + 0x18]
call qword [case.0x140048c62.0]
xor ebp, ebp
mov r8, rbx
add rax, 0x18
mov rdx, rsi
mov qword [rdi + 0x28], rax
mov rcx, rdi
mov qword [rdi + 8], rbp
mov qword [rdi + 0x18], rbp
mov qword [rdi + 0x20], rbp
call fcn.14001c2e0
test eax, eax
je 0x1400155b6
mov rsi, qword [rbx + 0x140]
cmp qword [rbx + 0x158], rbp
jne 0x14001556b
mov ecx, dword [rbx + 0x160]
test rcx, rcx
jne 0x1400154ed
mov ecx, ebp
jmp 0x14001550b
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 0x18
jb 0x1400155f7
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 0x1400155f7
mov rcx, qword [rbx + 0x150]
mov qword [rbx + 0x150], rax
mov r8d, dword [rbx + 0x160]
mov qword [rax], rcx
lea ecx, [r8 - 1]
lea rdx, [rcx*2 + 1]
add rdx, rcx
sub r8d, 1
lea rdx, [rax + rdx*8]
js 0x14001556b
nop
mov rax, qword [rbx + 0x158]
mov qword [rdx], rax
mov qword [rbx + 0x158], rdx
sub rdx, 0x18
sub r8d, 1
jns 0x140015550
mov rcx, qword [rbx + 0x158]
mov rax, qword [rcx]
mov qword [rcx + 0x10], rdi
mov qword [rbx + 0x158], rax
mov qword [rcx + 8], rsi
mov qword [rcx], rbp
inc qword [rbx + 0x148]
mov rax, qword [rbx + 0x140]
test rax, rax
je 0x1400155a6
mov qword [rax], rcx
mov qword [rbx + 0x140], rcx
jmp 0x1400155be
mov qword [rbx + 0x138], rcx
mov qword [rbx + 0x140], rcx
jmp 0x1400155be
mov rcx, rdi
call fcn.1400150e0
lock dec dword [rbx + 0x120]
mov eax, dword [rbx + 0x120]
jne 0x1400155e2
cmp dword [rbx + reloc.OLEAUT32.dll_LPSAFEARRAY_UserUnmarshal], ebp
je 0x1400155e2
mov rcx, qword [rbx + 0x118]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov ecx, 0x8007000e
call fcn.140004820
int3
mov ecx, 0x80004005
call fcn.140004820
int3
Function at 0x14001a1b0
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 0x14001a231
test r14, r14
je 0x14001a231
test rbx, rbx
je 0x14001a274
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]
mov rax, qword [rax + 0x38]
call qword [case.0x140048c62.0]
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x10]
call qword [case.0x140048c62.0]
mov edx, 8
mov rcx, rsi
call fcn.1400c1818
test rbx, rbx
jne 0x14001a1e0
mov rcx, r15
call fcn.14000c1e0
mov rcx, r15
call fcn.14000c1e0
mov r8d, 0x20a
lea rdx, str.CAudioModuleAPIBase::UnregisterAllAudioDeviceModuleManagerEvent
lea rcx, [0x1400e3358]
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.14005b9a0
mov ecx, 0x80004005
call fcn.140004820
int3

Function at 0x14001ccd0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
movups xmm0, xmmword [0x1400fc0c0]
mov ebp, dword [reloc.OLEAUT32.dll_SysReAllocStringLen]
mov rsi, rcx
mov ecx, BSTR_UserMarshal
mov rbx, rdx
movaps xmmword [rsp + 0x20], xmm0
call fcn.1400c1b88
xor edx, edx
mov r8d, BSTR_UserMarshal
mov rdi, rax
lea rcx, [rax + 2]
call fcn.1400c7980
mov eax, 0x64
mov word [rdi], ax
test rbx, rbx
je 0x14001cd65
lea rax, [rdi + 2]
mov edx, 0x7f
sub rbx, rax
lea rcx, [rdx + 0x7fffff7f]
test rcx, rcx
je 0x14001cd60
movzx ecx, word [rbx + rax]
test cx, cx
je 0x14001cd57
mov word [rax], cx
add rax, 2
sub rdx, 1
jne 0x14001cd33
jmp 0x14001cd5c
test rdx, rdx
jne 0x14001cd60
sub rax, 2
xor ecx, ecx
mov word [rax], cx
movaps xmm0, xmmword [rsp + 0x20]
mov rdx, rdi
movups xmmword [rdi + 0x104], xmm0
mov rcx, rsi
mov dword [rdi + 0x114], ebp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp fcn.14000d7a0
Function at 0x14001d4a0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp r8d, 0x16
jne 0x14001d4e4
mov rax, qword [rsp + 0x60]
lea rdx, str.CBackgroundAdminProcMain::OnWindowsMessage
mov r8d, 0x27
mov qword [rsp + 0x20], rax
lea rcx, str._s__d_WM_ENDSESSION_wParam_d_lParam_d
call fcn.14005b9a0
call fcn.1400141e0
mov rcx, rax
add rsp, 0x30
pop rbx
jmp 0x14009ae50
cmp r8d, 0x10
jne 0x14001d551
mov rax, qword [rsp + 0x60]
lea rdx, str.CBackgroundAdminProcMain::OnWindowsMessage
mov r8d, 0x2d
mov qword [rsp + 0x20], rax
lea rcx, str._s__d_WM_CLOSE_wParam_d_lParam_d_Start
call fcn.14005b9a0
add rbx, 0xffffffffffffffe0
mov rcx, rbx
call fcn.14001dc70
test rbx, rbx
je 0x14001d533
mov rcx, rbx
call fcn.14001d410
mov edx, 0x50
mov rcx, rbx
call fcn.1400c1818
mov r8d, 0x30
lea rdx, str.CBackgroundAdminProcMain::OnWindowsMessage
lea rcx, str._s__d_WM_CLOSE_end
add rsp, 0x30
pop rbx
jmp fcn.14005b9a0
add rsp, 0x30
pop rbx
ret
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x14013c010]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rsi, [rcx + 0xb8]
lea r14, [rcx + 0xe8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rdi, qword [r14]
test rdi, rdi
je 0x14009af3b
mov qword [rsp + 0x98], rbp
xor ebp, ebp
nop dword [rax]
mov rbx, qword [rdi + 0x10]
mov rdi, qword [rdi]
test rbx, rbx
je 0x14009af2a
cmp dword [0x14013c494], ebp
jne 0x14009af0f
cmp dword [0x14013c490], ebp
jne 0x14009af0f
cmp dword [0x14013c498], ebp
jne 0x14009af0f
movups xmm0, xmmword [str._alsC]
mov rcx, qword [rbx + 0x800]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x40]
mov r9d, 1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x58]
mov dword [rsp + 0x58], ebp
mov dword [rsp + 0x50], ebp
movaps xmmword [rsp + 0x40], xmm0
lea r8d, [r9 + 0x38]
mov qword [rsp + 0x20], rax
call fcn.14008c9c0
cmp qword [rbx + 0x810], rbp
je 0x14009af2a
mov rcx, qword [rbx + 0x7e0]
test rcx, rcx
je 0x14009af2a
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
test rdi, rdi
jne 0x14009aea0
mov rbp, qword [rsp + 0x98]
mov rcx, r14
call fcn.14000c1e0
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400c17f0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r14
pop rdi
pop rsi
ret
Function at 0x14001e0c0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp r8d, 0x16
jne 0x14001e104
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.14005b9a0
call fcn.1400141e0
mov rcx, rax
add rsp, 0x30
pop rbx
jmp 0x14009ae50
cmp r8d, 0x10
jne 0x14001e171
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.14005b9a0
add rbx, 0xffffffffffffffe0
mov rcx, rbx
call fcn.14001f4c0
test rbx, rbx
je 0x14001e153
mov rcx, rbx
call fcn.14001e030
mov edx, 0x108
mov rcx, rbx
call fcn.1400c1818
mov r8d, 0x37
lea rdx, str.CBackgroundProcMain::OnWindowsMessage
lea rcx, str._s__d_WM_CLOSE_end
add rsp, 0x30
pop rbx
jmp fcn.14005b9a0
add rsp, 0x30
pop rbx
ret