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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c4048
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
mov edx, dword [esi + 4]
lea ecx, [esp + 0xc]
push ecx
push 1
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x444679
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
mov dword [eax], 1
call fcn.004a9c1f
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0x14]
push edi
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x18]
push eax
push 0
push ecx
push edx
mov dword [ebx], 0
mov dword [esp + 0x30], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov eax, dword [esp + 0x10]
push eax
call ebp
test edi, edi
pop edi
je 0x4446ee
lea ecx, [esp + 0x2c]
mov dword [ebx], 1
mov dword [esp + 0x24], 0xffffffff
call fcn.004a9c1f
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
sub edx, ecx
mov eax, dword [esi + 8]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x14]
lea ecx, [esp + 0xc]
push edx
mov edx, dword [esi + 4]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x444767
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44474a
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push 4
push eax
push 4
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x444760
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov dword [ebx], 1
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0xc]
push edx
call ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.004a9c1f
mov ecx, dword [esp + 0x1c]
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x445380
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x12c
lea eax, [esp + 0x24]
lea edx, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push edx
push eax
lea edx, [esp + 0x20]
lea eax, [esp + 0x10]
push edx
push eax
lea edx, [esp + 0x1c]
mov ecx, dword [ecx + 8]
lea eax, [esp + 0x20]
push edx
push eax
lea edx, [esp + 0x2c]
lea eax, [esp + 0x34]
push edx
push eax
lea edx, [esp + 0x24]
lea eax, [esp + 0x50]
push edx
push eax
push ecx
mov dword [esp + 0x30], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov ecx, dword [esp + 4]
neg eax
sbb eax, eax
not eax
and eax, ecx
add esp, 0x12c
ret

Function at 0x445420
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4c4138
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
mov dword [esp + 4], 0x3fc16
lea edx, [esp + 4]
mov eax, dword [esi + 0x1f68]
push edx
lea edx, [esp + 0xc]
mov ecx, dword [esi + eax*4 + 0x20]
mov eax, dword [ecx + 0x10]
mov ecx, dword [0x4ffa14]
push ecx
push edx
push 0
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x445484
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret
mov ecx, dword [esi + 0x1f68]
mov edx, dword [esi + ecx*4 + 0x20]
mov eax, dword [edx + 0x10]
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esi + 0x1f68]
mov edx, dword [esi + ecx*4 + 0x20]
mov ecx, dword [esp + 4]
push ecx
mov ecx, dword [esp + 0xc]
mov eax, dword [edx + 8]
mov edx, dword [0x4ffa14]
push edx
mov edx, dword [esi + 8]
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4454dd
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret
mov eax, dword [esi + 0x1f68]
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
mov edx, dword [esi + eax*4 + 0x20]
add edx, 0x14
push edx
call fcn.004a9994
mov eax, dword [esi + 0x1f68]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
mov edx, dword [esi + eax*4 + 0x20]
mov dword [esp + 0x28], 0
add edx, 8
push edx
call fcn.004a9994
mov eax, dword [esi + 0x1f68]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
mov edx, dword [esi + eax*4 + 0x20]
mov byte [esp + 0x2c], 1
add edx, 0x10
push edx
call fcn.004a9994
mov eax, dword [esi + 0x1f68]
push 7
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [esi + eax*4 + 0x20]
mov edx, dword [ecx]
lea ecx, [esi + 0x14]
push edx
call fcn.004033c0
push eax
lea ecx, [esi + 0x10]
call fcn.004033c0
push eax
mov ecx, esi
call fcn.004470d0
mov ecx, dword [esp + 0x18]
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret
Function at 0x445580
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4c4158
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x4f5b3c]
push esi
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [esi + 0x1f68]
mov dword [esp + 8], 0x3fc16
mov dword [esp + 0x1c], 0
mov edx, dword [esi + ecx*4 + 0x20]
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x10]
mov eax, dword [edx + 8]
mov edx, dword [0x4ffa14]
push edx
mov edx, dword [esi + 8]
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x445606
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004a9c1f
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop esi
add esp, 0x1c
ret
mov eax, dword [esi + 0x1f68]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
mov edx, dword [esi + eax*4 + 0x20]
add edx, 0xc
push edx
call fcn.004a9994
lea ecx, [esp + 8]
call fcn.0040cea0
lea ecx, [esp + 4]
call fcn.004385f0
mov eax, dword [0x4ffa14]
mov ecx, 0x4ff2b0
push eax
mov eax, dword [esp + 8]
push eax
call fcn.004a94f6
mov ecx, eax
call fcn.004a9d5c
mov ecx, dword [esp + 4]
mov esi, dword [esp + 0xc]
push ecx
mov ecx, 0x4ff2cc
call fcn.004a9263
lea ecx, [esp + 4]
mov dword [eax], esi
mov dword [esp + 0x1c], 0xffffffff
call fcn.004a9c1f
mov ecx, dword [esp + 0x14]
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x1c
ret
Function at 0x446000
Capabilities:
Delete registry value
Set registry value

Disassembly:
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x1f68]
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + eax*4 + 0x20]
mov eax, dword [ecx + 8]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ebx + 0x1f68]
mov ecx, dword [ebx + eax*4 + 0x20]
lea eax, [ebx + eax*4 + 0x20]
mov ecx, dword [ecx]
cmp ecx, 7
ja case.0x446039.6
jmp dword [ecx*4 + 0x4461b0]
mov eax, dword [eax]
mov edx, dword [eax + 0x14]
lea ecx, [eax + 0x14]
mov esi, dword [eax + 8]
mov edx, dword [edx - 8]
lea eax, [edx + 1]
push eax
push edx
call fcn.004aa003
mov ecx, dword [ebx + 0x1f68]
push eax
mov edx, dword [ebx + ecx*4 + 0x20]
mov ecx, dword [ebx + 8]
mov eax, dword [edx]
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
jmp 0x446184
mov edx, dword [eax]
or ecx, 0xffffffff
xor eax, eax
mov edi, dword [edx + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [0x4ffa14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x1f68]
mov edx, dword [ebx + ecx*4 + 0x20]
mov ecx, dword [0x4ffa14]
mov eax, dword [edx + 0x14]
mov eax, dword [eax - 8]
mov byte [ecx + eax + 1], 0
mov edx, dword [ebx + 0x1f68]
add eax, 2
push eax
mov eax, dword [0x4ffa14]
mov ecx, dword [ebx + edx*4 + 0x20]
push eax
mov edx, dword [ecx + 8]
mov ecx, dword [ecx]
push ecx
push 0
push edx
mov edx, dword [ebx + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
jmp 0x446184
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push 0
push ecx
mov eax, dword [eax + 0x14]
push eax
call fcn.00476c89
mov edx, dword [ebx + 0x1f68]
mov dword [esp + 0x1c], eax
add esp, 0xc
mov eax, dword [ebx + edx*4 + 0x20]
lea edx, [esp + 0x10]
push 4
push edx
mov ecx, dword [eax + 8]
mov eax, dword [eax]
push eax
push 0
push ecx
mov ecx, dword [ebx + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
jmp 0x446184
mov eax, dword [eax]
push 0x10
lea edx, [esp + 0x10]
push 0
push edx
push ecx
add eax, 0x14
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.004a9994
mov ecx, ebx
call fcn.00444d50
mov ecx, dword [ebx + 0x1f68]
push eax
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + ecx*4 + 0x20]
push eax
mov edx, dword [ecx + 8]
mov ecx, dword [ecx]
push ecx
push 0
push edx
mov edx, dword [ebx + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov eax, dword [esp + 0xc]
push eax
call fcn.004aa209
add esp, 4
jmp 0x446184
mov esi, dword [esp + 0x14]
test esi, esi
je 0x446191
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov ecx, dword [ebx + 0x1f68]
mov ecx, dword [ebx + ecx*4 + 0x20]
add ecx, 0x14
call fcn.004a9baa
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0xc
ret
Function at 0x4461d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x30
push esi
mov esi, ecx
mov dword [esp + 4], 0
mov dword [esp + 0xc], 4
mov eax, dword [esi + 0x1f68]
lea edx, [esp + 0xc]
push edi
push edx
mov ecx, dword [esi + eax*4 + 0x20]
lea edx, [esp + 0x10]
mov eax, dword [ecx + 8]
lea ecx, [esp + 0xc]
push ecx
push edx
push 0
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x446273
cmp dword [esp + 0xc], 3
jne 0x44622c
mov ecx, dword [esi + 0x1f68]
push 2
mov edx, dword [esi + ecx*4 + 0x20]
mov eax, dword [edx + 0xc]
jmp 0x44623b
mov edx, dword [esi + 0x1f68]
push 0
mov eax, dword [esi + edx*4 + 0x20]
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.00476c89
mov edi, eax
mov eax, dword [esp + 0x14]
add esp, 0xc
cmp eax, edi
jge 0x446273
lea edx, [esp + 0x18]
push 0xa
push edx
push eax
call fcn.004765f7
add esp, 0xc
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.00444cb0
mov dword [esp + 8], edi
mov ecx, dword [esi + 0x1f68]
push 4
mov edx, dword [esi + ecx*4 + 0x20]
lea ecx, [esp + 0xc]
push ecx
mov eax, dword [edx + 8]
mov edx, dword [esp + 0x14]
push edx
push 0
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
pop edi
inc eax
pop esi
add esp, 0x30
ret

Function at 0x4462b0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x30
push esi
mov esi, ecx
mov dword [esp + 4], 0
mov dword [esp + 0xc], 4
mov eax, dword [esi + 0x1f68]
lea edx, [esp + 0xc]
push edi
push edx
mov ecx, dword [esi + eax*4 + 0x20]
lea edx, [esp + 0x10]
mov eax, dword [ecx + 8]
lea ecx, [esp + 0xc]
push ecx
push edx
push 0
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x446353
cmp dword [esp + 0xc], 3
jne 0x44630c
mov ecx, dword [esi + 0x1f68]
push 2
mov edx, dword [esi + ecx*4 + 0x20]
mov eax, dword [edx + 0xc]
jmp 0x44631b
mov edx, dword [esi + 0x1f68]
push 0
mov eax, dword [esi + edx*4 + 0x20]
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.00476c89
mov edi, eax
mov eax, dword [esp + 0x14]
add esp, 0xc
cmp eax, edi
jle 0x446353
lea edx, [esp + 0x18]
push 0xa
push edx
push eax
call fcn.004765f7
add esp, 0xc
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.00444cb0
mov dword [esp + 8], edi
mov ecx, dword [esi + 0x1f68]
push 4
mov edx, dword [esi + ecx*4 + 0x20]
lea ecx, [esp + 0xc]
push ecx
mov eax, dword [edx + 8]
mov edx, dword [esp + 0x14]
push edx
push 0
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
pop edi
inc eax
pop esi
add esp, 0x30
ret
Function at 0x446390
Capabilities:
Access peb ldr_data
Get ntdll base address
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4c4208
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], 0
mov dword [esp + 0x10], 4
lea edx, [esp + 0x10]
mov eax, dword [esi + 0x1f68]
push edi
push edx
lea edx, [esp + 0x14]
mov ecx, dword [esi + eax*4 + 0x20]
mov eax, dword [ecx + 8]
lea ecx, [esp + 0x10]
push ecx
push edx
push 0
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
mov eax, dword [esp + 0x10]
cmp eax, 3
jne 0x446402
mov ecx, dword [esi + 0x1f68]
push 2
mov edx, dword [esi + ecx*4 + 0x20]
mov eax, dword [edx + 0xc]
jmp 0x446411
mov edx, dword [esi + 0x1f68]
push 0
mov eax, dword [esi + edx*4 + 0x20]
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.00476c89
add esp, 0xc
mov edi, eax
test ebx, ebx
jne 0x446452
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x28]
push 0xa
push edx
push eax
call fcn.004765f7
mov ecx, dword [esi + 0x1f68]
add esp, 0xc
mov edx, dword [esi + ecx*4 + 0x20]
mov dword [edx + 0x20], 4
mov eax, dword [esp + 0xc]
add eax, edi
jmp 0x44645c
xor eax, eax
test edi, edi
setle al
dec eax
and eax, edi
mov ecx, dword [esi + 0x1f68]
mov dword [esp + 0xc], eax
push 4
mov edx, dword [esi + ecx*4 + 0x20]
lea ecx, [esp + 0x10]
push ecx
mov eax, dword [edx + 8]
mov edx, dword [esp + 0x18]
push edx
push 0
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ecx
mov edi, eax
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4fc5e4
call fcn.004a9c8d
mov ecx, dword [esi + 0x1f68]
mov dword [esp + 0x54], 0
push ecx
mov edx, dword [esi + ecx*4 + 0x20]
mov ecx, esp
add edx, 0xc
mov dword [esp + 0x28], esp
push edx
call fcn.004a9994
mov eax, dword [esi + 0x1f68]
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
mov edx, dword [esi + eax*4 + 0x20]
mov byte [esp + 0x5c], 1
add edx, 8
push edx
call fcn.004a9994
mov eax, dword [esi + 0x1f68]
push 0xb
mov dword [esp + 0x60], 0xffffffff
mov ecx, dword [esi + eax*4 + 0x20]
mov edx, dword [ecx]
lea ecx, [esi + 0x14]
push edx
call fcn.004033c0
push eax
lea ecx, [esi + 0x10]
call fcn.004033c0
push eax
mov ecx, esi
call fcn.004470d0
mov ecx, dword [esp + 0x48]
xor eax, eax
test edi, edi
pop edi
pop esi
sete al
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret
Function at 0x446670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c4278
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push edi
mov dword [esp + 0x24], 0
mov eax, dword [0x4f5b3c]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 2
push ecx
lea ecx, [esp + 0x18]
xor ebp, ebp
call fcn.004a9994
lea edx, [esp + 0x30]
lea ecx, [esp + 0xc]
push edx
mov byte [esp + 0x28], 3
call fcn.004a9994
mov ebx, dword [esp + 0x34]
mov byte [esp + 0x24], 4
mov edi, dword [ebx + 4]
test edi, edi
je 0x446701
mov eax, edi
mov ebp, edi
mov edi, dword [edi]
add eax, 8
push eax
lea ecx, [esp + 0x14]
call fcn.004a9d0c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.00474eb8
add esp, 8
test eax, eax
je 0x446701
test edi, edi
jne 0x4466d4
mov edx, dword [esp + 0xc]
mov eax, dword [edx - 8]
test eax, eax
je 0x4467d7
push esi
push 0x4f1f38
lea ecx, [esp + 0x14]
call fcn.004a7309
mov esi, eax
cmp esi, 0xffffffff
jle 0x446783
lea eax, [esp + 0x38]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.004a7219
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 5
call fcn.004a9d0c
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 4
call fcn.004a9c1f
add esi, 2
lea ecx, [esp + 0x1c]
push esi
push ecx
lea ecx, [esp + 0x18]
call fcn.004a70e4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 6
call fcn.004a9d0c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 4
call fcn.004a9c1f
jmp 0x44679a
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call fcn.004a9d0c
lea ecx, [esp + 0x10]
call fcn.004a9baa
test ebp, ebp
jne 0x4467b8
test edi, edi
jne 0x4467b0
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
call fcn.004a80b4
jmp 0x4467c5
lea ecx, [esp + 0x14]
push ecx
push edi
jmp 0x4467be
lea edx, [esp + 0x14]
push edx
push ebp
mov ecx, ebx
call fcn.004a821e
mov ebp, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x446711
pop esi
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 3
call fcn.004a9c1f
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call fcn.004a9c1f
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call fcn.004a9c1f
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 0
call fcn.004a9c1f
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0xffffffff
call fcn.004a9c1f
mov ecx, dword [esp + 0x1c]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x446840
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4c42b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
mov esi, ecx
push 0xa
lea ecx, [esp + 0x20]
call fcn.004a7f83
mov eax, dword [0x4f5b3c]
mov dword [esp + 0x40], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [esi + 0x1f68]
lea edx, [esp + 4]
push edx
lea edx, [esp + 0x14]
mov ecx, dword [esi + eax*4 + 0x20]
mov byte [esp + 0x44], 2
mov eax, dword [ecx + 8]
mov ecx, dword [0x4ffa14]
push ecx
push edx
push 0
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [0x4ffa14]
lea ecx, [esp + 0x1c]
push 1
lea edx, [esp + 8]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00446530
mov edx, dword [esi + 0x1f68]
lea ecx, [esp + 0x1c]
push ecx
push ecx
mov eax, dword [esi + edx*4 + 0x20]
mov ecx, esp
add eax, 0x18
mov dword [esp + 0x1c], esp
push eax
call fcn.004a9994
mov ecx, dword [esi + 0x1f68]
mov byte [esp + 0x48], 3
push ecx
mov edx, dword [esi + ecx*4 + 0x20]
mov ecx, esp
add edx, 0xc
mov dword [esp + 0x24], esp
push edx
call fcn.004a9994
mov ecx, esi
mov byte [esp + 0x4c], 2
call fcn.00446670
mov edx, dword [0x4ffa14]
lea eax, [esp + 0x1c]
push 0
lea ecx, [esp + 8]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00446530
mov eax, dword [esi + 0x1f68]
mov edx, dword [esp + 4]
push edx
mov edx, dword [0x4ffa14]
mov eax, dword [esi + eax*4 + 0x20]
push edx
mov ecx, dword [eax + 8]
mov eax, dword [eax]
push eax
push 0
push ecx
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 8]
mov byte [esp + 0x40], 1
call fcn.004a9c1f
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 0
call fcn.004a9c1f
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 0xffffffff
call fcn.004a7ff7
mov ecx, dword [esp + 0x38]
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x40
ret
Function at 0x4469a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x30
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], 0
mov dword [esp + 0x10], 4
lea edx, [esp + 0x10]
mov eax, dword [esi + 0x1f68]
push edi
push edx
lea edx, [esp + 0x14]
mov ecx, dword [esi + eax*4 + 0x20]
mov eax, dword [ecx + 8]
lea ecx, [esp + 0x10]
push ecx
push edx
push 0
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
mov eax, dword [esp + 0x10]
cmp eax, 3
jne 0x4469fd
mov ecx, dword [esi + 0x1f68]
push 2
mov edx, dword [esi + ecx*4 + 0x20]
mov eax, dword [edx + 0xc]
jmp 0x446a0c
mov edx, dword [esi + 0x1f68]
push 0
mov eax, dword [esi + edx*4 + 0x20]
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.00476c89
add esp, 0xc
mov edi, eax
test ebx, ebx
jne 0x446a40
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x1c]
push 0xa
push edx
push eax
call fcn.004765f7
mov eax, dword [esp + 0x18]
add esp, 0xc
sub eax, edi
mov dword [esp + 0xc], eax
jmp 0x446a4e
xor ecx, ecx
test edi, edi
setle cl
dec ecx
and ecx, edi
mov dword [esp + 0xc], ecx
mov edx, dword [esi + 0x1f68]
lea ecx, [esp + 0xc]
push 4
push ecx
mov eax, dword [esi + edx*4 + 0x20]
mov edx, dword [esp + 0x18]
push edx
push 0
mov eax, dword [eax + 8]
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
pop edi
pop esi
inc eax
pop ebx
add esp, 0x30
ret
Function at 0x448090
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4c45dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x434
push ebx
push ebp
push esi
mov esi, ecx
push edi
push ecx
lea edi, [esi + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edi
call fcn.004a9994
lea ecx, [esp + 0x1c]
call fcn.0040ce50
mov eax, dword [0x4ffae8]
mov dword [esp + 0x44c], 0
test eax, eax
je 0x448158
push 0x80000002
lea ecx, [esp + 0x2c]
call fcn.00448c40
mov eax, dword [esi + 4]
push 0x4fc5e4
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x454], 1
call fcn.00448cd0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edi
call fcn.004a9994
mov ecx, dword [esi + 4]
push ecx
lea ecx, [esp + 0x30]
call fcn.00448df0
lea ecx, [esp + 0x28]
call fcn.00448d20
lea ecx, [esp + 0x28]
mov byte [esp + 0x44c], 0
call fcn.00448c80
lea ecx, [esp + 0x18]
mov dword [esp + 0x44c], 0xffffffff
call fcn.004a9c1f
mov eax, 1
jmp 0x4482be
mov eax, dword [edi]
mov edx, dword [esi + 4]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ebp, eax
test ebp, ebp
je 0x44819c
cmp ebp, 2
je 0x44819c
mov eax, dword [edi]
push ebp
push eax
push str.Registry_DeleteKey:_Warning___unable_to_remove_key__s___d
call fcn.0045dcb0
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esp + 0x44c], 0xffffffff
call fcn.004a9c1f
xor eax, eax
jmp 0x4482be
push edi
lea ecx, [esp + 0x14]
call fcn.004a9994
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov byte [esp + 0x44c], 2
mov dword [esp + 0x1c], 0x400
push 0x5c
lea ecx, [esp + 0x14]
call fcn.004a72e7
test eax, eax
jl 0x448297
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004a7219
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x450], 3
call fcn.004a9d0c
lea ecx, [esp + 0x20]
mov byte [esp + 0x44c], 2
call fcn.004a9c1f
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 4]
lea edx, [esp + 0x14]
push edx
push eax
push ecx
call edi
test eax, eax
jne 0x448297
lea edx, [esp + 0x40]
push 0x400
push edx
push eax
mov eax, dword [esp + 0x20]
push eax
call ebx
cmp eax, 0x103
jne 0x448285
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
lea ecx, [esp + 0x28]
push 0
lea edx, [esp + 0x50]
push ecx
push edx
push 0
push eax
mov dword [esp + 0x3c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
jne 0x44828c
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x448297
jmp 0x4481c2
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x448291
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov byte [esp + 0x44c], 0
call fcn.004a9c1f
lea ecx, [esp + 0x18]
mov dword [esp + 0x44c], 0xffffffff
call fcn.004a9c1f
mov eax, ebp
mov ecx, dword [esp + 0x444]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x440
ret