Function at 0x424660
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4c5082
mov eax, dword fs:[0]
push eax
mov eax, 0x4264
call fcn.004985e0
mov eax, dword [0x4f4de0]
xor eax, esp
mov dword [esp + 0x425c], eax
push ebx
push ebp
push esi
mov eax, dword [0x4f4de0]
xor eax, esp
push eax
lea eax, [esp + 0x4274]
mov dword fs:[0], eax
mov ecx, dword [ecx]
mov eax, dword [esp + 0x4284]
mov dword [esp + 0x38], edx
lea edx, [esp + 0x20]
push edx
push 0x20019
xor ebx, ebx
push ebx
push ecx
push eax
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x424a0a
lea eax, [esp + 0x17]
push eax
lea ecx, [esp + 0x1b]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00427c90
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x270]
push eax
lea ecx, [esp + 0x3c]
push ecx
push ebx
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x4290], ebx
mov ecx, dword [esp + 0x34]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [esp + 0x78]
push eax
push ebx
push ecx
mov dword [esp + 0x50], 0x104
mov dword [esp + 0x38], 0x3ffe
xor esi, esi
call ebp
test eax, eax
jne 0x424907
jmp 0x424730
mov eax, dword [esp + 0x34]
cmp eax, 1
jne 0x42485f
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x64]
shr edx, 1
xor eax, eax
push 0x104
push ecx
mov word [esp + edx*2 + 0x274], ax
call fcn.00499012
add esp, 4
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4d9950
call fcn.00404050
push ecx
mov byte [esp + 0x4284], 1
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00404050
mov byte [esp + 0x4284], bl
call fcn.00423c70
add esp, 8
cmp eax, ebx
jne 0x4248c9
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x4d9954
call fcn.00404050
push ecx
mov byte [esp + 0x4284], 2
lea eax, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00404050
mov byte [esp + 0x4284], bl
call fcn.00423c70
add esp, 8
cmp eax, ebx
jne 0x4248c9
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x14]
call fcn.00404050
lea ecx, [esp + 0x10]
mov byte [esp + 0x427c], 3
call fcn.004050f0
lea edx, [esp + 0x26c]
push edx
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.00426e70
mov ecx, eax
call fcn.00404100
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00404530
call fcn.00423970
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x424859
lea eax, [esp + 0x26c]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x40]
call fcn.00427100
mov ecx, eax
call fcn.00404100
lea ecx, [esp + 0x10]
jmp 0x4248bd
cmp eax, 2
jne 0x4248c9
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x64]
shr edx, 1
xor eax, eax
push 0x104
push ecx
mov word [esp + edx*2 + 0x274], ax
call fcn.00499012
add esp, 8
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x28]
call fcn.00404050
lea eax, [esp + 0x26c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4284], 4
call fcn.00426e70
mov ecx, eax
call fcn.00404100
lea ecx, [esp + 0x24]
mov byte [esp + 0x427c], bl
call fcn.00404550
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x270]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x2c]
push ebx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x78]
push eax
inc esi
push esi
push ecx
mov dword [esp + 0x50], 0x104
mov dword [esp + 0x38], 0x3ffe
call ebp
test eax, eax
je 0x424730
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
mov bl, 5
jmp 0x424930
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
call fcn.00427860
test al, al
je 0x4249f6
lea ecx, [esp + 0x10]
call fcn.00404030
push edi
lea ecx, [esp + 0x28]
mov byte [esp + 0x4280], bl
call fcn.00428290
mov ecx, eax
add ecx, 4
lea edx, [esp + 0x14]
call fcn.00423de0
add esp, 4
lea ecx, [esp + 0x24]
call fcn.00428290
push eax
mov ecx, edi
call fcn.00426e70
lea edx, [esp + 0x10]
push edx
mov ecx, eax
call fcn.00404570
lea ecx, [esp + 0x24]
call fcn.00428290
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00404530
call fcn.00423970
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x4249df
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x1c]
push eax
call fcn.00427100
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call fcn.00404570
lea ecx, [esp + 0x10]
call fcn.00404550
lea ecx, [esp + 0x24]
call fcn.004282c0
jmp 0x424930
lea ecx, [esp + 0x44]
mov dword [esp + 0x427c], 0xffffffff
call fcn.00426fd0
mov eax, 1
mov ecx, dword [esp + 0x4274]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x425c]
xor ecx, esp
call fcn.00497941
add esp, 0x4270
ret