Function at 0x2104a05b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
lea eax, [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x2104a08b
xor eax, eax
jmp 0x2104a09a
cmp dword [ebp - 4], 3
je 0x2104a095
xor eax, eax
jmp 0x2104a09a
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x2104a253
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 0
je 0x2104a27f
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x24], 0
je 0x2104a27f
cmp dword [ebp + 8], 0
jl 0x2104a27f
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x10]
jl 0x2104a283
xor eax, eax
jmp 0x2104a2be
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 4], edx
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x24]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x2104a2b8
xor eax, eax
jmp 0x2104a2be
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
mov esp, ebp
pop ebp
ret 4

Function at 0x2104a2c4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0x10], 0
je 0x2104a2dc
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
cmp dword [ebp + 0x14], 0
je 0x2104a2eb
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xc], 0
je 0x2104a317
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x28], 0
je 0x2104a317
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x2c], 0
je 0x2104a317
cmp dword [ebp + 8], 0
jl 0x2104a317
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x18]
jl 0x2104a31b
xor eax, eax
jmp 0x2104a397
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1c]
shl edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x2c]
push ecx
lea edx, [ebp - 8]
push edx
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x28]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x2104a364
xor eax, eax
jmp 0x2104a397
cmp dword [ebp + 0xc], 0
je 0x2104a375
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x2c]
mov dword [eax], edx
cmp dword [ebp + 0x10], 0
je 0x2104a383
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
cmp dword [ebp + 0x14], 0
je 0x2104a391
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x28]
mov esp, ebp
pop ebp
ret 0x10