Function at 0x425a30
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4c4f67
mov eax, dword fs:[0]
push eax
mov eax, 0x4254
call fcn.004985e0
mov eax, dword [0x4f4de0]
xor eax, esp
mov dword [esp + 0x4250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f4de0]
xor eax, esp
push eax
lea eax, [esp + 0x4268]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x18]
mov ecx, dword [eax + 4]
push ecx
mov ecx, edi
mov dword [esp + 0x3c], edi
call fcn.00427bd0
mov eax, dword [edi + 0x18]
lea edx, [esp + 0x2c]
push edx
mov dword [eax + 4], eax
mov eax, dword [edi + 0x18]
push 0x20019
xor ebx, ebx
push ebx
mov dword [edi + 0x1c], ebx
mov dword [eax], eax
mov eax, dword [edi + 0x18]
push str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [eax + 8], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x425abf
xor eax, eax
jmp 0x425da5
lea eax, [esp + 0x1b]
push eax
lea ecx, [esp + 0x1f]
push ecx
lea ecx, [esp + 0x44]
call fcn.00427c90
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x268]
push eax
lea ecx, [esp + 0x3c]
push ecx
push ebx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x70]
mov dword [esp + 0x4284], ebx
mov ecx, dword [esp + 0x40]
push eax
push ebx
push ecx
mov dword [esp + 0x50], 0x104
mov dword [esp + 0x40], 0x3ffe
xor ebp, ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x425c88
lea esp, [esp]
mov eax, dword [esp + 0x34]
cmp eax, 1
jne 0x425ba6
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x5c]
shr edx, 1
xor eax, eax
push 0x104
push ecx
mov word [esp + edx*2 + 0x26c], ax
call fcn.00499012
add esp, 8
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x20]
call fcn.00404050
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
mov byte [esp + 0x4274], 1
call fcn.00426e70
lea edx, [esp + 0x264]
lea ecx, [edx + 2]
mov si, word [edx]
add edx, 2
cmp si, bx
jne 0x425b77
sub edx, ecx
sar edx, 1
push edx
lea ecx, [esp + 0x268]
push ecx
mov ecx, eax
call fcn.004046b0
mov byte [esp + 0x4270], bl
mov eax, dword [esp + 0x1c]
jmp 0x425c2a
cmp eax, 2
jne 0x425c46
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x5c]
shr ecx, 1
xor edx, edx
push 0x104
push eax
mov word [esp + ecx*2 + 0x26c], dx
call fcn.00499012
add esp, 8
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x28]
call fcn.00404050
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x40]
mov byte [esp + 0x4274], 2
call fcn.00426e70
lea edx, [esp + 0x264]
lea ecx, [edx + 2]
nop
mov si, word [edx]
add edx, 2
cmp si, bx
jne 0x425c00
sub edx, ecx
sar edx, 1
push edx
lea ecx, [esp + 0x268]
push ecx
mov ecx, eax
call fcn.004046b0
mov byte [esp + 0x4270], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x425c46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x268]
push edx
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x38]
push ebx
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x70]
push edx
inc ebp
push ebp
push eax
mov dword [esp + 0x50], 0x104
mov dword [esp + 0x40], 0x3ffe
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x425b20
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x54]
mov edi, dword [edx]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
mov ebp, dword [esp + 0x54]
cmp esi, ebx
je 0x425cb3
cmp esi, dword [esp + 0x3c]
je 0x425cb8
call fcn.00497857
cmp edi, ebp
je 0x425d7f
mov eax, dword [0x4fc0d8]
mov edx, dword [eax + 0xc]
mov ecx, 0x4fc0d8
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x4270], 3
cmp esi, ebx
jne 0x425d74
call fcn.00497857
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x425cf7
call fcn.00497857
mov ebp, dword [esp + 0x38]
push ebp
lea ecx, [edi + 0x10]
lea edx, [esp + 0x20]
call fcn.00423de0
add esp, 4
cmp esi, ebx
jne 0x425d7b
call fcn.00497857
xor esi, esi
cmp edi, dword [esi + 0x18]
jne 0x425d20
call fcn.00497857
lea eax, [edi + 0xc]
push eax
mov ecx, ebp
call fcn.00426e70
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.00404570
mov byte [esp + 0x4270], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x425d5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
call fcn.004282c0
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
jmp 0x425ca5
mov eax, dword [esi]
jmp 0x425ced
mov esi, dword [esi]
jmp 0x425d16
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4270], 4
call fcn.00427c50
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00493cb0
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x4268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4250]
xor ecx, esp
call fcn.00497941
add esp, 0x4260
ret