Function at 0x427980
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44cc5d
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x10]
call fcn.004272d0
push 0x10
lea ecx, [ebp - 0x38]
call fcn.00402190
lea ecx, [ebp - 0x38]
call fcn.00426cf0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0x14]
or ecx, 0x20019
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x427a0d
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00405180
mov eax, dword [ebp - 0x54]
jmp 0x427c1d
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x4c], 0
push 0
push 0
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x427a72
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00405180
mov eax, dword [ebp - 0x58]
jmp 0x427c1d
cmp dword [ebp - 0x14], 0
jne 0x427aa1
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov dword [ebp - 0x5c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00405180
mov eax, dword [ebp - 0x5c]
jmp 0x427c1d
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 0x10]
call fcn.00427420
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
push 0x44dc9c
mov eax, dword [ebp - 0x28]
mov edx, 2
mul edx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0042a1db
add esp, 8
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0
jne 0x427b05
mov dword [ebp - 0x64], 0xe
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00405180
mov eax, dword [ebp - 0x64]
jmp 0x427c1d
mov dword [ebp - 0x48], 0
jmp 0x427b17
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 0x14]
jae 0x427bcb
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
push 0x44dc9c
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0042a1db
add esp, 8
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x4c], edx
cmp dword [ebp - 0x4c], 0
jne 0x427b6d
mov dword [ebp - 0x6c], 0xe
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00405180
mov eax, dword [ebp - 0x6c]
jmp 0x427c1d
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x427bc6
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x40]
push edx
lea ecx, [ebp - 0x38]
call fcn.00402f90
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.00426db0
mov dword [ebp - 0x2c], 0
jmp 0x427b0e
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.00429b9d
add esp, 4
cmp dword [ebp - 0x50], 0
jne 0x427bec
mov dword [ebp - 0x70], 0
jmp 0x427bf9
mov dword [ebp - 0x40], 0x8123
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov dword [ebp - 0x74], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00405180
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429858
mov esp, ebp
pop ebp
ret