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

Disassembly:
sub esp, 0x118
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x128]
push ebx
mov ebx, dword [esp + 0x128]
push esi
mov esi, dword [esp + 0x124]
test eax, eax
je 0x1000cd90
push ebp
push edi
push eax
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.10003580
mov eax, dword [esp + 0x24]
lea edi, [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x10], 0x104
mov dword [esp + 0x1c], 0
test eax, eax
je 0x1000cc44
mov eax, dword [eax]
jmp 0x1000cc46
xor eax, eax
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 0
push eax
push ebx
call ebp
mov ecx, dword [esp + 0x10]
mov edx, eax
cmp edx, 0xea
jne 0x1000ccb1
lea eax, [ecx - 1]
cmp eax, 0x3fffe
ja 0x1000ccb1
push ecx
call fcn.10031690
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x1c], 1
mov edi, eax
test ecx, ecx
je 0x1000cc98
mov ecx, dword [ecx]
jmp 0x1000cc9a
xor ecx, ecx
lea eax, [esp + 0x10]
push eax
push edi
lea eax, [esp + 0x1c]
push eax
push 0
push ecx
push ebx
call ebp
mov ecx, dword [esp + 0x10]
mov edx, eax
xor ebp, ebp
xor ebx, ebx
test edx, edx
jne 0x1000cd30
mov eax, dword [esp + 0x14]
sub eax, 1
je 0x1000cd08
sub eax, 3
je 0x1000ccef
mov eax, dword [esi]
push ecx
push esi
mov eax, dword [eax + 0x2c0]
call eax
mov ebp, eax
test ebp, ebp
je 0x1000cd14
mov eax, dword [esi]
push edi
push dword [esp + 0x14]
mov eax, dword [eax + 0x340]
push ebx
push ebp
push esi
call eax
mov ebx, ebp
jmp 0x1000cd14
push dword [edi]
push dword [0x100539e4]
push dword [0x100539e8]
push esi
call fcn.10001d70
add esp, 0x10
jmp 0x1000cd12
push edi
push esi
call fcn.100036a0
add esp, 8
mov ebx, eax
push ebx
push dword [esp + 0x18]
push dword [0x100539e0]
push dword [0x100539dc]
push esi
call fcn.10001d70
add esp, 0x14
mov ebp, eax
cmp dword [esp + 0x1c], 0
je 0x1000cd40
push edi
call fcn.1003b898
add esp, 4
mov esi, dword [esp + 0x18]
test esi, esi
je 0x1000cd8c
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x1000cd8c
test esi, esi
je 0x1000cd8c
mov eax, dword [esi]
test eax, eax
je 0x1000cd6a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000cd81
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10031690
add esp, 8
pop edi
mov eax, ebp
pop ebp
mov ecx, dword [esp + 0x11c]
pop esi
pop ebx
xor ecx, esp
call fcn.1003b4ee
add esp, 0x118
ret 0x10
Function at 0x1000cdb0
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x20
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x1c], eax
lea eax, [esp]
push eax
push 0x20
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000cdeb
lea eax, [esp + 4]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x1000ce09
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x78
je 0x1000ce4f
xor al, al
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1003b4ee
add esp, 0x20
ret 8
mov eax, dword [esp + 4]
push 0
push 0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x14]
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x1000ce4f
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x78
jne 0x1000cdf6
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
js 0x1000cdf6
mov ecx, dword [esp + 0x1c]
mov al, 1
xor ecx, esp
call fcn.1003b4ee
add esp, 0x20
ret 8

Function at 0x1000ce70
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x1000cfa2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1000cfa2
push ebx
mov ebx, dword [esp + 0xc]
push edi
push eax
lea eax, [esp + 0x24]
push ebx
push eax
call fcn.10003580
mov eax, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
je 0x1000cebb
mov ecx, dword [eax]
test ecx, ecx
je 0x1000cebb
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ecx, eax
mov eax, dword [esp + 0x20]
jmp 0x1000cebd
xor ecx, ecx
push ebp
lea ebp, [ecx + ecx]
test eax, eax
je 0x1000cec9
mov edi, dword [eax]
jmp 0x1000cecb
xor edi, edi
push esi
lea eax, [esp + 0x24]
push ebx
push eax
call fcn.10003580
add esp, 0xc
mov eax, dword [eax]
test eax, eax
je 0x1000cee4
mov eax, dword [eax]
jmp 0x1000cee6
xor eax, eax
push ebp
push edi
push 1
push 0
push eax
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [esp + 0x20]
or edi, 0xffffffff
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebp, eax
test esi, esi
je 0x1000cf49
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x1000cf49
test esi, esi
je 0x1000cf49
mov eax, dword [esi]
test eax, eax
je 0x1000cf27
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000cf3e
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10031690
add esp, 8
mov esi, dword [esp + 0x24]
test ebp, ebp
pop ebp
sete al
mov byte [esp + 0x1c], al
test esi, esi
je 0x1000cf9c
lock xadd dword [esi + 8], edi
dec edi
jne 0x1000cf9c
test esi, esi
je 0x1000cf9c
mov eax, dword [esi]
test eax, eax
je 0x1000cf76
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000cf8d
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10031690
mov al, byte [esp + 0x24]
add esp, 8
pop edi
pop ebx
pop esi
ret 0x14
xor al, al
pop esi
ret 0x14
Function at 0x1000d1b0
Capabilities:
Hash data using sha1
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1004b598
push 0x1003b8cc
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x100530a0]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
xor edi, edi
mov dword [ebp - 0x20], edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
xor esi, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
push 0x8004
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1000d228
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push dword [ebp + 8]
call fcn.1000da90
add esp, 8
jmp 0x1000d2da
mov esi, dword [ebp + 0x14]
push esi
call fcn.10031690
add esp, 4
mov edi, eax
mov dword [ebp - 0x20], edi
push edi
push esi
push 0
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.1000cff0
push 0
push edi
push 2
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptSetHashParam]
test eax, eax
jne 0x1000d270
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push esi
call fcn.1000da90
add esp, 8
xor esi, esi
jmp 0x1000d2da
mov dword [ebp + 0x18], 0
lea eax, [ebp + 0x18]
push eax
push 0
push 0
push 0
push 2
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptSignHashW]
test eax, eax
je 0x1000d25c
push dword [ebp + 0x18]
call fcn.10031690
add esp, 4
mov ebx, eax
mov dword [ebp - 0x24], ebx
lea eax, [ebp + 0x18]
push eax
push ebx
push 0
push 0
push 2
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptSignHashW]
test eax, eax
je 0x1000d25c
mov eax, dword [esi]
push dword [ebp + 0x18]
push esi
mov eax, dword [eax + 0x2c0]
call eax
mov esi, eax
push ebx
push dword [ebp + 0x18]
push 0
push esi
mov ecx, dword [ebp + 8]
call fcn.10001fc0
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 0xfffffffe
call fcn.1000d305
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x1000d990
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1004b518
push 0x1003b8cc
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100530a0]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
mov esi, dword [ebp + 0x10]
push esi
call fcn.10031690
add esp, 4
mov edi, eax
mov dword [ebp - 0x24], edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
push ebx
push 1
push ebx
push str.JavaWebStart
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1000da0f
push 8
push 1
push eax
push str.JavaWebStart
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1000da42
push edi
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x1000da42
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push dword [ebp + 0x10]
push esi
mov eax, dword [eax + 0x2c0]
call eax
mov ebx, eax
mov dword [ebp - 0x20], ebx
push edi
push dword [ebp + 0x10]
push 0
push ebx
mov ecx, esi
call fcn.10001fc0
mov dword [ebp - 4], 0xfffffffe
call fcn.1000da6a
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000de70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push dword [esp + 0x24]
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x20]
push esi
push eax
call fcn.10003580
push dword [esp + 0x34]
lea eax, [esp + 0x34]
push esi
push eax
call fcn.10003580
mov esi, dword [esp + 0x34]
add esp, 0x18
xor bl, bl
test esi, esi
je 0x1000deae
xor eax, eax
cmp dword [esi], eax
sete al
jmp 0x1000deb3
mov eax, 1
push edi
mov edi, dword [esp + 0x28]
test al, al
jne 0x1000df6d
test edi, edi
je 0x1000decd
xor eax, eax
cmp dword [edi], eax
sete al
jmp 0x1000ded2
mov eax, 1
test al, al
jne 0x1000df6d
test esi, esi
je 0x1000dee2
mov eax, dword [esi]
jmp 0x1000dee4
xor eax, eax
lea ecx, [esp + 0x2c]
push ecx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1000df1c
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1000df05
mov eax, dword [eax]
jmp 0x1000df07
xor eax, eax
lea ecx, [esp + 0x2c]
push ecx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1000df65
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], 4
test eax, eax
je 0x1000df30
mov eax, dword [eax]
jmp 0x1000df32
xor eax, eax
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
push ecx
push 0
push eax
push dword [esp + 0x40]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x2c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1000df65
cmp dword [esp + 0x14], esi
setne bl
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov ecx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
or ebp, 0xffffffff
test edi, edi
je 0x1000dfcb
mov eax, ebp
lock xadd dword [edi + 8], eax
dec eax
jne 0x1000dfbf
test edi, edi
je 0x1000dfbf
mov eax, dword [edi]
test eax, eax
je 0x1000df97
push eax
call ecx
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x1000dfae
push eax
call fcn.1003b898
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.10031690
mov ecx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 8
mov esi, dword [esp + 0x20]
mov dword [esp + 0x28], 0
pop edi
test esi, esi
je 0x1000e00d
lock xadd dword [esi + 8], ebp
dec ebp
jne 0x1000e00d
test esi, esi
je 0x1000e00d
mov eax, dword [esi]
test eax, eax
je 0x1000dfeb
push eax
call ecx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000e002
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10031690
add esp, 8
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0xc
ret 0x10
Function at 0x1000e5b0
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0xc]
push edi
push dword [esp + 0x18]
push esi
push eax
call fcn.10003580
push dword [esp + 0x28]
lea eax, [esp + 0x28]
push esi
push eax
call fcn.10003580
mov esi, dword [esp + 0x28]
add esp, 0x18
test esi, esi
je 0x1000e5e9
xor eax, eax
cmp dword [esi], eax
sete al
jmp 0x1000e5ee
mov eax, 1
mov edi, dword [esp + 0x18]
test al, al
jne 0x1000e695
test edi, edi
je 0x1000e607
xor eax, eax
cmp dword [edi], eax
sete al
jmp 0x1000e60c
mov eax, 1
test al, al
jne 0x1000e695
test esi, esi
je 0x1000e61c
mov eax, dword [esi]
jmp 0x1000e61e
xor eax, eax
lea ecx, [esp + 0x1c]
push ecx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1000e656
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1000e63f
mov eax, dword [eax]
jmp 0x1000e641
xor eax, eax
lea ecx, [esp + 0x1c]
push ecx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1000e68d
movzx eax, byte [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1000e66b
mov eax, dword [eax]
jmp 0x1000e66d
xor eax, eax
push 4
lea ecx, [esp + 0x24]
push ecx
push 4
push 0
push eax
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
or ebx, 0xffffffff
test edi, edi
je 0x1000e6eb
mov eax, ebx
lock xadd dword [edi + 8], eax
dec eax
jne 0x1000e6df
test edi, edi
je 0x1000e6df
mov eax, dword [edi]
test eax, eax
je 0x1000e6bd
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x1000e6d4
push eax
call fcn.1003b898
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.10031690
add esp, 8
mov esi, dword [esp + 0x10]
mov dword [esp + 0x18], 0
test esi, esi
je 0x1000e730
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x1000e730
test esi, esi
je 0x1000e730
mov eax, dword [esi]
test eax, eax
je 0x1000e70e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000e725
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10031690
add esp, 8
pop edi
pop esi
pop ebx
ret 0x14
Function at 0x1000e7f0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x2010
call fcn.1003baf0
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x200c], eax
mov eax, dword [esp + 0x201c]
push ebx
xor ebx, ebx
mov dword [esp + 8], ebx
push edi
mov edi, dword [esp + 0x201c]
test eax, eax
je 0x1000e85b
push eax
lea eax, [esp + 0x10]
push edi
push eax
call fcn.10003580
add esp, 0xc
mov eax, dword [eax]
test eax, eax
je 0x1000e83b
mov eax, dword [eax]
jmp 0x1000e83d
xor eax, eax
push 0x1000
lea ecx, [esp + 0x18]
mov ebx, 1
push ecx
push eax
call dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
mov byte [esp + 0xb], bl
test eax, eax
jne 0x1000e860
mov byte [esp + 0xb], 0
test bl, 1
je 0x1000e8b3
push esi
mov esi, dword [esp + 0x10]
test esi, esi
je 0x1000e8b2
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x1000e8b2
test esi, esi
je 0x1000e8b2
mov eax, dword [esi]
test eax, eax
je 0x1000e890
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000e8a7
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10031690
add esp, 8
pop esi
cmp byte [esp + 0xb], 0
je 0x1000e8ca
lea eax, [esp + 0x14]
push eax
push edi
call fcn.100036a0
add esp, 8
jmp 0x1000e8cc
xor eax, eax
mov ecx, dword [esp + 0x2014]
pop edi
pop ebx
xor ecx, esp
call fcn.1003b4ee
add esp, 0x2010
ret 0xc

Function at 0x1000ead0
Capabilities:
Delete registry key

Disassembly:
push dword [esp + 0x10]
lea eax, [esp + 0x14]
push dword [esp + 8]
push eax
call fcn.10003580
add esp, 0xc
mov eax, dword [eax]
test eax, eax
je 0x1000eaef
mov eax, dword [eax]
jmp 0x1000eaf1
xor eax, eax
push esi
push edi
push eax
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, dword [esp + 0x18]
mov edi, eax
test esi, esi
je 0x1000eb4c
or ecx, 0xffffffff
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x1000eb4c
test esi, esi
je 0x1000eb4c
mov eax, dword [esi]
test eax, eax
je 0x1000eb2a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000eb41
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10031690
add esp, 8
mov eax, edi
pop edi
pop esi
ret 0x10
Function at 0x1000eb60
Capabilities:
Delete registry value

Disassembly:
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x1000eb6e
or eax, 0xffffffff
ret 0x10
push eax
push dword [esp + 8]
lea eax, [esp + 0x18]
push eax
call fcn.10003580
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
je 0x1000eb8c
mov eax, dword [eax]
jmp 0x1000eb8e
xor eax, eax
push esi
push edi
push eax
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, dword [esp + 0x18]
mov edi, eax
test esi, esi
je 0x1000ebe9
or ecx, 0xffffffff
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x1000ebe9
test esi, esi
je 0x1000ebe9
mov eax, dword [esi]
test eax, eax
je 0x1000ebc7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000ebde
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10031690
add esp, 8
mov eax, edi
pop edi
pop esi
ret 0x10

Function at 0x1000ebf0
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x2008
call fcn.1003baf0
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x2004], eax
mov eax, dword [esp + 0x2014]
lea ecx, [esp]
push esi
mov esi, dword [esp + 0x2010]
push 0
push 0
push 0
push 0
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 0x1000
push ecx
push dword [esp + 0x2034]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1000ec68
lea eax, [esp + 8]
push eax
push esi
call fcn.100036a0
add esp, 8
pop esi
mov ecx, dword [esp + 0x2004]
xor ecx, esp
call fcn.1003b4ee
add esp, 0x2008
ret 0x14
mov ecx, dword [esp + 0x2008]
xor eax, eax
pop esi
xor ecx, esp
call fcn.1003b4ee
add esp, 0x2008
ret 0x14

Function at 0x1000ec90
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x2008
call fcn.1003baf0
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x2004], eax
mov eax, dword [esp + 0x201c]
mov ecx, dword [esp + 0x2014]
push esi
mov esi, dword [esp + 0x2010]
push 0
push 0
push 0
push 0
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x2034]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1000ed0c
lea eax, [esp + 8]
push eax
push esi
call fcn.100036a0
add esp, 8
pop esi
mov ecx, dword [esp + 0x2004]
xor ecx, esp
call fcn.1003b4ee
add esp, 0x2008
ret 0x14
mov ecx, dword [esp + 0x2008]
xor eax, eax
pop esi
xor ecx, esp
call fcn.1003b4ee
add esp, 0x2008
ret 0x14
Function at 0x1000eee0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x2014
call fcn.1003baf0
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x2010], eax
mov eax, dword [esp + 0x2024]
push ebx
push esi
mov esi, dword [esp + 0x2028]
push edi
mov edi, dword [esp + 0x2024]
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 0x1000
push edi
push eax
call fcn.10003580
add esp, 0xc
mov eax, dword [eax]
test eax, eax
je 0x1000ef31
mov eax, dword [eax]
jmp 0x1000ef33
xor eax, eax
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [esp + 0x10]
test eax, eax
sete bl
test esi, esi
je 0x1000ef9d
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x1000ef9d
test esi, esi
je 0x1000ef9d
mov eax, dword [esi]
test eax, eax
je 0x1000ef7b
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000ef92
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10031690
add esp, 8
test bl, bl
je 0x1000efc6
cmp dword [esp + 0xc], 0
jbe 0x1000efc6
mov eax, dword [esp + 0x14]
cmp eax, 1
je 0x1000efb6
cmp eax, 2
jne 0x1000efc6
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.100036a0
add esp, 8
jmp 0x1000efc8
xor eax, eax
mov ecx, dword [esp + 0x201c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003b4ee
add esp, 0x2014
ret 0x10
Function at 0x1000eff0
Capabilities:
Set registry value

Disassembly:
cmp dword [esp + 0x10], 0
je 0x1000f183
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1000f183
push ebp
push esi
push edi
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
call fcn.10003580
mov esi, dword [esp + 0x2c]
add esp, 0xc
xor ecx, ecx
or eax, 0xffffffff
test esi, esi
je 0x1000f133
mov ebp, dword [esi]
mov edi, ebp
test edi, edi
je 0x1000f133
movzx eax, word [edi]
test ax, ax
je 0x1000f06d
mov edx, eax
cmp dx, 0x25
jne 0x1000f051
inc ecx
cmp ecx, 2
je 0x1000f06d
jmp 0x1000f05f
cmp dx, 0x20
je 0x1000f05d
cmp dx, 9
jne 0x1000f05f
xor ecx, ecx
movzx eax, word [edi + 2]
add edi, 2
mov edx, eax
test ax, ax
jne 0x1000f043
push ebx
xor ebx, ebx
cmp ecx, 2
sete bl
inc ebx
test ebp, ebp
je 0x1000f088
push ebp
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov esi, dword [esp + 0x24]
jmp 0x1000f08a
xor eax, eax
lea edi, [eax + eax]
test esi, esi
je 0x1000f095
mov esi, dword [esi]
jmp 0x1000f097
xor esi, esi
push dword [esp + 0x20]
lea eax, [esp + 0x24]
push dword [esp + 0x18]
push eax
call fcn.10003580
add esp, 0xc
mov eax, dword [eax]
test eax, eax
je 0x1000f0b6
mov eax, dword [eax]
jmp 0x1000f0b8
xor eax, eax
push edi
push esi
push ebx
push 0
push eax
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [esp + 0x20]
mov edi, eax
pop ebx
test esi, esi
je 0x1000f12a
or eax, 0xffffffff
mov ecx, eax
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x1000f11c
test esi, esi
je 0x1000f11c
mov eax, dword [esi]
test eax, eax
je 0x1000f0f7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000f10e
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10031690
add esp, 8
or eax, 0xffffffff
mov esi, dword [esp + 0x20]
mov dword [esp + 0x1c], 0
jmp 0x1000f136
mov esi, dword [esp + 0x20]
or eax, 0xffffffff
jmp 0x1000f136
or edi, 0xffffffff
test esi, esi
je 0x1000f17b
lock xadd dword [esi + 8], eax
dec eax
jne 0x1000f17b
test esi, esi
je 0x1000f17b
mov eax, dword [esi]
test eax, eax
je 0x1000f159
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000f170
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10031690
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x14
or eax, 0xffffffff
ret 0x14