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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45279e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov dword [ebp - 0x20], ecx
push 0
push str.ReFfInS_U
call fcn.0041a110
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4194c3
jmp 0x419567
push 0
push str.ReFfInS
call fcn.0041a110
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4194dd
jmp 0x419567
lea ecx, [ebp - 0x14]
call fcn.0043d7b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString_2
mov byte [ebp - 4], 1
push 0
push str.MtdAcqU.exe
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0043fe33
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::operator_1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CString::CString
push 1
push 0
push 0x462670
lea ecx, [ebp - 0x18]
call fcn.00402b00
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0043d7be
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x41a20b
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov dword [ebp - 0x2b8], ecx
push 0x2b4
push 0
lea eax, [ebp - 0x2b4]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x4001
push 0x2b4
lea ecx, [ebp - 0x2b4]
push ecx
push 0
push 0x462728
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esp, ebp
pop ebp
ret
Function at 0x41d31a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x100
jne 0x41d40b
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x48]
call fcn.0041f020
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41d380
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0xd
je 0x41d359
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0x1b
jne 0x41d37e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
push 0x100
mov ecx, dword [ebp - 4]
call fcn.00417200
mov eax, 1
jmp 0x41d417
jmp 0x41d3a1
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x48]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
cmp edx, dword [eax + 0x20]
jne 0x41d3a1
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0x2e
jne 0x41d3a1
mov ecx, dword [ebp - 8]
call fcn.0041ec61
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x48]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp ecx, dword [edx + 0x20]
jne 0x41d40b
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0x41
jne 0x41d40b
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
and eax, 0x8000
test eax, eax
je 0x41d40b
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xffff
and edx, 0xffff
and edx, 0x4000
test edx, edx
jne 0x41d40b
push 0
push 0x5849
push 0x111
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x54]
call fcn.00417230
mov eax, 1
jmp 0x41d417
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 8]
call sub.MFC42u.DLL_CWnd::PreTranslateMessage
mov esp, ebp
pop ebp
ret 4

Function at 0x421f33
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452ccc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x14]
call fcn.0043d7b0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push 4
push str.FirstLaunch
push 3
push 0x80000001
lea ecx, [ebp - 0x14]
call fcn.0043de11
mov dword [ebp - 0x10], 1
push 0
lea ecx, [ebp - 0x10]
push ecx
push 4
push str.DisplaySettingPageUponFirstLaunch
push 3
push 0x80000002
lea ecx, [ebp - 0x14]
call fcn.0043dc91
cmp dword [ebp - 0x10], 0
jne 0x421fce
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0043d7be
mov eax, dword [ebp - 0x18]
jmp 0x422033
push 1
push 0
call fcn.00417670
mov edx, dword [eax + 0x74]
push edx
push 0
push str.CTQSWizU.exe
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0043fe33
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
call fcn.00402b00
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CString::CString
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0043d7be
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x43dbfc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
push 1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0xc], 0
jne 0x43dc33
xor eax, eax
jmp 0x43dc8b
cmp dword [ebp + 0x14], 4
jne 0x43dc42
mov dword [ebp - 4], 4
jmp 0x43dc57
cmp dword [ebp + 0x14], 3
jne 0x43dc50
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 4], eax
jmp 0x43dc57
mov dword [ebp - 4], 0x104
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0x18]
push edx
lea eax, [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43dc7e
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x18
Function at 0x43dc91
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], 0
mov dword [ebp - 8], 0
push 0x46778c
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp + 0xc], 1
jne 0x43dce0
push 0x4677d8
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x43dd84
cmp dword [ebp + 0xc], 2
jne 0x43dcfd
push 0x4677ec
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x43dd84
cmp dword [ebp + 0xc], 3
jne 0x43dd17
push 0x467800
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x43dd84
cmp dword [ebp + 0xc], 4
jne 0x43dd31
push 0x467820
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x43dd84
cmp dword [ebp + 0xc], 5
jne 0x43dd4b
push 0x467830
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x43dd84
cmp dword [ebp + 0xc], 6
jne 0x43dd7d
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths_
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [ebp + 0x10], 0
jmp 0x43dd84
xor eax, eax
jmp 0x43de0b
lea eax, [ebp - 0x214]
push eax
push 1
push 0
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x214], 0
jne 0x43ddad
xor eax, eax
jmp 0x43de0b
cmp dword [ebp + 0x14], 4
jne 0x43ddbc
mov dword [ebp - 4], 4
jmp 0x43ddd1
cmp dword [ebp + 0x14], 3
jne 0x43ddca
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 4], eax
jmp 0x43ddd1
mov dword [ebp - 4], 0x104
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0x18]
push edx
lea eax, [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43ddfb
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x18
Function at 0x43de11
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], 0
push str.SoftwareCreative_TechMediaSource_U_
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp + 0xc], 1
jne 0x43de56
push str.Playback
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x43dec5
cmp dword [ebp + 0xc], 2
jne 0x43de70
push str.Recording
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x43dec5
cmp dword [ebp + 0xc], 3
jne 0x43de8a
push str.PlayerOrganizer
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x43dec5
cmp dword [ebp + 0xc], 4
jne 0x43dea4
push str.Ripping
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x43dec5
cmp dword [ebp + 0xc], 5
jne 0x43debe
push str.PlaybackFileType
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x43dec5
xor eax, eax
jmp 0x43df55
push 0
lea eax, [ebp - 0x210]
push eax
push 0
push 2
push 0
push 0
push 0
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [ebp - 0x210], 0
jne 0x43def6
xor eax, eax
jmp 0x43df55
cmp dword [ebp + 0x14], 4
jne 0x43df05
mov dword [ebp - 4], 4
jmp 0x43df24
cmp dword [ebp + 0x14], 3
jne 0x43df13
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 4], eax
jmp 0x43df24
mov ecx, dword [ebp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret 0x18
Function at 0x43fde3
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
mov dword [ebp - 0x2bc], ecx
mov dword [ebp - 0x2b8], 0
push 0x200
push 0x2b4
lea eax, [ebp - 0x2b4]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x43fe27
mov dword [ebp - 0x2b8], 1
mov eax, dword [ebp - 0x2b8]
mov esp, ebp
pop ebp
ret 4

Function at 0x43ff04
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x114], 0x114
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je 0x43ff56
cmp dword [ebp - 0x110], 6
jb 0x43ff56
mov dword [ebp - 0x11c], 1
mov eax, dword [ebp - 0x11c]
mov esp, ebp
pop ebp
ret

Function at 0x442310
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
mov dword [eax], 1
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x24], 0
jne 0x442338
mov edx, dword [ebp + 8]
mov dword [edx], 1
xor eax, eax
jmp 0x4423ae
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareCreative_TechSpeaker_Selection_
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4423ac
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 4
mov dword [ebp - 8], 1
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push str.NoShow
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4423a2
xor edx, edx
cmp dword [ebp - 8], 0
sete dl
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x44ed23
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov dword [ebp - 0x218], ecx
mov eax, dword [ebp - 0x218]
cmp dword [eax + 4], 0
je 0x44ed43
jmp 0x44ee81
push str.PopupMu.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x218]
cmp dword [edx + 4], 0
jne 0x44ee4a
mov word [ebp - 0x208], 0
lea eax, [ebp - 0x214]
push eax
push 0x20019
push 0
push 0x46847c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
jne 0x44ee4a
mov dword [ebp - 0x20c], 0x208
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x208]
push edx
push 0
push 0
push 0x4684cc
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
jne 0x44ee3d
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
xor edx, edx
mov dx, word [ebp + eax*2 - 0x20a]
cmp edx, 0x5c
je 0x44ee12
push 0x4684d8
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
push 0x4684dc
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x218]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x218]
cmp dword [ecx + 4], 0
je 0x44ee81
push str.CallPopupMenu
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 8], eax
mov esp, ebp
pop ebp
ret
Function at 0x44f941
Capabilities:
Get common file path
Query or enumerate registry value
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov dword [ebp - 0x620], ecx
mov eax, dword [ebp - 0x620]
cmp dword [eax + 4], 0
je 0x44f961
jmp 0x44fb39
push str.CTThemeu.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x620]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x620]
cmp dword [edx + 4], 0
jne 0x44fb02
push 0x104
push 0
lea eax, [ebp - 0x410]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov word [ebp - 0x410], 0
lea ecx, [ebp - 0x41c]
push ecx
push 0x20019
push 0
push 0x468830
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
jne 0x44fab0
mov dword [ebp - 0x414], 0x208
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x410]
push eax
push 0
push 0
push 0x468880
mov ecx, dword [ebp - 0x41c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
jne 0x44faa1
lea edx, [ebp - 0x410]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
xor ecx, ecx
mov cx, word [ebp + eax*2 - 0x412]
cmp ecx, 0x5c
je 0x44fa4a
push 0x46888c
lea edx, [ebp - 0x410]
push edx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
lea eax, [ebp - 0x208]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [ebp - 0x410]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x468890
lea edx, [ebp - 0x410]
push edx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x620]
mov dword [ecx + 4], eax
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x41c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44fac4
push 0
push 0x4688ac
push str.RegOpenKeyEx___failed_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x620]
cmp dword [ecx + 4], 0
jne 0x44fb02
lea edx, [ebp - 0x410]
push edx
push str._s_load_failed_
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0xc
push 0
push str.Fatal_Error
lea ecx, [ebp - 0x61c]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0x620]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x620]
cmp dword [eax + 4], 0
je 0x44fb39
push str.CallThemeEngine
mov ecx, dword [ebp - 0x620]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x620]
mov dword [ecx + 8], eax
mov esp, ebp
pop ebp
ret
Function at 0x4500f9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov dword [ebp - 0x218], ecx
mov eax, dword [ebp - 0x218]
cmp dword [eax + 4], 0
jne 0x4502ac
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0x218]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x218]
mov dword [eax + 0x10], 0
push str.ThmResu.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x218]
cmp dword [edx + 4], 0
jne 0x450246
mov word [ebp - 0x208], 0
lea eax, [ebp - 0x214]
push eax
push 0x20019
push 0
push str.SoftwareCreative_TechThemeVersion_1
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
jne 0x450230
mov dword [ebp - 0x20c], 0x208
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x208]
push edx
push 0
push 0
push str.Path
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
jne 0x450223
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
xor edx, edx
mov dx, word [ebp + eax*2 - 0x20a]
cmp edx, 0x5c
je 0x45020e
push 0x4689f4
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
push 0x4689f8
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x218]
cmp dword [edx + 4], 0
je 0x4502ac
push str.GetResource
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x218]
mov dword [edx + 8], eax
push str.GetResourceByID
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x218]
mov dword [edx + 0xc], eax
push str.CallFunction
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x218]
mov dword [edx + 0x10], eax
mov esp, ebp
pop ebp
ret
Function at 0x710417b0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebx
mov ebx, edx
sub esp, 0x70
mov word [ebp - 0x32], ax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x3e], 0x5c005c
mov dword [ebp - 0x3a], 0x5c002e
mov dword [ebp - 0x36], 0x3a0041
mov dword [ebp - 0x48], 0x20000000
mov dword [ebp - 0x44], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetDiskFreeSpaceExW]
movzx eax, word [esi]
sub esp, 0x10
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov word [ebp - 0x36], ax
lea eax, [ebp - 0x3e]
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x80000000
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x710418a7
mov esi, eax
mov dword [esp + 0x1c], 0
lea eax, [ebp - 0x4c]
mov dword [esp + 0x14], 0x28
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x30]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x700a0
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_DeviceIoControl]
sub esp, 0x20
test eax, eax
jne 0x710418b8
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x7104189b

Function at 0x710418d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
lea ebx, [ebp - 0x212]
sub esp, 0x234
mov dword [esp + 0x1c], 0x105
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetVolumeInformationW]
sub esp, 0x20
test eax, eax
jne 0x71041940
mov dword [esp], str.NTFS
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x71041950
Capabilities:
Get disk information

Disassembly:
push ebp
mov edx, eax
mov ecx, 0x82
xor eax, eax
mov ebp, esp
push edi
lea edi, [ebp - 0x212]
sub esp, 0x234
rep stosd dword es:[edi], eax
xor eax, eax
mov word [edi], ax
lea edi, [ebp - 0x212]
mov dword [esp + 4], edi
mov dword [esp], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x105
call dword [sym.imp.kernel32.dll_GetVolumeInformationW]
sub esp, 0x20
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov edi, dword [ebp - 4]
leave
ret
Function at 0x71041ac0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
lea eax, [ebp - 0x24]
sub esp, 0x4c
mov dword [ebp - 0x24], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersion
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne 0x71041b68
lea eax, [ebp - 0x1c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x24]
lea edi, [ebp - 0x20]
mov dword [esp + 0x14], edi
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
mov eax, dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov dword [ebp - 0x2c], eax
call eax
sub esp, 0x18
test eax, eax
jne 0x71041b68
cmp dword [ebp - 0x1c], 1
mov edx, dword [ebp - 0x24]
je 0x71041b70
xor esi, esi
test edx, edx
je 0x71041b59
mov dword [esp], edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp - 0x24]
jmp 0x71041b47
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], edx
lea ecx, [eax + 2]
mov dword [esp], ecx
mov dword [ebp - 0x30], ecx
call dword [sym.imp.ucrtbase.dll_malloc]
mov ecx, dword [ebp - 0x30]
test eax, eax
mov edx, dword [ebp - 0x34]
mov esi, eax
je 0x71041b68
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], edx
mov dword [ebp - 0x20], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
call eax
mov edx, dword [ebp - 0x24]
sub esp, 0x18
test eax, eax
je 0x71041b49
mov dword [esp], esi
xor esi, esi
call dword [sym.imp.ucrtbase.dll_free]
mov edx, dword [ebp - 0x24]
jmp 0x71041b49