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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push edi
lea eax, [ebp - 0x1c]
push eax
xor ebx, ebx
lea ecx, [ebp - 4]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SOFTWAREConexantSAII
push SysReAllocStringLen
mov edi, 0x80004005
mov dword [ebp - 4], ebx
call esi
cmp eax, ebx
jne 0x1001892f
mov esi, dword [ebp - 4]
jmp 0x10018956
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 8]
push eax
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push str.SOFTWAREConexantSAII
push SysReAllocStringLen
mov dword [ebp - 8], ebx
call esi
cmp eax, ebx
jne 0x100189cc
mov esi, dword [ebp - 8]
mov eax, 4
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push ebx
push str.RunInTaskBar
push esi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x100189bf
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x15
push eax
mov eax, dword [ecx + 0x5c]
mov dword [ebp - 0xc], ebx
call eax
mov edi, eax
cmp edi, ebx
jne 0x100189c1
movsx eax, word [ebp - 0xc]
push 4
lea ecx, [ebp + 8]
push ecx
push 4
push ebx
push str.RunInTaskBar
push esi
mov dword [ebp - 0x10], eax
mov dword [ebp + 8], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x100189c1
xor edi, edi
cmp esi, ebx
je 0x100189cc
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10018ab0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006ee98
mov eax, dword fs:[0]
push eax
sub esp, 0x18
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
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
push 1
push str.SOFTWAREConexantSAII
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], ebx
call fcn.10001f80
cmp eax, ebx
je 0x10018b25
push 0x101
push str.SOFTWAREConexantSAII
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x24]
call fcn.10001f80
cmp eax, ebx
jne 0x10018b9d
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push str.SmartAudioSettings
push edi
mov dword [ebp - 0x18], 3
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x10]
lea ecx, [eax*8]
push eax
mov dword [esi + 0x3c], ecx
call fcn.10054d74
mov dword [esi + 0x38], eax
add esp, 4
xor eax, eax
cmp dword [ebp - 0x10], ebx
jbe 0x10018b6e
mov edx, dword [esi + 0x38]
mov byte [eax + edx], bl
inc eax
cmp eax, dword [ebp - 0x10]
jb 0x10018b62
mov esi, dword [esi + 0x38]
lea eax, [ebp - 0x10]
push eax
push esi
lea ecx, [ebp - 0x18]
push ecx
push ebx
push str.SmartAudioSettings
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10018b8e
mov dword [ebp - 0x14], ebx
cmp edi, ebx
je 0x10018ba0
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
jmp 0x10018ba0
mov edi, dword [ebp - 0x24]
xor edx, edx
cmp dword [ebp - 0x14], ebx
sete dl
mov esi, edx
cmp edi, ebx
je 0x10018bb5
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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 0x10018c50
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 0x10018c9b
push 0x101
push str.SOFTWAREConexantSAII
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x18]
call fcn.10001f80
cmp eax, esi
jne 0x10018cea
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.AudioDirectorDelayValue
push ebx
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10018cd4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
xor edi, edi
cmp ebx, esi
je 0x10018cdf
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 0x10018ce0
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 0x10018d10
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 0x10018d5b
push 0x101
push str.SOFTWAREConexantSAII
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x18]
call fcn.10001f80
cmp eax, esi
jne 0x10018daa
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.AFADelayValue
push ebx
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10018d94
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
xor edi, edi
cmp ebx, esi
je 0x10018d9f
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 0x10018da0
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 0x10018dd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x100f38c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x10078156
lea ecx, [ebp - 0xd8]
mov ebx, 0x80004005
mov dword [ebp - 0xd4], 0x64
call fcn.10017eb0
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 0x10018e47
lea ecx, [ebp - 0xd0]
push ecx
push 0x101
push 0
push str.SOFTWAREConexantSAIIVersion
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x10018e9c
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 0x10018e8f
mov eax, dword [ebp - 0xd4]
test eax, eax
je 0x10018e8f
dec eax
push eax
lea edx, [ebp - 0xcc]
push edx
lea ecx, [ebp - 0xd8]
call fcn.10017df0
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 0x10018ebf
test esi, esi
jne 0x10018eae
xor eax, eax
jmp 0x10018ebd
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.10055898
mov esp, ebp
pop ebp
ret 8

Function at 0x10018ee0
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 0x10018f2b
push 0x101
push str.SOFTWAREConexantSAII
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x18]
call fcn.10001f80
cmp eax, esi
jne 0x10018f7a
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 0x10018f64
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
xor edi, edi
cmp ebx, esi
je 0x10018f6f
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 0x10018f70
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 0x10018fa0
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.10001f80
cmp eax, esi
je 0x10018ffc
push 0x101
push str.SOFTWAREConexantSAII
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x14]
call fcn.10001f80
cmp eax, esi
jne 0x10019056
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 0x10078188
push edi
mov dword [ebp + 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10019040
cmp dword [ebp + 0xc], esi
jbe 0x1001903e
mov edx, dword [ebp + 0x10]
or ecx, 0xffffffff
mov word [edx], cx
xor ebx, ebx
cmp edi, esi
je 0x10019064
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 0x10019064
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 0x10019310
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0xc]
push eax
push 1
xor ebx, ebx
push ebx
push str.SYSTEMCurrentControlSetServicesmssmbiosData
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], 0x80004005
mov dword [ebp - 8], 0x10000
mov dword [ebp - 0x10], ebx
call esi
test eax, eax
je 0x10019366
lea ecx, [ebp - 0xc]
push ecx
push 0x101
push ebx
push str.SYSTEMCurrentControlSetServicesmssmbiosData
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x1001942e
mov eax, dword [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 8]
push edx
push 0
push 0
push 0
push str.SMBiosData
push eax
call esi
test eax, eax
jne 0x1001942e
mov ecx, dword [ebp - 8]
push edi
push ecx
call fcn.10055804
add esp, 4
lea edx, [ebp - 8]
push edx
mov edi, eax
mov eax, dword [ebp - 0xc]
push edi
push 0
push 0
push str.SMBiosData
push eax
call esi
test eax, eax
jne 0x10019424
mov edx, dword [ebp - 8]
lea esi, [edi + 8]
lea eax, [edx + edi]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 1], bl
cmp esi, eax
jae 0x10019424
mov cl, byte [esi]
cmp cl, 0x7f
je 0x10019421
movzx ecx, cl
mov bl, 1
cmp ecx, dword [ebp + 0xc]
je 0x100193d7
mov bl, byte [ebp - 1]
movzx ecx, byte [esi + 1]
add esi, ecx
cmp esi, eax
jae 0x10019413
mov al, byte [esi]
test al, al
jne 0x100193ec
cmp byte [esi + 1], al
je 0x10019413
test bl, bl
je 0x1001940b
movsx dx, al
movzx eax, dx
push 1
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], eax
call fcn.10017cc0
mov edx, dword [ebp - 8]
inc esi
lea eax, [edx + edi]
cmp esi, eax
jb 0x100193e1
add esi, 2
lea eax, [edx + edi]
mov byte [ebp - 1], 0
cmp esi, eax
jb 0x100193c3
mov ebx, dword [ebp - 0x10]
push edi
call fcn.100557ca
add esp, 4
pop edi
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x1001946a
test ebx, ebx
jne 0x10019459
xor eax, eax
push ebx
mov dword [esi], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push ebx
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push ebx
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov dword [esi], eax
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10019ca0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006eecb
mov eax, dword fs:[0]
push eax
sub esp, 8
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 - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10055687
push 4
mov dword [ebp - 4], 0
call fcn.100564d6
mov edi, eax
add esp, 4
test edi, edi
je 0x10019d20
call fcn.10055345
mov dword [edi], eax
call fcn.10055104
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.10055039
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10019d16
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.10055061
jmp 0x10019d22
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 0x10020030
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 [0x100e8014]
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 0x1002008f
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
movzx edx, cx
push edx
lea ecx, [ebp - 4]
call fcn.100015c0
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 0x100200cb
push eax
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x100200e3
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x1002006d
push esi
lea ecx, [ebp - 4]
call fcn.10001200
test eax, eax
je 0x1002006a
lea eax, [esi + esi]
lea ecx, [eax + 2]
cmp ecx, eax
jb 0x1002006a
mov edi, dword [ebp - 4]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push edi
call fcn.100558b0
add esp, 0xc
jmp 0x1002006d
mov edx, dword [0x100e8014]
push edi
mov dword [esi], edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
mov ecx, esi
call fcn.100014f0
mov ecx, dword [ebp + 8]
push SysReAllocStringLen
add ecx, 0xffffffec
call fcn.1001a340
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x10020157
push 0x20006
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysReAllocStringLen
lea ecx, [ebp - 0x14]
call fcn.10001f80
test eax, eax
je 0x10020133
push 0x20106
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysReAllocStringLen
lea ecx, [ebp - 0x14]
call fcn.10001f80
test eax, eax
jne 0x10020154
mov ebx, dword [ebp - 0x14]
push str.SmartAudio
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x10020149
mov dword [ebp - 4], eax
test ebx, ebx
je 0x10020157
push ebx
call esi
xor ebx, ebx
jmp 0x10020157
mov ebx, dword [ebp - 0x14]
add edi, 0xfffffff4
cmp edi, dword [0x100e8010]
je 0x10020179
mov edi, dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10020179
push edi
call fcn.10055c11
add esp, 4
test ebx, ebx
je 0x10020180
push ebx
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10021a80
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e4
mov eax, dword [0x100f38c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [0x100f4ecc]
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [0x100e8014]
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 0x10021c3c
push edi
push 0
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x10021c3b
push edi
call fcn.10054d74
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 0x10021c2c
mov ecx, dword [ebp - 0x22c]
lea edx, [ebp - 0x23c]
push edx
lea eax, [ebp - 0x238]
push eax
push 0x10078d30
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10021c2c
mov esi, dword [ebp - 0x238]
push 1
push 3
lea ecx, [ebp - 0x2e4]
call fcn.10021460
movzx edx, word [esi + 0x12]
push edx
lea ecx, [ebp - 0x2d4]
call fcn.1001ee50
movzx eax, word [esi + 0x10]
push eax
lea ecx, [ebp - 0x2d4]
push 0x10078d2c
push ecx
call fcn.1001e4f0
add esp, 8
mov ecx, eax
call fcn.1001ee50
movzx edx, word [esi + 0x16]
push edx
lea eax, [ebp - 0x2d4]
push 0x10078d2c
push eax
call fcn.1001e4f0
add esp, 8
mov ecx, eax
call fcn.1001ee50
movzx ecx, word [esi + 0x14]
push ecx
lea edx, [ebp - 0x2d4]
push 0x10078d2c
push edx
call fcn.1001e4f0
add esp, 8
mov ecx, eax
call fcn.1001ee50
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x2e4]
call fcn.10021a50
cmp dword [eax + 0x14], 0x10
jb 0x10021bd6
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x230]
call fcn.1001e170
lea ecx, [ebp - 0x228]
call fcn.1001d9b0
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.1001b3e0
lea eax, [ebp - 0x284]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10055537
add esp, 4
mov ecx, dword [ebp - 0x22c]
push ecx
call fcn.10055c11
add esp, 4
pop edi
lea edx, [esi - 0xc]
cmp edx, dword [0x100e8010]
je 0x10021c5e
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10021c5e
push esi
call fcn.10055c11
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.10055898
mov esp, ebp
pop ebp
ret 8
Function at 0x100221d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0
push 0x10078e58
call fcn.100010b0
mov ebx, dword [ebp + 8]
mov edi, eax
add esp, 8
xor al, al
test ebx, ebx
jne 0x100221f5
mov al, 1
xor esi, esi
cmp edi, 0xffffffff
je 0x100222cc
lea ecx, [ebp + 8]
push ecx
push 1
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test al, al
push str.SOFTWAREConexantMicTrayHotkey
setne al
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], 0x400
mov byte [ebp - 0x10], al
call esi
test eax, eax
je 0x10022247
lea edx, [ebp + 8]
push edx
push 0x101
push 0
push str.SOFTWAREConexantMicTrayHotkey
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x10022297
test ebx, ebx
je 0x10022272
mov edx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0
push str.PlaybackGPIO
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10022297
mov al, byte [ebp - 4]
mov byte [ebp - 0x10], al
jmp 0x10022297
mov eax, dword [ebp + 8]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0
push str.CaptureGPIO
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10022297
mov cl, byte [ebp - 4]
mov byte [ebp - 0x10], cl
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea eax, [ebp - 0xc]
push eax
push 8
lea ecx, [ebp - 0x14]
push ecx
push 8
mov edx, ecx
push edx
push 0x2207c0
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov esi, eax
test esi, esi
je 0x100222cc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10026610
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100f38c4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.10056000
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 0x1002667d
mov eax, dword [ebp - 0x114]
cmp eax, 5
jae 0x1002666d
cmp eax, 4
jne 0x1002667d
cmp dword [ebp - 0x110], 0x5a
jb 0x1002667d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10055898
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.10055898
mov esp, ebp
pop ebp
ret

Function at 0x10026690
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x100f38c4]
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.10056000
add esp, 0xc
lea ecx, [ebp - 0x12c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10026716
cmp dword [ebp - 0x128], 6
jb 0x10026716
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.100265a0
add esp, 8
test eax, eax
js 0x10026716
cmp dword [ebp - 0x14], 6
jae 0x1002672a
mov eax, 0x50
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10055898
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10055898
mov esp, ebp
pop ebp
ret

Function at 0x100281d0
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
mov esi, ecx
call edi
push 0
push 0
push 0
push 0
mov dword [esi + 0x58], eax
call edi
mov ecx, dword [esi + 0x2c]
lea edx, [esi + 0x44]
push edx
push 0
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x2c]
push eax
push 0x10028010
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x4c], eax
mov edx, dword [ecx + 4]
push 0x1f4
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
mov eax, 1
pop esi
ret