joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e720
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x46e753
push esi
call fcn.00471810
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46e74c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x46e7d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x46e7c2
mov eax, dword [esi + 8]
test eax, eax
je 0x46e777
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x46e7be
cmp eax, 2
je 0x46e7c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46e76a
cmp eax, 3
je 0x46e79d
cmp eax, 1
jne 0x46e76a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x46e76a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46e76a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0046e800
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x46e7e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0046e800
add esp, 4
pop esi
ret

Function at 0x47cec0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513d30
push 0x48e964
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
rdtsc
mov esi, eax
mov edi, edx
call ebx
rdtsc
pop ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov edi, dword [ebp - 0x20]
push 1
push esi
push esi
mov eax, dword [ebp - 0x28]
push eax
call fcn.0048ce40
sub eax, esi
sbb edx, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sbb edx, esi
mov ecx, dword [ebp - 0x24]
add eax, ecx
adc edx, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47d070
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x9c
push eax
call esi
test eax, eax
jne 0x47d0b1
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x94
push ecx
call esi
test eax, eax
je 0x47d11e
cmp dword [esp + 0x1c], 2
jne 0x47d11e
cmp dword [esp + 0x10], 5
jne 0x47d11e
cmp dword [esp + 0x14], 1
jne 0x47d11e
push str.kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x47d108
push str.IsWow64Process
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x47d0f9
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
jmp 0x47d101
mov dword [esp + 8], 0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 8]
test eax, eax
je 0x47d11e
pop edi
mov eax, 1
pop esi
add esp, 0xa0
ret
pop edi
xor eax, eax
pop esi
add esp, 0xa0
ret

Function at 0x47f5c0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x47f663
test eax, eax
jbe 0x47f663
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x47f663
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x47f60e
xor esi, esi
jmp 0x47f614
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x47f63f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00481190
add esi, eax
push esi
mov ebx, esi
call fcn.00481190
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x47f620
pop ebp
test edi, edi
pop edi
jne 0x47f663
test ebx, ebx
je 0x47f663
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0048d840
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x47fa05
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x47fb1d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47fb1d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0049f019
mov esi, eax
test esi, esi
je 0x47fb1d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x47fb1d
mov ecx, esi
call fcn.0047f8a0
cmp edi, eax
jge 0x47fb1d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x47faa3
mov dword [esp + 0x34], 1
jmp 0x47fafe
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x47fb1d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0047db60
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x481230
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x481296
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x481296
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x481277
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x481620
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x481658
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x482280
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4822c9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x482740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ac830
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004822f0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00482370
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00482370
lea ecx, [esi + 0xc]
call fcn.0049d57a
lea ecx, [esi + 0x10]
call fcn.0049d57a
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00483900
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00483900
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00483900
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0049d5ef
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0049d5ef
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x485ee0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x52e294]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x485ef3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x485f34
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x52e33c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x485f66
mov bl, byte [esp + ecx + 0x4c]
jmp 0x485f6a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x485f5b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x485f88
mov bl, byte [esp + ecx + 0x4c]
jmp 0x485f8c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x485f7d
xor ecx, ecx
mov eax, 0x52e2a4
xor ebx, ebx
mov bl, byte [ecx + 0x52e34c]
cmp byte [esp + ebx + 0x14], 0
je 0x485fb7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x52e364]
cmp byte [esp + ebx + 0x14], 0
je 0x485fce
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x485f9e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x485f27
lea edx, [esp + 0x84]
push edx
call fcn.00486010
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x49f9bd
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x49f9f5
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0049da4a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0049da22
jmp 0x49fa01
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a10b4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4a10f6
call fcn.004a6e23
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a10f6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a10ed
xor eax, eax
jmp 0x4a10fe
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a1104
pop edi
pop esi
pop ebx
ret 4

Function at 0x4a7353
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4a7381
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a739f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a72b9
jmp 0x4a739f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a739f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a72b9
test edi, edi
mov eax, edi
jne 0x4a7389
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x6acc1590
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, 0xffffffff
push ecx
sub esp, 0x2c
mov esi, dword [ecx]
lock xadd dword [esi + 4], ebx
dec ebx
test byte [0x6acd0018], 8
jne 0x6acc15d0
test ebx, ebx
je 0x6acc1600
lea esp, [ebp - 0xc]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x6acd205a
mov dword [esp + 8], str.AEV_Release
mov dword [esp + 4], 0x6acd0018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
test ebx, ebx
jne 0x6acc15bd
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4

Function at 0x6acc2750
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 0xc]
mov dword [ebx], 0
mov dword [esp + 8], 0x10
mov dword [esp + 4], 8
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x6acc27a2
mov dword [eax], sym._AEV_QueryInterface_12
mov dword [eax + 4], 1
mov dword [ebx], eax
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret
mov eax, 0x8007000e
jmp 0x6acc279d
Function at 0x6acc2ae0
Capabilities:
Create thread
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x28
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
test byte [0x6acd00b4], 8
jne 0x6acc2ba0
test edi, edi
je 0x6acc2c5a
mov dword [esp + 8], 0xc
mov dword [esp + 4], 0
mov esi, dword fs:[0x18]
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x6acc2c64
mov dword [eax], edi
mov dword [esp], 0x6acd0080
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov edx, dword [0x6acd009c]
lea eax, [ebx + 4]
mov dword [ebx + 4], 0x6acd0098
sub esp, 4
mov dword [ebx + 8], edx
mov dword [edx], eax
mov dword [0x6acd009c], eax
mov eax, dword [section..bss]
test eax, eax
je 0x6acc2bd8
mov dword [esp], 0x6acd0080
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
xor eax, eax
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x6acd23a0
mov dword [esp + 8], str.MMDevEnum_RegisterEndpointNotificationCallback
mov dword [esp + 4], 0x6acd00b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x6acc2b06
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], sym._notif_thread_proc_4
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [section..bss], eax
sub esp, 0x18
test eax, eax
jne 0x6acc2b76
test byte [0x6acd00b4], 2
je 0x6acc2b76
mov eax, dword [esi + 0x34]
mov dword [esp + 0xc], str.CreateThread_failed:__lu_n
mov dword [esp + 8], str.MMDevEnum_RegisterEndpointNotificationCallback
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6acd00b4
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x6acc2b76
mov eax, 0x80004003
jmp 0x6acc2b88
mov eax, 0x8007000e
jmp 0x6acc2b88
Function at 0x6acc2c70
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x20
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
test byte [0x6acd00b4], 8
jne 0x6acc2d40
test ebx, ebx
je 0x6acc2d71
mov dword [esp], 0x6acd0080
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov edx, dword [0x6acd0098]
sub esp, 4
jmp 0x6acc2cbf
mov edx, dword [eax + 4]
cmp dword [eax], ebx
je 0x6acc2cf0
lea eax, [edx - 4]
cmp edx, 0x6acd0098
jne 0x6acc2cb8
mov dword [esp], 0x6acd0080
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, 0x80070490
sub esp, 4
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 8
mov ecx, dword [eax + 8]
mov dword [edx + 4], ecx
mov edx, dword [eax + 4]
mov dword [ecx], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov dword [esp], 0x6acd0080
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
xor eax, eax
sub esp, 4
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x6acd23a0
mov dword [esp + 8], str.MMDevEnum_UnregisterEndpointNotificationCallback
mov dword [esp + 4], 0x6acd00b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x6acc2c94
mov eax, 0x80004003
jmp 0x6acc2cdf

Function at 0x6acc2d80
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, 0xffffffff
push ecx
sub esp, 0x2c
mov esi, dword [ecx]
lock xadd dword [esi + 4], ebx
dec ebx
test byte [0x6acd00b4], 8
jne 0x6acc2dc0
test ebx, ebx
je 0x6acc2dec
lea esp, [ebp - 0xc]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.Refcount_now__li_n
mov dword [esp + 8], str.MMDevPropStore_Release
mov dword [esp + 4], 0x6acd00b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
test ebx, ebx
jne 0x6acc2dad
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
Function at 0x6acc3190
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x28
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
mov esi, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
test byte [0x6acd00b4], 8
jne 0x6acc3240
test edi, edi
je 0x6acc3287
mov dword [edi], 0
cmp ebx, 2
ja 0x6acc3280
test esi, 0xfffffff0
jne 0x6acc3280
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [edi], 0
sub esp, 0xc
test eax, eax
je 0x6acc328e
mov dword [eax], sym._MMDevCol_QueryInterface_12
mov dword [eax + 4], 1
mov dword [eax + 8], ebx
mov dword [eax + 0xc], esi
mov dword [edi], eax
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__p_____u__lu__p__n
mov dword [esp + 8], str.MMDevEnum_EnumAudioEndpoints
mov dword [esp + 4], 0x6acd00b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x6acc31bc
mov eax, 0x80070057
jmp 0x6acc3228
mov eax, 0x80004003
jmp 0x6acc3228
mov eax, 0x8007000e
jmp 0x6acc3228

Function at 0x6acc3600
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x28
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov edi, dword [ecx + 8]
test byte [0x6acd00b4], 8
jne 0x6acc3690
test edi, edi
je 0x6acc3703
cmp esi, 2
ja 0x6acc36c8
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [edi], eax
sub esp, 0xc
test eax, eax
je 0x6acc370d
mov dword [eax], sym._MMDevPropStore_QueryInterface_12
mov dword [eax + 4], 1
mov dword [eax + 0xc], esi
mov dword [eax + 8], ebx
xor ebx, ebx
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p_____lx__p__n
mov dword [esp + 8], str.MMDevice_OpenPropertyStore
mov dword [esp + 4], 0x6acd00b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x6acc3625
mov ebx, 0x80070057
test byte [0x6acd00b4], 4
je 0x6acc367d
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.Invalid_access__08lx_n
mov dword [esp + 8], str.MMDevPropStore_Create
mov dword [esp + 4], 0x6acd00b4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x6acc367d
mov ebx, 0x80004003
jmp 0x6acc367d
mov ebx, 0x8007000e
jmp 0x6acc367d
Function at 0x6acc38e0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, 0xffffffff
push ecx
sub esp, 0x2c
mov esi, dword [ecx]
lock xadd dword [esi + 4], ebx
dec ebx
test byte [0x6acd00b4], 8
jne 0x6acc3920
test ebx, ebx
je 0x6acc394c
lea esp, [ebp - 0xc]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.Refcount_now__li_n
mov dword [esp + 8], str.MMDevCol_Release
mov dword [esp + 4], 0x6acd00b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
test ebx, ebx
jne 0x6acc390d
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
Function at 0x6acc6df0
Capabilities:
Query or enumerate registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0xa8
mov eax, dword [ecx + 4]
mov ebx, dword [ecx]
mov dword [ebp - 0x8c], eax
test byte [0x6acd00b4], 8
jne 0x6acc6f10
mov esi, dword [ebp - 0x8c]
test esi, esi
je 0x6acc6f41
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0x84]
mov edx, dword [eax + 0x24]
add eax, 0x2c
call sym._MMDevPropStore_OpenPropKey
test eax, eax
js 0x6acc6ecf
mov dword [esi], 0
xor ebx, ebx
lea edi, [ebp - 0x80]
lea esi, [ebp - 0x7c]
jmp 0x6acc6e61
inc ebx
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x80], 0x32
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumValueW]
sub esp, 0x20
test eax, eax
je 0x6acc6e60
mov eax, dword [ebp - 0x84]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
test byte [0x6acd00b4], 8
jne 0x6acc6ee0
mov eax, dword [ebp - 0x8c]
mov dword [eax], ebx
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.Returning__li_n
mov dword [esp + 8], str.MMDevPropStore_GetCount
mov dword [esp + 4], 0x6acd00b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x6acc6ec5
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x6acd23a0
mov dword [esp + 8], str.MMDevPropStore_GetCount
mov dword [esp + 4], 0x6acd00b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x6acc6e1f
mov eax, 0x80004003
jmp 0x6acc6ecf