joyce8/EMBER2024-capa huggingface dataset:
Function at 0x102a8b3
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x103e550]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.0102a7f4
mov eax, 0x1000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x98]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x102a926
cmp dword [ebp - 0x94], 5
jb 0x102a947
jmp 0x102a943
cmp dword [ebp - 0x88], 1
jne 0x102a947
cmp dword [ebp - 0x94], 4
ja 0x102a943
jne 0x102a947
cmp dword [ebp - 0x90], 0
jbe 0x102a947
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x100862c
call fcn.0102a68b
test eax, eax
jge 0x102a968
mov byte [0x103e584], 1
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0102aec7
leave
ret

Function at 0x102ae95
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x103ceb8
call fcn.0102b390
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x103ecd0
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x102acaa
cmp eax, esi
jne 0x102ac9d
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x102acad
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x102ac84
xor esi, esi
inc esi
mov eax, dword [0x103eccc]
cmp eax, esi
jne 0x102acc0
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x102acfb
mov eax, dword [0x103eccc]
test eax, eax
jne 0x102acf5
mov dword [0x103eccc], esi
push 0x100131c
push 0x1001310
call fcn.0102ac01
pop ecx
pop ecx
test eax, eax
je 0x102acfb
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x102adc5
mov dword [0x103e848], esi
mov eax, dword [0x103eccc]
cmp eax, esi
jne 0x102ad1f
push 0x100130c
push 0x10012dc
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x103eccc], 2
cmp dword [ebp - 0x1c], ebx
jne 0x102ad2c
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x103ecdc], ebx
je 0x102ad4d
push 0x103ecdc
call fcn.0102b4e9
pop ecx
test eax, eax
je 0x102ad4d
push ebx
push 2
push ebx
call dword [0x103ecdc]
push dword [0x103e830]
push dword [0x103e834]
push dword [0x103e82c]
call fcn.01029b41
add esp, 0xc
mov dword [0x103e844], eax
cmp dword [0x103e838], ebx
jne 0x102adab
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x103e848], ebx
jne 0x102adb9
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x103e844]
call fcn.0102b3d5
ret
call fcn.0102b636
jmp 0x102ac62
Function at 0x102b9ff
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x103e550]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push esi
push ecx
push eax
mov esi, 0x400
push esi
lea eax, [ebp - 0x404]
push eax
call fcn.0102b988
test eax, eax
jl 0x102ba7a
cmp byte [ebp + 0xc], 0
je 0x102ba6d
push dword [ebp + 8]
call fcn.0102b837
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x404]
push eax
push 0x10086e8
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.0102b9c4
add esp, 0x18
test eax, eax
jl 0x102ba7a
lea eax, [ebp - 0x804]
jmp 0x102ba73
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0102aec7
leave
ret 0x10

Function at 0x102ba8e
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x103e550]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
mov esi, 0x400
push esi
lea eax, [ebp - 0x404]
push eax
call fcn.0102b988
test eax, eax
jl 0x102bb08
cmp byte [ebp + 0xc], 0
je 0x102bafb
push dword [ebp + 8]
call fcn.0102b837
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x404]
push eax
push 0x10086e8
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.0102b9c4
add esp, 0x18
test eax, eax
jl 0x102bb08
lea eax, [ebp - 0x804]
jmp 0x102bb01
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0102aec7
leave
ret
Function at 0x102bd34
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4b8
mov eax, dword [0x103e550]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov esi, 0x24c
push esi
lea eax, [ebp - 0x250]
push edi
push eax
mov dword [ebp - 0x4b8], ebx
mov dword [ebp - 0x4b0], edi
mov dword [ebp - 0x4ac], edi
mov dword [ebp - 0x254], edi
call sub.msvcrt.dll_memset
push esi
lea eax, [ebp - 0x4a0]
push edi
push eax
mov dword [ebp - 0x4a4], edi
call sub.msvcrt.dll_memset
add esp, 0x18
push ebx
lea eax, [ebp - 0x4b0]
push eax
call fcn.0103a127
cmp eax, edi
mov dword [ebp - 0x4a8], eax
jge 0x102bdc5
push ebx
push 0x10089c0
push 1
push eax
push 0x4000000
call fcn.0102bc31
add esp, 0x14
jmp 0x102bf47
push 0x100899c
lea eax, [ebp - 0x4b0]
push eax
call fcn.01039e67
cmp eax, edi
mov dword [ebp - 0x4a8], eax
jge 0x102bdfa
push 0x100895c
push 1
push eax
push 0x4000000
call fcn.0102bc31
add esp, 0x10
jmp 0x102bf47
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x4b0]
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x4b4], eax
cmp eax, 0xffffffff
je 0x102bf47
test byte [ebp - 0x254], 0x10
jne 0x102be59
cmp ebx, edi
je 0x102be43
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x102be58
mov ecx, 0x94
lea esi, [ebp - 0x254]
lea edi, [ebp - 0x4a4]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
inc ebx
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x4b4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x102be1e
cmp ebx, 5
jbe 0x102bf3b
lea eax, [ebp - 0x478]
push eax
push dword [ebp - 0x4b8]
lea eax, [ebp - 0x4ac]
push 0x1005448
push eax
call fcn.0103a21d
add esp, 0x10
cmp eax, edi
mov dword [ebp - 0x4a8], eax
jl 0x102bee5
push dword [ebp - 0x4ac]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x102beef
push dword [ebp - 0x4b4]
dec ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x4ac], edi
je 0x102beda
push dword [ebp - 0x4ac]
call fcn.01039c87
mov dword [ebp - 0x4ac], edi
cmp ebx, 5
ja 0x102bdfa
jmp 0x102bf47
push 0x1008928
push 1
push eax
jmp 0x102bf2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
mov dword [ebp - 0x4a8], eax
jle 0x102bf0f
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x4a8], eax
cmp dword [ebp - 0x4a8], edi
jl 0x102bf21
mov dword [ebp - 0x4a8], 0x80004005
push 0x1008900
push 1
push dword [ebp - 0x4a8]
push 0x4000000
call fcn.0102bc31
add esp, 0x10
push dword [ebp - 0x4b4]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x4b0], edi
je 0x102bf5a
push dword [ebp - 0x4b0]
call fcn.01039c87
cmp dword [ebp - 0x4ac], edi
pop edi
pop esi
pop ebx
je 0x102bf70
push dword [ebp - 0x4ac]
call fcn.01039c87
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x4a8]
xor ecx, ebp
call fcn.0102aec7
leave
ret 4
Function at 0x1039b48
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
xor edi, edi
xor ebx, ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], edi
cmp dword [ebp + 0xc], edi
je 0x1039bbc
lea eax, [ebp - 4]
push eax
push 0x20019
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test byte [ebp + 0x10], 1
je 0x1039ba2
cmp eax, 2
je 0x1039b8d
cmp eax, 3
jne 0x1039ba2
cmp eax, edi
jle 0x1039b9b
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
jmp 0x1039c4c
cmp eax, edi
je 0x1039bc2
jle 0x1039bb2
and eax, 0xffff
or eax, 0x80070000
push dword [ebp + 0xc]
push 0x101f2ac
jmp 0x1039c0c
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0x14]
mov dword [ebp - 8], 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test byte [ebp + 0x10], 1
je 0x1039bf4
cmp eax, 2
jne 0x1039bf4
mov ebx, 0x80070002
jmp 0x1039c4c
cmp eax, edi
je 0x1039c20
jle 0x1039c04
and eax, 0xffff
or eax, 0x80070000
push dword [ebp + 0x14]
push 0x101f2dc
mov ebx, eax
push 1
push ebx
push 0x4000000
call fcn.0102bc31
add esp, 0x14
jmp 0x1039c4c
cmp dword [ebp - 0xc], 4
je 0x1039c44
push 0x101f428
mov eax, 0x8007000d
push 1
push eax
push 0x4000000
mov ebx, eax
call fcn.0102bc31
add esp, 0x10
jmp 0x1039c4c
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp + 0xc], edi
je 0x1039c5f
cmp dword [ebp - 4], edi
je 0x1039c5f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop ebx
leave
ret 0x14

Function at 0x103a238
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x103a254
test al, 0x10
jne 0x103a254
xor eax, eax
inc eax
jmp 0x103a256
xor eax, eax
pop ebp
ret 4
Function at 0x103a3b4
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x103e550]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
push edi
mov edi, dword [ebp + 8]
push eax
push edi
mov dword [ebp - 0x210], eax
xor esi, esi
call ebx
test eax, eax
jne 0x103a4a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x103a4a0
push 0x5c
push edi
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
jne 0x103a419
push edi
mov esi, 0x80070003
push 0x101f6a0
jmp 0x103a462
sub eax, edi
sar eax, 1
push eax
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.0101ff8c
mov esi, eax
test esi, esi
jge 0x103a43e
push edi
push 0x101f67c
jmp 0x103a462
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
call fcn.0103a3b4
mov esi, eax
test esi, esi
jge 0x103a474
lea eax, [ebp - 0x20c]
push eax
push 0x101f660
push 1
push esi
push 0x4000000
call fcn.0102bc31
add esp, 0x14
jmp 0x103a4a2
push dword [ebp - 0x210]
push edi
call ebx
test eax, eax
jne 0x103a4a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x103a4a0
test eax, eax
jle 0x103a49c
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x103a4a2
xor esi, esi
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0102aec7
leave
ret 8
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
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
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x337e2d00
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2cb91dcd
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x40626f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x406294
mov eax, dword [0x40a880]
cmp eax, 0xffffffff
je 0x40628b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a880], 0xffffffff
jmp 0x406307
cmp dword [0x7bf260], ebx
je 0x406307
cmp byte [0x7bee60], bl
je 0x4062d3
cmp dword [0x40a880], 0xffffffff
jne 0x4062dc
push 4
push 0x40000000
push 0x7bee60
call fcn.00405c23
cmp eax, 0xffffffff
mov dword [0x40a880], eax
je 0x406307
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a880], 0xffffffff
je 0x406307
push esi
mov esi, 0x7c3280
push 0x40aac8
push esi
call fcn.00405f71
lea eax, [ebp + 8]
push ebx
push eax
push esi
call fcn.00405f64
push eax
push esi
push dword [0x40a880]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4064b9
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x7bea5c], esi
push edi
jne 0x4064f3
mov ecx, 0x7bea58
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x4064cf
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x7bee58
jl 0x4064ca
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x406528
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7bea58]
xor eax, esi
inc ecx
dec edx
jne 0x40650b
pop edi
pop esi
not eax
ret 0xc
Function at 0x40183f
Capabilities:
Create process on windows

Disassembly:
call fcn.00404cc1
test eax, eax
je 0x401856
push 5
push str.sndvol.exe
call dword [sym.imp.KERNEL32.DLL_WinExec]
ret
push esi
push 0
push 0x40d3fc
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x40187e
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40187e
push esi
call fcn.00405142
pop ecx
pop esi
ret
push 5
push str.sndvol32.exe
call dword [sym.imp.KERNEL32.DLL_WinExec]
pop esi
ret

Function at 0x4018fc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push 0x104
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x108]
push eax
call fcn.0040188d
add esp, 0x10
test eax, eax
je 0x401958
push 5
push 0
push 0
lea eax, [ebp - 0x108]
push eax
push str.open
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x20
pop ecx
cmp ecx, eax
sbb eax, eax
neg eax
leave
ret
xor eax, eax
leave
ret

Function at 0x401d71
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ebx
call fcn.00404baa
push ebx
call sub.msvcrt.dll_strlen
mov esi, str._volumouse.cfg
push esi
mov dword [ebp - 4], eax
call sub.msvcrt.dll_strlen
add eax, dword [ebp - 4]
mov edi, 0x104
cmp eax, edi
pop ecx
pop ecx
jge 0x401db7
mov eax, dword [ebp - 4]
add eax, ebx
push esi
push eax
call sub.msvcrt.dll_strcat
pop ecx
pop ecx
xor ebx, ebx
push ebx
push ebx
push 4
push ebx
push ebx
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, 0xffffffff
je 0x401dde
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x401eb3
push edi
lea eax, [ebp - 0x213]
push ebx
push eax
mov byte [ebp - 0x214], bl
call sub.msvcrt.dll_memset
push edi
lea eax, [ebp - 0x10b]
push ebx
push eax
mov byte [ebp - 0x10c], bl
call sub.msvcrt.dll_memset
lea esi, [ebp - 0x214]
call fcn.0040b00e
push 0x40d3d4
call sub.msvcrt.dll_strlen
mov esi, eax
lea eax, [ebp - 0x214]
push eax
call sub.msvcrt.dll_strlen
lea eax, [esi + eax + 1]
add esp, 0x20
cmp eax, edi
jae 0x401e4f
lea eax, [ebp - 0x214]
push 0x40d3d4
push eax
lea eax, [ebp - 0x10c]
call fcn.00404ce6
pop ecx
pop ecx
jmp 0x401e55
mov byte [ebp - 0x10c], bl
lea eax, [ebp - 0x10c]
push eax
call fcn.00404b83
test eax, eax
pop ecx
jne 0x401e74
push ebx
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
push str.volumouse.cfg
call sub.msvcrt.dll_strlen
mov esi, eax
lea eax, [ebp - 0x10c]
push eax
call sub.msvcrt.dll_strlen
lea eax, [esi + eax + 1]
cmp eax, edi
pop ecx
pop ecx
jae 0x401eae
lea eax, [ebp - 0x10c]
push str.volumouse.cfg
push eax
mov eax, dword [ebp + 8]
call fcn.00404ce6
pop ecx
pop ecx
jmp 0x401eb3
mov eax, dword [ebp + 8]
mov byte [eax], bl
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403c5e
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [esi + 0x1c], 0
jne 0x403cd0
call fcn.004051e0
test eax, eax
mov dword [esi + 0x1c], eax
je 0x403cd0
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.GetPhysicalMonitorsFromHMONITOR
push eax
call edi
push str.GetNumberOfPhysicalMonitorsFromHMONITOR
push dword [esi + 0x1c]
mov dword [esi], eax
call edi
push str.DestroyPhysicalMonitors
push dword [esi + 0x1c]
mov dword [esi + 4], eax
call edi
push str.SetVCPFeature
push dword [esi + 0x1c]
mov dword [esi + 8], eax
call edi
push str.GetVCPFeatureAndVCPFeatureReply
push dword [esi + 0x1c]
mov dword [esi + 0xc], eax
call edi
push str.CapabilitiesRequestAndCapabilitiesReply
push dword [esi + 0x1c]
mov dword [esi + 0x10], eax
call edi
push str.GetCapabilitiesStringLength
push dword [esi + 0x1c]
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
pop edi
ret

Function at 0x403d03
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
and dword [ebp - 4], 0
push esi
push edi
push 0x4b
pop eax
mov word [ebp - 0x64], 0x2d0
mov word [ebp - 0x62], 0x190
mov word [ebp - 0x60], 0x46
mov word [ebp - 0x5e], 0x2d0
mov word [ebp - 0x5c], 0x190
mov word [ebp - 0x5a], 0x58
mov word [ebp - 0x58], 0x280
mov word [ebp - 0x56], 0x1e0
mov word [ebp - 0x54], 0x3c
mov word [ebp - 0x52], 0x280
mov word [ebp - 0x50], 0x1e0
mov word [ebp - 0x4e], 0x43
mov word [ebp - 0x4c], 0x280
mov word [ebp - 0x4a], 0x1e0
mov word [ebp - 0x48], 0x48
mov word [ebp - 0x46], 0x280
mov word [ebp - 0x44], 0x1e0
mov word [ebp - 0x42], ax
mov word [ebp - 0x40], 0x320
mov word [ebp - 0x3e], 0x258
mov word [ebp - 0x3c], 0x38
mov word [ebp - 0x3a], 0x320
mov word [ebp - 0x38], 0x258
mov word [ebp - 0x36], 0x3c
mov word [ebp - 0x34], 0x320
mov word [ebp - 0x32], 0x258
mov word [ebp - 0x30], 0x48
mov word [ebp - 0x2e], 0x320
mov word [ebp - 0x2c], 0x258
mov word [ebp - 0x2a], ax
mov word [ebp - 0x28], 0x340
mov word [ebp - 0x26], 0x270
mov word [ebp - 0x24], ax
mov word [ebp - 0x22], 0x400
mov word [ebp - 0x20], 0x300
mov word [ebp - 0x1e], 0x57
mov word [ebp - 0x1c], 0x400
mov word [ebp - 0x1a], 0x300
mov word [ebp - 0x18], 0x3c
mov word [ebp - 0x16], 0x400
mov word [ebp - 0x14], 0x300
mov word [ebp - 0x12], 0x46
mov word [ebp - 0x10], 0x400
mov word [ebp - 0xe], 0x300
mov word [ebp - 0xc], ax
mov word [ebp - 0xa], 0x500
mov word [ebp - 8], 0x400
mov word [ebp - 6], ax
movzx ebx, bx
lea esi, [ebp - 0x62]
mov eax, dword [ebp - 4]
cdq
and edx, 7
add eax, edx
mov ecx, eax
mov eax, dword [ebp - 4]
sar ecx, 3
shl ecx, 3
and eax, 0x80000007
jns 0x403e4e
dec eax
or eax, 0xfffffff8
inc eax
sub ecx, eax
xor eax, eax
add ecx, 7
inc eax
shl eax, cl
test ebx, eax
je 0x403e71
movzx eax, word [esi]
mov di, word [esi + 2]
mov ecx, dword [ebp + 8]
push eax
movzx eax, word [esi - 2]
push eax
call fcn.00403e83
inc dword [ebp - 4]
add esi, 6
cmp dword [ebp - 4], 0x10
jl 0x403e2e
pop edi
pop esi
leave
ret 4