joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10018d60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x100e57c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x1006ccde
lea ecx, [ebp - 0xd8]
mov ebx, 0x80004005
mov dword [ebp - 0xd4], 0x64
call fcn.10017e40
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0xd0]
push eax
push 1
push 0
push str.SOFTWAREConexantSAIIVersion
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x10018dd7
lea ecx, [ebp - 0xd0]
push ecx
push 0x101
push 0
push str.SOFTWAREConexantSAIIVersion
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x10018e2c
mov ecx, dword [ebp - 0xd0]
lea edx, [ebp - 0xd4]
push edx
lea eax, [ebp - 0xcc]
push eax
push 0
push 0
push str.PackageID
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10018e1f
mov eax, dword [ebp - 0xd4]
test eax, eax
je 0x10018e1f
dec eax
push eax
lea edx, [ebp - 0xcc]
push edx
lea ecx, [ebp - 0xd8]
call fcn.10017d80
xor ebx, ebx
mov eax, dword [ebp - 0xd0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0xd8]
test edi, edi
je 0x10018e4f
test esi, esi
jne 0x10018e3e
xor eax, eax
jmp 0x10018e4d
push esi
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov dword [edi], eax
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.1004bb49
mov esp, ebp
pop ebp
ret 8

Function at 0x10018e70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
push 1
xor esi, esi
push str.SOFTWAREConexantSAII
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov edi, 0x80004005
call fcn.100022e0
cmp eax, esi
je 0x10018ebb
push 0x101
push str.SOFTWAREConexantSAII
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x18]
call fcn.100022e0
cmp eax, esi
jne 0x10018f0a
push ebx
mov ebx, dword [ebp - 0x18]
mov eax, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0xc]
push edx
push esi
push str.GUIRefreshTimerInterval
push ebx
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10018ef4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
xor edi, edi
cmp ebx, esi
je 0x10018eff
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x18]
cmp eax, esi
je 0x10018f00
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10018f30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov edx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 1
xor eax, eax
xor ecx, ecx
xor esi, esi
mov word [edi], ax
push str.SOFTWAREConexantSAII
mov word [edx], cx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov ebx, 0x80004005
call fcn.100022e0
cmp eax, esi
je 0x10018f8c
push 0x101
push str.SOFTWAREConexantSAII
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x14]
call fcn.100022e0
cmp eax, esi
jne 0x10018fe6
or eax, 0xffffffff
mov word [edi], ax
mov edi, dword [ebp - 0x14]
mov eax, 4
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp + 0xc]
push edx
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push esi
push 0x1006cd10
push edi
mov dword [ebp + 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10018fd0
cmp dword [ebp + 0xc], esi
jbe 0x10018fce
mov edx, dword [ebp + 0x10]
or ecx, 0xffffffff
mov word [edx], cx
xor ebx, ebx
cmp edi, esi
je 0x10018ff4
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x10018ff4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10019a10
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063b1b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100e57c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1004b0cf
push 4
mov dword [ebp - 4], 0
call fcn.1004c036
mov edi, eax
add esp, 4
test edi, edi
je 0x10019a90
call fcn.1004ad8d
mov dword [edi], eax
call fcn.1004ab4c
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.1004aa81
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10019a86
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.1004aaa9
jmp 0x10019a92
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001b1f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x100e57c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x208], eax
mov eax, 0x13
mov word [ebp - 0x214], ax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x20c], eax
lea eax, [ebp - 0x214]
push eax
push esi
push edx
call fcn.1001a5e0
mov esi, eax
push esi
lea ecx, [ebp - 0x204]
push str._n__SSP__SetSSPFXProperty_1__:__hr___d
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1004bb49
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1001b3a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x100e57c0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x224]
push eax
push 0x1006c818
push edi
lea ecx, [ebx - 0x14]
mov dword [esi], 0
call fcn.1001a530
mov ecx, dword [ebp - 0x21c]
movzx edx, word [ebp - 0x224]
push ecx
push edx
lea eax, [ebp - 0x204]
push str._n__SSP__GetAudioSmartSSP_:__var1.vt___d__var1.ulVal___d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp word [ebp - 0x224], 0x13
jne 0x1001b4e0
cmp dword [ebp - 0x21c], 1
jne 0x1001b45f
mov dword [esi], 0
jmp 0x1001b4e0
lea edx, [ebp - 0x214]
push edx
push 0x1006c82c
push edi
lea ecx, [ebx - 0x14]
mov dword [esi], 1
call fcn.1001a530
mov eax, dword [ebp - 0x20c]
movzx ecx, word [ebp - 0x214]
push eax
push ecx
lea edx, [ebp - 0x204]
push str._n__SSP__GetAudioSmartSSP_:__var2.vt___d__var2.ulVal___d
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp word [ebp - 0x214], 0x13
jne 0x1001b4e0
mov eax, dword [ebp - 0x20c]
cmp eax, 1
jne 0x1001b4c8
mov dword [esi], 4
jmp 0x1001b4e0
cmp eax, 2
jne 0x1001b4d5
mov dword [esi], 3
jmp 0x1001b4e0
xor ecx, ecx
cmp eax, 3
sete cl
inc ecx
mov dword [esi], ecx
mov esi, dword [sym.imp.ole32.dll_PropVariantClear]
lea edx, [ebp - 0x224]
push edx
call esi
lea eax, [ebp - 0x214]
push eax
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.1004bb49
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001da60
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor ebx, ebx
mov eax, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push edi
mov edi, dword [0x100da014]
shr eax, 0x10
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], edi
test eax, eax
jne 0x1001dabf
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
movzx edx, cx
push edx
lea ecx, [ebp - 4]
call fcn.100018e0
mov edi, dword [ebp - 4]
push ecx
lea eax, [edi - 0xc]
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x80004005
mov esi, esp
mov dword [ebp - 8], eax
cmp dword [eax], ebx
jl 0x1001dafb
push eax
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x1001db13
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x1001da9d
push esi
lea ecx, [ebp - 4]
call fcn.100010e0
test eax, eax
je 0x1001da9a
lea eax, [esi + esi]
lea ecx, [eax + 2]
cmp ecx, eax
jb 0x1001da9a
mov edi, dword [ebp - 4]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push edi
call fcn.1004b2e0
add esp, 0xc
jmp 0x1001da9d
mov edx, dword [0x100da014]
push edi
mov dword [esi], edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
mov ecx, esi
call fcn.100013d0
mov ecx, dword [ebp + 8]
push SysReAllocString
add ecx, 0xffffffec
call fcn.1001a0b0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1001db87
push 0x20006
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysReAllocString
lea ecx, [ebp - 0x14]
call fcn.100022e0
test eax, eax
je 0x1001db63
push 0x20106
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysReAllocString
lea ecx, [ebp - 0x14]
call fcn.100022e0
test eax, eax
jne 0x1001db84
mov ebx, dword [ebp - 0x14]
push str.SmartAudio
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x1001db79
mov dword [ebp - 4], eax
test ebx, ebx
je 0x1001db87
push ebx
call esi
xor ebx, ebx
jmp 0x1001db87
mov ebx, dword [ebp - 0x14]
add edi, 0xfffffff4
cmp edi, dword [0x100da010]
je 0x1001dba9
mov edi, dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1001dba9
push edi
call fcn.1004b641
add esp, 4
test ebx, ebx
je 0x1001dbb0
push ebx
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1001ddf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
push edi
xor ecx, ecx
xor edi, edi
sub eax, 2
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], ecx
je 0x1001de33
dec eax
je 0x1001de26
dec eax
je 0x1001de1e
mov bl, 0x32
mov byte [ebp + 0xc], 2
lea edi, [ecx + 3]
jmp 0x1001de3e
mov bl, 0x37
mov byte [ebp + 0xc], 8
jmp 0x1001de3e
mov bl, 0x35
mov byte [ebp + 0xc], 6
mov edi, 0x3f
jmp 0x1001de3e
mov bl, 0x34
mov byte [ebp + 0xc], 4
mov edi, 0x33
lea edx, [ebp - 4]
push edx
lea eax, [esi + 0x14]
mov dword [ebp - 4], ecx
mov ecx, dword [eax]
push 0x38
push eax
mov eax, dword [ecx + 0x5c]
call eax
test eax, eax
js 0x1001de6e
cmp word [ebp - 4], 1
jne 0x1001de6e
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
mov ecx, esi
call fcn.1001dbc0
jmp 0x1001debd
mov byte [ebp + 0xc], bl
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push ebx
push 0xc0000000
push str..pipeSAChannel
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1001de97
mov ebx, 1
jmp 0x1001deb8
push 0
lea eax, [ebp + 8]
push eax
push 1
lea ecx, [ebp + 0xc]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1001deb1
lea ebx, [eax + 1]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 8]
mov eax, ebx
test eax, eax
js 0x1001dee1
test edi, edi
je 0x1001dee1
mov eax, dword [esi + 0x18]
lea edx, [ebp - 0xc]
push edx
mov edx, dword [eax + 4]
lea ecx, [esi + 0x18]
push edi
push 0x220724
call edx
mov ecx, eax
call fcn.100205f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1001f540
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e4
mov eax, dword [0x100e57c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [0x100e6dcc]
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [0x100da014]
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push edx
mov dword [ebp - 0x234], eax
mov ebx, 0x80004005
mov dword [ebp - 0x230], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1001f6fc
push edi
push 0
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x1001f6fb
push edi
call fcn.1004a7bc
add esp, 4
push eax
push edi
push 0
lea ecx, [ebp - 0x20c]
push ecx
mov dword [ebp - 0x22c], eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1001f6ec
mov ecx, dword [ebp - 0x22c]
lea edx, [ebp - 0x23c]
push edx
lea eax, [ebp - 0x238]
push eax
push 0x1006d488
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1001f6ec
mov esi, dword [ebp - 0x238]
push 1
push 3
lea ecx, [ebp - 0x2e4]
call fcn.1001ef20
movzx edx, word [esi + 0x12]
push edx
lea ecx, [ebp - 0x2d4]
call fcn.1001c880
movzx eax, word [esi + 0x10]
push eax
lea ecx, [ebp - 0x2d4]
push 0x1006d484
push ecx
call fcn.1001c050
add esp, 8
mov ecx, eax
call fcn.1001c880
movzx edx, word [esi + 0x16]
push edx
lea eax, [ebp - 0x2d4]
push 0x1006d484
push eax
call fcn.1001c050
add esp, 8
mov ecx, eax
call fcn.1001c880
movzx ecx, word [esi + 0x14]
push ecx
lea edx, [ebp - 0x2d4]
push 0x1006d484
push edx
call fcn.1001c050
add esp, 8
mov ecx, eax
call fcn.1001c880
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x2e4]
call fcn.1001f510
cmp dword [eax + 0x14], 0x10
jb 0x1001f696
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x230]
call fcn.1001bcd0
lea ecx, [ebp - 0x228]
call fcn.1001b510
mov esi, dword [ebp - 0x230]
mov ecx, dword [esi - 8]
push ecx
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edx, dword [ebp - 0x234]
lea ecx, [ebp - 0x284]
mov dword [edx], eax
xor ebx, ebx
call fcn.1001a690
lea eax, [ebp - 0x284]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1004af7f
add esp, 4
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.1004b641
add esp, 4
pop edi
lea edx, [esi - 0xc]
cmp edx, dword [0x100da010]
je 0x1001f71e
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1001f71e
push esi
call fcn.1004b641
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.1004bb49
mov esp, ebp
pop ebp
ret 8
Function at 0x100207d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100642b0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100e57c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x100da014]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push str.CxHDAudioDeviceControl::FindDriverNameAndKey__:Inside
push ecx
mov dword [ebp - 4], 0
call fcn.10001a40
mov edx, dword [ebp - 0x14]
add esp, 8
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esi, dword [0x100da014]
mov eax, str.WAIKIKI
shr eax, 0x10
mov dword [ebp - 0x10], esi
test eax, eax
jne 0x100208de
mov ecx, str.WAIKIKI
movzx eax, cx
push eax
lea ecx, [ebp - 0x10]
call fcn.100018e0
mov esi, dword [ebp - 0x10]
lea eax, [edi + 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.10001c30
add esp, 4
mov dword [edi + 0x40], eax
cmp eax, 0xffffffff
jne 0x10020929
lea ecx, [ebp - 0x14]
push str.CxHDAudioDeviceControl::FindDriverNameAndKey__:_Failed_to_find_SmartAudio_Interface
push ecx
call fcn.10001a40
mov edi, dword [ebp - 0x14]
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [esi - 0xc]
cmp edx, dword [0x100da010]
je 0x100208ac
add esi, 0xfffffff4
push esi
call ebx
test eax, eax
jg 0x100208ac
push esi
call fcn.1004b641
add esp, 4
lea eax, [edi - 0xc]
cmp eax, dword [0x100da010]
je 0x100208ca
lea esi, [edi - 0xc]
push esi
call ebx
test eax, eax
jg 0x100208ca
push esi
call fcn.1004b641
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.WAIKIKI
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x10020851
push ebx
lea ecx, [ebp - 0x10]
call fcn.100010e0
test eax, eax
je 0x1002084e
lea eax, [ebx + ebx]
lea edx, [eax + 2]
cmp edx, eax
jb 0x1002084e
mov esi, dword [ebp - 0x10]
push eax
push str.WAIKIKI
push esi
call fcn.1004b2e0
add esp, 0xc
jmp 0x10020851
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [edi + 0x34]
call fcn.1001bc40
lea edx, [ebp - 0x14]
push str.CxHDAudioDeviceControl::FindDriverNameAndKey__:_Successfully_found_SmartAudio_Interface
push edx
call fcn.10001a40
mov edi, dword [ebp - 0x14]
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea eax, [esi - 0xc]
cmp eax, dword [0x100da010]
je 0x10020974
add esi, 0xfffffff4
push esi
call ebx
test eax, eax
jg 0x10020974
push esi
call fcn.1004b641
add esp, 4
lea ecx, [edi - 0xc]
cmp ecx, dword [0x100da010]
je 0x10020992
lea esi, [edi - 0xc]
push esi
call ebx
test eax, eax
jg 0x10020992
push esi
call fcn.1004b641
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10021120
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100e57c0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.1004bb60
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1002118d
mov eax, dword [ebp - 0x114]
cmp eax, 5
jae 0x1002117d
cmp eax, 4
jne 0x1002118d
cmp dword [ebp - 0x110], 0x5a
jb 0x1002118d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004bb49
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.1004bb49
mov esp, ebp
pop ebp
ret

Function at 0x100211a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x100e57c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x110
lea eax, [ebp - 0x128]
push 0
push eax
mov esi, 0x64
mov dword [ebp - 0x12c], 0x114
call fcn.1004bb60
add esp, 0xc
lea ecx, [ebp - 0x12c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10021226
cmp dword [ebp - 0x128], 6
jb 0x10021226
xor eax, eax
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], eax
push str.comctl32.dll
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x14
call fcn.100210b0
add esp, 8
test eax, eax
js 0x10021226
cmp dword [ebp - 0x14], 6
jae 0x1002123a
mov eax, 0x50
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004bb49
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1004bb49
mov esp, ebp
pop ebp
ret
Function at 0x100238d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064481
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x100e57c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], vtable.CProxy_ICxHDAudioDirectorEvents_class_CCxHDAudioDirector_.0
mov dword [ebp - 4], edi
mov dword [esi + 0x20], vtable.CCxHDAudioDeviceManager.0
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov eax, dword [esi + 0x30]
mov byte [ebp - 4], 2
cmp eax, edi
je 0x10023935
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x30], edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x28], eax
mov dword [esi], vtable.ATL::CComContainedObject_class_CCxHDAudioDirector_.6.0
mov dword [esi + 4], vtable.ATL::CComContainedObject_class_CCxHDAudioDirector_.5.0
mov dword [esi + 8], vtable.ATL::CComContainedObject_class_CCxHDAudioDirector_.4.0
mov dword [esi + 0x14], vtable.ATL::CComContainedObject_class_CCxHDAudioDirector_.3.0
mov dword [esi + 0x18], vtable.ATL::CComContainedObject_class_CCxHDAudioDirector_.2.0
mov dword [esi + 0x1c], vtable.ATL::CComContainedObject_class_CCxHDAudioDirector_.1.0
mov dword [esi + 0x20], vtable.ATL::CComContainedObject_class_CCxHDAudioDirector_.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10029f50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp eax, 0xfffffc
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
test dword [esp + edi*8 - 1], eax
dec dword [ecx]
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.10029666
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1002961b
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.10029666
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1002961b
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.10029656
mov dword [0x804e3cce], eax
movsd dword es:[edi], dword [esi]
int3