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

Disassembly:
sub esp, 0x41c
mov eax, dword [0x100c230c]
xor eax, esp
mov dword [esp + 0x418], eax
push edi
xor eax, eax
push 0x40e
mov edi, ecx
push eax
lea ecx, [esp + 0x16]
push ecx
mov dword [esp + 0x10], 0x208
mov dword [esp + 0x14], 0
mov word [esp + 0x18], ax
call fcn.10079c60
add esp, 0xc
lea edx, [esp + 4]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
call edi
cmp eax, 0xea
je 0x10058f97
test eax, eax
jne 0x10058f97
cmp dword [esp + 8], 1
jne 0x10058f97
lea edx, [esp + 4]
push edx
push ebx
lea eax, [esp + 0x10]
push eax
push 0
lea ecx, [esp + 0x1c]
push ecx
push esi
mov dword [esp + 0x1c], 0x410
call edi
test eax, eax
jne 0x10058f97
cmp dword [esp + 8], 1
jne 0x10058f97
cmp dword [esp + 4], eax
je 0x10058f97
mov eax, 1
pop edi
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.100755ed
add esp, 0x41c
ret
mov ecx, dword [esp + 0x41c]
pop edi
xor ecx, esp
xor eax, eax
call fcn.100755ed
add esp, 0x41c
ret
Function at 0x100597c0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x100c230c]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
xor ebx, ebx
test esi, esi
je 0x1005986d
cmp dword [esi + 4], 0x41434353
jne 0x1005986d
push pe_nt_image_headers32
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.10079c60
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1005986d
mov eax, dword [esp + 8]
cmp eax, 5
je 0x10059824
cmp eax, 6
jne 0x1005986d
cmp dword [esp + 0xc], 1
jne 0x1005986d
cmp eax, 5
jne 0x10059835
cmp dword [esi], 0x11
jmp 0x1005983d
cmp eax, 6
jne 0x1005983f
cmp dword [esi], 0x17
jne 0x1005986d
cmp edi, dword [esi + 0xc]
jne 0x1005986d
mov eax, dword [esi + 0x58]
test eax, eax
je 0x1005986d
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x54]
lea ecx, [eax + edx*4]
cmp ecx, edi
ja 0x1005986d
mov eax, dword [esi + 0x70]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x6c]
lea ecx, [eax + edx*8]
cmp ecx, edi
ja 0x1005986d
mov ebx, 1
mov ecx, dword [esp + 0x118]
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.100755ed
add esp, 0x118
ret
Function at 0x1005ba50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
or edi, 0xffffffff
test eax, eax
je 0x1005baa6
push esi
push eax
call fcn.1005c910
test eax, eax
je 0x1005ba74
xor edi, edi
cmp dword [esi + 8], 0
jne 0x1005baa6
push 0
call fcn.10076dd4
add esp, 4
push 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 4
push str.bfixtime
push 0x100a61f0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x1005bca0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10098f18
mov eax, dword fs:[0]
push eax
sub esp, 0x44
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
xor edi, edi
mov dword [ebp - 0x14], edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x18]
push eax
push 0x20019
push edi
push 0x100a618c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x1005bda8
mov dword [ebp - 0x24], edi
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x18], edi
mov esi, 4
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x20]
push eax
push edi
push 0x100a61c4
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x1005bda8
cmp dword [ebp - 0x20], esi
jne 0x1005bda8
mov byte [ebp - 4], 1
wait
push edi
mov ecx, dword [ebp - 0x18]
push ecx
lea esi, [ebp - 0x34]
call fcn.1004fdb0
lea esi, [ebp - 0x40]
call fcn.1004fd70
cmp dword [ebp - 0x2c], edi
jne 0x1005bd90
lea esi, [ebp - 0x34]
lea eax, [ebp - 0x40]
call fcn.1005bba0
test al, al
je 0x1005bd90
mov edx, esi
push edx
lea esi, [ebp - 0x4c]
lea eax, [ebp - 0x40]
call fcn.100477e0
mov ecx, esi
call fcn.1004fd00
fcomp qword [0x100b0a60]
fnstsw ax
test ah, 5
jp 0x1005bd90
mov dword [ebp - 0x14], 1
wait
mov dword [ebp - 4], edi
jmp 0x1005bda8
mov dword [ebp - 4], 0xffffffff
cmp ebx, edi
je 0x1005bdbd
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1005bde0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1009bd0b
mov eax, dword fs:[0]
push eax
sub esp, 0x690
mov eax, dword [0x100c230c]
xor eax, esp
mov dword [esp + 0x688], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c230c]
xor eax, esp
push eax
lea eax, [esp + 0x6a4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x6b4]
xor ebx, ebx
push 0x24c
lea eax, [esp + 0x44]
mov edi, ecx
push ebx
push eax
mov dword [esp + 0x28], edi
mov esi, edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x48], ebx
call fcn.10079c60
add esp, 0xc
push 0x206
lea edx, [esp + 0x49a]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x4a0], cx
call fcn.10079c60
mov eax, 8
add esp, 0xc
cmp dword [esi + 0x18], eax
jb 0x1005be76
mov esi, dword [esi + 4]
jmp 0x1005be79
add esi, 4
cmp dword [edi + 0x18], eax
jb 0x1005be83
mov eax, dword [edi + 4]
jmp 0x1005be86
lea eax, [edi + 4]
push esi
push eax
push 0x100ae990
mov ecx, 0x104
lea ebx, [esp + 0x4a0]
call fcn.10001fd0
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, 0xffffffff
jne 0x1005bec1
xor eax, eax
jmp 0x1005bfdf
test byte [esp + 0x3c], 0x10
jne 0x1005bfc0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x296]
push eax
mov word [esp + 0x298], dx
call fcn.10079c60
add esp, 0xc
lea ecx, [esp + 0x68]
push ecx
mov eax, edi
call fcn.1000ad10
push eax
push str._s_s
mov ecx, 0x104
lea ebx, [esp + 0x298]
call fcn.10001fd0
add esp, 0xc
xor edx, edx
mov ebx, 7
lea eax, [esp + 0x28c]
mov word [esp + 0x24], dx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1005bf34
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x290]
lea esi, [esp + 0x24]
call fcn.10007450
mov dword [esp + 0x6ac], 0
mov esi, dword [ebp + 0x14]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x20]
push eax
push ecx
push esi
call fcn.10059d80
mov ecx, ebp
mov edi, eax
call fcn.10059e30
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov dword [esp + 0x6ac], 0xffffffff
cmp dword [esp + 0x38], 8
jb 0x1005bfa1
mov edx, dword [esp + 0x24]
push edx
call fcn.100755e2
add esp, 4
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
xor eax, eax
inc dword [esp + 0x14]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
lea ecx, [esp + 0x3c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1005bec1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x6a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x688]
xor ecx, esp
call fcn.100755ed
add esp, 0x69c
ret 4
Function at 0x1005ca20
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1009f5c8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x100c230c]
xor eax, esp
mov dword [esp + 0x40], eax
push esi
push edi
mov eax, dword [0x100c230c]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.1000ffe0
mov dword [esp + 0x58], 0
lea ecx, [esp + 0xc]
push ecx
push 0x66
call fcn.1006bcb0
push str.optconfig.ini
lea esi, [esp + 0x18]
call fcn.1006c300
mov edx, dword [esp + 0x18]
add esp, 0xc
push edx
push ecx
call fcn.1006c580
add esp, 4
push eax
call fcn.1006c900
test eax, eax
je 0x1005cb0f
mov ecx, dword [str.browser]
mov edx, dword [0x100ae9b0]
mov dword [esp + 0x10], ecx
mov ecx, dword [0x100ae9b4]
mov dword [esp + 0x18], ecx
mov ecx, 0xa
mov esi, str.max_defragment_count
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x14], edx
mov edx, dword [0x100ae9b8]
mov dword [esp + 0x1c], edx
movsw word es:[edi], word [esi]
test ecx, ecx
je 0x1005caf1
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
push 0x12c
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x18]
push edx
push ecx
call eax
jmp 0x1005cb09
mov eax, dword [eax]
push eax
push 0x12c
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebx + 0xd230], eax
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.100025b0
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.100755ed
add esp, 0x50
ret

Function at 0x1005cc00
Capabilities:
Check if file exists

Disassembly:
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1005cc05
sub eax, edx
sar eax, 1
cmp eax, 1
jbe 0x1005cc38
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveArgsW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1005cc38
mov eax, 1
ret
xor eax, eax
ret
Function at 0x1005cc40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebp
push edi
xor ebp, ebp
mov edi, eax
mov dword [esp + 8], ebp
call fcn.1006c390
cmp eax, ebp
je 0x1005cc68
cmp dword [eax + 0x24], 1
jne 0x1005cc68
lea eax, [esp + 8]
push eax
push 0x20119
jmp 0x1005cc72
lea ecx, [esp + 8]
push ecx
push 0x20019
push ebp
push edi
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x1005cd3c
mov ecx, dword [esp + 8]
mov edi, dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
lea edx, [esp + 0xc]
push edx
push ebp
lea eax, [esp + 0x18]
push eax
push ebp
push ebp
push ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call edi
test eax, eax
jne 0x1005cd31
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 [esi], eax
cmp eax, ebp
je 0x1005cd31
mov ecx, dword [esp + 0xc]
lea edx, [ecx + ecx + 2]
push edx
push ebp
push eax
call fcn.10079c60
mov ecx, dword [esi]
add esp, 0xc
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push ebp
push ebp
push eax
call edi
test eax, eax
jne 0x1005cd1d
mov ecx, dword [esp + 8]
push ecx
lea ebp, [eax + 1]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebp
pop ebp
add esp, 0xc
ret
mov ecx, dword [esi]
xor edx, edx
mov word [ecx], dx
mov eax, dword [esi]
push eax
call fcn.10076993
add esp, 4
mov dword [esi], ebp
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebp
pop ebp
add esp, 0xc
ret
Function at 0x1005d390
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009e97b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100c230c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
call fcn.10003310
test eax, eax
je 0x1005d3de
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 8]
test eax, eax
jne 0x1005d430
push 0xa8
call fcn.10075af5
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 0
test eax, eax
je 0x1005d410
mov ecx, dword [esi + 4]
push ecx
push eax
call fcn.1005dab0
mov edi, eax
jmp 0x1005d412
xor edi, edi
mov dword [esp + 0x20], 0xffffffff
mov ecx, dword [esi + 8]
cmp edi, ecx
je 0x1005d42d
test ecx, ecx
je 0x1005d42d
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 8], edi
lea edi, [esi + 0xc]
mov eax, edi
call fcn.100664a0
lea ebx, [esp + 0x10]
mov dword [esp + 0x10], 0x2719
call fcn.10066440
lea ebx, [esp + 0x10]
mov dword [esp + 0x10], 0x271a
call fcn.10066440
lea ebx, [esp + 0x10]
mov dword [esp + 0x10], 0x271b
call fcn.10066440
lea ebx, [esp + 0x10]
mov dword [esp + 0x10], 0x271c
call fcn.10066440
lea ebx, [esp + 0x10]
mov dword [esp + 0x10], 0x271d
call fcn.10066440
mov ecx, dword [esi + 8]
lea ebx, [esi + 0x24]
push ebx
mov eax, edi
call fcn.1005e4b0
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
test ecx, 0xfffffffc
je 0x1005d4d7
push 0
call fcn.10076dd4
add esp, 4
push 4
lea edx, [esp + 0x14]
push edx
push 4
push str.sstm
push 0x100a6148
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], eax
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
sar eax, 2
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1005e210
Capabilities:
Get disk information via ioctl

Disassembly:
sub esp, 0x21c
mov eax, dword [0x100c230c]
xor eax, esp
mov dword [esp + 0x218], eax
xor eax, eax
push ebp
xor ebp, ebp
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
cmp edi, ebp
je 0x1005e2c3
push ebx
push esi
push 0x208
lea eax, [esp + 0x20]
push ebp
push eax
call fcn.10079c60
movzx ecx, word [esp + 0x238]
push ecx
push str.._c:
mov ecx, 0x104
lea ebx, [esp + 0x30]
call fcn.10001fd0
add esp, 0x14
push ebp
push ebp
push 3
push ebp
push 3
push 0xc0000000
mov edx, ebx
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1005e2bf
push ebp
lea eax, [esp + 0x10]
push eax
push 0xc
lea ecx, [esp + 0x1c]
push ecx
push ebp
push ebp
push 0x2d1080
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1005e2b8
mov edx, dword [esp + 0x14]
mov ebp, 1
mov dword [edi], edx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, ebp
pop ebx
mov ecx, dword [esp + 0x21c]
pop ebp
xor ecx, esp
call fcn.100755ed
add esp, 0x21c
ret 4
Function at 0x1005e2e0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x20
push esi
xor esi, esi
test ecx, ecx
je 0x1005e357
cmp word [ecx], si
je 0x1005e357
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x1005e357
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
shrd ecx, edx, 0x14
mov dword [eax], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
shr edx, 0x14
mov edx, dword [esp + 0x14]
shrd ecx, edx, 0x14
mov dword [eax], ecx
shr edx, 0x14
lea eax, [esi + 1]
pop esi
add esp, 0x20
ret 8
mov eax, esi
pop esi
add esp, 0x20
ret 8

Function at 0x1005e360
Capabilities:
Get disk information

Disassembly:
sub esp, 0x20c
mov eax, dword [0x100c230c]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push esi
push 0x208
xor ebx, ebx
lea eax, [esp + 0xc]
push ebx
push eax
mov esi, ecx
call fcn.10079c60
add esp, 0xc
test edi, edi
je 0x1005e3eb
cmp word [edi], bx
je 0x1005e3eb
test esi, esi
je 0x1005e3eb
push 0x104
lea ecx, [esp + 0xc]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x1005e3eb
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1005e3b6
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xc]
call fcn.10007450
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.100755ed
add esp, 0x20c
ret
mov ecx, dword [esp + 0x210]
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.100755ed
add esp, 0x20c
ret

Function at 0x1005e860
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
push str.EnablePrefetcher
push str.SYSTEMCurrentControlSetControlSession_ManagerMemory_ManagementPrefetchParameters
xor esi, esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 4
mov dword [esp + 0x1c], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1005e8b2
cmp dword [esp + 4], 4
jne 0x1005e8b2
lea eax, [esi + 1]
cmp dword [esp + 8], esi
jne 0x1005e8b4
mov eax, esi
pop esi
add esp, 0xc
ret

Function at 0x1005e900
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
push str.EnableSuperfetch
push str.SYSTEMCurrentControlSetControlSession_ManagerMemory_ManagementPrefetchParameters
xor esi, esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 4
mov dword [esp + 0x1c], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1005e952
cmp dword [esp + 4], 4
jne 0x1005e952
lea eax, [esi + 1]
cmp dword [esp + 8], esi
jne 0x1005e954
mov eax, esi
pop esi
add esp, 0xc
ret
Function at 0x1005e9a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
push str.Start
push str.SYSTEMCurrentControlSet_servicesSysMain
xor esi, esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 4
mov dword [esp + 0x1c], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1005e9f3
cmp dword [esp + 4], 4
jne 0x1005e9f3
cmp dword [esp + 8], 2
lea eax, [esi + 1]
je 0x1005e9f5
mov eax, esi
pop esi
add esp, 0xc
ret

Function at 0x1005ea40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x40
mov eax, dword [0x100c230c]
xor eax, esp
mov dword [esp + 0x3c], eax
xor eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0x4c]
push esi
push edi
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
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x24]
push eax
push 1
push reloc.OLEAUT32.dll_SysReAllocString
lea ebx, [esp + 0x1c]
mov edi, str.Enable
mov ecx, str.SOFTWAREMicrosoftDfrgBootOptimizeFunction
mov edx, ebp
xor esi, esi
mov dword [esp + 0x1c], 0x28
call fcn.1005f720
test eax, eax
je 0x1005eaca
lea ecx, [esp + 0x24]
push 0x100a9384
push ecx
call fcn.10075f11
add esp, 8
test eax, eax
je 0x1005eaca
mov esi, 1
lea edx, [esp + 0x18]
push edx
push 4
push reloc.OLEAUT32.dll_SysReAllocString
lea ebx, [esp + 0x1c]
mov edi, 0x100a9388
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionOptimalLayout
mov edx, ebp
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 4
call fcn.1005f720
test eax, eax
je 0x1005eb0d
cmp dword [esp + 0x18], 0
je 0x1005eb0d
mov esi, 1
jmp 0x1005eb12
cmp esi, 1
jne 0x1005eb74
mov eax, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
push str.bdopt
push str.SOFTWARE360Safe_softmgrdg
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 0
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1005eb74
cmp dword [esp + 0x14], 1
jne 0x1005eb74
mov ecx, ebp
call fcn.1005eb90
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.100755ed
add esp, 0x40
ret 4
mov ecx, dword [esp + 0x4c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100755ed
add esp, 0x40
ret 4
Function at 0x1005eb90
Capabilities:
Set registry value

Disassembly:
sub esp, 0x38
mov eax, dword [0x100c230c]
xor eax, esp
mov dword [esp + 0x34], eax
xor eax, eax
push ebx
push ebp
push esi
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
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
push edi
mov eax, 0x100a9f90
lea edx, [esp + 0x1c]
mov esi, ecx
xor ebp, ebp
call fcn.10061da0
lea eax, [esp + 0x1c]
push eax
push 1
push reloc.OLEAUT32.dll_SysReAllocString
lea ebx, [ebp + 0x28]
mov edi, str.Enable
mov eax, str.SOFTWAREMicrosoftDfrgBootOptimizeFunction
mov edx, esi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
call fcn.1005f7a0
cmp eax, ebp
je 0x1005ec12
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x14]
push ecx
push 4
push reloc.OLEAUT32.dll_SysReAllocString
mov ebx, 4
mov edi, 0x100a9388
mov eax, str.SOFTWAREMicrosoftWindowsCurrentVersionOptimalLayout
mov edx, esi
call fcn.1005f7a0
test eax, eax
je 0x1005ec3b
lea ebp, [ebx - 3]
cmp dword [esp + 0x10], 0
je 0x1005ec4d
test ebp, ebp
je 0x1005ec4d
mov esi, 1
jmp 0x1005ec4f
xor esi, esi
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push str.bdopt
push str.SOFTWARE360Safe_softmgrdg
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [esp + 0x44]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100755ed
add esp, 0x38
ret

Function at 0x1005efe0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
push str.DisableDeleteNotification
push str.SystemCurrentControlSetControlFileSystem
xor esi, esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 4
mov dword [esp + 0x1c], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1005f032
cmp dword [esp + 4], 4
jne 0x1005f032
lea eax, [esi + 1]
cmp dword [esp + 8], esi
jne 0x1005f034
mov eax, esi
pop esi
add esp, 0xc
ret