joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004090
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x50
xor ebx, ebx
mov r14, r8
mov qword [r8 + 0x28], rbx
mov rsi, rdx
test rdx, rdx
jne 0x1400040b6
lea eax, [rdx + 1]
add rsp, 0x50
pop r14
pop rsi
pop rbx
ret
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], rdi
mov rdi, qword [rcx + 0x1d0]
test rdi, rdi
jne 0x1400040ee
lea r8d, [rdi + 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [0x140012a40]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
mov rdi, rbx
cmovne rdi, qword [rsp + 0x28]
movzx edx, si
mov r8d, 0xa
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x140004169
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140004169
mov rcx, rax
mov qword [rsp + 0x80], r15
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, rax
test rax, rax
je 0x140004158
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r15
mov qword [r14 + 0x28], rbx
mov r8d, eax
mov rcx, r14
call fcn.140013740
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov r15, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x78]
mov rax, rbx
mov rbp, qword [rsp + 0x70]
add rsp, 0x50
pop r14
pop rsi
pop rbx
ret
Function at 0x14000dac0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov rax, qword [rdx + 0x28]
xor r8d, r8d
test rax, rax
jne 0x14000dad5
mov edx, r8d
jmp 0x14000dad9
mov rdx, qword [rdx + 0x18]
mov dword [rsp + 0x48], r8d
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], r8
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x48]
add rsp, 0x38
ret
Function at 0x1400111f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push r12
push r14
push r15
sub rsp, 0x80
mov qword [rax - 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rsi, r8
mov ebx, edx
test r8, r8
je 0x140011389
mov rdi, qword [rcx + 0x1d0]
xor r12d, r12d
test rdi, rdi
jne 0x140011256
lea r8d, [rdi + 0x30]
lea rdx, [rax - 0x48]
lea rcx, [0x140012a40]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov edi, r12d
test rax, rax
cmovne rdi, qword [rsp + 0x58]
test ebx, ebx
je 0x14001128f
cmp ebx, 3
je 0x14001128f
sub ebx, 1
je 0x14001127e
cmp ebx, 1
jne 0x140011389
movzx edx, si
mov rcx, rdi
call qword [sym.imp.USER32.dll_LoadIconW]
jmp 0x14001138b
movzx edx, si
mov rcx, rdi
call qword [sym.imp.USER32.dll_LoadCursorW]
jmp 0x14001138b
movzx edx, si
mov r8d, 0xa
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r14, rax
test rax, rax
je 0x140011389
mov rsi, r12
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbp, rax
test rax, rax
je 0x140011389
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, rax
test rax, rax
je 0x140011358
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov qword [rsp + 0x48], r12
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r8d, eax
test eax, eax
je 0x140011331
mov rdx, r15
lea rcx, [rsp + 0x28]
call fcn.14000e460
test rax, rax
je 0x140011331
mov rsi, qword [rsp + 0x28]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov qword [rsp + 0x48], r12
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140011358
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov qword [rsp + 0x48], r12
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeResource]
test rsi, rsi
je 0x140011389
cmp ebx, 3
jne 0x140011384
mov rcx, rsi
call fcn.140010c30
mov rbx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rax, rbx
jmp 0x14001138b
mov rax, rsi
jmp 0x14001138b
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x140011450
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r15
sub rsp, 0x50
xor ebx, ebx
mov rbp, r9
mov qword [r8 + 0x28], rbx
mov r15, r8
mov rsi, rdx
test rdx, rdx
jne 0x140011485
lea eax, [rdx + 1]
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop rsi
pop rbp
ret
mov qword [rsp + 0x70], rdi
mov rdi, qword [rcx + 0x1d0]
test rdi, rdi
jne 0x1400114b8
lea r8d, [rdi + 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [0x140012a40]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
mov rdi, rbx
cmovne rdi, qword [rsp + 0x28]
movzx edx, si
mov r8, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x14001152a
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x14001152a
mov rcx, rax
mov qword [rsp + 0x78], r14
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x14001151c
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov qword [r15 + 0x28], rbx
mov r8d, eax
mov rcx, r15
call fcn.140013740
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov r14, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
mov rax, rbx
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop rsi
pop rbp
ret
Function at 0x140012670
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x28]
sub rsp, 0x120
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rbx, rcx
test rcx, rcx
je 0x140012835
cmp word [rcx], 0
je 0x140012835
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x50]
call fcn.140035ef0
mov dword [rbp - 0x50], 0x68
or dword [rbp - 0x14], 1
xor edi, edi
mov word [rbp - 0x10], di
lea rax, vtable.CVolCommonBaseWithMemManager.0
mov qword [rsp + 0x50], rax
lea r14, vtable.CVolObject.0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
lea rsi, vtable.CVolMem.0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], 0x40
cmp word [rbx], di
jne 0x14001274f
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
sub rax, rbx
cmp rax, 2
jl 0x14001273b
mov rax, qword [rsp + 0x68]
mov word [rax + rbx], di
add qword [rsp + 0x78], 2
jmp 0x140012781
lea rdx, [rbx + 2]
lea rcx, [rsp + 0x50]
call fcn.1400133e0
mov word [rax + rbx], di
jmp 0x140012781
mov r8, 0xffffffffffffffff
nop word [rax + rax]
lea r8, [r8 + 1]
cmp word [rbx + r8*2], 0
jne 0x140012760
lea r8, [r8*2 + 2]
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140013740
mov rdx, qword [rsp + 0x68]
cmp qword [rsp + 0x78], 0
cmove rdx, rdi
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1400127cb
mov rbx, rdi
jmp 0x1400127f3
mov edx, 0x1f4
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.USER32.dll_WaitForInputIdle]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 1
mov qword [rsp + 0x50], rsi
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x14001281c
mov rax, qword [rsp + 0x50]
mov r8, qword [rax + 0x18]
cmp rax, rsi
jne 0x140012854
lea rcx, [0x14006de88]
call fcn.140013e50
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x50], r14
mov rax, rbx
jmp 0x140012837
xor eax, eax
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rcx, [rsp + 0x50]
call r8
jmp 0x14001281c
Function at 0x140012860
Capabilities:
Get common file path
Set current directory

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1c8]
sub rsp, 0x2b0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14006b010]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rbx, rcx
test rcx, rcx
je 0x140012a17
cmp word [rcx], 0
je 0x140012a17
lea rcx, vtable.CVolCommonBaseWithMemManager.0
mov qword [rsp + 0x20], rcx
lea r14, vtable.CVolObject.0
mov qword [rsp + 0x20], r14
xor esi, esi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rsi
lea rax, vtable.CWString.0
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
lea rax, vtable.CVolMem.0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], 0x40
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x70], 0xfe
mov edi, esi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rsi
movzx eax, word [rbx]
cmp ax, 0x5c
je 0x14001295d
test ax, ax
je 0x14001299c
cmp word [rbx + 2], 0x3a
jne 0x14001299c
cmp word [rbx + 4], 0x5c
jne 0x14001299c
mov edx, 0x5c
mov rcx, rbx
call fcn.1400355a0
test rax, rax
je 0x140012997
cmp rax, rbx
jbe 0x140012980
lea rcx, [rax - 2]
cmp word [rcx], 0x3a
cmovne rax, rcx
sub rax, rbx
lea r8, [rax + 2]
sar r8, 1
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140014cb0
mov rdi, qword [rsp + 0x38]
test rdi, rdi
jne 0x1400129b2
cmp qword [rsp + 0x68], rdi
je 0x1400129df
mov rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x1400129df
cmp word [rdi], 0
je 0x1400129df
lea rdx, [rbp - 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1400129df
cmp word [rdi], 0
je 0x1400129da
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rsi, rsi
je 0x140012a02
cmp word [rbp - 0x70], 0
je 0x140012a02
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
nop
lea rcx, [rsp + 0x40]
call fcn.1400055d0
nop
mov qword [rsp + 0x20], r14
mov rax, rbx
jmp 0x140012a19
xor eax, eax
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140033f50
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400274b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x10
movdqa xmm4, xmmword [0x14005a830]
xor ebx, ebx
movdqa xmm5, xmmword [0x14005a800]
xor edi, edi
movaps xmmword [rsp], xmm6
mov r10, r8
movdqa xmm6, xmmword [0x14005a7d0]
mov r9, rdx
xorps xmm3, xmm3
cmp r8, 4
jb 0x140027577
nop dword [rax]
movdqu xmm1, xmmword [r9 + rbx*4]
add rbx, 4
mov edx, 8
movdqa xmm0, xmm1
movdqa xmm2, xmm1
pand xmm0, xmm5
pand xmm1, xmm6
pcmpeqd xmm0, xmm3
pcmpeqd xmm1, xmm3
pxor xmm1, xmm0
pand xmm2, xmm4
pmovmskb eax, xmm1
pcmpeqd xmm2, xmm3
pxor xmm0, xmm2
movzx ecx, ax
popcnt r8, rcx
pmovmskb eax, xmm0
shr r8, 2
movzx ecx, ax
popcnt rax, rcx
shr rax, 2
sub rdx, rax
pmovmskb eax, xmm2
add rdx, rdx
movzx ecx, ax
popcnt rax, rcx
shr rax, 2
lea rax, [rax + rax*2]
sub rdx, rax
lea rax, [rbx + 4]
sub rdx, r8
add rdi, rdx
cmp rax, r10
jbe 0x1400274f0
lea r11, [r9 + rbx*4]
xor r9d, r9d
mov eax, r9d
sub r10, rbx
je 0x1400275c8
nop word [rax + rax]
mov edx, dword [r11 + rax*4]
xor r8d, r8d
cmp edx, 0x7ff
seta r8b
xor ecx, ecx
cmp edx, 0x7f
seta cl
add r8, rcx
xor ecx, ecx
cmp edx, 0xffff
seta cl
inc rax
inc rcx
add r9, rcx
add r9, r8
cmp rax, r10
jb 0x140027590
mov rbx, qword [rsp + 0x20]
lea rax, [r9 + rdi]
movaps xmm6, xmmword [rsp]
add rsp, 0x10
pop rdi
ret

Function at 0x1400384dc
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14003836f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003836f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003836f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003836f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003836f
cmp dword [rcx + 0x84], 0xe
jbe 0x14003836f
cmp dword [rcx + 0xf8], 0
je 0x14003836f
mov ecx, ebx
call fcn.140038410
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140038200
cmp dword [rbp + 0x20], 0
je 0x1400383bc
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400383c4
int3
xor r8d, r8d
xor edx, edx
jmp 0x140038308
Function at 0x14000c9c0
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 0x14000ca38
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000ca38
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 0x14000ca25
nop
cmp rbx, rcx
jae 0x14000ca38
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x14000ca10
cmp rbx, rcx
jae 0x14000ca38
cmp word [rbx], 0
je 0x14000ca38
lfence
mov rax, rbx
jmp 0x14000ca3a
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 0x140016400
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1401aa010]
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, [0x1400165e0]
mov qword [rbx], rax
mov r9, rbx
lea rax, [rsp + 0x30]
mov qword [rbx + 0x48], rdi
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], edi
mov dword [rbx + 0x50], 2
mov qword [rbx + 0x58], rdi
mov qword [rbx + 0x60], rdi
mov qword [rbx + 0x68], rdi
mov qword [rbx + 0x70], rdi
mov qword [rbx + 0x78], rdi
mov dword [rbx + 0x80], 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.1400f4410
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140016780
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
call fcn.140014310
mov ecx, 0x3100
cmp word [rax + 0x342], cx
je 0x1400167b6
call fcn.140014310
mov ecx, 0x1179
cmp word [rax + 0x342], cx
jne 0x1400167e2
mov r9d, dword [rdi + 0x48]
test r9d, r9d
je 0x1400167e2
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.140075db0
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 + 0x58]
mov rdx, rsi
call fcn.140016830
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 0x14001be30
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 0x14001be74
mov r8d, 0x1aa
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.140075db0
mov r8d, 0x1ac
lea rcx, [0x14011bca8]
call fcn.140075db0
xor edi, edi
lea rbp, [rdi - 1]
cmp dword [r15 + 0x78], edi
je 0x14001bf91
mov rbx, qword [r14 + 0x170]
call fcn.14000cd60
mov rdx, rax
test rax, rax
je 0x14001c09f
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
mov rcx, rdx
call qword [case.0x14005eeb3.0]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.14000c4c0
test al, al
jne 0x14001beff
test rbx, rbx
jne 0x14001bee1
mov eax, edi
jmp 0x14001beee
mov rax, rbp
inc rax
cmp word [rbx + rax*2], 0
jne 0x14001bee4
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.14000c750
nop
mov rbx, qword [rsp + 0x58]
cmp dword [rbx - 0x10], 0
jge 0x14001bf0e
mov esi, ebp
jmp 0x14001bf2f
lea rdx, str.0.0.0.00000000
mov rcx, rbx
call fcn.1400fa604
mov rsi, rax
test rax, rax
jne 0x14001bf29
mov esi, ebp
jmp 0x14001bf2f
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 0x14001bf59
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
test sil, sil
je 0x14001bf91
call fcn.140014310
test byte [rax + 0x2dc], 0xf
je 0x14001bf79
call fcn.1400147e0
mov r8d, 0x1f4
jmp 0x14001bf84
call fcn.1400147e0
mov r8d, 0xc8
mov edx, 0x3fd
mov rcx, rax
call fcn.1400e8700
cmp dword [r15 + 0x74], 0
je 0x14001c08e
mov rbx, qword [r14 + 0x170]
call fcn.14000cd60
mov rcx, rax
test rax, rax
je 0x14001c09f
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14005eeb3.0]
add rax, 0x18
mov qword [rsp + 0x60], rax
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.14000c4c0
test al, al
jne 0x14001bffe
test rbx, rbx
je 0x14001bfed
mov rdi, rbp
inc rdi
cmp word [rbx + rdi*2], 0
jne 0x14001bfe3
mov r8d, edi
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.14000c750
nop
mov rbx, qword [rsp + 0x60]
cmp dword [rbx - 0x10], 0
jge 0x14001c00d
mov edi, ebp
jmp 0x14001c02e
lea rdx, str.0.0.1.00000000
mov rcx, rbx
call fcn.1400fa604
mov rdi, rax
test rax, rax
jne 0x14001c028
mov edi, ebp
jmp 0x14001c02e
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 0x14001c056
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
test dil, dil
je 0x14001c08e
call fcn.140014310
test byte [rax + 0x2dc], 0xf
je 0x14001c076
call fcn.1400147e0
mov r8d, 0x1f4
jmp 0x14001c081
call fcn.1400147e0
mov r8d, 0xc8
mov edx, 0x3fe
mov rcx, rax
call fcn.1400e8700
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000ce90
int3
Function at 0x140024700
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 0x140024781
test r14, r14
je 0x140024781
test rbx, rbx
je 0x1400247c4
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.0x14005eeb3.0]
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x10]
call qword [case.0x14005eeb3.0]
mov edx, 8
mov rcx, rsi
call fcn.1400f4438
test rbx, rbx
jne 0x140024730
mov rcx, r15
call fcn.140015280
mov rcx, r15
call fcn.140015280
mov r8d, 0x20a
lea rdx, str.CAudioModuleAPIBase::UnregisterAllAudioDeviceModuleManagerEvent
lea rcx, [0x14011bca8]
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.140075db0
mov ecx, 0x80004005
call fcn.14000ce90
int3

Function at 0x140027430
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 [0x140143158]
mov ebp, dword [reloc.OLEAUT32.dll_SysReAllocStringLen]
mov rsi, rcx
mov ecx, BSTR_UserMarshal
mov rbx, rdx
movaps xmmword [rsp + 0x20], xmm0
call fcn.1400f47a0
xor edx, edx
mov r8d, BSTR_UserMarshal
mov rdi, rax
lea rcx, [rax + 2]
call fcn.1400fac10
mov eax, 0x64
mov word [rdi], ax
test rbx, rbx
je 0x1400274c5
lea rax, [rdi + 2]
mov edx, 0x7f
sub rbx, rax
lea rcx, [rdx + 0x7fffff7f]
test rcx, rcx
je 0x1400274c0
movzx ecx, word [rbx + rax]
test cx, cx
je 0x1400274b7
mov word [rax], cx
add rax, 2
sub rdx, 1
jne 0x140027493
jmp 0x1400274bc
test rdx, rdx
jne 0x1400274c0
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.140016780
Function at 0x140027c00
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp r8d, 0x16
jne 0x140027c44
mov rax, qword [rsp + 0x60]
lea rdx, str.CBackgroundAdminProcMain::OnWindowsMessage
mov r8d, 0x28
mov qword [rsp + 0x20], rax
lea rcx, str._s__d_WM_ENDSESSION_wParam_d_lParam_d
call fcn.140075db0
call fcn.14001d830
mov rcx, rax
add rsp, 0x30
pop rbx
jmp 0x1400b6630
cmp r8d, 0x10
jne 0x140027cb1
mov rax, qword [rsp + 0x60]
lea rdx, str.CBackgroundAdminProcMain::OnWindowsMessage
mov r8d, 0x2e
mov qword [rsp + 0x20], rax
lea rcx, str._s__d_WM_CLOSE_wParam_d_lParam_d_Start
call fcn.140075db0
add rbx, 0xffffffffffffffe0
mov rcx, rbx
call fcn.140028670
test rbx, rbx
je 0x140027c93
mov rcx, rbx
call fcn.140027b70
mov edx, 0x58
mov rcx, rbx
call fcn.1400f4438
mov r8d, 0x31
lea rdx, str.CBackgroundAdminProcMain::OnWindowsMessage
lea rcx, str._s__d_WM_CLOSE_end
add rsp, 0x30
pop rbx
jmp fcn.140075db0
add rsp, 0x30
pop rbx
ret
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x1401aa010]
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 0x1400b671b
mov qword [rsp + 0x98], rbp
xor ebp, ebp
nop dword [rax]
mov rbx, qword [rdi + 0x10]
mov rdi, qword [rdi]
test rbx, rbx
je 0x1400b670a
cmp dword [0x1401aa4a4], ebp
jne 0x1400b66ef
cmp dword [0x1401aa4a0], ebp
jne 0x1400b66ef
cmp dword [0x1401aa4a8], ebp
jne 0x1400b66ef
movups xmm0, xmmword [0x140119fd8]
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.1400a7770
cmp qword [rbx + 0x810], rbp
je 0x1400b670a
mov rcx, qword [rbx + 0x7e0]
test rcx, rcx
je 0x1400b670a
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
test rdi, rdi
jne 0x1400b6680
mov rbp, qword [rsp + 0x98]
mov rcx, r14
call fcn.140015280
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.1400f4410
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r14
pop rdi
pop rsi
ret