Function at 0x427740
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44cc1d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
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.004272b0
push 0x10
lea ecx, [ebp - 0x24]
call fcn.00402190
lea ecx, [ebp - 0x24]
call fcn.00426cf0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4277c8
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00405180
mov eax, dword [ebp - 0x40]
jmp 0x427962
mov dword [ebp - 0x30], 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x427824
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x44], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00405180
mov eax, dword [ebp - 0x44]
jmp 0x427962
cmp dword [ebp - 0x14], 0
jne 0x427853
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00405180
mov eax, dword [ebp - 0x48]
jmp 0x427962
mov ecx, dword [ebp - 0x14]
push ecx
push 0
mov ecx, dword [ebp + 0x10]
call fcn.004272f0
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0x80
jae 0x42787a
mov dword [ebp - 0x28], 0x80
push 0x44dc9c
mov eax, dword [ebp - 0x28]
mov ecx, 2
mul ecx
mov edx, 0xffffffff
cmovb eax, edx
push eax
call fcn.0042a1db
add esp, 8
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x4278c7
mov dword [ebp - 0x50], 0xe
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00405180
mov eax, dword [ebp - 0x50]
jmp 0x427962
mov dword [ebp - 0x38], 0
jmp 0x4278d9
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0x14]
jae 0x427910
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x42790e
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.00426d30
nop
jmp 0x4278d0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00429b9d
add esp, 4
cmp dword [ebp - 0x3c], 0
jne 0x427931
mov dword [ebp - 0x58], 0
jmp 0x42793e
mov dword [ebp - 0x30], 0x8123
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov dword [ebp - 0x5c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00405180
mov eax, dword [ebp - 0x5c]
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