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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006da26
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x100f38c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 0x430], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x418], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x420], esi
test esi, esi
jne 0x100066ad
call fcn.10001ca0
mov edi, eax
jmp 0x10006792
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x100066c6
call fcn.10001ca0
jmp 0x10006789
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x100066e4
call fcn.10001ca0
jmp 0x10006789
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x41c], edi
cmp eax, edi
jae 0x10006705
mov edi, 0x8007000e
jmp 0x1000678b
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.100033c0
mov dword [ebp - 4], 1
jmp 0x1000673d
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x1000674e
mov edi, 0x8007000e
jmp 0x1000678b
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x10006767
call fcn.10001ca0
jmp 0x10006789
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x418]
push eax
push ecx
lea ecx, [ebp - 0x42c]
call fcn.10005bf0
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x414]
cmp dword [ebp - 0x418], edx
je 0x100067b0
lea ecx, [ebp - 0x418]
call fcn.100026b0
jmp 0x100067b0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10055898
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1000d8e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e16b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100f38c4]
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 + 0x38], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], vtable.CProxy_ICxHDAudioSpeakerDeviceEvents_class_CCxHDAudioSpeakerDevice_.0
lea ecx, [esi + 0x18]
mov dword [ebp - 4], edi
call fcn.10013c20
mov ecx, dword [ebp + 8]
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x54], vtable.CCxHDAudioPlayer.0
mov eax, dword [0x100e8014]
mov dword [esi + 0x5c], eax
mov dword [esi + 0x64], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x58], 1
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi], vtable.ATL::CComContainedObject_class_CCxHDAudioSpeakerDevice_.7.0
mov dword [esi + 4], vtable.ATL::CComContainedObject_class_CCxHDAudioSpeakerDevice_.6.0
mov dword [esi + 8], vtable.ATL::CComContainedObject_class_CCxHDAudioSpeakerDevice_.5.0
mov dword [esi + 0x14], vtable.ATL::CComContainedObject_class_CCxHDAudioSpeakerDevice_.4.0
mov dword [esi + 0x18], vtable.ATL::CComContainedObject_class_CCxHDAudioSpeakerDevice_.3.0
mov dword [esi + 0x1c], vtable.ATL::CComContainedObject_class_CCxHDAudioSpeakerDevice_.2.0
mov dword [esi + 0x30], vtable.ATL::CComContainedObject_class_CCxHDAudioSpeakerDevice_.1.0
mov dword [esi + 0x34], vtable.ATL::CComContainedObject_class_CCxHDAudioSpeakerDevice_.0
mov dword [esi + 0x38], ecx
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 4
Function at 0x1000d9b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e16b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100f38c4]
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 + 0x38], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], vtable.CProxy_ICxHDAudioHeadphoneDeviceEvents_class_CCxHDAudioHeadphoneDevice_.0
lea ecx, [esi + 0x18]
mov dword [ebp - 4], edi
call fcn.10013c20
mov ecx, dword [ebp + 8]
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x50], vtable.CCxHDAudioPlayer.0
mov eax, dword [0x100e8014]
mov dword [esi + 0x58], eax
mov dword [esi + 0x60], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x54], 1
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi], vtable.ATL::CComContainedObject_class_CCxHDAudioHeadphoneDevice_.7.0
mov dword [esi + 4], vtable.ATL::CComContainedObject_class_CCxHDAudioHeadphoneDevice_.6.0
mov dword [esi + 8], vtable.ATL::CComContainedObject_class_CCxHDAudioHeadphoneDevice_.5.0
mov dword [esi + 0x14], vtable.ATL::CComContainedObject_class_CCxHDAudioHeadphoneDevice_.4.0
mov dword [esi + 0x18], vtable.ATL::CComContainedObject_class_CCxHDAudioHeadphoneDevice_.3.0
mov dword [esi + 0x1c], vtable.ATL::CComContainedObject_class_CCxHDAudioHeadphoneDevice_.2.0
mov dword [esi + 0x30], vtable.ATL::CComContainedObject_class_CCxHDAudioHeadphoneDevice_.1.0
mov dword [esi + 0x34], vtable.ATL::CComContainedObject_class_CCxHDAudioHeadphoneDevice_.0
mov dword [esi + 0x38], ecx
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 4
Function at 0x1000db10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e16b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100f38c4]
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 + 0x38], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], vtable.CProxy_ICxHDAudioMicrophoneDeviceEvents_class_CCxHDAudioMicrophoneDevice_.0
lea ecx, [esi + 0x18]
mov dword [ebp - 4], edi
call fcn.10013c20
mov eax, dword [ebp + 8]
mov dword [esi + 0x4c], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x48], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi], vtable.ATL::CComContainedObject_class_CCxHDAudioMicrophoneDevice_.7.0
mov dword [esi + 4], vtable.ATL::CComContainedObject_class_CCxHDAudioMicrophoneDevice_.6.0
mov dword [esi + 8], vtable.ATL::CComContainedObject_class_CCxHDAudioMicrophoneDevice_.5.0
mov dword [esi + 0x14], vtable.ATL::CComContainedObject_class_CCxHDAudioMicrophoneDevice_.4.0
mov dword [esi + 0x18], vtable.ATL::CComContainedObject_class_CCxHDAudioMicrophoneDevice_.3.0
mov dword [esi + 0x1c], vtable.ATL::CComContainedObject_class_CCxHDAudioMicrophoneDevice_.2.0
mov dword [esi + 0x30], vtable.ATL::CComContainedObject_class_CCxHDAudioMicrophoneDevice_.1.0
mov dword [esi + 0x34], vtable.ATL::CComContainedObject_class_CCxHDAudioMicrophoneDevice_.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 4

Function at 0x1000dbe0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e16b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100f38c4]
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 + 0x38], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], vtable.CProxy_ICxHDAudioAudioINEvents_class_CCxHDAudioAudioIN_.0
lea ecx, [esi + 0x18]
mov dword [ebp - 4], edi
call fcn.10013c20
mov eax, dword [ebp + 8]
mov dword [esi + 0x38], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi], vtable.ATL::CComContainedObject_class_CCxHDAudioAudioIN_.7.0
mov dword [esi + 4], vtable.ATL::CComContainedObject_class_CCxHDAudioAudioIN_.6.0
mov dword [esi + 8], vtable.ATL::CComContainedObject_class_CCxHDAudioAudioIN_.5.0
mov dword [esi + 0x14], vtable.ATL::CComContainedObject_class_CCxHDAudioAudioIN_.4.0
mov dword [esi + 0x18], vtable.ATL::CComContainedObject_class_CCxHDAudioAudioIN_.3.0
mov dword [esi + 0x1c], vtable.ATL::CComContainedObject_class_CCxHDAudioAudioIN_.2.0
mov dword [esi + 0x30], vtable.ATL::CComContainedObject_class_CCxHDAudioAudioIN_.1.0
mov dword [esi + 0x34], vtable.ATL::CComContainedObject_class_CCxHDAudioAudioIN_.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 4
Function at 0x1000dcc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e16b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100f38c4]
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 + 0x38], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], vtable.CProxy_ICxHDAudioAudioOutEvents_class_CCxHDAudioAudioOut_.0
lea ecx, [esi + 0x18]
mov dword [ebp - 4], edi
call fcn.10013c20
mov ecx, dword [ebp + 8]
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], vtable.CCxHDAudioPlayer.0
mov eax, dword [0x100e8014]
mov dword [esi + 0x54], eax
mov dword [esi + 0x5c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x50], 1
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi], vtable.ATL::CComContainedObject_class_CCxHDAudioAudioOut_.7.0
mov dword [esi + 4], vtable.ATL::CComContainedObject_class_CCxHDAudioAudioOut_.6.0
mov dword [esi + 8], vtable.ATL::CComContainedObject_class_CCxHDAudioAudioOut_.5.0
mov dword [esi + 0x14], vtable.ATL::CComContainedObject_class_CCxHDAudioAudioOut_.4.0
mov dword [esi + 0x18], vtable.ATL::CComContainedObject_class_CCxHDAudioAudioOut_.3.0
mov dword [esi + 0x1c], vtable.ATL::CComContainedObject_class_CCxHDAudioAudioOut_.2.0
mov dword [esi + 0x30], vtable.ATL::CComContainedObject_class_CCxHDAudioAudioOut_.1.0
mov dword [esi + 0x34], vtable.ATL::CComContainedObject_class_CCxHDAudioAudioOut_.0
mov dword [esi + 0x38], ecx
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 4
Function at 0x1000e660
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e36b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100f38c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], vtable.ATL::CComAggObject_class_CCxHDAudioJackConfig_.0
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], vtable.CProxy_ICxHDAudioJackConfigEvents_class_CCxHDAudioJackConfig_.0
mov dword [esi + 0x20], vtable.CCxHDAudioDeviceManager.0
mov dword [esi + 0x24], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 0xffff
mov dword [esi + 8], vtable.ATL::CComContainedObject_class_CCxHDAudioJackConfig_.4.0
mov dword [esi + 0xc], vtable.ATL::CComContainedObject_class_CCxHDAudioJackConfig_.3.0
mov dword [esi + 0x10], vtable.ATL::CComContainedObject_class_CCxHDAudioJackConfig_.2.0
mov dword [esi + 0x1c], vtable.ATL::CComContainedObject_class_CCxHDAudioJackConfig_.1.0
mov dword [esi + 0x20], vtable.ATL::CComContainedObject_class_CCxHDAudioJackConfig_.0
mov dword [esi + 0x28], ecx
mov ecx, dword [0x100f4d84]
mov edx, dword [ecx]
mov dword [ebp - 4], eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x10013570
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x100f38c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
mov edi, 6
call fcn.10056000
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call esi
test eax, eax
jne 0x100135d8
lea edx, [ebp - 0x120]
push edx
mov dword [ebp - 0x120], 0x114
call esi
test eax, eax
je 0x10013694
mov eax, dword [ebp - 0x11c]
cmp eax, 6
ja 0x1001368f
jne 0x1001364b
mov eax, dword [ebp - 0x118]
cmp eax, 3
je 0x1001368f
cmp eax, 2
jne 0x10013614
mov edi, 4
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10055898
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x10013630
mov edi, 3
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10055898
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x10013694
mov edi, 2
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10055898
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x10013694
mov eax, dword [ebp - 0x118]
cmp eax, 2
je 0x10013660
cmp eax, 1
jne 0x10013677
mov edi, 1
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10055898
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x10013694
xor edi, edi
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10055898
mov esp, ebp
pop ebp
ret
mov edi, 5
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.10055898
mov esp, ebp
pop ebp
ret
Function at 0x10016ba0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006ddbb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100f38c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], vtable.ATL::CComAggObject_class_CCxHDAudioChannel_.0
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], vtable.CProxy_ICxHDAudioChannelEvents_class_CCxHDAudioChannel_.0
mov dword [esi + 0x30], eax
mov dword [esi + 8], vtable.ATL::CComContainedObject_class_CCxHDAudioChannel_.3.0
mov dword [esi + 0xc], vtable.ATL::CComContainedObject_class_CCxHDAudioChannel_.2.0
mov dword [esi + 0x10], vtable.ATL::CComContainedObject_class_CCxHDAudioChannel_.1.0
mov dword [esi + 0x1c], vtable.ATL::CComContainedObject_class_CCxHDAudioChannel_.0
mov dword [esi + 0x20], ecx
mov ecx, dword [0x100f4d84]
mov edx, dword [ecx]
mov dword [ebp - 4], eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x10017450
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
lea edx, [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push esi
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0xc]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100174c2
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x10017491
cmp eax, 2
jne 0x100174ac
mov eax, dword [ebp + 0x10]
test esi, esi
je 0x100174bc
test eax, eax
je 0x100174b7
test al, 1
jne 0x100174ac
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x100174bc
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x100178f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [ebp + 0xc]
push esi
push edi
xor edi, edi
push edi
push edi
push 3
push edi
push edi
push 0xc0000000
push str..pipeSAChannel
mov byte [ebp + 0xc], al
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10017926
lea eax, [edi + 1]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0
lea ecx, [ebp - 4]
push ecx
push 1
lea edx, [ebp + 0xc]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10017940
lea edi, [eax + 1]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10017ac0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp word [ebp + 0xc], 0xffff
push esi
push 0
push 0
push 3
push 0
push 0
sete al
push 0xc0000000
add al, 0x61
push str..pipeSAChannel
mov byte [ebp + 0xc], al
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10017b0d
push 0
lea ecx, [ebp - 4]
push ecx
push 1
lea edx, [ebp + 0xc]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x10018590
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.10001f80
cmp eax, esi
je 0x100185db
push 0x101
push str.SOFTWAREConexantSAII
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x18]
call fcn.10001f80
cmp eax, esi
jne 0x1001862a
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.SmartAudioSettings
push ebx
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10018614
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
xor edi, edi
cmp ebx, esi
je 0x1001861f
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 0x10018620
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 0x10018650
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push 1
xor eax, eax
xor esi, esi
push str.SOFTWAREConexantSAII
mov word [ecx], ax
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 ebx, 0x80004005
call fcn.10001f80
cmp eax, esi
je 0x100186d6
push 0x101
push str.SOFTWAREConexantSAII
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x18]
call fcn.10001f80
cmp eax, esi
je 0x100186d6
push 1
push str.SOFTWAREConexantSAII
push SysReAllocStringLen
lea ecx, [ebp - 0x18]
call fcn.10001f80
cmp eax, esi
je 0x100186d6
push 0x101
push str.SOFTWAREConexantSAII
push SysReAllocStringLen
lea ecx, [ebp - 0x18]
call fcn.10001f80
cmp eax, esi
jne 0x1001872d
push edi
mov edi, dword [ebp - 0x18]
mov eax, 4
lea edx, [ebp - 8]
push edx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
push ecx
push esi
push str.EnableHeadPhoneLimiterChange
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10018717
cmp dword [ebp - 4], esi
jbe 0x10018715
mov eax, dword [ebp + 0xc]
mov edx, 1
mov word [eax], dx
xor ebx, ebx
cmp edi, esi
je 0x10018722
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x18]
cmp eax, esi
je 0x10018723
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10018750
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
push 1
xor eax, eax
xor esi, esi
push str.SOFTWAREConexantSAII
mov word [ecx], ax
push SysReAllocStringLen
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov ebx, 0x80004005
call fcn.10001f80
cmp eax, esi
je 0x100187a4
push 0x101
push str.SOFTWAREConexantSAII
push SysReAllocStringLen
lea ecx, [ebp - 0x1c]
call fcn.10001f80
cmp eax, esi
jne 0x100187fd
mov edi, dword [ebp - 0x1c]
mov eax, 4
lea edx, [ebp - 8]
push edx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
push ecx
push esi
push str.RunInTaskBar
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x100187e7
cmp dword [ebp - 4], esi
jbe 0x100187e5
mov ecx, dword [ebp + 0xc]
mov edx, 1
mov word [ecx], dx
xor ebx, ebx
cmp edi, esi
je 0x100187f7
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
xor edi, edi
cmp eax, esi
je 0x10018827
jmp 0x10018800
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov edx, dword [edx + 0x5c]
lea ecx, [ebp + 8]
push ecx
push 0x15
push eax
call edx
test eax, eax
js 0x10018827
cmp word [ebp + 8], si
mov edx, dword [ebp + 0xc]
setg al
movzx ecx, al
mov word [edx], cx
xor ebx, ebx
cmp edi, esi
je 0x10018832
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10018840
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push edi
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 2
push 0
push 0
push 0
push str.SOFTWAREConexantSAII
push SysReAllocStringLen
mov edi, 0x80004005
mov dword [ebp - 4], 0
call esi
test eax, eax
jne 0x10018881
mov esi, dword [ebp - 4]
jmp 0x100188b0
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 8]
push eax
push 0
push 0x102
push 0
push 0
push 0
push str.SOFTWAREConexantSAII
push SysReAllocStringLen
mov dword [ebp - 8], 0
call esi
test eax, eax
jne 0x100188e4
mov esi, dword [ebp - 8]
push 4
xor ecx, ecx
cmp word [ebp + 0xc], 0xffff
lea edx, [ebp + 0xc]
push edx
push 4
sete cl
push 0
push str.RunInTaskBar
push esi
mov dword [ebp + 0xc], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x100188d9
xor edi, edi
test esi, esi
je 0x100188e4
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8