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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x42b004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x418]
mov dword [ebp - 0x428], edx
push eax
mov ebx, ecx
mov dword [ebp - 0x420], 4
xor ecx, ecx
mov dword [ebp - 0x41c], 0x104
push ecx
lea eax, [ebp - 0x420]
mov dword [ebp - 0x42c], ecx
push eax
push ecx
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x434], ecx
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x424], ecx
xor esi, esi
mov edi, ecx
push eax
inc esi
push ecx
jmp 0x425f3f
mov ecx, dword [ebp - 0x418]
test ecx, ecx
je 0x425f1d
mov eax, dword [ebp - 0x420]
test eax, eax
je 0x425f0f
cmp eax, 2
jbe 0x425e88
cmp eax, 3
je 0x425df1
jbe 0x425f0f
cmp eax, 5
jbe 0x425da4
cmp eax, 7
jne 0x425f0f
push ecx
call fcn.004293af
mov dword [ebp - 0x424], eax
pop ecx
test eax, eax
je 0x425f0f
lea ecx, [ebp - 0x418]
push ecx
push eax
lea eax, [ebp - 0x420]
push eax
xor eax, eax
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x425e62
push dword [ebp - 0x418]
lea eax, [ebp - 0x424]
push eax
jmp 0x425e3e
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], 4
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x420]
push eax
xor eax, eax
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x425f13
push 4
lea eax, [ebp - 0x434]
jmp 0x425eee
push ecx
call fcn.004293af
mov dword [ebp - 0x424], eax
pop ecx
test eax, eax
je 0x425f0f
lea ecx, [ebp - 0x418]
push ecx
push eax
lea eax, [ebp - 0x420]
push eax
xor eax, eax
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x425e62
push dword [ebp - 0x418]
push dword [ebp - 0x424]
push dword [ebp - 0x420]
xor eax, eax
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
not eax
and esi, eax
cmp dword [ebp - 0x424], 0
je 0x425f13
push dword [ebp - 0x424]
call fcn.004293bf
xor eax, eax
pop ecx
mov dword [ebp - 0x424], eax
jmp 0x425f13
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], 0x208
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x420]
push eax
xor eax, eax
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x425f13
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x42c]
jne 0x425ecd
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x420]
xor eax, eax
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x425f13
xor eax, eax
mov esi, eax
mov dword [ebp - 0x41c], 0x104
lea eax, [ebp - 0x418]
inc edi
push eax
xor ecx, ecx
lea eax, [ebp - 0x420]
push ecx
push eax
push ecx
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push ebx
mov dword [ebp - 0x418], 0x208
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x41c], 0x104
test eax, eax
je 0x425d0b
xor ecx, ecx
lea eax, [ebp - 0x41c]
push ecx
push ecx
push ecx
push ecx
push eax
lea eax, [ebp - 0x20c]
mov edi, ecx
push eax
push ecx
jmp 0x426030
lea eax, [ebp - 0x42c]
xor ecx, ecx
push eax
push 0x20019
push ecx
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x42c], ecx
push eax
push ebx
mov dword [ebp - 0x430], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42600e
xor ecx, ecx
lea eax, [ebp - 0x430]
push ecx
push eax
push ecx
push 0x2001f
push ecx
push ecx
push ecx
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x425ffa
mov edx, dword [ebp - 0x430]
mov ecx, dword [ebp - 0x42c]
call fcn.00425c9a
push dword [ebp - 0x430]
neg eax
sbb eax, eax
and esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x425ffe
xor eax, eax
mov esi, eax
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x426012
xor eax, eax
mov esi, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 0x104
push eax
lea eax, [ebp - 0x20c]
inc edi
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x425f7e
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429770
mov esp, ebp
pop ebp
ret