Function at 0x425523
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4624a0
call fcn.0043bc08
sub esp, 0x9c
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], ebx
push 1
lea eax, [ebp - 0x18]
pop esi
push eax
push 0x20019
push ebx
push str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4257b9
lea eax, [ebp - 0x21]
mov esi, 0x4665f0
mov edi, 0x4665e8
push ebx
push eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x48], edi
call fcn.0040b049
lea eax, [ebp - 0x22]
push ebx
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x70], edi
call fcn.0040b049
mov esi, 0x400
lea eax, [ebp - 0x34]
push esi
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.0040b59f
mov ecx, dword [eax]
mov byte [ebp - 4], 4
mov byte [eax + 4], 1
call fcn.0040bc81
mov edi, dword [eax]
lea eax, [ebp - 0x40]
push esi
push eax
lea ecx, [ebp - 0x68]
call fcn.0040b59f
mov ecx, dword [eax]
mov byte [ebp - 4], 5
mov byte [eax + 4], 1
call fcn.0040bc81
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push ecx
lea ecx, [ebp - 0x14]
push ebx
push ecx
push eax
push ebx
push dword [ebp - 0x18]
call edi
mov ebx, eax
lea ecx, [ebp - 0x40]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 4
inc bl
call fcn.0040ba0c
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.0040ba0c
test bl, bl
je 0x42579b
cmp dword [ebp - 0x14], esi
jae 0x425645
cmp dword [ebp - 0x10], esi
jb 0x4256ca
inc dword [ebp - 0x14]
inc dword [ebp - 0x10]
push dword [ebp - 0x10]
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0x90]
push eax
call fcn.0040b59f
mov ecx, dword [eax]
mov byte [ebp - 4], 6
mov byte [eax + 4], 1
call fcn.0040bc81
mov ebx, dword [eax]
push dword [ebp - 0x14]
lea eax, [ebp - 0xa8]
lea ecx, [ebp - 0x68]
push eax
call fcn.0040b59f
mov ecx, dword [eax]
mov byte [ebp - 4], 7
mov byte [eax + 4], 1
call fcn.0040bc81
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
push ebx
push ecx
lea ecx, [ebp - 0x14]
push 0
push ecx
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call edi
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 6
call fcn.0040ba0c
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 3
call fcn.0040ba0c
cmp dword [ebp - 0x1c], 2
je 0x4256d6
cmp dword [ebp - 0x1c], 1
jne 0x4256e6
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x68]
push eax
call fcn.0040a9ce
test eax, eax
je 0x425749
inc dword [ebp - 0x20]
lea eax, [ebp - 0x34]
push esi
push eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.0040b59f
mov ecx, dword [eax]
mov byte [ebp - 4], 4
mov byte [eax + 4], 1
call fcn.0040bc81
mov ebx, dword [eax]
lea eax, [ebp - 0x40]
push esi
push eax
lea ecx, [ebp - 0x68]
call fcn.0040b59f
mov ecx, dword [eax]
mov byte [ebp - 4], 5
mov byte [eax + 4], 1
call fcn.0040bc81
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
push ebx
push ecx
lea ecx, [ebp - 0x14]
push 0
push ecx
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
jmp 0x42560d
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x90]
push 0
push eax
mov ecx, esi
mov dword [esi], 0x4665f0
mov dword [esi + 0x20], 0x4665e8
call fcn.0040b0be
mov dword [ebp - 0x28], 1
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
call fcn.00405fcc
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.00405fcc
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00426609
mov eax, esi
jmp 0x4257dd
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
call fcn.00405fcc
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.00405fcc
push 1
pop esi
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xf]
push esi
push eax
push 0x47d330
call fcn.0040a7b8
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x28], esi
call fcn.00426609
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8