joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008d5a0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1008d5d8
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.1008b672
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.1008b64a
jmp 0x1008d5e4
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x1008ec92
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 0x1008ecd4
call fcn.100945f0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1008ecd4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1008eccb
xor eax, eax
jmp 0x1008ecdc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1008ece2
pop edi
pop esi
pop ebx
ret 4
Function at 0x67c027f0
Capabilities:
Check for time delay via gettickcount

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, 0x48
mov ebx, dword [ecx]
mov edi, dword [ecx + 4]
mov esi, dword [ecx + 8]
test byte [0x67c21028], 8
jne 0x67c02900
lea eax, [ebx + 0x2c]
mov dword [ebp - 0x1c], eax
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_AcquireSRWLockShared]
mov edx, dword [ebx + 0xc0]
mov ecx, dword [ebx + 0x48]
sub esp, 4
cmp ecx, edx
ja 0x67c0284b
test byte [0x67c21028], 1
jne 0x67c02970
mov eax, edx
xor edx, edx
div ecx
test edi, edi
je 0x67c02851
mov dword [edi], edx
test esi, esi
je 0x67c02938
mov dword [esi], edx
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x67c02870
mov eax, dword [ebx + 0x44]
add eax, edx
xor edx, edx
mov dword [esi], eax
div dword [ebx + 0x48]
mov dword [esi], edx
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReleaseSRWLockShared]
sub esp, 4
test byte [0x67c21028], 8
jne 0x67c028a0
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ecx, dword [ebx + 0x48]
mov esi, dword [esi]
mov edx, 0xffffffff
test edi, edi
je 0x67c028b6
mov edx, dword [edi]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.playpos___ld__writepos___ld__buflen_ld___p__time_ld__n
mov dword [esp + 8], str.IDirectSoundBufferImpl_GetCurrentPosition
mov dword [esp + 4], 0x67c21028
mov dword [esp], 3
call fcn.67c012c0
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x67c2331a
mov dword [esp + 8], str.IDirectSoundBufferImpl_GetCurrentPosition
mov dword [esp + 4], 0x67c21028
mov dword [esp], 3
call fcn.67c012c0
jmp 0x67c02819
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReleaseSRWLockShared]
sub esp, 4
test byte [0x67c21028], 8
je 0x67c02888
call dword [sym.imp.kernel32.dll_GetTickCount]
mov esi, 0xffffffff
mov ecx, dword [ebx + 0x48]
jmp 0x67c028ab
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Bad_play_position._playpos:__ld__buflen:__ld_n
mov dword [esp + 8], str.IDirectSoundBufferImpl_GetCurrentPosition
mov dword [esp + 4], 0x67c21028
mov dword [esp], 0
mov dword [ebp - 0x20], edx
call fcn.67c012c0
mov ecx, dword [ebx + 0x48]
mov edx, dword [ebp - 0x20]
jmp 0x67c02845
Function at 0x67c05010
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, 1
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 8]
lock xadd dword [ebx + 0x14], eax
add eax, 1
cmp eax, 1
jbe 0x67c0503b
test byte [0x67c21028], 4
jne 0x67c05218
mov eax, dword [ebx + 0x28]
test byte [ebx + 0x78], 4
je 0x67c0504b
add dword [eax + 0x34], 1
mov eax, dword [ebx + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.67c0cb60
mov eax, dword [ebx + 0x34]
sub dword [eax], 1
mov edx, dword [ebx + 0x274]
mov eax, dword [ebx + 0x278]
mov dword [edx + 4], eax
mov edx, dword [ebx + 0x274]
mov dword [eax], edx
mov eax, dword [ebx + 0x34]
mov ecx, dword [eax]
test ecx, ecx
je 0x67c051e8
mov eax, dword [ebx + 0xd0]
mov dword [esp + 4], 0
mov esi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebx + 0x30]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebx + 0xc8]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebx + 0x138]
sub esp, 0xc
test eax, eax
je 0x67c05178
mov edx, dword [ebx + 0x134]
test edx, edx
jle 0x67c05153
xor esi, esi
lea esi, [esi]
nop
lea edx, [esi + esi*2]
lea edi, [edx*8]
mov eax, dword [eax + edi + 0x10]
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
mov eax, dword [ebx + 0x138]
sub esp, 4
mov edx, dword [eax + edi + 0x14]
test edx, edx
je 0x67c05148
mov eax, dword [edx]
mov dword [esp], edx
call dword [eax + 8]
mov eax, dword [ebx + 0x138]
sub esp, 4
add esi, 1
cmp dword [ebx + 0x134], esi
jg 0x67c05110
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], ebx
call fcn.67c129d0
test byte [0x67c21028], 8
jne 0x67c051b8
mov dword [esp + 8], ebx
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]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x67c239f2
mov dword [esp + 8], str.secondarybuffer_destroy
mov dword [esp + 4], 0x67c21028
mov dword [esp], 3
call fcn.67c012c0
jmp 0x67c05189
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
jmp 0x67c05081
sub eax, 1
mov dword [esp + 0xc], str.Destroying_buffer_with__lu_in_use_interfaces_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.secondarybuffer_destroy
mov dword [esp + 4], 0x67c21028
mov dword [esp], 2
call fcn.67c012c0
jmp 0x67c0503b
Function at 0x67c069d0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, eax
sub esp, 0x20
mov eax, dword [eax + 0x18]
cmp dword [eax + 0x38], 2
jne 0x67c069ea
mov dword [eax + 0x38], 3
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x30]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
test edx, edx
je 0x67c06a2b
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_SetEvent]
mov eax, dword [ebx + 0x2c]
sub esp, 4
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [ebx + 0x2c]
sub esp, 8
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x30]
sub esp, 4
mov dword [esp], eax
call esi
mov edx, dword [ebx + 0x1c]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 4
mov dword [esp + 8], edx
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 esi
mov eax, dword [ebx + 0x18]
sub esp, 0xc
mov edx, dword [eax + 0x58]
test edx, edx
je 0x67c06a7e
mov eax, dword [edx]
mov dword [esp], edx
call dword [eax + 8]
mov eax, dword [ebx + 0x18]
sub esp, 4
mov dword [eax + 0x58], 0
mov eax, dword [ebx + 0x18]
mov edx, dword [eax + 0x5c]
test edx, edx
je 0x67c06a9d
mov eax, dword [edx]
mov dword [esp], edx
call dword [eax + 8]
mov eax, dword [ebx + 0x18]
sub esp, 4
mov dword [eax + 0x5c], 0
mov eax, dword [ebx + 0x18]
mov dword [eax + 0x34], 0
mov edx, dword [ebx + 0x24]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
test byte [0x67c21190], 8
jne 0x67c06b00
mov dword [esp + 8], ebx
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 esi
sub esp, 0xc
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x67c24420
mov dword [esp + 8], str.capturebuffer_destroy
mov dword [esp + 4], 0x67c21190
mov dword [esp], 3
call fcn.67c058c0
jmp 0x67c06ad0
Function at 0x67c080d0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x2c
mov ebx, dword [eax + 0x18]
test ebx, ebx
je 0x67c081d8
mov edi, 0xffffffff
lock xadd dword [ebx + 0x10], edi
sub edi, 1
test byte [0x67c21190], 8
jne 0x67c08230
test edi, edi
jne 0x67c08220
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x67c0811a
mov dword [esp], eax
call fcn.67c06bc0
sub esp, 4
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x67c0812c
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov edx, dword [ebx + 0x30]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov eax, dword [ebx + 0x3c]
sub esp, 0xc
mov dword [eax + 0x18], 0
lea eax, [ebx + 0x3c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_DeleteCriticalSection]
sub esp, 4
test byte [0x67c21190], 8
jne 0x67c082a0
mov dword [esp + 8], ebx
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 edi
movzx eax, byte [0x67c21190]
sub esp, 0xc
and eax, 8
test al, al
jne 0x67c081ec
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 edi
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
movzx eax, byte [0x67c21190]
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
and eax, 8
test al, al
je 0x67c081a9
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x67c24420
mov dword [esp + 8], str.capture_destroy
mov dword [esp + 4], 0x67c21190
mov dword [esp], 3
call fcn.67c058c0
jmp 0x67c081a9
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x67c081a9
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x67c2410e
mov dword [esp + 8], str.DirectSoundCaptureDevice_Release
mov dword [esp + 4], 0x67c21190
mov dword [esp], 3
call fcn.67c058c0
test edi, edi
jne 0x67c081d8
test byte [0x67c21190], 8
je 0x67c08108
mov dword [esp + 0xc], str.deleting_object_n
mov dword [esp + 8], str.DirectSoundCaptureDevice_Release
mov dword [esp + 4], 0x67c21190
mov dword [esp], 3
call fcn.67c058c0
jmp 0x67c08108
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x67c24420
mov dword [esp + 8], str.DirectSoundCaptureDevice_Release
mov dword [esp + 4], 0x67c21190
mov dword [esp], 3
call fcn.67c058c0
jmp 0x67c0817b
Function at 0x67c09440
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test byte [0x67c21190], 8
jne 0x67c09500
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov dword [esp + 8], 0x20
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]
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x67c095cf
call fcn.67c0ead0
mov eax, dword [ebp + 0x14]
test ebx, ebx
mov dword [esp + 4], esi
mov dword [esp], edi
cmove ebx, edi
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x14], ebx
mov dword [esp + 8], eax
mov dword [edi], fcn.67c08830
mov dword [edi + 4], 0x67c25144
mov dword [edi + 8], 1
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 1
mov dword [edi + 0x18], 0
call fcn.67c08830
mov ebx, eax
mov eax, dword [edi]
sub esp, 0xc
mov dword [esp], edi
call dword [eax + 8]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
test esi, esi
je 0x67c095c8
mov eax, esi
shr eax, 0x10
je 0x67c095b0
movzx eax, byte [esi + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [esi + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [esi + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [esi + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 8]
mov dword [esp + 0x10], eax
movzx eax, word [esi + 6]
mov dword [esp + 0xc], eax
movzx eax, word [esi + 4]
mov dword [esp + 8], eax
mov eax, dword [esi]
mov dword [esp], 0x67c24878
mov dword [esp + 4], eax
call fcn.67c05800
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x67c249b5
mov dword [esp + 0x14], edx
mov dword [esp + 8], str.IDirectSoundCaptureImpl_Create
mov dword [esp + 4], 0x67c21190
mov dword [esp], 3
call fcn.67c058c0
jmp 0x67c0945c
movzx eax, si
mov dword [esp], 0x67c24869
mov dword [esp + 4], eax
call fcn.67c05800
jmp 0x67c09575
mov eax, 0x67c24862
jmp 0x67c09575
mov ebx, 0x8007000e
test byte [0x67c21190], 4
je 0x67c094f6
mov dword [esp + 0xc], 0x67c24478
mov dword [esp + 8], str.IDirectSoundCaptureImpl_Create
mov dword [esp + 4], 0x67c21190
mov dword [esp], 2
call fcn.67c058c0
jmp 0x67c094f6
Function at 0x67c0c9b0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
test byte [0x67c21278], 8
jne 0x67c0caa0
lea esi, [ebx + 0xac]
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov eax, dword [ebx + 0xa8]
sub esp, 4
test eax, eax
je 0x67c0cb20
mov ecx, dword [ebx + 0xa4]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
lea ecx, [ecx*4 + 4]
mov dword [esp + 0xc], ecx
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_HeapReAlloc]
sub esp, 0x10
test eax, eax
je 0x67c0cad8
mov edx, dword [ebx + 0xa4]
mov dword [ebx + 0xa8], eax
mov dword [eax + edx*4], edi
mov eax, dword [ebx + 0xa4]
xor edi, edi
add eax, 1
mov dword [ebx + 0xa4], eax
test byte [0x67c21278], 8
jne 0x67c0ca70
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov eax, edi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.buffer_count_is_now__d_n
mov dword [esp + 8], str.DirectSoundDevice_AddBuffer
mov dword [esp + 4], 0x67c21278
mov dword [esp], 3
call fcn.67c09b60
jmp 0x67c0ca53
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p___p__n
mov dword [esp + 8], str.DirectSoundDevice_AddBuffer
mov dword [esp + 4], 0x67c21278
mov dword [esp], 3
call fcn.67c09b60
jmp 0x67c0c9cc
mov edi, 0x8007000e
test byte [0x67c21278], 2
je 0x67c0ca53
mov eax, dword [ebx + 0xa4]
mov dword [esp + 0xc], str.out_of_memory_for_buffer_list__Current_buffer_count_is__d_n
mov dword [esp + 8], str.DirectSoundDevice_AddBuffer
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x67c21278
mov dword [esp], 1
call fcn.67c09b60
jmp 0x67c0ca53
mov edx, dword [ebx + 0xa4]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
lea edx, [edx*4 + 4]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
jmp 0x67c0ca22
Function at 0x67c0cb60
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test byte [0x67c21278], 8
jne 0x67c0cc70
lea ebx, [edi + 0xac]
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov ecx, dword [edi + 0xa4]
sub esp, 4
cmp ecx, 1
je 0x67c0cc00
test ecx, ecx
jle 0x67c0cbcd
mov eax, dword [edi + 0xa8]
xor edx, edx
mov dword [ebp - 0x1c], eax
jmp 0x67c0cbba
add edx, 1
add eax, 4
cmp ecx, edx
je 0x67c0cbcd
cmp dword [eax], esi
jne 0x67c0cbb0
mov esi, dword [ebp - 0x1c]
mov edx, dword [esi + ecx*4 - 4]
mov dword [eax], edx
mov ecx, dword [edi + 0xa4]
sub ecx, 1
mov dword [edi + 0xa4], ecx
test byte [0x67c21278], 8
jne 0x67c0cca8
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [edi + 0xa8]
cmp dword [eax], esi
je 0x67c0cc2d
mov dword [esp + 8], 0x28a
mov dword [esp + 4], str..._dlls_dsound_dsound.c
mov dword [esp], str.device__buffers_0___pDSB
call dword [sym.imp.ucrtbase.dll__assert]
mov eax, dword [edi + 0xa8]
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]
mov ecx, dword [edi + 0xa4]
mov dword [edi + 0xa8], 0
sub esp, 0xc
jmp 0x67c0cbcd
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.__p___p__n
mov dword [esp + 8], str.DirectSoundDevice_RemoveBuffer
mov dword [esp + 4], 0x67c21278
mov dword [esp], 3
call fcn.67c09b60
jmp 0x67c0cb7c
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], str.buffer_count_is_now__d_n
mov dword [esp + 8], str.DirectSoundDevice_RemoveBuffer
mov dword [esp + 4], 0x67c21278
mov dword [esp], 3
call fcn.67c09b60
jmp 0x67c0cbe3
Function at 0x67c0cce0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test byte [0x67c21278], 8
jne 0x67c0cda0
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov dword [esp + 8], 0x20
mov dword [esp + 4], 8
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]
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x67c0ce6f
call fcn.67c0ead0
mov eax, dword [ebp + 0x14]
test ebx, ebx
mov dword [esp + 4], esi
mov dword [esp], edi
cmove ebx, edi
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 8], ebx
mov dword [esp + 8], eax
mov dword [edi], fcn.67c0b860
mov dword [edi + 4], 0x67c260a0
mov dword [edi + 0xc], 1
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 1
mov dword [edi + 0x18], 0
call fcn.67c0b860
mov ebx, eax
mov eax, dword [edi]
sub esp, 0xc
mov dword [esp], edi
call dword [eax + 8]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
test esi, esi
je 0x67c0ce68
mov eax, esi
shr eax, 0x10
je 0x67c0ce50
movzx eax, byte [esi + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [esi + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [esi + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [esi + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 8]
mov dword [esp + 0x10], eax
movzx eax, word [esi + 6]
mov dword [esp + 0xc], eax
movzx eax, word [esi + 4]
mov dword [esp + 8], eax
mov eax, dword [esi]
mov dword [esp], 0x67c25780
mov dword [esp + 4], eax
call fcn.67c09aa0
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x67c25c0a
mov dword [esp + 0x14], edx
mov dword [esp + 8], str.IDirectSoundImpl_Create
mov dword [esp + 4], 0x67c21278
mov dword [esp], 3
call fcn.67c09b60
jmp 0x67c0ccfc
movzx eax, si
mov dword [esp], 0x67c2576e
mov dword [esp + 4], eax
call fcn.67c09aa0
jmp 0x67c0ce15
mov eax, 0x67c25a7c
jmp 0x67c0ce15
mov ebx, 0x8007000e
test byte [0x67c21278], 4
je 0x67c0cd96
mov dword [esp + 0xc], 0x67c25aec
mov dword [esp + 8], str.IDirectSoundImpl_Create
mov dword [esp + 4], 0x67c21278
mov dword [esp], 2
call fcn.67c09b60
jmp 0x67c0cd96
Function at 0x67c105e0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
sub esp, 0x34
mov eax, dword [eax + 0x14]
test eax, eax
je 0x67c10630
mov edx, dword [eax]
lea ecx, [ebp - 0x10]
mov dword [esp + 4], 0x67c36840
mov dword [esp + 8], ecx
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
lea esi, [esi]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test eax, eax
jne 0x67c10610
mov eax, dword [ebx + 0x14]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x67c10670
mov edx, dword [eax]
lea ecx, [ebp - 0xc]
mov dword [esp + 4], 0x67c367e0
mov dword [esp + 8], ecx
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test eax, eax
jne 0x67c10650
mov eax, dword [ebx + 0x18]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test byte [0x67c21380], 8
jne 0x67c106a8
mov dword [esp + 8], ebx
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 ebx, dword [ebp - 4]
sub esp, 0xc
leave
ret
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x67c2964e
mov dword [esp + 8], str.fullduplex_destroy
mov dword [esp + 4], 0x67c21380
mov dword [esp], 3
call fcn.67c10490
jmp 0x67c10679
Function at 0x67c111f0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
test byte [0x67c21380], 8
jne 0x67c11298
mov dword [edi], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], 0x1c
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
mov ebx, eax
test eax, eax
je 0x67c1135f
call fcn.67c0ead0
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp], ebx
mov dword [ebx + 4], 0x67c2999c
mov dword [ebx], fcn.67c10940
mov dword [ebx + 8], 1
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 1
call fcn.67c10940
mov esi, eax
mov eax, dword [ebx]
sub esp, 0xc
mov dword [esp], ebx
call dword [eax + 8]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
test esi, esi
je 0x67c11358
mov eax, esi
shr eax, 0x10
je 0x67c11340
movzx eax, byte [esi + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [esi + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [esi + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [esi + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 8]
mov dword [esp + 0x10], eax
movzx eax, word [esi + 6]
mov dword [esp + 0xc], eax
movzx eax, word [esi + 4]
mov dword [esp + 8], eax
mov eax, dword [esi]
mov dword [esp], 0x67c29674
mov dword [esp + 4], eax
call fcn.67c103d0
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__s___p__n
mov dword [esp + 8], str.DSOUND_FullDuplexCreate
mov dword [esp + 4], 0x67c21380
mov dword [esp], 3
call fcn.67c10490
jmp 0x67c1120c
movzx eax, si
mov dword [esp], 0x67c29664
mov dword [esp + 4], eax
call fcn.67c103d0
jmp 0x67c1130d
mov eax, 0x67c2965d
jmp 0x67c1130d
mov esi, 0x8007000e
test byte [0x67c21380], 4
je 0x67c1128b
mov dword [esp + 0xc], 0x67c297bc
mov dword [esp + 8], str.DSOUND_FullDuplexCreate
mov dword [esp + 4], 0x67c21380
mov dword [esp], 2
call fcn.67c10490
jmp 0x67c1128b