joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e1e00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5501d0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x20]
push edi
push ebp
lea eax, [esp + 0x28]
push eax
push esi
mov ebx, ecx
call fcn.004e1d30
lea ecx, [esi + 0x30]
push eax
mov dword [esp + 0x1c], 0
call fcn.00406620
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e1e6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
push ebp
lea ecx, [esp + 0x14]
push ecx
push esi
mov ebx, 0xc
call fcn.004e1d30
lea ecx, [esi + 0xa4]
push eax
mov dword [esp + 0x1c], 1
call fcn.00406620
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4e1ebd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0x10
ret 4

Function at 0x4e1ee0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x54b5b1
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor edi, edi
mov dword [esp + 0x18], edi
push str.SOFTWARESRS_LabsAPO
mov ecx, esi
mov dword [esp + 0x10], edi
call fcn.00405ee0
mov dword [esp + 0x18], edi
mov edi, 1
push edi
push 0x56a3d4
mov ecx, esi
mov dword [esp + 0x14], edi
call fcn.00405e50
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.004e1a30
mov dword [esp + 0x18], edi
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call fcn.00405e50
mov byte [esp + 0x18], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e1f82
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc
Function at 0x4e2b20
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get file attributes

Disassembly:
mov eax, 0x2006c
call fcn.00528ef0
mov eax, dword [0x5b3720]
xor eax, esp
mov dword [esp + 0x20064], eax
push esi
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
xor edi, edi
push str.SRSEndpointIsInitialized
mov dword [esp + 0x10], edi
lea esi, [esp + 0x10]
call fcn.00405ee0
push ebx
mov ecx, esi
call fcn.004dff70
mov esi, eax
cmp esi, edi
je 0x4e2b7d
lea eax, [edi + 1]
pop edi
pop esi
mov ecx, dword [esp + 0x20064]
xor ecx, esp
call fcn.00524c67
add esp, 0x2006c
ret
push 0xfffc
lea eax, [esp + 0x6e]
push edi
push eax
mov word [esp + 0x74], di
call fcn.00526c60
push 0xfffc
lea ecx, [esp + 0x1007a]
push edi
push ecx
mov word [esp + 0x10080], di
call fcn.00526c60
add esp, 0x18
push 0x7fff
lea edx, [esp + 0x6c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4e2cbc
lea eax, [esp + 0x68]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4e2bd0
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x66], 0x5c
jne 0x4e2c04
lea eax, [esp + 0x68]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4e2bf0
sub eax, edx
sar eax, 1
mov word [esp + eax*2 + 0x66], di
push 0x56a3d4
lea eax, [esp + 0x6c]
push 0x7fff
push eax
call fcn.0052599d
push str.SRSLabs
lea ecx, [esp + 0x78]
push 0x7fff
push ecx
call fcn.0052599d
push 0x56a3d4
lea edx, [esp + 0x84]
push 0x7fff
push edx
call fcn.0052599d
push str.176F4E15_8F7C_4833_ADED_81FAE8CCD186
lea eax, [esp + 0x90]
push 0x7fff
push eax
call fcn.0052599d
push str._slInit32.dll
lea ecx, [esp + 0x9c]
push 0x7fff
push ecx
call fcn.0052599d
push str._rundll32.exe_
lea edx, [esp + 0x100a8]
push 0x7fff
push edx
call fcn.0052599d
add esp, 0x48
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x1006c]
push 0x7fff
push ecx
call fcn.0052599d
push str._SRS_InitializeEndpoints_Rundll32
lea edx, [esp + 0x10078]
push 0x7fff
push edx
call fcn.0052599d
add esp, 0x18
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4e2d60
push 0x44
lea ecx, [esp + 0x24]
push edi
push ecx
call fcn.00526c60
add esp, 0xc
xor eax, eax
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea ecx, [esp + 0x10088]
push ecx
push edi
mov dword [esp + 0x48], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4e2d34
pop edi
pop esi
mov ecx, dword [esp + 0x20064]
xor ecx, esp
call fcn.00524c67
add esp, 0x2006c
ret
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.SRSEndpointIsInitialized
lea esi, [esp + 0x10]
call fcn.00405ee0
push ebx
mov ecx, esi
call fcn.004dff70
mov esi, eax
mov ecx, dword [esp + 0x2006c]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.00524c67
add esp, 0x2006c
ret
Function at 0x4e9520
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5487c8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x34]
xor edi, edi
cmp ebp, edi
je 0x4e9612
mov dword [esp + 0x1c], edi
mov esi, ecx
lea ebx, [esp + 0x34]
mov dword [esp + 0x28], edi
call fcn.00423300
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x14]
push eax
push 1
push edi
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x4e95f2
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push edi
push ecx
mov ebx, 4
push esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x48], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x4e95c3
cmp dword [esp + 0x14], ebx
je 0x4e9616
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4e95e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, edi
je 0x4e95ee
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4e964d
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4e9612
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4e964d
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [ebp], ecx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4e963d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, edi
je 0x4e9648
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
Function at 0x4e9670
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x54aad8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov esi, ecx
lea ebx, [esp + 0xc]
mov dword [esp + 0x20], 0
call fcn.00423300
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push eax
push 2
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4e9740
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
push 4
lea edx, [esp + 0x2c]
push edx
push 4
push eax
mov eax, dword [esp + 0x1c]
push eax
push esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x40], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
or edx, 0xffffffff
test eax, eax
mov eax, dword [esp + 0xc]
je 0x4e9776
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e971f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4e972a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret 8
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4e9760
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret 8
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e978f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4e979a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret 8
Function at 0x4f3160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x548478
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
call fcn.0040b3b0
mov dword [esp + 0x14], 0
mov dword [esi], vtable.CUsbAudioDevice.0
lea edi, [esi + 0x268]
call fcn.005081a0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4f31ba
push 0x80004005
call fcn.004021d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
push 0
push 0x566c94
mov ecx, edi
mov byte [esp + 0x1c], 1
call fcn.004062a0
mov dword [esi + 0x30], 1
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x4fb6d0
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x5b3720]
xor eax, esp
mov dword [esp + 0x11c], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 6
jae 0x4fb717
call fcn.004fb7d0
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.00524c67
add esp, 0x120
ret
call fcn.004fd240
cmp eax, 6
ja case.default.0x4fb721
jmp dword [eax*4 + 0x4fb7a8]
mov eax, 1
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.00524c67
add esp, 0x120
ret
mov eax, 2
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.00524c67
add esp, 0x120
ret
mov eax, 3
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.00524c67
add esp, 0x120
ret
xor eax, eax
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.00524c67
add esp, 0x120
ret
mov ecx, dword [esp + 0x11c]
xor ecx, esp
mov eax, DirectSoundCreate
call fcn.00524c67
add esp, 0x120
ret

Function at 0x4fbaf0
Capabilities:
Check os version

Disassembly:
sub esp, 0x170
mov eax, dword [0x5b3720]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push esi
push edi
lea eax, [esp + 0x58]
push eax
xor edi, edi
mov dword [esp + 0x5c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x5c], 6
jb 0x4fbb70
call fcn.004fd1d0
test eax, eax
je 0x4fbbee
test byte [0x5c4730], 3
jne 0x4fbb53
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.00524c67
add esp, 0x170
ret
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.00524c67
add esp, 0x170
ret
push edi
push edi
push 3
push edi
push 3
push 0xc0000000
push str..AndreaFilterRealtek
mov dword [esp + 0x28], vtable.CDriverCtrl.0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, 1
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
je 0x4fbbee
lea ecx, [esp + 0x24]
lea eax, [esp + 0xc]
mov dword [esp + 0x24], edi
call fcn.004fe4d0
test eax, eax
je 0x4fbbca
cmp dword [esp + 0x2c], edi
jne 0x4fbbe5
lea ecx, [esp + 0x24]
lea eax, [esp + 0xc]
mov dword [esp + 0x24], esi
call fcn.004fe4d0
test eax, eax
je 0x4fbbe7
cmp dword [esp + 0x2c], edi
je 0x4fbbe7
mov edi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x174]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00524c67
add esp, 0x170
ret
Function at 0x4fbc10
Capabilities:
Check os version

Disassembly:
sub esp, 0x170
mov eax, dword [0x5b3720]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push esi
push edi
lea eax, [esp + 0x58]
push eax
xor ebx, ebx
mov dword [esp + 0x5c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x5c], 6
jb 0x4fbc73
call fcn.004fd1d0
test eax, eax
je 0x4fbcdd
mov eax, dword [0x5c4730]
shr eax, 2
and eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.00524c67
add esp, 0x170
ret
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str..AndreaFilterRealtek
mov dword [esp + 0x28], vtable.CDriverCtrl.0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, 1
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
je 0x4fbcdd
lea ecx, [esp + 0x24]
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 3
call fcn.004fe4d0
test eax, eax
je 0x4fbcd6
cmp dword [esp + 0x2c], ebx
je 0x4fbcd6
mov ebx, edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x174]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00524c67
add esp, 0x170
ret

Function at 0x4fbd00
Capabilities:
Check os version

Disassembly:
sub esp, 0x170
mov eax, dword [0x5b3720]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push esi
push edi
lea eax, [esp + 0x58]
push eax
xor ebx, ebx
mov dword [esp + 0x5c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x5c], 6
jb 0x4fbd63
call fcn.004fd1d0
test eax, eax
je 0x4fbdcd
mov eax, dword [0x5c4730]
shr eax, 3
and eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.00524c67
add esp, 0x170
ret
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str..AndreaFilterRealtek
mov dword [esp + 0x28], vtable.CDriverCtrl.0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, 1
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
je 0x4fbdcd
lea ecx, [esp + 0x24]
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 2
call fcn.004fe4d0
test eax, eax
je 0x4fbdc6
cmp dword [esp + 0x2c], ebx
je 0x4fbdc6
mov ebx, edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x174]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00524c67
add esp, 0x170
ret
Function at 0x4fbdf0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x5b3720]
xor eax, esp
mov dword [esp + 0x114], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 6
jae 0x4fbe39
mov eax, DirectSoundCreate
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00524c67
add esp, 0x118
ret 8
cmp dword [0x5bf0e0], 0
push esi
mov esi, DirectSoundCreate
jne 0x4fbe92
mov eax, 0x5bee30
lea ecx, [ecx]
mov dword [eax], 0
add eax, 8
cmp eax, 0x5beed0
jl 0x4fbe50
mov dword [0x5c475c], 0x4fbf80
mov dword [0x5c4794], 0
call fcn.004fd980
mov dword [0x5c47f8], 0x4fc120
mov dword [0x5c4828], 0
call fcn.004fe420
xor eax, eax
cmp dword [eax*8 + 0x5bee30], 0
je 0x4fbea8
add eax, 1
cmp eax, 0x14
jl 0x4fbe94
jmp 0x4fbecd
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x124]
add dword [0x5bf0e0], 1
mov dword [eax*8 + 0x5bee30], ecx
mov dword [eax*8 + 0x5bee34], edx
xor esi, esi
mov ecx, dword [esp + 0x118]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00524c67
add esp, 0x118
ret 8

Function at 0x4fbef0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x5b3720]
xor eax, esp
mov dword [esp + 0x114], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 6
mov eax, DirectSoundCreate
jb 0x4fbf6a
xor edx, edx
xor ecx, ecx
cmp dword [ecx*8 + 0x5bee30], esi
je 0x4fbf4c
add ecx, 1
cmp ecx, 0x14
jl 0x4fbf26
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00524c67
add esp, 0x118
ret
sub dword [0x5bf0e0], 1
mov dword [ecx*8 + 0x5bee30], edx
jne 0x4fbf68
mov dword [0x5c475c], edx
mov dword [0x5c47f8], edx
xor eax, eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00524c67
add esp, 0x118
ret

Function at 0x4fc170
Capabilities:
Check os version

Disassembly:
sub esp, 0x170
mov eax, dword [0x5b3720]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push esi
push edi
lea eax, [esp + 0x58]
push eax
xor ebx, ebx
mov dword [esp + 0x5c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x5c], 6
jb 0x4fc1d0
call fcn.004fd1d0
test eax, eax
je 0x4fc233
mov eax, dword [0x5c4730]
and eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.00524c67
add esp, 0x170
ret
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
push str..AndreaFilterRealtek
mov dword [esp + 0x28], vtable.CDriverCtrl.0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, 1
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
je 0x4fc233
lea ecx, [esp + 0x24]
lea eax, [esp + 0xc]
mov dword [esp + 0x24], ebx
call fcn.004fe4d0
test eax, eax
je 0x4fc22c
cmp dword [esp + 0x2c], ebx
je 0x4fc22c
mov ebx, edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x174]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00524c67
add esp, 0x170
ret
Function at 0x4fc250
Capabilities:
Check os version

Disassembly:
sub esp, 0x170
mov eax, dword [0x5b3720]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push esi
push edi
lea eax, [esp + 0x58]
push eax
xor ebx, ebx
mov dword [esp + 0x5c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x5c], 6
jb 0x4fc2b2
call fcn.004fd1d0
test eax, eax
je 0x4fc318
mov eax, dword [0x5c4730]
shr eax, 1
and eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.00524c67
add esp, 0x170
ret
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str..AndreaFilterRealtek
mov dword [esp + 0x28], vtable.CDriverCtrl.0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, 1
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
je 0x4fc318
lea ecx, [esp + 0x24]
lea eax, [esp + 0xc]
mov dword [esp + 0x24], edi
call fcn.004fe4d0
test eax, eax
je 0x4fc311
cmp dword [esp + 0x2c], ebx
je 0x4fc311
mov ebx, edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x174]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00524c67
add esp, 0x170
ret

Function at 0x4fc340
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x16c
mov eax, dword [0x5b3720]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push esi
push edi
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x5c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x5c], 6
jae 0x4fc3f3
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
push str..AndreaFilterRealtek
mov dword [esp + 0x28], vtable.CDriverCtrl.0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, 1
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
je 0x4fc3dc
lea ecx, [esp + 0x24]
lea eax, [esp + 0xc]
mov dword [esp + 0x24], ebx
call fcn.004fe4d0
test eax, eax
je 0x4fc3d5
cmp dword [esp + 0x30], ebx
je 0x4fc3d5
mov ebx, edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.00524c67
mov esp, ebp
pop ebp
ret
mov al, byte [0x5c4730]
mov ecx, dword [esp + 0x174]
and al, 1
neg al
pop edi
pop esi
pop ebx
sbb eax, eax
and eax, dword [0x5c471c]
xor ecx, esp
call fcn.00524c67
mov esp, ebp
pop ebp
ret
Function at 0x4fc420
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x16c
mov eax, dword [0x5b3720]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push esi
push edi
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x5c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x5c], 6
jae 0x4fc4d3
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
push str..AndreaFilterRealtek
mov dword [esp + 0x28], vtable.CDriverCtrl.0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, 1
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
je 0x4fc4bc
lea ecx, [esp + 0x24]
lea eax, [esp + 0xc]
mov dword [esp + 0x24], esi
call fcn.004fe4d0
test eax, eax
je 0x4fc4b5
cmp dword [esp + 0x30], ebx
je 0x4fc4b5
mov ebx, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.00524c67
mov esp, ebp
pop ebp
ret
mov al, byte [0x5c4730]
mov ecx, dword [esp + 0x174]
and al, 2
neg al
pop edi
pop esi
pop ebx
sbb eax, eax
and eax, dword [0x5c4720]
xor ecx, esp
call fcn.00524c67
mov esp, ebp
pop ebp
ret

Function at 0x4fc500
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x16c
mov eax, dword [0x5b3720]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push esi
push edi
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x5c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x5c], 6
jae 0x4fc5bb
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
push str..AndreaFilterRealtek
mov dword [esp + 0x28], vtable.CDriverCtrl.0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, 1
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
je 0x4fc5a4
lea ecx, [esp + 0x24]
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 3
call fcn.004fe4d0
test eax, eax
je 0x4fc59d
cmp dword [esp + 0x30], ebx
je 0x4fc59d
mov ebx, edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.00524c67
mov esp, ebp
pop ebp
ret
mov al, byte [0x5c4730]
mov ecx, dword [esp + 0x174]
and al, 4
neg al
pop edi
pop esi
pop ebx
sbb eax, eax
and eax, dword [0x5c4724]
xor ecx, esp
call fcn.00524c67
mov esp, ebp
pop ebp
ret