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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [str.SOFTWAREElaborate_BytesVirtualCloneDriveSettings]
sub esp, 8
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push ecx
push 0x80000002
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40157d
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x411fa8
push 0
push 0
push str.LocaleName
push eax
mov dword [ebp - 8], 0x13
call esi
mov ecx, dword [ebp - 4]
push ecx
call edi
mov eax, dword [str.SOFTWAREElaborate_BytesVirtualCloneDriveSettings]
lea edx, [ebp - 4]
push edx
push 0x20019
push 0
push eax
push 0x80000001
call ebx
test eax, eax
jne 0x4015bc
mov edx, dword [ebp - 4]
lea ecx, [ebp - 8]
push ecx
push 0x411fa8
push eax
push eax
push str.LocaleName
push edx
mov dword [ebp - 8], 0x13
call esi
mov eax, dword [ebp - 4]
push eax
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401710
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4110d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
lea ecx, [ebp - 0x108]
xor esi, esi
call fcn.004016b0
lea eax, [ebp - 0x210]
push eax
push 0x20019
push esi
lea ecx, [ebp - 0x108]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4017ad
mov ecx, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push str.DeviceDesc
push ecx
mov dword [ebp - 0x214], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4017a0
push 0x40d338
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004046ae
mov esp, ebp
pop ebp
ret
Function at 0x4017c0
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4110d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push eax
lea eax, [ebp - 0x108]
push str.SYSTEMCurrentControlSetServicesClass_s
push eax
xor esi, esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x110]
push ecx
push 0xf003f
push esi
lea edx, [ebp - 0x108]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40188a
mov edx, dword [ebp - 0x110]
mov byte [ebp - 0x109], al
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x109]
push ecx
push esi
push esi
push str.DigitalAudioPlay
push edx
mov dword [ebp - 0x114], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40187d
test byte [ebp - 0x109], 1
jne 0x40187d
mov ecx, dword [ebp - 0x110]
or byte [ebp - 0x109], 1
push 1
lea eax, [ebp - 0x109]
push eax
push 3
push esi
push str.DigitalAudioPlay
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov edx, dword [ebp - 0x110]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004046ae
mov esp, ebp
pop ebp
ret
Function at 0x4018a0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x4110d0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x318]
push eax
push 0x20019
xor edi, edi
push edi
push str.EnumSCSI
push 0x80000002
mov dword [ebp - 0x324], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401aac
mov edx, dword [ebp - 0x318]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push esi
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
xor esi, esi
push esi
push edx
call ebx
test eax, eax
jne 0x401a9d
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
nop
mov edx, dword [ebp - 0x318]
lea eax, [ebp - 0x31c]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x20c]
push ecx
inc esi
push edx
mov dword [ebp - 0x32c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401a79
mov ecx, dword [ebp - 0x31c]
push 0x104
lea eax, [ebp - 0x108]
push eax
xor esi, esi
push esi
push ecx
call ebx
test eax, eax
jne 0x401a66
push 4
lea edx, [ebp - 0x108]
push edx
push str.ROOT
inc esi
call fcn.0040ba49
add esp, 0xc
test eax, eax
jne 0x401a66
lea eax, [ebp - 0x108]
push eax
call fcn.00401710
add esp, 4
test eax, eax
je 0x401a66
mov eax, dword [ebp - 0x31c]
lea ecx, [ebp - 0x320]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x108]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401a48
lea ecx, [ebp - 0x328]
push ecx
lea edx, [ebp - 0x311]
push edx
push eax
push eax
mov byte [ebp - 0x311], al
mov eax, dword [ebp - 0x320]
push str.DeviceType
push eax
mov dword [ebp - 0x328], 1
call edi
cmp byte [ebp - 0x311], 5
jne 0x401a3b
mov eax, dword [ebp - 0x320]
lea ecx, [ebp - 0x330]
push ecx
lea edx, [ebp - 0x310]
push edx
push 0
push 0
push str.Driver
push eax
mov dword [ebp - 0x330], 0x104
call edi
test eax, eax
jne 0x401a3b
lea ecx, [ebp - 0x310]
push ecx
call fcn.004017c0
add esp, 4
or dword [ebp - 0x324], eax
mov edx, dword [ebp - 0x320]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x31c]
push 0x104
lea eax, [ebp - 0x108]
push eax
push esi
push ecx
call ebx
test eax, eax
je 0x401961
mov edx, dword [ebp - 0x31c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x32c]
mov ecx, dword [ebp - 0x318]
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
push ecx
call ebx
test eax, eax
je 0x401910
mov edi, dword [ebp - 0x324]
mov edx, dword [ebp - 0x318]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.004046ae
mov esp, ebp
pop ebp
ret

Function at 0x401ac0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
cmp dword [0x41234c], 4
jge 0x401ace
jmp fcn.004018a0
mov eax, 1
ret
Function at 0x401ba0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [str.SOFTWAREElaborate_BytesVirtualCloneDrive]
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401bef
push 4
lea edx, [ebp + 8]
push edx
push 4
push eax
mov eax, dword [ebp - 4]
push str.VCDDriveMask
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x401c00
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4110d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x41201c]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
or ecx, 0x20019
push ecx
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401cb3
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push pe_nt_image_headers32
lea edx, [ebp - 0x104]
push edx
push eax
mov eax, dword [ebp - 0x108]
push eax
call ebx
test eax, eax
jne 0x401c95
mov edi, edi
mov edx, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
push ecx
push edx
call fcn.00401c00
add esp, 8
test eax, eax
jne 0x401c95
mov ecx, dword [ebp - 0x108]
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
push 0
push ecx
call ebx
test eax, eax
je 0x401c60
mov edx, dword [ebp - 0x108]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x41201c]
push 0
push eax
call fcn.00401b30
add esp, 8
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004046ae
mov esp, ebp
pop ebp
ret

Function at 0x401d50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x412354], 0
mov dword [0x411068], 0
je 0x401db5
mov ecx, dword [str.SOFTWAREElaborate_BytesVirtualCloneDrive]
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401db5
lea edx, [ebp - 8]
push edx
push 0x411068
push eax
push eax
mov eax, dword [ebp - 4]
push str.VirtualSheep
push eax
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x401dc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [str.SOFTWAREElaborate_BytesVirtualCloneDrive]
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push ecx
push 0x80000001
mov dword [0x412370], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401e1c
lea edx, [ebp - 8]
push edx
push 0x412370
push eax
push eax
mov eax, dword [ebp - 4]
push str.AutoMount
push eax
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x401e20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [str.SOFTWAREElaborate_BytesVirtualCloneDrive]
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push ecx
push 0x80000001
mov dword [0x41106c], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401e7c
lea edx, [ebp - 8]
push edx
push 0x41106c
push eax
push eax
mov eax, dword [ebp - 4]
push str.ShowTrayIcon
push eax
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x401e80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [str.SOFTWAREElaborate_BytesVirtualCloneDrive]
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401ed2
lea edx, [ebp - 8]
push edx
push 0x412338
push eax
push eax
mov eax, dword [ebp - 4]
push str.Version
push eax
mov dword [ebp - 8], 0x14
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x402040
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x4110d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x402078
push eax
push ecx
push 0x412128
lea eax, [ebp - 0x414]
push 0x40d4fc
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
jmp 0x402093
push ecx
push 0x412128
lea ecx, [ebp - 0x414]
push 0x40d4ec
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0x44
lea edx, [ebp - 0x46c]
push 0
push edx
call fcn.00404750
add esp, 0xc
xor eax, eax
lea ecx, [ebp - 0x428]
push ecx
lea edx, [ebp - 0x46c]
push edx
push eax
push eax
push 0x8000000
push eax
push eax
push eax
mov word [ebp - 0x43c], ax
lea eax, [ebp - 0x414]
push eax
push 0
mov dword [ebp - 0x46c], 0x44
mov dword [ebp - 0x440], 0x80
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x402174
mov ecx, dword [ebp - 0x424]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0x418], 0
je 0x402135
mov edx, dword [ebp - 0x428]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x428]
lea eax, [ebp - 0x418]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test esi, esi
je 0x402156
mov edx, dword [ebp - 0x428]
mov eax, dword [ebp - 0x418]
mov dword [esi], edx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004046ae
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x428]
push eax
call edi
mov eax, dword [ebp - 0x418]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004046ae
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
or eax, 0xffffffff
call fcn.004046ae
mov esp, ebp
pop ebp
ret
Function at 0x402190
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x674
mov eax, dword [0x4110d0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x412012], 0
mov eax, dword [ebp + 8]
push esi
je 0x40220a
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x104
lea ecx, [ebp - 0x61c]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call esi
push 0x104
lea edx, [ebp - 0x414]
push edx
push 0xffffffffffffffff
push edi
push 0
push 0
call esi
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x61c]
push ecx
mov esi, ebx
lea ecx, [ebp - 0x414]
call fcn.00402040
add esp, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004046ae
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x40222c
push eax
push edi
push 0x412020
lea edx, [ebp - 0x20c]
push str.__s_s___s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x402247
push edi
push 0x412020
lea eax, [ebp - 0x20c]
push str.__s_s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x44
lea ecx, [ebp - 0x674]
push 0
push ecx
call fcn.00404750
add esp, 0xc
xor edx, edx
lea eax, [ebp - 0x630]
push eax
lea ecx, [ebp - 0x674]
push ecx
push edx
push edx
push 0x8000000
push edx
push edx
push edx
mov word [ebp - 0x644], dx
lea edx, [ebp - 0x20c]
push edx
push 0
mov dword [ebp - 0x674], 0x44
mov dword [ebp - 0x648], 0x80
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x402327
mov eax, dword [ebp - 0x62c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0x620], 0
je 0x4022e8
mov ecx, dword [ebp - 0x630]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x630]
lea edx, [ebp - 0x620]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test ebx, ebx
je 0x402309
mov ecx, dword [ebp - 0x630]
mov eax, dword [ebp - 0x620]
mov dword [ebx], ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004046ae
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x630]
push edx
call esi
mov eax, dword [ebp - 0x620]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004046ae
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
or eax, 0xffffffff
pop esi
call fcn.004046ae
mov esp, ebp
pop ebp
ret

Function at 0x402500
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push eax
lea ecx, [ebp - 8]
push 0x40d5a4
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
add esp, 0xc
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push ecx
push 0
mov dword [ebp - 4], edx
push 0
lea edx, [ebp - 8]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
mov esp, ebp
pop ebp
ret
Function at 0x402550
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4110d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xc]
push 0x40d5a8
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [ebp + 0xc]
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push edi
push 0
push 0
lea ecx, [ebp - 0xc]
push ecx
push esi
mov dword [ebp - 0x10], edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.004046ae
mov esp, ebp
pop ebp
ret

Function at 0x402600
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4110d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [str.SOFTWAREElaborate_BytesVirtualCloneDrive]
push ebx
push eax
push ecx
lea edx, [ebp - 0x108]
push str._s_u
push edx
xor bl, bl
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x108]
push ecx
push 0x80000001
mov byte [esi], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402695
lea edx, [ebp - 0x110]
push edx
push esi
push eax
push eax
mov eax, dword [ebp - 0x10c]
push 0x40d5b0
push eax
mov dword [ebp - 0x110], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402688
mov bl, 1
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004046ae
mov esp, ebp
pop ebp
ret

Function at 0x4026b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4110d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [str.SOFTWAREElaborate_BytesVirtualCloneDrive]
push ebx
push eax
push ecx
lea edx, [ebp - 0x108]
push str._s_u
push edx
xor bl, bl
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x10c]
push ecx
push 0x20019
xor eax, eax
push eax
lea edx, [ebp - 0x108]
push edx
push 0x80000001
mov word [esi], ax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402749
mov ecx, dword [ebp - 0x10c]
lea eax, [ebp - 0x110]
push eax
push esi
push 0
push 0
push str.LastMountedFile
push ecx
mov dword [ebp - 0x110], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40273c
mov bl, 1
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004046ae
mov esp, ebp
pop ebp
ret

Function at 0x402fd0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0x24
push 0x40d338
push 9
call fcn.00401690
add esp, 4
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x403004
push str.SoftwareElaborate_BytesVirtualCloneDriveLRU
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop ebp
ret
Function at 0x403010
Capabilities:
Create process on windows

Disassembly:
push 0x24
push 0x40d338
push 0xb
call fcn.00401690
add esp, 4
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x403048
push 1
push 0
push 0x40d708
push str.VCDMount.exe
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret

Function at 0x403100
Capabilities:
Create process on windows

Disassembly:
push 1
push 0
push 0
push str.VCDPrefs
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret
Function at 0x4033f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4110d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push esi
add al, 0x41
movsx esi, al
mov eax, dword [str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerDriveIcons]
push edi
push esi
push eax
lea ecx, [ebp - 0x108]
push str._s_c
push ecx
mov dword [ebp - 0x110], 0
call ebx
mov eax, dword [0x41201c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0x10
lea edx, [ebp - 0x10c]
push edx
or eax, 0xf003f
push eax
push 0
lea ecx, [ebp - 0x108]
push ecx
push 0x80000002
call edi
test eax, eax
jne 0x4034c1
mov ecx, dword [ebp - 0x10c]
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x110]
push eax
push 0
push 0
push str.VirtualCloneDrive
push ecx
mov dword [ebp - 0x114], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x10c]
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x110]
push eax
push 0
push 0
push str.VirtualCloneDrive2
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x110], 0
je 0x403524
mov ecx, dword [0x41201c]
mov edx, dword [str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerDriveIcons]
lea eax, [ebp - 0x10c]
push eax
or ecx, 0xf003f
push ecx
push 0
push edx
push 0x80000002
call edi
test eax, eax
jne 0x403524
push esi
lea eax, [ebp - 0x108]
push 0x40d7b0
push eax
call ebx
mov edx, dword [ebp - 0x10c]
lea ecx, [ebp - 0x108]
push ecx
push edx
call fcn.00401c00
mov eax, dword [ebp - 0x10c]
add esp, 0x14
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004046ae
mov esp, ebp
pop ebp
ret

Function at 0x40687a
Capabilities:
Encrypt data using rc4 prga
Inspect section memory permissions

Disassembly:
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.0040629d
add esp, 0xc
inc dword [ebp + 0xc]

Function at 0x406892
Capabilities:
Encrypt data using rc4 prga
Inspect section memory permissions

Disassembly:
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
invalid
Function at 0x409430
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46a91b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0045f140
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4094b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045ceed
mov eax, dword [eax]
push 0x4901d0
push eax
call fcn.0044f374
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045f3cb
test bl, bl
je 0x4094b2
push 0x4901d0
lea ecx, [esp + 0xc]
call fcn.0045f75b
push 0x493d4c
lea ecx, [esp + 0xc]
call fcn.0045f75b
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4094ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045f3cb
jmp 0x4095b9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x409572
lea edx, [esp + 0x7c]
push 0x493d48
push edx
call fcn.0044f374
add esp, 8
test eax, eax
je 0x409572
lea eax, [esp + 0x7c]
push 0x493d44
push eax
call fcn.0044f374
add esp, 8
test eax, eax
je 0x409572
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x409502
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0045f3cb
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x409db0
Capabilities:
Query or enumerate registry value

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