joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48b970
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb7a0
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x522104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x218], ecx
test ecx, ecx
je 0x48ba90
test ebx, ebx
je 0x48ba90
cmp word [ebx], 0
je 0x48ba90
mov dword [ebp - 0x214], 0
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x214]
push eax
mov eax, edi
mov dword [ebp - 4], 0
or eax, 8
push eax
push 0
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x48ba47
push 0x100
lea eax, [ebp - 0x210]
push eax
push 0
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x48ba43
mov ecx, dword [ebp - 0x214]
lea edx, [ebp - 0x210]
push edi
call fcn.0048b970
add esp, 4
test al, al
je 0x48ba2c
xor esi, esi
jmp 0x48b9f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x48b9f1
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor bl, bl
jmp 0x48ba70
test esi, esi
je 0x48ba52
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor bl, bl
jmp 0x48ba70
push 0
push edi
push ebx
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
sete bl
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x48ba8c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x48ba8c
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov al, bl
jmp 0x48ba9a
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4c5b
mov esp, ebp
pop ebp
ret
Function at 0x48bb90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb7e0
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x522104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x228]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x224]
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], 0x80000002
mov dword [ebp - 0x224], 0
mov byte [ebp - 0x21c], 0
mov dword [ebp - 0x214], eax
push eax
push 0x101
push 0
push str.SoftwareClassesCLSIDB7E6B353_129C_43BE_86A5_1041305A828CProductIDs
push 0x80000002
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x48bc2e
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor bl, bl
jmp 0x48bd5e
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x200
push eax
lea eax, [ebp - 0x210]
push eax
push ebx
push 0
push 0x501d94
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x48bc79
push dword [ebp - 0x220]
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.00446ba0
jmp 0x48bd52
cmp edi, 0xea
jne 0x48bd48
mov ebx, dword [esi + 4]
mov ecx, ebx
mov edx, dword [esi]
sub ecx, edx
mov edi, dword [ebp - 0x220]
cmp edi, ecx
jae 0x48bc9d
lea eax, [edx + edi]
jmp 0x48bcc4
jbe 0x48bcc7
mov eax, dword [esi + 8]
sub eax, edx
cmp edi, eax
jbe 0x48bcb3
push ecx
push edi
mov ecx, esi
call fcn.00423bb0
jmp 0x48bcc7
sub edi, ecx
push edi
push 0
push ebx
call fcn.004a7c50
add esp, 0xc
lea eax, [edi + ebx]
mov dword [esi + 4], eax
lea eax, [ebp - 0x220]
push eax
push dword [esi]
push dword [ebp - 0x22c]
push 0
push 0x501d94
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp edi, 0xea
je 0x48bc85
test edi, edi
jne 0x48bd52
mov eax, dword [esi + 4]
mov ecx, eax
mov edx, dword [esi]
sub ecx, edx
mov ebx, dword [ebp - 0x220]
mov dword [ebp - 0x22c], eax
cmp ebx, ecx
jae 0x48bd15
lea eax, [edx + ebx]
jmp 0x48bd4f
jbe 0x48bd52
mov eax, dword [esi + 8]
sub eax, edx
cmp ebx, eax
jbe 0x48bd2b
push ecx
push ebx
mov ecx, esi
call fcn.00423bb0
jmp 0x48bd52
sub ebx, ecx
push ebx
push 0
push dword [ebp - 0x22c]
call fcn.004a7c50
mov eax, dword [ebp - 0x22c]
add esp, 0xc
add eax, ebx
jmp 0x48bd4f
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x48bd52
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
sete bl
cmp byte [ebp - 0x21c], 0
jne 0x48bd7e
lea eax, [ebp - 0x21c]
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x22c], eax
call fcn.0048c930
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4c5b
mov esp, ebp
pop ebp
ret
Function at 0x48c110
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x522104]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x80000000
push esi
mov esi, edx
push edi
test ebx, ebx
je 0x48c1fe
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 0x10], 0
mov dword [ebp - 8], eax
test esi, esi
je 0x48c1b0
cmp word [esi], 0
je 0x48c1b0
push 0
push eax
push 0
push 2
push 0
push 0
push 0
push esi
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test edi, edi
je 0x48c1ab
cmp edi, 5
jne 0x48c1a0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 2
push 4
push 0
push 0
push esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x48c1ab
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor bl, bl
jmp 0x48c1d7
mov eax, dword [ebp - 0x14]
jmp 0x48c1b8
mov eax, 0x80000000
mov dword [ebp - 0x14], eax
push 4
push ebx
push 4
push 0
push dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
sete bl
cmp byte [ebp - 0x10], 0
jne 0x48c1eb
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
call fcn.0048c930
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a4c5b
mov esp, ebp
pop ebp
ret
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a4c5b
mov esp, ebp
pop ebp
ret
Function at 0x48c600
Capabilities:
Delete registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb8ed
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x522104]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x34], 0
test edx, edx
jne 0x48c653
lea esi, [ecx + 0x57]
jmp 0x48c773
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48c670
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.0040aa50
push 0x508fb8
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x48c755
push 0x509c68
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x48c755
call fcn.00490180
test al, al
jne 0x48c6eb
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x48c6e4
cmp dword [ebp - 0x18], 0
jne 0x48c6eb
mov ecx, 0xf003f
jmp 0x48c702
lea ecx, [ebp - 0x30]
call fcn.0048c220
test al, al
mov ecx, 0xf013f
mov edx, 0xf023f
cmovne ecx, edx
cmp dword [ebp - 0x1c], 8
lea edx, [ebp - 0x34]
push edx
push ecx
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push 8
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x48c75d
push str.SymbolicLinkValue
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
test esi, esi
jne 0x48c75d
push dword [ebp - 0x34]
mov ecx, edi
call dword [0x4ee33c]
call edi
lea ecx, [ebp - 0x30]
test eax, eax
je 0x48c760
mov esi, 5
jmp 0x48c760
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp - 0x30]
call fcn.0040ab30
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x48c773
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a4c5b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x48c7a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb92d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x522104]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], edx
mov esi, ecx
xor edi, edi
test esi, esi
jne 0x48c7f1
lea edi, [ecx + 0x57]
jmp 0x48c8e4
xorps xmm0, xmm0
mov dword [ebp - 0x24], edi
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48c801
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x34]
call fcn.0040aa50
mov dword [ebp - 4], 0
call fcn.00490180
test al, al
jne 0x48c853
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x48c84c
cmp dword [ebp - 0x18], 0
jne 0x48c853
mov ecx, 0x20019
jmp 0x48c86a
lea ecx, [ebp - 0x34]
call fcn.0048c220
test al, al
mov ecx, 0x20119
mov edx, 0x20219
cmovne ecx, edx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push ecx
push 8
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x48c8bb
mov eax, dword [ebp - 0x38]
push esi
push esi
mov byte [eax], 0
lea eax, [ebp - 0x1c]
push eax
push esi
push str.SymbolicLinkValue
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x48c8af
xor esi, esi
jmp 0x48c8bb
cmp dword [ebp - 0x1c], 6
jne 0x48c8bb
mov eax, dword [ebp - 0x38]
mov byte [eax], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x48c8c9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
je 0x48c8dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea ecx, [ebp - 0x34]
call fcn.0040ab30
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a4c5b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x48cd20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb96d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x522104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
push 1
lea eax, [ebp - 0x24]
push eax
call fcn.0048e3c0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], 4
push ecx
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push str.Cannot_query_registry_value
mov ecx, eax
call fcn.0048cb30
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
add esp, 4
cmp byte [ebp - 0x20], cl
cmove eax, ecx
mov dword [ebp - 0x24], eax
test eax, eax
je 0x48cdbc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x48cdbc
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x14]
cmp ecx, 4
jne 0x48cde0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4c5b
mov esp, ebp
pop ebp
ret
call fcn.004169e0
push eax
push 4
lea ecx, [ebp - 0x40]
call fcn.0048cab0
push 0x51f594
lea eax, [ebp - 0x40]
push eax
call fcn.004a765b
int3
Function at 0x48d0f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eba2f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x228
mov eax, dword [0x522104]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x228], edi
push ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x238], edi
xorps xmm0, xmm0
push 8
mov dword [ebp - 0x22c], 0
mov ecx, edx
push eax
movlpd qword [ebp - 0x20], xmm0
call fcn.0048e3c0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x22c], 1
push eax
push 0
push esi
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x18], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x48d29d
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x234], ecx
push str.Cannot_enumerate_subkeys
mov ecx, eax
call fcn.0048cb30
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x220]
add esp, 4
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x230], eax
lea esi, [esi + eax*2]
push 0
push esi
lea eax, [ebp - 0x220]
push eax
call fcn.004a3830
cmp eax, esi
jne 0x48d260
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x48d250
push dword [ebp - 0x228]
lea ecx, [ebp - 0x220]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
push ecx
mov ecx, eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
call fcn.00423f70
add dword [edi + 4], 0x18
jmp 0x48d260
lea ecx, [ebp - 0x234]
push ecx
push ecx
push eax
mov ecx, edi
call fcn.0048de10
mov eax, dword [ebp - 0x224]
lea ecx, [ebp - 0x18]
mov esi, dword [ebp - 0x20]
inc eax
push 0
push 0
push 0
push 0
push ecx
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x224], eax
push ecx
push eax
push esi
mov dword [ebp - 0x18], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x48d1e0
xor eax, eax
cmp byte [ebp - 0x1c], al
cmove esi, eax
test esi, esi
je 0x48d2bb
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x48d2bb
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a4c5b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x48d560
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x522104]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x200
mov edi, ecx
lea eax, [ebp - 0x208]
push 0
mov dword [ebp - 0x20c], edi
mov esi, edx
push eax
mov dword [ebp - 0x20c], edi
call fcn.004a7c50
add esp, 0xc
mov dword [ebp - 0x20c], 0x200
lea eax, [ebp - 0x20c]
push eax
push 0x200
lea eax, [ebp - 0x208]
push eax
push 3
push dword [esi]
call dword [sym.imp.ntdll.dll_NtQueryKey]
push str.Cannot_query_kernel_mode_registry_key_path
mov ecx, eax
call fcn.0048cb30
mov ecx, dword [ebp - 0x208]
lea eax, [ebp - 0x204]
add esp, 4
shr ecx, 1
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
push ecx
push eax
mov ecx, edi
mov dword [edi + 0x14], 0
call fcn.0040aa50
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004a4c5b
mov esp, ebp
pop ebp
ret

Function at 0x48d610
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ebb18
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x522104]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push ecx
push 0xb
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x20], xmm0
call fcn.0048e3c0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x268], eax
mov byte [ebp - 0x264], 0
mov byte [ebp - 0x3c], 0
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 2
call fcn.0048d780
mov byte [ebp - 4], 1
movsx eax, byte [ebp - 0x3c]
inc eax
sub eax, 0
je 0x48d6c9
sub eax, 1
je 0x48d69c
lea ecx, [ebp - 0x60]
call fcn.00439410
jmp 0x48d6c9
mov eax, dword [ebp - 0x268]
xor ecx, ecx
cmp byte [ebp - 0x264], cl
cmove eax, ecx
mov dword [ebp - 0x268], eax
test eax, eax
je 0x48d6c9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x48d6c9
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x38]
call fcn.0048d560
mov byte [ebp - 4], 3
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 8
push dword [ebp - 0x28]
cmovae eax, dword [ebp - 0x38]
push eax
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.0048d440
add esp, 0xc
mov byte [ebp - 4], 4
push dword [ebp - 0x18]
call dword [sym.imp.ntdll.dll_NtDeleteKey]
push str.Cannot_delete_registry_key
mov ecx, eax
call fcn.0048cb30
mov eax, dword [ebp - 0x18]
add esp, 4
test eax, eax
je 0x48d724
push eax
call dword [sym.imp.ntdll.dll_NtClose]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x18], 0
call fcn.0040ab30
mov eax, dword [ebp - 0x20]
xor ecx, ecx
cmp byte [ebp - 0x1c], cl
cmove eax, ecx
mov dword [ebp - 0x20], eax
test eax, eax
je 0x48d757
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x48d757
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a4c5b
mov esp, ebp
pop ebp
ret
Function at 0x48d780
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ebb5d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x522104]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push ecx
push 0xb
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x1c], xmm0
call fcn.0048e3c0
push 0
mov byte [ebp - 4], 1
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
push str.Cannot_delete_registry_key_tree
mov ecx, eax
call fcn.0048cb30
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
add esp, 4
cmp byte [ebp - 0x18], cl
cmove eax, ecx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x48d80b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x48d80b
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a4c5b
mov esp, ebp
pop ebp
ret

Function at 0x48d840
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ebba8
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x522104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
movsx eax, byte [esi + 0x22c]
xorps xmm0, xmm0
inc eax
movlpd qword [ebp - 0x18], xmm0
sub eax, 0
je 0x48d982
sub eax, 1
je 0x48d918
mov eax, dword [esi]
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x244], eax
lea eax, [esi + 4]
push eax
call fcn.00439320
mov eax, dword [esi + 0x228]
mov ecx, dword [esi + 0x224]
mov dword [ebp - 0x1c], eax
or ecx, 6
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x244]
lea ecx, [ebp - 0x248]
call fcn.0048d2e0
mov bl, 1
mov byte [ebp - 0x14], bl
mov esi, dword [eax]
mov dword [eax], 0
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x18], esi
test eax, eax
je 0x48d904
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x48d904
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x248], 0
call fcn.00439410
jmp 0x48d922
mov esi, dword [esi]
xor bl, bl
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x14], bl
push 4
push edi
push 4
push 0
mov dword [ebp - 4], 1
push dword [ebp + 8]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str.Cannot_write_key_value
mov ecx, eax
call fcn.0048cb30
xor eax, eax
add esp, 4
test bl, bl
cmove esi, eax
test esi, esi
je 0x48d966
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x48d966
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4c5b
mov esp, ebp
pop ebp
ret
push ecx
call fcn.0048e290
int3
Function at 0x48dc20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ebc2d
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x522104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0xac], eax
mov ebx, ecx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x14], ebx
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x14], 0
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x24], 0x80
push ecx
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48dcf0
push dword [ebp - 0x24]
lea eax, [ebp - 0xa8]
push eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x20]
call fcn.0048df80
mov ecx, dword [ebp - 0x20]
mov eax, ebx
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], ecx
jmp 0x48ddd0
cmp eax, 0xea
je 0x48dd06
push str.Cannot_query_registry_value_size
mov ecx, eax
call fcn.0048cb30
add esp, 4
mov esi, dword [ebp - 0x24]
test esi, esi
jne 0x48dd2b
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], eax
mov eax, ebx
jmp 0x48ddd0
xor edi, edi
nop dword [eax]
mov ebx, dword [ebp - 0x1c]
mov edx, ebx
mov ecx, dword [ebp - 0x20]
sub edx, ecx
cmp esi, edx
jae 0x48dd43
lea eax, [ecx + esi]
jmp 0x48dd71
jbe 0x48dd74
mov eax, dword [ebp - 0x18]
sub eax, ecx
cmp esi, eax
jbe 0x48dd5d
push ecx
push esi
lea ecx, [ebp - 0x20]
call fcn.0048e180
mov ecx, dword [ebp - 0x20]
jmp 0x48dd74
sub esi, edx
push esi
push 0
push ebx
call fcn.004a7c50
mov ecx, dword [ebp - 0x20]
lea eax, [esi + ebx]
add esp, 0xc
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
push ecx
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xac]
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x48dda2
inc edi
cmp edi, 5
jge 0x48ddec
mov esi, dword [ebp - 0x24]
jmp 0x48dd30
push str.Cannot_query_registry_value_data
mov ecx, eax
call fcn.0048cb30
mov esi, dword [ebp - 0xb0]
add esp, 4
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4c5b
mov esp, ebp
pop ebp
ret
push str.Cannot_query_registry_data_due_to_value_changed_too_often
lea ecx, [ebp - 0xc8]
call fcn.0048cb10
push 0x51f690
lea eax, [ebp - 0xc8]
push eax
call fcn.004a765b
int3