Function at 0x10023db0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x114
mov ecx, dword [0x1003e3e8]
push ebx
push esi
push edi
mov edx, dword [esp + 0x124]
xor edi, edi
lea eax, [esp + 0x10]
push edi
push eax
mov eax, dword [0x1003e3ec]
push edi
push ecx
push edi
push edi
push edi
push edx
push eax
mov dword [esp + 0x38], 0x104
lea ebx, [esp + 0x40]
lea esi, [esp + 0x38]
call fcn.10023b80
add esp, 0x24
test eax, eax
jne 0x10023eaf
push ebp
mov ebp, dword [esp + 0x12c]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x10], edi
cmp ebp, dword [esp + 0x10]
jne 0x10023e24
mov ebx, dword [esp + 0x130]
mov esi, dword [esp + 0x134]
jmp 0x10023e2a
mov dword [esi], 0x104
mov ecx, dword [esi]
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x138]
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x140]
mov ecx, dword [esp + 0x13c]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push 0
push esi
push ebx
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x10023e79
mov eax, dword [esp + 0x10]
cmp ebp, eax
je 0x10023e93
inc eax
mov dword [esp + 0x10], eax
jmp 0x10023e0e
mov ecx, dword [esp + 0x14]
xor esi, esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x114
ret
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x114
ret
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x114
ret

Function at 0x10023f10
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x1003e3ec]
push esi
push edi
mov edi, dword [esp + 0xc]
push edi
push eax
xor esi, esi
call fcn.10023ac0
add esp, 8
test eax, eax
jne 0x10023f2e
pop edi
pop esi
ret
mov edx, dword [0x1003e3e8]
mov eax, dword [0x1003e3ec]
lea ecx, [esp + 0xc]
push 0
push ecx
push 0
push edx
push 0
push 0
push 0
push edi
push eax
call fcn.10023b80
add esp, 0x24
test eax, eax
jne 0x10023f8d
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push 0x1003e3e4
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10023f82
xor esi, esi
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
ret

Function at 0x10023ff0
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [0x1003e3e8]
push esi
mov edx, dword [esp + 8]
xor esi, esi
lea eax, [esp + 8]
push esi
push eax
mov eax, dword [0x1003e3ec]
push esi
push ecx
push esi
push esi
push esi
push edx
push eax
call fcn.10023b80
add esp, 0x24
test eax, eax
jne 0x10024053
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [0x1003e3e4]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push eax
push 0
push ecx
push edx
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x10024048
xor esi, esi
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
ret