joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005f3d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100b46e0
push 0x10079d40
mov eax, dword fs:[0]
push eax
sub esp, 0x48c
mov eax, dword [0x100c230c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x498], eax
test eax, eax
je 0x1005f564
mov dword [ebp - 0x490], 0
xor eax, eax
mov word [ebp - 0x234], ax
push 0x208
push eax
lea ecx, [ebp - 0x232]
push ecx
call fcn.10079c60
add esp, 0xc
push 0x104
lea edx, [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.powrprof.dll
lea eax, [ebp - 0x234]
push eax
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
call ebx
lea ecx, [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 0x494], esi
test esi, esi
je 0x1005f55e
push str.GetPwrCapabilities
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x1005f557
mov byte [ebp - 0x48c], 0
push 0x4b
push 0
lea edx, [ebp - 0x48b]
push edx
call fcn.10079c60
add esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x48c]
push eax
call edi
test al, al
je 0x1005f538
cmp byte [ebp - 0x484], 1
jne 0x1005f538
push 0x208
push 0
lea ecx, [ebp - 0x43c]
push ecx
call fcn.10079c60
add esp, 0xc
push 0x104
lea edx, [ebp - 0x43c]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1005f538
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
push str.hiberfil.sys
lea ecx, [ebp - 0x43c]
push ecx
call ebx
mov edi, dword [ebp - 0x498]
lea ecx, [ebp - 0x43c]
call fcn.10061270
test eax, eax
je 0x1005f538
mov dword [ebp - 0x490], 1
mov dword [ebp - 4], 0xfffffffe
jmp 0x1005f557
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x490]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.100755ed
mov esp, ebp
pop ebp
ret 4

Function at 0x1005f720
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
push esi
xor esi, esi
mov dword [esp + 0x14], esi
cmp ecx, esi
je 0x1005f792
cmp word [ecx], si
je 0x1005f792
cmp edi, esi
je 0x1005f792
cmp word [edi], si
je 0x1005f792
cmp ebp, esi
je 0x1005f792
cmp ebx, esi
je 0x1005f792
mov eax, 0x20019
cmp dword [edx + 8], esi
je 0x1005f755
mov eax, 0x20119
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x14]
push esi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1005f792
mov edx, dword [esp + 0x14]
push ebx
push ebp
lea ecx, [esp + 0x18]
push ecx
push esi
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1005f787
lea esi, [eax + 1]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
ret 0xc
Function at 0x1005f7a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
push esi
xor esi, esi
mov dword [esp + 0x14], esi
cmp eax, esi
je 0x1005f812
cmp word [eax], si
je 0x1005f812
cmp edi, esi
je 0x1005f812
cmp word [edi], si
je 0x1005f812
cmp ebp, esi
je 0x1005f812
cmp ebx, esi
je 0x1005f812
mov ecx, 0xf003f
cmp dword [edx + 8], esi
je 0x1005f7d5
mov ecx, 0xf013f
lea edx, [esp + 0x14]
push edx
push ecx
push esi
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1005f812
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ebx
push ebp
push ecx
push esi
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1005f807
lea esi, [eax + 1]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
ret 0xc
Function at 0x10061120
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x1009a210
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100c230c]
xor eax, esp
mov dword [esp + 0x48], eax
push esi
push edi
mov eax, dword [0x100c230c]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [esp + 0x68]
xor esi, esi
xor edi, edi
cmp eax, esi
je 0x1006124b
cmp word [eax], si
je 0x1006124b
cmp ebx, esi
je 0x1006124b
lea ecx, [esp + 0x1c]
call fcn.10006660
mov dword [esp + 0x60], esi
xor eax, eax
push 3
mov word [esp + 0x40], ax
push 4
lea eax, [esp + 0x24]
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], esi
call fcn.100073a0
mov byte [esp + 0x60], 2
cmp dword [esp + 0x34], 8
jb 0x100611bb
mov ecx, dword [esp + 0x20]
push ecx
call fcn.100755e2
add esp, 4
mov eax, dword [esp + 0x3c]
xor edx, edx
cmp dword [esp + 0x50], 8
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], dx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
jae 0x100611ed
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x1006121c
mov eax, dword [esp + 0xc]
imul eax, dword [esp + 0x10]
mov edi, 1
mov dword [ebx], eax
mov dword [esp + 0x60], 0xffffffff
cmp dword [esp + 0x50], 8
jb 0x10061238
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.100755e2
add esp, 4
xor edx, edx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], esi
mov word [esp + 0x3c], dx
mov eax, edi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.100755ed
add esp, 0x58
ret 4
Function at 0x100623a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebp
xor ebp, ebp
mov dword [esp + 4], ebp
mov eax, 0x20019
cmp dword [ecx + 0x3084], ebp
je 0x100623bc
mov eax, 0x20119
lea edx, [esp + 4]
push edx
push eax
push ebp
push str.SOFTWAREMicrosoftWindows_SearchDatabasesWindows
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10062481
mov edx, dword [esp + 4]
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
lea eax, [esp + 0xc]
push eax
push ebp
lea ecx, [esp + 0x18]
push ecx
push ebp
push str.FileName
push edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call esi
test eax, eax
jne 0x10062475
mov eax, dword [esp + 0xc]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
push 0x100c49e4
neg ecx
or ecx, eax
push ecx
call fcn.10076988
add esp, 8
mov dword [edi], eax
cmp eax, ebp
je 0x10062475
lea ecx, [esp + 0xc]
push ecx
push eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push ebp
push str.FileName
push eax
call esi
test eax, eax
jne 0x10062461
mov ecx, dword [esp + 8]
push ecx
lea ebp, [eax + 1]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, ebp
pop ebp
add esp, 0xc
ret
mov ecx, dword [edi]
xor edx, edx
mov word [ecx], dx
mov eax, dword [edi]
push eax
call fcn.10076993
add esp, 4
mov dword [edi], ebp
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, ebp
pop ebp
add esp, 0xc
ret
Function at 0x100624d0
Capabilities:
Modify service
Query service status
Start service
Stop service

Disassembly:
sub esp, 0x2c
push ebx
push edi
xor eax, eax
xor ebx, ebx
push 0xf003f
push ebx
push ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
mov dword [esp + 0x14], edi
cmp edi, ebx
je 0x10062631
push esi
push 0xf01ff
push str.WSearch
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
cmp esi, ebx
je 0x10062618
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x10062618
cmp dword [esp + 0x20], 4
mov dword [esp + 0x14], 1
je 0x10062557
mov dword [esp + 0x14], ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
lea ecx, [esp + 0x10]
push ecx
push ebx
push ebx
push esi
mov dword [esp + 0x20], ebx
call ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10062617
mov eax, dword [esp + 0x10]
push 0x100c49e4
push eax
mov ebx, eax
call fcn.10076988
mov edi, eax
add esp, 8
test edi, edi
je 0x1006260f
lea edx, [esp + 0x10]
push edx
push ebx
push edi
push esi
call ebp
test eax, eax
je 0x10062606
mov eax, dword [edi + 4]
cmp eax, 2
je 0x100625cf
cmp eax, 3
je 0x100625cf
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 2
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
je 0x10062606
cmp dword [esp + 0x18], 0
je 0x100625f3
lea eax, [esp + 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x10062606
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov dword [esp + 0x14], 1
push edi
call fcn.10076993
add esp, 4
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
pop ebp
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
test esi, esi
je 0x10062628
push esi
call edi
pop esi
pop edi
mov eax, ebx
pop ebx
add esp, 0x2c
ret
pop edi
mov eax, ebx
pop ebx
add esp, 0x2c
ret

Function at 0x10062640
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push esi
xor esi, esi
mov dword [esp + 4], esi
mov dword [esp + 8], 1
mov eax, 0xf003f
cmp dword [ecx + 0x3084], esi
je 0x10062664
mov eax, 0xf013f
lea edx, [esp + 4]
push edx
push eax
push esi
push str.SOFTWAREMicrosoftWindows_Search
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100626ab
mov ecx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
push 4
push esi
push str.RebuildIndex
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x100626a0
lea esi, [eax + 1]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x10062990
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x828
mov eax, dword [0x100c230c]
xor eax, esp
mov dword [esp + 0x824], eax
push ebx
push ebp
mov ebp, dword [esp + 0x834]
push esi
xor esi, esi
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
mov eax, 0x20019
cmp dword [ebp + 0x3084], esi
je 0x100629cb
mov eax, 0x20119
lea ecx, [esp + 0x14]
push ecx
push eax
push esi
push str.SOFTWAREMicrosoftWindows_SearchCrawlScopeManagerWindowsSystemIndexWorkingSetRules
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10062b31
mov eax, 4
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push ecx
push esi
push str.ItemCount
push edx
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10062a7e
mov eax, dword [esp + 0x1c]
cmp eax, esi
jbe 0x10062a7e
mov dword [ebp + 0x3024], eax
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0x3a]
push ecx
mov word [esp + 0x3c], ax
call fcn.10079c60
add esp, 0xc
push esi
push str.SOFTWAREMicrosoftWindows_SearchCrawlScopeManagerWindowsSystemIndexWorkingSetRules
push str._s_d
mov ecx, 0x400
lea ebx, [esp + 0x3c]
call fcn.10001fd0
add esp, 0xc
push ebp
mov ecx, ebx
call fcn.100626c0
inc esi
cmp esi, dword [esp + 0x1c]
jb 0x10062a2d
mov dword [esp + 0x18], 1
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x3080], 0
jbe 0x10062b31
mov eax, dword [ebp + 0x307c]
mov ebx, dword [eax]
mov esi, dword [ebp + 0x3064]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], esi
lea esp, [esp]
mov edi, dword [ebp + 0x307c]
mov eax, dword [ebp + 0x3064]
test esi, esi
je 0x10062ac4
cmp esi, eax
je 0x10062ac9
call fcn.100759ec
cmp ebx, edi
je 0x10062b2b
test esi, esi
jne 0x10062b23
call fcn.100759ec
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x10062ae2
call fcn.100759ec
test esi, esi
jne 0x10062b27
call fcn.100759ec
cmp ebx, dword [esi + 0x18]
jne 0x10062af5
call fcn.100759ec
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
push ecx
push edx
push str._s:_d_
lea edi, [ebp + 0x3060]
call fcn.1000ffc0
add esp, 0xc
lea esi, [esp + 0x20]
call fcn.1000a600
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
jmp 0x10062ab0
mov eax, dword [esi]
jmp 0x10062ad8
mov esi, dword [esi]
jmp 0x10062aeb
mov eax, dword [esp + 0x18]
jmp 0x10062b33
mov eax, esi
mov ecx, dword [esp + 0x834]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100755ed
add esp, 0x828
ret 4
Function at 0x10063400
Capabilities:
Query service status

Disassembly:
sub esp, 0x1c
push ebx
xor eax, eax
push esi
push 0xf003f
push eax
push eax
xor ebx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x1006348e
push edi
push 0xf01ff
push str.WSearch
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x10063473
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x10063473
cmp dword [esp + 0x10], 4
jne 0x10063473
mov ecx, dword [esp + 0x2c]
mov ebx, 1
mov dword [ecx + 0x14], ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
test edi, edi
je 0x10063483
push edi
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x1c
ret 4
pop esi
mov eax, ebx
pop ebx
add esp, 0x1c
ret 4

Function at 0x100636d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push edi
mov ecx, esi
xor edi, edi
call fcn.10062640
test eax, eax
je 0x100636f8
call fcn.100624d0
test eax, eax
je 0x100636f8
mov dword [esi + 0x3030], 1
push 0
call fcn.10076dd4
add esp, 4
push 4
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 4
push str.wsfixtime
push 0x100a5f10
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
mov eax, 1
je 0x1006372f
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10063f00
Capabilities:
Get disk size

Disassembly:
sub esp, 0xe8
mov eax, dword [0x100c230c]
xor eax, esp
mov dword [esp + 0xe4], eax
xor eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0xf4]
push 0xc6
push eax
lea ecx, [esp + 0x2a]
push ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x2c], ax
call fcn.10079c60
movzx edx, word [esi]
push edx
push 0x100af604
mov ecx, 0x64
lea ebx, [esp + 0x34]
call fcn.10001fd0
add esp, 0x14
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x10063fac
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 8]
shrd ecx, edx, 0x14
mov dword [edi], ecx
mov ecx, dword [esp + 0xc]
shrd eax, ecx, 0x14
shr edx, 0x14
mov dword [ebp], eax
shr ecx, 0x14
mov eax, 1
jmp 0x10063fae
xor eax, eax
mov ecx, dword [esp + 0xec]
pop ebp
pop ebx
xor ecx, esp
call fcn.100755ed
add esp, 0xe8
ret 4
Function at 0x10063fd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10098e30
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x100c230c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], 1
mov eax, 4
mov dword [ebp - 0x20], eax
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x20]
push edx
push str.wsfixtime
push 0x100a5f10
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp eax, edi
jne 0x1006407e
mov dword [ebp - 4], edi
lea esi, [ebp - 0x44]
call fcn.1004fd70
push edi
mov eax, dword [ebp - 0x14]
push eax
lea esi, [ebp - 0x38]
call fcn.1004fdb0
mov ecx, esi
push ecx
lea esi, [ebp - 0x2c]
lea eax, [ebp - 0x44]
call fcn.100477e0
cmp dword [ebp - 0x24], edi
jne 0x10064077
mov ecx, esi
call fcn.1004fd40
mov edx, dword [ebp + 8]
cmp eax, dword [edx + 0x305c]
jge 0x10064077
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10066fe0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10096578
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c230c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x34]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov edi, 0xf003f
call fcn.1006c390
mov eax, dword [eax + 0x24]
cmp eax, 1
jne 0x10067030
mov edi, 0xf013f
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x34]
push eax
push edi
push ebx
push ebp
push ecx
mov dword [esp + 0x48], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x10067063
mov esi, dword [esp + 0x34]
and edi, 0x300
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
jmp 0x10067092
mov esi, 0xf003f
call fcn.1006c390
cmp dword [eax + 0x24], 1
jne 0x10067078
mov esi, 0xf013f
mov edx, dword [esp + 0x30]
push edx
mov eax, esi
mov edx, ebp
lea esi, [esp + 0x1c]
call fcn.1001bc70
mov esi, dword [esp + 0x18]
cmp eax, ebx
jne 0x100670cd
mov edi, dword [esp + 0x38]
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [esp + 0x3c]
push 4
lea ecx, [esp + 0x34]
push ecx
push 4
push ebx
push edi
push esi
mov dword [esp + 0x48], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, ebx
je 0x100670c9
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], 0xffffffff
cmp esi, ebx
je 0x100670e4
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
Function at 0x10067100
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x10096548
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c230c]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
mov esi, 0xf003f
call fcn.1006c390
cmp dword [eax + 0x24], 1
jne 0x10067154
mov esi, 0xf013f
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x14]
push eax
push esi
push ebx
push ecx
push edx
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
jne 0x100671c4
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x3c]
push edx
push ebx
push eax
mov dword [esp + 0x30], edi
and esi, 0x300
mov dword [esp + 0x34], ebx
push edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x50], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp edi, ebx
je 0x100671c0
push edi
call ebp
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
mov esi, dword [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
cmp edi, ebx
je 0x100671db
push edi
call ebp
mov dword [esp + 0x1c], ebx
mov eax, esi
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0xc

Function at 0x10067200
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x10096578
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c230c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov esi, 0xf003f
call fcn.1006c390
cmp dword [eax + 0x24], 1
jne 0x1006724c
mov esi, 0xf013f
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x14]
push eax
push esi
push ebx
push ecx
push edx
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
jne 0x100672a4
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x14]
push eax
mov dword [esp + 0x1c], edi
and esi, 0x300
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp edi, ebx
je 0x100672a0
push edi
call ebp
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], 0xffffffff
cmp edi, ebx
je 0x100672b7
push edi
call ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc
Function at 0x10067970
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009b700
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x100c230c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [esi + 4]
test edi, edi
jne 0x100679bd
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x14]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push edi
call fcn.10027b20
mov eax, dword [eax]
test eax, eax
je 0x100679f3
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0x10]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
test edx, edx
je 0x100679f3
push 1
add ecx, edi
call edx
cmp dword [esi + 8], 0
je 0x100679a6
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x100a5e90
call fcn.10002500
mov dword [esp + 0x40], 0
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push edx
push eax
push str._d__d
lea edi, [esp + 0x1c]
call fcn.1000ffc0
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + 0x18]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
call fcn.10002500
mov byte [esp + 0x40], 1
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [ecx + ecx + 2]
push ecx
push eax
push 1
push 0x100a5ee0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push 0
call fcn.10076dd4
mov ecx, dword [esp + 0x14]
add esp, 4
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 4
push 0x100a5ed4
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x38], edx
call esi
mov byte [esp + 0x40], 0
lea ecx, [esp + 0x14]
call fcn.100025b0
mov dword [esp + 0x40], 0xffffffff
mov ecx, edi
call fcn.100025b0
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4