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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa6c
mov eax, dword [0x100416e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0xa3c]
mov dword [ebp - 0xa48], 0
push eax
push 0x2001f
xor esi, esi
mov dword [ebp - 0xa54], 4
push esi
push 0x100036f8
push Ordinal_3
mov dword [ebp - 0xa50], 4
mov dword [ebp - 0xa44], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 6
jne 0x1002308b
lea eax, [ebp - 0xa3c]
push eax
push 0x2001f
push esi
push 0x100036f8
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100232fc
lea eax, [ebp - 0xa40]
push eax
push 0x2001f
push 0
push 0x100037a8
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 6
jne 0x100230d4
lea eax, [ebp - 0xa40]
push eax
push 0x2001f
push 0
push 0x100037a8
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100232f0
lea eax, [ebp - 0xa50]
push eax
lea eax, [ebp - 0xa48]
push eax
lea eax, [ebp - 0xa54]
push eax
push 0
push 0x10003808
push dword [ebp - 0xa40]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100232a9
lea eax, [ebp - 0xa68]
mov dword [ebp - 0xa4c], 0x105
push eax
push 0
push 0
push 0
lea eax, [ebp - 0xa4c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push dword [ebp - 0xa3c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x100232a9
jmp 0x10023150
push 0x104
lea eax, [ebp - 0x830]
inc esi
push eax
lea eax, [ebp - 0xa5c]
push eax
lea eax, [ebp - 0xa60]
push eax
lea eax, [ebp - 0xa58]
push eax
lea eax, [ebp - 0x218]
push 0x10003718
push eax
call dword [sym.imp.msvcrt.dll_swscanf_s]
add esp, 0x1c
cmp eax, 4
jne 0x1002326f
push dword [ebp - 0xa58]
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
test eax, eax
jne 0x10023269
push 0x100039c8
lea eax, [ebp - 0x218]
push eax
push 0x100021c4
lea eax, [ebp - 0x628]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
lea eax, [ebp - 0x628]
push eax
push 0x100036d4
lea eax, [ebp - 0x420]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x420]
push eax
push 0x100021c4
lea eax, [ebp - 0xa38]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_swprintf_s]
add esp, 0x38
lea eax, [ebp - 0xa38]
push eax
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [ebp - 0x420]
push eax
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [ebp - 0x218]
push eax
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0xa3c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, dword [ebp - 0xa48]
test eax, eax
je 0x1002326f
dec eax
mov dword [ebp - 0xa48], eax
jmp 0x1002326f
inc dword [ebp - 0xa44]
lea eax, [ebp - 0xa68]
mov dword [ebp - 0xa4c], 0x105
push eax
push 0
push 0
push 0
lea eax, [ebp - 0xa4c]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push dword [ebp - 0xa3c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x10023150
push dword [ebp - 0xa50]
lea eax, [ebp - 0xa44]
push eax
push 4
push 0
push 0x10003808
push dword [ebp - 0xa40]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xa40]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xa44], 0
jne 0x100232f0
push 0x100037a8
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0xa3c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1003c3b0
mov esp, ebp
pop ebp
ret