joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb0c170
Capabilities:
Create process on windows
Create process suspended

Disassembly:
sub esp, 0x35c
lea eax, [esp + 0x258]
push esi
push edi
push 0x104
mov edi, ecx
push eax
mov ecx, dword [0xb1698c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0xb0c1a3
xor eax, eax
pop edi
pop esi
add esp, 0x35c
ret
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edi, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0xb140cc
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x5c]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0xb16a00
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x5c]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea ecx, [esp + 8]
lea edx, [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x64]
push 0
lea ecx, [esp + 0x26c]
push 0
push 0
push 0
push 0
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0xb0c290
mov eax, dword [esp + 8]
inc dword [0xb16976]
mov dword [0xb14048], 1
mov dword [0xb16c14], eax
mov eax, dword [esp + 0xc]
pop edi
mov dword [0xb16c04], eax
mov eax, 1
pop esi
add esp, 0x35c
ret
xor eax, eax
pop edi
pop esi
add esp, 0x35c
ret

Function at 0xb0c430
Capabilities:
Read file on windows

Disassembly:
sub esp, 4
lea eax, [esp]
push esi
mov esi, ecx
push 0
push eax
mov ecx, dword [0xb14054]
push 4
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esi]
xor eax, 0x20200000
shr eax, 0x12
mov dword [esi], eax
pop esi
add esp, 4
ret

Function at 0xb0c460
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, ecx
shl eax, 0x12
push 0
xor eax, 0x20202020
mov dword [esp + 4], ecx
lea ecx, [esp + 8]
mov edx, dword [0xb14054]
mov dword [esp + 4], eax
push ecx
lea eax, [esp + 8]
push 4
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
add esp, 8
ret

Function at 0xb0cfc0
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
cmp word [ecx], 3
mov edi, edx
mov esi, ecx
jne 0xb0cfe0
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x14]
push eax
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, edi
jmp 0xb0cfee
mov eax, dword [esp + 0x10]
mov edx, edi
push eax
mov ecx, esi
call fcn.00b0cdb0
test eax, eax
jne 0xb0cff5
lea eax, [esi + 0x1c]
pop edi
pop esi
ret 8
Function at 0xb0d6d0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x35c
push ebx
push esi
push edi
mov ebx, ecx
push ebp
mov ebp, edx
call fcn.00b0d650
test eax, eax
je 0xb0d6f4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x35c
ret
lea eax, [esp + 0x20]
mov edi, ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
shr ecx, 2
mov esi, edi
lea edi, [esp + 0x268]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ax, word [0xb141b4]
mov edi, ebx
mov word [esp + 0x64], ax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x64]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0xb141b4
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x64]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test ebp, ebp
je 0xb0d836
cmp byte [ebp], 0
je 0xb0d836
mov edi, 0xb141b0
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x64]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x64]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0xb141b4
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x64]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x6c]
push 0
lea eax, [esp + 0x274]
push 0
push 0
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x35c
ret
Function at 0xb0f140
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0xb0f19b
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
mov edx, dword [esp + 4]
push eax
mov dword [esp + 0xc], 0x104
push ecx
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea ecx, [esp + 0xc]
mov edx, dword [esp + 0x114]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 4

Function at 0xb0f1b0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push esi
push edi
mov ebx, ecx
push ebp
mov edi, edx
xor esi, esi
push edi
mov eax, dword [esp + 0x220]
push esi
push eax
mov ebp, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push ebx
push 0xb14248
push esi
call ebp
cmp eax, 0x20
jg 0xb0f2a3
mov ecx, ebx
call fcn.00b0d650
test eax, eax
jne 0xb0f1f4
xor eax, eax
jmp 0xb0f2aa
lea eax, [esp + 0x10]
mov edx, 0xb14240
push eax
mov ecx, 0x80000000
call fcn.00b0f140
test eax, eax
jne 0xb0f2a8
lea eax, [esp + 0x10]
push 0xb1422c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x10]
lea edx, [esp + 0x10]
push eax
mov ecx, 0x80000000
call fcn.00b0f140
test eax, eax
jne 0xb0f2a8
lea eax, [esp + 0x10]
push 0xb14224
push eax
call fcn.00b13210
add esp, 8
mov ebp, eax
test ebp, ebp
jne 0xb0f27a
lea eax, [esp + 0x10]
push 0xb14220
push eax
call fcn.00b13210
add esp, 8
mov ebp, eax
test ebp, ebp
jne 0xb0f27a
lea eax, [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call ebp
lea ebp, [esp + eax + 0xf]
jmp 0xb0f27e
mov byte [ebp], 0
push 0xb1413c
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x10]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x1f
jbe 0xb0f2a8
mov esi, 1
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x208
ret 4

Function at 0xb0f410
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx eax, cx
sub esp, 4
mov ecx, dword [0xb1698c]
push esi
push 0xb14284
mov esi, edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0xb0f452
push eax
mov eax, dword [0xb1698c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esi], eax
test eax, eax
je 0xb0f452
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0xb0f465
jmp 0xb0f456
mov esi, dword [esp + 4]
mov edx, 0xb1427c
mov ecx, 0xb14250
call fcn.00b0f480
mov eax, esi
pop esi
add esp, 4
ret
Function at 0xb0f480
Capabilities:
Terminate process

Disassembly:
sub esp, 0x10
mov eax, 0xb1428c
push ebx
push esi
push edi
mov ebx, ecx
lea esi, [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edi, edx
mov dword [esi], ecx
mov ecx, 0xffffffff
mov dword [esi + 4], eax
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0xc]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x10
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [esp + 0x10]
push esi
push ebx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0xb0ff30
Capabilities:
Encode data using xor

Disassembly:
push esi
mov eax, dword [0xb16c08]
xor ecx, ecx
mov esi, dword [eax + 2]
xor esi, dword [eax + 6]
xor esi, dword [eax + 0xa]
add esi, dword [0xb1698c]
mov eax, dword [0xb16c08]
inc ecx
inc ecx
mov edx, dword [eax + 6]
xor dword [esi + ecx*4 - 8], edx
mov eax, dword [0xb16c08]
mov edx, dword [eax + 0xa]
xor dword [esi + ecx*4 - 4], edx
cmp ecx, 0x14
jl 0xb0ff47
mov ecx, dword [0xb16b44]
call fcn.00b0f470
call esi
push 0
push 0xb143c0
push 0xb143b0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
ret

Function at 0xb0fff0
Capabilities:
Get common file path
Get disk information

Disassembly:
sub esp, 0x318
lea eax, [esp + 0x110]
push ebx
push esi
xor ebx, ebx
push edi
mov byte [0xb168f8], bl
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0xb10027
mov byte [esp + 0x11c], 0x63
mov byte [esp + 0x11d], bl
xor edx, edx
lea edi, [esp + 0x11c]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0xb10070
mov ebx, 0x5c
cmp byte [esp + edx + 0x11c], bl
je 0xb10068
inc edx
lea edi, [esp + 0x11c]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, edx
jg 0xb10045
jmp 0xb10070
mov byte [esp + edx + 0x11d], 0
lea eax, [esp + 0x18]
push 0x104
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x230]
push eax
lea edx, [esp + 0x130]
push 0x104
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0xb100be
lea eax, [esp + 0x18]
push 0xa
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.00b13190
add esp, 0xc
jmp 0xb100cd
mov edx, 0xb1440c
mov ecx, 0xb143f4
call fcn.00b0f480
xor eax, eax
mov edx, 0x38
mov cl, byte [esp + eax + 0x18]
cmp cl, 0x30
jl 0xb100ea
cmp cl, 0x39
jg 0xb100ea
mov byte [eax + 0xb168f0], cl
jmp 0xb100f0
mov byte [eax + 0xb168f0], dl
inc eax
cmp eax, 8
jl 0xb100d4
mov edi, 0xb168f0
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov cl, byte [esp + 0x1a]
mov al, byte [esp + 0x1f]
mov dl, byte [esp + 0x18]
mov byte [0xb168f0], cl
mov cl, byte [esp + 0x1b]
mov byte [0xb168f3], al
mov al, byte [esp + 0x1d]
mov byte [0xb168f2], dl
mov byte [0xb168f4], cl
mov byte [0xb168f1], al
mov byte [0xb168f5], 0
cmp byte [esp + 0x1a], 0x30
jne 0xb10165
mov al, byte [esp + 0x1a]
inc al
mov byte [0xb168f0], al
mov edx, 0xb143ec
mov ecx, 0xb168f0
call fcn.00b0f8f0
pop edi
mov dword [0xb16988], eax
pop esi
pop ebx
add esp, 0x318
ret
Function at 0xb12390
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp + 8]
push ebx
push esi
push edi
push ebp
push eax
push 0xb14328
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0xb123bc
mov ax, 2
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret
push 0xbb80
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
test ebp, ebp
jne 0xb123e2
mov ax, 3
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov dword [esp + 0x10], 0xbb80
lea eax, [esp + 0x10]
push eax
push ebp
push 0xb14328
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
je 0xb12437
push ebp
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
call esi
push eax
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalFree]
call ebp
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, 3
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
dec dword [esp + 0x10]
push eax
mov edx, dword [esp + 0x14]
push ecx
mov ecx, ebp
xor ebx, ebx
call fcn.00b0f600
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
lea eax, [ecx + 8]
mov dword [esp + 0x10], edx
cmp edx, ebx
jle 0xb1247e
mov ecx, 0xc
mov esi, eax
mov edi, dword [0xb16b24]
repe cmpsb byte [esi], byte es:[edi]
je 0xb1247e
add eax, 0xc
inc ebx
cmp ebx, dword [esp + 0x10]
jl 0xb12463
push ebp
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
call esi
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call edi
push ebp
call esi
push eax
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalFree]
call ebp
mov eax, dword [esp + 0x14]
push eax
call esi
push eax
call edi
mov eax, dword [esp + 0x14]
push eax
call esi
push eax
call ebp
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, dword [esp + 0x10]
je 0xb124d4
or byte [0xb168fa], 0x20
mov ax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret
xor ax, ax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret
Function at 0xb12cd0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov eax, 4
push esi
push edi
mov edi, dword [ecx + 0xc]
mov esi, edx
sub edi, 0x5c5c5c5d
mov ebx, dword [ecx]
add ecx, 4
xor ebx, edi
add esi, 4
dec eax
mov dword [esi - 4], ebx
jne 0xb12ce3
mov dword [edx + 0x10], 0
pop edi
pop esi
pop ebx
ret
Function at 0x401229
Capabilities:
Check mutex on windows
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
mov eax, dword [str.Global_]
and dword [ebp - 4], 0
mov dword [ebp - 0xc], eax
mov eax, dword [0x40b0b8]
mov dword [ebp - 8], eax
push esi
lea eax, [ebp - 0xc]
push edi
push eax
call sub.MSVCRT.dll_strlen
mov edi, 0x104
mov esi, 0x94
sub edi, eax
push esi
lea eax, [ebp - 0xa0]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0x10
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], esi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x40129f
cmp dword [ebp - 0x90], 2
jne 0x40129f
cmp dword [ebp - 0x9c], 5
jb 0x40129f
mov dword [ebp - 4], 1
xor esi, esi
cmp dword [ebp + 0xc], esi
je 0x4012d1
cmp dword [ebp - 4], esi
je 0x4012d1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1a8]
push eax
call sub.MSVCRT.dll_strcpy
push edi
lea eax, [ebp - 0x1a8]
push dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT.dll__mbsnbcat]
add esp, 0x14
jmp 0x4012f0
push 0x104
lea eax, [ebp - 0x1a8]
push dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT.dll__mbsnbcpy]
add esp, 0xc
and byte [ebp - 0xa4], 0
lea eax, [ebp - 0x1a8]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, dword [ebp + 0x10]
test eax, eax
mov dword [esi], eax
je 0x401325
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401325
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi], 0
push 1
pop eax
jmp 0x40132c
xor eax, eax
cmp dword [esi], eax
sete al
pop edi
pop esi
leave
ret

Function at 0x401345
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 8]
push edi
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x401363
push 1
pop eax
jmp 0x4013bf
push esi
call sub.MFC42.DLL_operatornew
pop ecx
mov edi, eax
push edi
push esi
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x401387
push edi
call sub.MFC42.DLL_operatordelete
pop ecx
push 2
jmp 0x401360
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4013b3
cmp dword [ebp + 8], 4
jb 0x4013b3
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
xor esi, esi
mov eax, dword [eax]
mov word [ecx], ax
jmp 0x4013b6
push 3
pop esi
push edi
call sub.MFC42.DLL_operatordelete
pop ecx
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x401bf7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push edi
push 0xa
mov esi, str.SoftwareCreative_TechOptionsSurMixer
pop ecx
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 4]
xor esi, esi
push eax
push 1
lea eax, [ebp - 0x34]
push esi
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x401c2c
xor al, al
jmp 0x401c66
lea eax, [ebp - 0xc]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 8]
push eax
push esi
push esi
push str.AllowMultipleInstances
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
jne 0x401c28
xor eax, eax
cmp dword [ebp - 8], 1
sete al
pop edi
pop esi
leave
ret

Function at 0x401d60
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x406f7c
call fcn.00406b70
push ecx
add ecx, 0xc8
push ecx
push 0
push str.CTLSG_MIXCONSOLE
call fcn.00401229
add esp, 0xc
test eax, eax
je 0x401dd4
push esi
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_2
and dword [ebp - 4], 0
push 2
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::LoadStringA
push dword [ebp - 0x10]
push str.ThmWizCPL_CLass
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040679c
xor eax, eax
pop esi
jmp 0x401dd7
push 1
pop eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret

Function at 0x4036a3
Capabilities:
Get file version info
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 4]
push esi
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x403710
push edi
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
push edi
push esi
push dword [ebp - 4]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
pop edi
jne 0x4036fb
xor esi, esi
jmp 0x403723
mov eax, dword [ebp - 8]
and al, 0xfc
cmp eax, 4
jbe 0x403714
push str.ERROR__Too_many_language_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x403733
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
push 1
mov ax, word [eax]
pop esi
mov word [ecx], ax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x4042ad
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x407320
call fcn.00406b70
sub esp, 0x18
push ebx
push esi
push edi
push 4
mov dword [ebp - 0x18], ecx
pop esi
xor ebx, ebx
push str.SoftwareCreative_TechVolCtrl_
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x10], ebx
call fcn.004067c6
lea eax, [ebp - 0x14]
mov edi, 0x80000001
push eax
push 0x2001f
push ebx
push dword [ebp - 0x20]
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404398
lea eax, [ebp - 0x24]
mov edi, str.StartUp
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x404345
lea eax, [ebp - 0x10]
push esi
push eax
push esi
push ebx
push edi
push dword [ebp - 0x14]
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4043c4
cmp dword [ebp + 8], ebx
je 0x40436c
xor eax, eax
cmp dword [ebp - 0x10], ebx
push esi
sete al
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x1c]
push ebx
push edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x40438a
cmp dword [ebp - 0x10], ebx
je 0x404375
push 8
jmp 0x404376
push ebx
mov eax, dword [ebp - 0x18]
push 0x3ed
push dword [eax + 0x114]
call dword [sym.imp.USER32.dll_CheckMenuItem]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop ebx
jmp 0x4043c4
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea eax, [ebp - 0x10]
push esi
push eax
mov dword [ebp - 0x10], 1
push dword [ebp - 0x1c]
push ebx
push str.StartUp
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0040679c
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4043e3
Capabilities:
Create process on windows
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x407344
call fcn.00406b70
sub esp, 0x18
push ebx
push esi
xor ebx, ebx
push edi
push ebx
mov edi, ecx
push str.CTLSG_SYSVOL
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, 0x104
push str.SoftwareMicrosoftWindowsCurrentVersionRun_
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], esi
call fcn.004067c6
push 0x40b860
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.004067c6
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push 0x20019
push ebx
push dword [ebp - 0x1c]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40452f
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x10]
push eax
push esi
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push str.CTSysVol
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
jne 0x404521
call sub.MFC42.DLL_CString::ReleaseBuffer
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 8], ebx
jne 0x4044a1
cmp dword [ebp - 0x18], ebx
je 0x40450a
jmp 0x4044f9
cmp dword [ebp - 0x18], ebx
jne 0x4044fd
push 0x40b570
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Find
cmp eax, ebx
jl 0x4044dd
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0040679c
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::TrimRight
push 1
push ebx
push ebx
push dword [ebp - 0x10]
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jle 0x40451c
push 8
jmp 0x40450b
push ebx
push ebx
push 0x10
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push 0x3eb
push dword [edi + 0x114]
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 1
pop esi
jmp 0x404531
call sub.MFC42.DLL_CString::ReleaseBuffer
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0040679c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040679c
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4