joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..reloc
nop
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x37713da
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..rdata
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x1d84539
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401100
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40111b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401152
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x40114e
jmp 0x401140
cmp esi, eax
jae 0x401152
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401140
cmp esi, eax
jb 0x401159
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x403370
Capabilities:
Identify system language via api
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0x2001f
xor esi, esi
push str.SOFTWAREConexantSACpl
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.00403260
test eax, eax
jne 0x4033e9
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
push esi
push str.Language
mov edi, 4
push ebx
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4033d0
cmp dword [ebp - 8], edi
jne 0x4033d0
movzx esi, word [ebp - 0xc]
test ebx, ebx
je 0x4033e2
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], 0
xor eax, eax
cmp ax, si
jne 0x403412
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx esi, ax
xor ecx, ecx
cmp cx, si
jne 0x403412
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx esi, ax
xor edx, edx
cmp dx, si
jne 0x403412
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx esi, ax
mov eax, esi
shr si, 0xa
movzx ecx, si
and eax, 0x3ff
or esi, 0xffffffff
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
or edi, esi
xor eax, eax
mov ecx, 0x52526e
mov dx, word [ebp - 0xc]
cmp dx, word [ecx - 2]
jne 0x403452
movzx edx, word [ecx]
cmp word [ebp - 8], dx
jne 0x403449
mov esi, eax
jmp 0x403452
xor ebx, ebx
cmp bx, dx
jne 0x403452
mov edi, eax
inc eax
add ecx, 0x14
cmp eax, 0x1d
jl 0x403432
cmp esi, 0xffffffff
je 0x403464
mov eax, esi
jmp 0x403470
mov eax, edi
cmp edi, 0xffffffff
jne 0x403470
mov eax, 7
mov dword [0x56f058], eax
lea eax, [eax + eax*4]
mov ecx, dword [eax*4 + 0x525278]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword [0x56f05c], ecx
pop ebx
test eax, eax
je 0x403496
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4034b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push 0x20019
push 0
push esi
push edi
mov dword [ebp - 4], 1
call ebx
test eax, eax
je 0x4034fd
lea ecx, [ebp + 0xc]
push ecx
push 1
push 0
push esi
push edi
call ebx
test eax, eax
je 0x4034fd
xor eax, eax
pop edi
test eax, eax
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp + 0x18]
lea edx, [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 0x14]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x403524
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop edi
test eax, eax
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x404620
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5749c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.00500630
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 0x40467a
lea edx, [ebp - 0x120]
push edx
mov dword [ebp - 0x120], 0x114
call esi
cmp dword [ebp - 0x110], 2
pop esi
jne 0x40469d
cmp dword [ebp - 0x11c], 6
jb 0x40469d
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ffbb1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
call fcn.004ffbb1
mov esp, ebp
pop ebp
ret

Function at 0x4046b0
Capabilities:
Check if file exists

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
cmp eax, 2
jne 0x4046ca
push str.One_of_the_files_necessary_to_run_the_application_couldnt_be_found._nThe_SmartAudio_application_needs_to_be_reinstalled.
call fcn.0040ea43
ret
cmp eax, 0x485
jne 0x4046dc
push str.One_of_the_library_files_necessary_to_run_the_application_couldnt_be_found._nThe_SmartAudio_application_needs_to_be_reinstalled.
call fcn.0040ea43
ret
cmp eax, 8
jne 0x4046ec
push str.There_is_not_enough_memory_to_perform_the_specified_action._nThe_SmartAudio_application_will_be_terminated.
call fcn.0040ea43
ret
push str.There_is_an_error_to_run_the_application._nThe_SmartAudio_application_will_be_terminated.
call fcn.0040ea43
ret
Function at 0x404770
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x674
mov eax, dword [0x5749c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x620], ecx
call fcn.00404620
test al, al
je 0x404823
push 0x3c
lea eax, [ebp - 0x66c]
push 0
push eax
call fcn.00500630
add esp, 0xc
lea ecx, [ebp - 0x66c]
push ecx
mov dword [ebp - 0x664], 0
mov dword [ebp - 0x66c], 0x3c
mov dword [ebp - 0x668], 0x540
mov dword [ebp - 0x660], str.open
mov dword [ebp - 0x650], 1
mov dword [ebp - 0x658], ebx
mov dword [ebp - 0x65c], edi
mov dword [ebp - 0x654], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4048c0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ffbb1
mov esp, ebp
pop ebp
ret 0xc
push ebx
push edi
push str._s__s
lea edx, [ebp - 0x61c]
push 0x30c
push edx
call fcn.005006aa
add esp, 0x14
cmp eax, 0xffffffff
je 0x4048cb
push 0x44
lea eax, [ebp - 0x674]
push 0
push eax
call fcn.00500630
add esp, 0xc
xor eax, eax
lea ecx, [ebp - 0x630]
push ecx
lea edx, [ebp - 0x674]
push edx
push esi
push eax
push 0x10
push eax
push eax
push eax
mov dword [ebp - 0x630], eax
mov dword [ebp - 0x62c], eax
mov dword [ebp - 0x628], eax
mov dword [ebp - 0x624], eax
lea eax, [ebp - 0x61c]
push eax
push 0
mov dword [ebp - 0x674], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4048c0
mov ecx, dword [ebp - 0x630]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x62c]
push edx
call esi
jmp 0x4048cb
mov ecx, dword [ebp - 0x620]
call fcn.004046b0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.004ffbb1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4049c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push 1
push 0
push esi
push edi
mov byte [ebp - 1], 0
call ebx
test eax, eax
je 0x4049fa
lea ecx, [ebp + 0xc]
push ecx
push 0x101
push 0
push esi
push edi
call ebx
test eax, eax
jne 0x404a34
mov eax, dword [ebp + 0x18]
lea edx, [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 0x14]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov bl, 1
test eax, eax
je 0x404a1f
mov bl, byte [ebp - 1]
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x404b30
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20008
call fcn.00500870
mov eax, dword [0x5749c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xffde
xor ebx, ebx
lea eax, [ebp - 0xffe4]
push ebx
mov ecx, 8
mov esi, str.DTMLLUAdminUser
lea edi, [ebp - 0x10004]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00500630
add esp, 0xc
lea ecx, [ebp - 0x20008]
push ecx
lea edx, [ebp - 0x20004]
push edx
mov dword [ebp - 0x20008], 0x7fff
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x404bb9
push 0xfffd
lea eax, [ebp - 0x10004]
push eax
lea ecx, [ebp - 0x20004]
push ecx
call fcn.005007ce
add esp, 0xc
test eax, eax
jne 0x404bb9
mov ebx, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004ffbb1
mov esp, ebp
pop ebp
ret

Function at 0x404c60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ecx + 0x558]
push ebx
lea eax, [ebp - 0xc]
push eax
push 0x20119
push 0
push ecx
xor bl, bl
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 1], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404d25
mov edx, dword [ebp - 0xc]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [ebp + 0x10]
lea ecx, [ebp - 8]
push ecx
push edi
push eax
push eax
push str.CplDirectory
mov ebx, 0x30c
push edx
mov dword [ebp - 8], ebx
call esi
test eax, eax
je 0x404cc9
push 0x5254ac
push ebx
push edi
call fcn.0050089b
add esp, 0xc
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push edi
push 0
push 0
push str.CplCmdArg
push ecx
mov dword [ebp - 8], ebx
call esi
test eax, eax
je 0x404cf6
push 0x5254ac
push ebx
push edi
call fcn.0050089b
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 8]
push edx
push eax
push 0
push 0
push str.CplExeFile
push ecx
mov dword [ebp - 8], ebx
call esi
pop edi
pop esi
mov bl, 1
test eax, eax
je 0x404d1b
mov bl, byte [ebp - 1]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x404d30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, ecx
mov eax, dword [esi + 0x558]
lea ecx, [ebp - 8]
push ecx
push 1
push 0
push eax
xor bl, bl
push SysReAllocStringLen
mov byte [ebp - 1], bl
call edi
test eax, eax
je 0x404d7d
mov eax, dword [esi + 0x558]
lea edx, [ebp - 8]
push edx
push 0x101
push 0
push eax
push SysReAllocStringLen
call edi
test eax, eax
jne 0x404dd2
mov eax, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [str.RunInTaskBar]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0x14]
push edx
push 0
push eax
push ecx
mov dword [ebp - 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
jne 0x404dbd
cmp dword [ebp - 0xc], 1
jne 0x404dbd
mov byte [ebp - 1], 1
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x404e95
mov bl, byte [ebp - 1]
mov eax, dword [esi + 0x558]
lea ecx, [ebp - 8]
push ecx
push 1
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
je 0x404e05
mov esi, dword [esi + 0x558]
lea edx, [ebp - 8]
push edx
push 0x101
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov dword [ebp - 0xc], 0
test eax, eax
jne 0x404e8c
mov ecx, dword [str.SmartAudioSettings]
mov edx, dword [ebp - 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x14], 3
call edi
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040c02b
mov ecx, dword [ebp - 0xc]
push ecx
mov esi, eax
push 0
push esi
call fcn.00500630
mov ecx, dword [str.SmartAudioSettings]
add esp, 0x10
lea edx, [ebp - 0xc]
push edx
mov edx, dword [ebp - 8]
push esi
lea eax, [ebp - 0x14]
push eax
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x404e75
test byte [esi + 2], 0x20
seta byte [ebp - 1]
mov bl, byte [ebp - 1]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x404e8c
push esi
call fcn.0040c020
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405bf0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x5749c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
mov edx, dword [edi]
or ecx, 0x2001f
push ecx
xor esi, esi
push eax
push edx
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x208], esi
call fcn.00403260
mov ebx, eax
cmp ebx, esi
je 0x405c6a
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x405c55
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ffbb1
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x210]
push esi
push esi
push esi
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x204]
push edx
push esi
push eax
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x405cec
mov edi, edi
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x210]
call fcn.00405bf0
mov ebx, eax
cmp ebx, esi
jne 0x405c44
lea edx, [ebp - 0x220]
push edx
mov edx, dword [ebp - 0x210]
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x204]
push ecx
push esi
push edx
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x405ca0
mov eax, dword [ebp - 0x210]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x405d05
push eax
call ebx
mov dword [ebp - 0x210], esi
mov eax, dword [ebp - 0x218]
push eax
mov ecx, edi
mov dword [ebp - 0x20c], esi
call fcn.00405450
mov edi, eax
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x405d28
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ffbb1
mov esp, ebp
pop ebp
ret 4
Function at 0x408dc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516596
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x5749c8]
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 0x408e3d
call fcn.00405230
mov edi, eax
jmp 0x408f2d
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x408e56
call fcn.00405230
jmp 0x408f24
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x408e74
call fcn.00405230
jmp 0x408f24
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 0x408e95
mov edi, 0x8007000e
jmp 0x408f26
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00406530
mov dword [ebp - 4], 1
jmp 0x408ed8
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x408ee9
mov edi, 0x8007000e
jmp 0x408f26
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x408f02
call fcn.00405230
jmp 0x408f24
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.00408510
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x414]
cmp dword [ebp - 0x418], edx
je 0x408f50
lea ecx, [ebp - 0x418]
call fcn.00405b90
jmp 0x408f50
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.004ffbb1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40a9b0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5167c2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5749c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [str.SmartAudio.exe]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401f70
cmp byte [esi + 0x555], 0
mov dword [ebp - 4], 0
je 0x40aa29
mov edi, dword [str.SmartAudio3.exe]
test edi, edi
jne 0x40aa06
xor eax, eax
jmp 0x40aa1f
mov eax, edi
lea edx, [eax + 2]
jmp 0x40aa10
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40aa10
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.004019a0
cmp byte [esi + 0x552], 0
je 0x40aa3b
push 1
mov ecx, esi
call fcn.0040a2e0
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x14], esp
mov edi, esp
push eax
call fcn.00401690
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.00409940
test al, al
jne 0x40ab9f
push 0x74
call fcn.0040bff1
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x40aa82
mov ecx, eax
call fcn.00404ea0
jmp 0x40aa84
xor eax, eax
mov byte [ebp - 4], 0
mov dword [esi + 0x538], eax
test eax, eax
je 0x40ab9f
call fcn.0040f371
call fcn.0040f371
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0xa
push 0
push 0
push 0
push 0
push 0x81
mov ebx, eax
push ebx
push str.SmartAudio
push 0x8000
push 0
lea ecx, [esi + 0xb8]
call fcn.0040b400
test eax, eax
je 0x40ab9f
test ebx, ebx
je 0x40ab9f
mov ecx, esi
call fcn.004097a0
test al, al
je 0x40ab9f
mov ecx, dword [esi + 0x538]
push ecx
lea ecx, [esi + 0xb8]
call fcn.0040b190
lea ecx, [esi + 0xb8]
call fcn.0040b5b0
mov edx, dword [0x56f0d8]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x53c], eax
test eax, eax
je 0x40ab51
push 0
push 0
push 0
push 0
push esi
push 0x4045b0
call fcn.0040e6db
mov dword [esi + 0x540], eax
mov dword [eax + 0x28], 0
mov eax, dword [str.SmartAudioLaunchDelayValue]
mov ecx, dword [str.SOFTWAREConexantSAII]
push 4
lea edi, [esi + 0x560]
push edi
push 0
push eax
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov ecx, esi
call fcn.004049c0
test al, al
jne 0x40ab7f
mov dword [edi], 0x7530
mov edx, dword [edi]
mov eax, dword [esi + 0x538]
mov ecx, dword [eax + 0x20]
push 0
push edx
push 1
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [esi]
mov eax, dword [edx + 0x54]
mov ecx, esi
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40abc1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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
Function at 0x40b000
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5749c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
push 0x3b8
xor edi, edi
lea eax, [esi + 0x74]
push edi
push eax
call fcn.00500630
push 0x110
lea ecx, [ebp - 0x114]
push edi
push ecx
mov dword [esi + 0x42c], edi
mov dword [esi + 0x430], 1
mov dword [esi + 0x434], 1
mov dword [esi + 0x474], edi
mov dword [esi + 0x478], 1
mov dword [esi + 0x438], edi
mov dword [esi + 0x458], edi
mov dword [esi + 0x470], edi
mov dword [esi + 0x440], edi
mov dword [esi + 0x47c], edi
mov dword [ebp - 0x118], 0x114
call fcn.00500630
add esp, 0x18
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x40b0c9
cmp dword [ebp - 0x114], 5
jb 0x40b0c9
mov eax, 1
pop edi
mov dword [esi + 0x43c], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ffbb1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [esi + 0x43c], edi
pop edi
xor ecx, ebp
pop esi
call fcn.004ffbb1
mov esp, ebp
pop ebp
ret

Function at 0x41589c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4158e3
call fcn.0040f371
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4158e3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4158ff
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041539c
mov esi, eax
test edi, edi
je 0x4158fd
test ebx, ebx
je 0x4158fd
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41639b
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x516de3
call fcn.0050122e
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x4163c0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x416412
call fcn.0040cc55
push eax
lea ecx, [ebp - 0x10]
call fcn.00401590
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005009cc
push eax
call fcn.00401050
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401270
mov eax, esi
call fcn.00501306
ret 8