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

Disassembly:
push 0x64
mov eax, 0x454c75
call fcn.0043cf0a
push str.InstallProductExe...
lea ecx, [ebp - 0x14]
call fcn.0040215a
xor esi, esi
push esi
lea eax, [ebp - 0x14]
xor edi, edi
push eax
inc edi
push edi
mov dword [ebp - 4], esi
call fcn.0040e50d
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
push str.___file__
lea ecx, [ebp - 0x14]
call fcn.0040215a
push esi
mov dword [ebp - 4], edi
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.0040e087
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025e7
push str.___args__
lea ecx, [ebp - 0x14]
call fcn.0040215a
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
push edi
mov dword [ebp - 4], 2
call fcn.0040e087
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025e7
push dword [ebp + 8]
call fcn.004286a1
pop ecx
test eax, eax
jne 0x416d6a
push 0xd
pop eax
jmp 0x416e8c
mov edi, dword [0x48bae8]
cmp edi, esi
je 0x416d8f
mov ecx, dword [ebp + 0xc]
push str._ARM
call fcn.0040b384
test eax, eax
je 0x416d8f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x178]
push 0x44
pop edi
push edi
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.0043b400
add esp, 0xc
push 0x10
lea eax, [ebp - 0x24]
push esi
push eax
mov dword [ebp - 0x70], edi
call fcn.0043b400
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x460b48
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.004088df
add esp, 0xc
push dword [ebp + 0xc]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00401e40
add esp, 0xc
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025e7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x70]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
inc eax
push eax
lea ecx, [ebp - 0x10]
call fcn.0041767c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x416e42
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 8], eax
cmp dword [ebp - 0x24], esi
je 0x416e36
push dword [ebp - 0x24]
call edi
cmp dword [ebp - 0x20], esi
je 0x416e60
push dword [ebp - 0x20]
call edi
jmp 0x416e60
push 0xffffffffffffffff
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00408a9c
cmp dword [ebp - 0x24], esi
je 0x416e74
push dword [ebp - 0x24]
call edi
cmp dword [ebp - 0x20], esi
je 0x416e7e
push dword [ebp - 0x20]
call edi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025e7
mov eax, dword [ebp + 8]
call fcn.0043cfe2
ret 8
Function at 0x417c21
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x486d50]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
je 0x417ca5
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x417ca5
and dword [ebp - 0x258], 0
push 0x24c
lea eax, [ebp - 0x254]
push 0
push eax
call fcn.0043b400
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x417ca5
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp ebx, 0xffffffff
je 0x417c88
cmp dword [ebp - 0x238], ebx
jne 0x417ca5
push esi
call fcn.00417756
pop ecx
test eax, eax
je 0x417ca5
cmp ebx, 0xffffffff
jne 0x417ca0
mov eax, dword [ebp - 0x238]
jmp 0x417ca7
xor eax, eax
inc eax
jmp 0x417ca7
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a688
leave
ret
Function at 0x41c493
Capabilities:
Reference sql statements

Disassembly:
push 0x14
mov eax, 0x455ba6
call fcn.0043cf0a
push 0x48b9b0
lea ecx, [ebp - 0x1c]
call fcn.0040219e
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
push str.SELECT__FileSequences__FROM__ProductUpgrades__WHERE__UpgradeMatch_
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0040215a
mov byte [ebp - 4], 3
mov ebx, dword [ebp - 0x1c]
push dword [ebx - 0xc]
lea ecx, [ebp - 0x18]
push ebx
call fcn.00401f90
push 0x473a40
lea eax, [ebp - 0x18]
push eax
call fcn.0040cf56
cmp dword [ebp - 0x10], edi
je 0x41c4f6
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0x18]
mov dword [ebp - 0x10], edi
push eax
call sub.msi.dll_MsiEnumClientsA
cmp eax, edi
je 0x41c577
push str.MDOV
lea ecx, [ebp + 8]
call fcn.0040215a
mov byte [ebp - 4], 4
mov esi, 0x3d32
push esi
lea eax, [ebp + 8]
push eax
push 1
call fcn.0040e50d
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025e7
cmp dword [ebp - 0x14], edi
je 0x41c558
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], edi
je 0x41c565
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea ecx, [ebx - 0x10]
call fcn.004025e7
mov eax, esi
call fcn.0043cfe2
ret 8
push edi
push dword [ebp - 0x10]
call sub.msi.dll_MsiViewModify
cmp eax, edi
je 0x41c597
push 0x473d24
lea ecx, [ebp + 8]
call fcn.0040215a
mov byte [ebp - 4], 5
jmp 0x41c521
cmp dword [ebp - 0x14], edi
je 0x41c5a4
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x14], edi
call sub.msi.dll_MsiDatabaseIsTablePersistentA
test eax, eax
jne 0x41c5c7
push dword [ebp + 0xc]
push 1
push dword [ebp - 0x14]
call fcn.00428a06
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025e7
cmp dword [ebp - 0x14], edi
je 0x41c5df
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], edi
je 0x41c5ec
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
xor esi, esi
jmp 0x41c565
Function at 0x41dd36
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_FindWindowExW]
xor ebx, ebx
push ebx
push str.Shell_TrayWnd
push ebx
push ebx
call edi
cmp eax, ebx
je 0x41dd6f
push ebx
push str.TrayNotifyWnd
push ebx
push eax
call edi
cmp eax, ebx
je 0x41dd6f
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x41de2b
lea eax, [ebp - 0x24]
push eax
push 5
mov dword [ebp - 0x24], 0x24
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x41ddcf
mov eax, dword [ebp - 0x18]
sub eax, ebx
je 0x41ddb3
dec eax
je 0x41dd9a
dec eax
je 0x41ddb3
dec eax
jne 0x41de2b
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0xc]
lea ecx, [eax - 0x64]
mov dword [esi], ecx
add eax, 0xfffffff0
jmp 0x41ddca
mov eax, dword [ebp - 8]
lea ecx, [eax - 0x64]
add eax, 0xfffffff0
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
jmp 0x41de2b
push ebx
push str.Shell_TrayWnd
push ebx
push ebx
call edi
cmp eax, ebx
je 0x41de0d
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 8]
mov ecx, eax
sub ecx, dword [esi]
cmp ecx, 0x96
jle 0x41ddfb
add eax, 0xffffff6a
mov dword [esi], eax
mov eax, dword [esi + 0xc]
mov ecx, eax
sub ecx, dword [esi + 4]
cmp ecx, 0x1e
jle 0x41de2b
add eax, 0xffffffe2
jmp 0x41de28
push ebx
push esi
push ebx
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esi + 8]
sub eax, 0x96
mov dword [esi], eax
mov eax, dword [esi + 0xc]
sub eax, 0x1e
mov dword [esi + 4], eax
pop edi
pop ebx
leave
ret
Function at 0x41df64
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x486d50]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 4
mov eax, 0x453003
call fcn.0043cf0a
mov eax, dword [ebp + 0x214]
push dword [eax]
mov esi, ecx
push 0x475374
push esi
call fcn.004086d4
test eax, eax
jne 0x41e068
call fcn.00429b48
push eax
lea ecx, [ebp - 0x10]
call fcn.0040fc71
and dword [ebp - 4], 0
mov edi, str._WindowsFolder_
push edi
xor ecx, ecx
call fcn.0040884e
or ebx, 0xffffffff
cmp eax, ebx
je 0x41dfcf
push 0x24
jmp 0x41e00c
mov edi, str._SystemFolder_
push edi
xor ecx, ecx
call fcn.0040884e
cmp eax, ebx
je 0x41dfe4
push 0x25
jmp 0x41e00c
mov edi, str._ProgramFilesFolder_
push edi
xor ecx, ecx
call fcn.0040884e
cmp eax, ebx
je 0x41dff9
push 0x26
jmp 0x41e00c
mov edi, str._CommonFilesFolder_
push edi
xor ecx, ecx
call fcn.0040884e
cmp eax, ebx
je 0x41e05d
push 0x2b
pop ebx
push edi
lea ecx, [ebp - 0x10]
call fcn.00402123
xor eax, eax
push 0x206
mov word [ebp], ax
xor edi, edi
lea eax, [ebp + 2]
push edi
push eax
call fcn.0043b400
add esp, 0xc
lea eax, [ebp]
push eax
push edi
push edi
push ebx
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x41e05d
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x41e05d
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
push esi
call fcn.004086d4
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0043a688
add ebp, 0x20c
leave
ret
Function at 0x41e398
Capabilities:
Enumerate gui resources

Disassembly:
push 0x29c
mov eax, 0x4549b5
call fcn.0043cf0a
push 0x48b964
lea ecx, [ebp - 0x20]
call fcn.0040219e
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0xffffffffffffffff
push ebx
mov ecx, 0x48ba94
mov dword [ebp - 0x1c], ebx
call fcn.0042bda5
cmp dword [0x48b928], ebx
mov dword [ebp - 0x14], ebx
jle 0x41e506
push dword [ebp - 0x14]
mov ecx, 0x48b920
call fcn.00415af3
mov esi, eax
mov eax, dword [esi]
cmp eax, ebx
je 0x41e4bc
cmp dword [eax + 0x20], ebx
jne 0x41e4bc
add eax, 8
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], ebx
call fcn.0040219e
push 0x4728c4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040b384
lea ecx, [ebp - 0x10]
test eax, eax
je 0x41e449
lea eax, [ebp - 0x20]
push eax
call fcn.0041df64
lea ecx, [ebp - 0x10]
mov dword [esp], 0x45ed08
call fcn.004089c0
mov eax, dword [esi]
add eax, 4
push eax
lea ecx, [ebp - 0x10]
call fcn.00401f30
jmp 0x41e454
mov eax, dword [esi]
add eax, 4
push eax
call fcn.00408b86
mov esi, dword [esi]
mov eax, dword [esi + 0x1c]
mov edi, dword [ebp - 0x10]
cmp eax, 4
jne 0x41e47d
xor esi, esi
push ebx
inc esi
lea eax, [ebp - 0x18]
push esi
push eax
mov ecx, edi
call fcn.0041e987
add esp, 0xc
test eax, eax
je 0x41e49e
mov dword [ebp - 0x1c], esi
jmp 0x41e49e
cmp eax, ebx
jne 0x41e4b1
push dword [esi + 4]
lea eax, [ebp - 0x18]
push ebx
push eax
mov ecx, edi
call fcn.0041e987
add esp, 0xc
test eax, eax
je 0x41e49e
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x18], ebx
je 0x41e4b1
push dword [ebp - 0x18]
push 0x41dec2
call dword [sym.imp.USER32.dll_EnumWindows]
lea ecx, [edi - 0x10]
mov byte [ebp - 4], bl
call fcn.004025e7
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x48b928]
jl 0x41e3d8
cmp dword [ebp - 0x1c], ebx
je 0x41e506
push dword [0x48bae8]
lea eax, [ebp - 0x2a8]
push eax
call fcn.00415413
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 2
call fcn.004353a1
lea ecx, [ebp - 0x2a8]
mov esi, eax
mov byte [ebp - 4], bl
call fcn.00415538
jmp 0x41e509
xor esi, esi
inc esi
cmp esi, 4
je 0x41e3b9
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004025e7
mov eax, esi
call fcn.0043cfe2
ret
Function at 0x41ec03
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x644
mov eax, dword [0x486d50]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
push dword [ebp + 8]
xor edi, edi
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x640], eax
cmp eax, 0xffffffff
jne 0x41ec3f
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.0043a688
leave
ret
lea ecx, [ebp - 0x63c]
push ecx
push eax
mov dword [ebp - 0x63c], 0x428
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x41ec6c
xor edi, edi
push dword [ebp - 0x640]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x41ec31
push 0x45ed08
push ebx
call fcn.0043b4ff
pop ecx
pop ecx
push dword [ebp + 8]
mov esi, eax
neg esi
push 0
sbb esi, esi
push 0x2000000
neg esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x644], eax
test esi, esi
jne 0x41eca5
push ebx
lea eax, [ebp - 0x61c]
push eax
jmp 0x41ecf5
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.0043b400
add esp, 0xc
cmp dword [ebp - 0x644], 0
je 0x41ed03
push 0x104
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x620]
push dword [ebp - 0x644]
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
jbe 0x41ed03
lea eax, [ebp - 0x214]
push eax
push ebx
call fcn.0043c636
mov edi, eax
neg edi
sbb edi, edi
pop ecx
inc edi
pop ecx
lea eax, [ebp - 0x63c]
push eax
push dword [ebp - 0x640]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
je 0x41ec5c
test edi, edi
je 0x41ec97
jmp 0x41ec5c
Function at 0x420262
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
je 0x4202b2
and dword [ebp + 8], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push dword [0x48b438]
push 0x80000002
call edi
test eax, eax
jne 0x4202b2
push esi
lea eax, [ebp + 8]
push eax
push str.iLogLevel
lea esi, [ebp - 4]
call fcn.0042434d
pop ecx
pop ecx
pop esi
test eax, eax
jne 0x4202b2
cmp dword [ebp + 8], 1
jae 0x4202e5
lea eax, [ebp + 8]
push eax
push 0xf003f
push 0
push dword [0x48b438]
push 0x80000001
call edi
test eax, eax
jne 0x4202e5
push str.CollectData
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
leave
ret

Function at 0x42036b
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45485d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x486d50]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4203de
push str.OpenProcessToken_failed_in_RebootOS.
lea ecx, [esp + 0x14]
call fcn.0040215a
and dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x14]
push eax
push 2
call fcn.0040e50d
mov ecx, dword [esp + 0x1c]
jmp 0x420470
lea eax, [esp + 0x20]
push eax
push str.SeShutdownPrivilege
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 2
pop edi
push esi
push esi
push esi
lea eax, [esp + 0x28]
push eax
push esi
push dword [esp + 0x2c]
xor ebx, ebx
inc ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], edi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x42043b
push str.AdjustTokenPrivileges_failed_in_RebootOS.
lea ecx, [esp + 0x14]
call fcn.0040215a
mov dword [esp + 0x38], ebx
call esi
push eax
lea eax, [esp + 0x14]
push eax
push edi
jmp 0x4203d0
push 0x80000001
push 0x12
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x42047b
push str.ExitWindowsEx_failed_in_RebootOS.
lea ecx, [esp + 0x18]
call fcn.0040215a
mov dword [esp + 0x38], edi
call esi
push eax
lea eax, [esp + 0x18]
push eax
push edi
call fcn.0040e50d
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x422005
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x486d50]
xor eax, ebp
mov dword [ebp + 0x3a4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, 0x208
push esi
mov word [ebp - 0x74], ax
xor ebx, ebx
lea eax, [ebp - 0x72]
push ebx
push eax
mov edi, ecx
call fcn.0043b400
xor eax, eax
push esi
mov word [ebp + 0x198], ax
lea eax, [ebp + 0x19a]
push ebx
push eax
call fcn.0043b400
add esp, 0x18
mov eax, 0x105
push eax
lea ecx, [ebp + 0x198]
push ecx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x78]
push ecx
push eax
lea eax, [ebp - 0x74]
push eax
push 0x476a18
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4220a0
push 0xa
push 0x104
push edi
push dword [ebp - 0x78]
call fcn.0043ba10
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x4220b6
push str.thsnYaViMRAeBoda
call fcn.0042234d
mov ecx, dword [ebp + 0x3a4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a688
add ebp, 0x3a8
leave
ret
Function at 0x423f41
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
test esi, esi
je 0x423f70
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 0xc]
add eax, 4
push eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x423f70
cmp dword [ebp + 0xc], 0
setne al
mov byte [esi], al
mov al, 1
jmp 0x423f72
xor al, al
pop ebp
ret 8

Function at 0x424226
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push dword [ebp + 0x10]
lea ecx, [ebp - 8]
xor esi, esi
call fcn.0040215a
mov eax, dword [ebp - 8]
mov edi, dword [eax - 0xc]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 8]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42428a
lea eax, [edi + edi]
push eax
push dword [ebp + 0x10]
push 1
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.004025e7
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x42429b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
lea eax, [ebp - 8]
push eax
push 0x20019
xor edi, edi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0xc], 1
push dword [ebp + 8]
mov dword [ebp - 4], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x424337
push esi
push 0x208
call fcn.0043ae6d
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
pop ecx
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 8]
call esi
mov ebx, eax
cmp ebx, 0xea
jne 0x424329
push edi
call fcn.0043ad90
mov eax, dword [ebp - 4]
add eax, eax
push eax
call fcn.0043ae6d
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 8]
call esi
mov ebx, eax
pop esi
test ebx, ebx
jne 0x424337
mov ecx, dword [ebp + 0x14]
push edi
call fcn.00402123
push edi
call fcn.0043ad90
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop ebx
leave
ret
Function at 0x424383
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov edi, 0x45ecb0
push edi
mov esi, 0x80000001
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push dword [ebp - 4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4243ef
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call ebx
test esi, esi
jne 0x4243ef
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4243f7
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0xf003f
xor esi, esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x424429
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
jne 0x424429
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x424774
Capabilities:
Check os version

Disassembly:
push 0x12c
mov eax, 0x4544a5
call fcn.0043cf73
mov esi, 0x11c
push esi
xor ebx, ebx
lea eax, [ebp - 0x130]
push ebx
push eax
xor edi, edi
call fcn.0043b400
add esp, 0xc
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
cmp eax, ebx
jne 0x4247cd
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 0x130], 0x114
call esi
cmp eax, ebx
je 0x4247d9
cmp dword [ebp - 0x12c], 6
jb 0x4247d9
xor edi, edi
inc edi
cmp byte [0x48bb05], bl
jne 0x42484d
cmp edi, ebx
je 0x42480f
push str.IsVistaOrLater_returns_1
lea ecx, [ebp - 0x138]
call fcn.0040215a
push ebx
lea eax, [ebp - 0x138]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.0040e50d
mov ecx, dword [ebp - 0x138]
jmp 0x42483b
push str.IsVistaOrLater_returns_0
lea ecx, [ebp - 0x134]
call fcn.0040215a
push ebx
lea eax, [ebp - 0x134]
push eax
push 2
mov dword [ebp - 4], 1
call fcn.0040e50d
mov ecx, dword [ebp - 0x134]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
mov byte [0x48bb05], 1
mov eax, edi
call fcn.0043cff6
ret
Function at 0x424855
Capabilities:
Check os version

Disassembly:
push 0x12c
mov eax, 0x454467
call fcn.0043cf73
mov esi, 0x11c
push esi
lea eax, [ebp - 0x130]
push 0
push eax
call fcn.0043b400
add esp, 0xc
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x4248ab
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 0x130], 0x114
call esi
test eax, eax
je 0x4248ee
cmp dword [ebp - 0x12c], 5
jne 0x4248ee
push str.IsXP_returns_1
lea ecx, [ebp - 0x134]
call fcn.0040215a
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x134]
push eax
push 2
call fcn.0040e50d
mov ecx, dword [ebp - 0x134]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
xor eax, eax
inc eax
jmp 0x4248f0
xor eax, eax
call fcn.0043cff6
ret

Function at 0x4248f6
Capabilities:
Get system information on windows

Disassembly:
push 0x2c
mov eax, 0x454441
call fcn.0043cf0a
push 8
pop ecx
xor esi, esi
xor eax, eax
mov dword [ebp - 0x34], esi
lea edi, [ebp - 0x30]
push str.kernel32.dll
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, esi
jne 0x42494e
push str.module_handle_is_NULL:_kernel32.dll
lea ecx, [ebp - 0x10]
call fcn.0040215a
push esi
lea eax, [ebp - 0x10]
push eax
push 1
mov dword [ebp - 4], esi
call fcn.0040e50d
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
xor eax, eax
jmp 0x424983
push str.GetNativeSystemInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x424966
lea ecx, [ebp - 0x34]
push ecx
call eax
jmp 0x424970
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], 9
je 0x42497e
cmp word [ebp - 0x34], 6
jne 0x424981
xor esi, esi
inc esi
mov eax, esi
call fcn.0043cfe2
ret