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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56d402
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x4268
call fcn.005308e0
mov eax, dword [0x5a53f4]
xor eax, esp
mov dword [esp + 0x4264], eax
push ebx
push esi
mov eax, dword [0x5a53f4]
xor eax, esp
push eax
lea eax, [esp + 0x4278]
mov dword fs:[0], eax
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
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 0x460c9a
lea eax, [esp + 0x17]
push eax
lea ecx, [esp + 0x1b]
push ecx
lea ecx, [esp + 0x4c]
call fcn.004659b0
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
lea eax, [esp + 0x78]
mov dword [esp + 0x4294], ebx
mov ecx, dword [esp + 0x34]
push eax
push ebx
push ecx
mov dword [esp + 0x50], 0x104
mov dword [esp + 0x38], 0x3ffe
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x460b9b
jmp 0x4609c0
mov eax, dword [esp + 0x34]
cmp eax, 1
jne 0x460aef
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.00536ea2
add esp, 4
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x58acf4
call fcn.00403220
push ecx
mov byte [esp + 0x4288], 1
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00403220
mov byte [esp + 0x4288], bl
call fcn.0045ff00
add esp, 8
cmp eax, ebx
jne 0x460b59
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x58acf8
call fcn.00403220
push ecx
mov byte [esp + 0x4288], 2
lea eax, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00403220
mov byte [esp + 0x4288], bl
call fcn.0045ff00
add esp, 8
cmp eax, ebx
jne 0x460b59
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x14]
call fcn.00403220
lea ecx, [esp + 0x10]
mov byte [esp + 0x4280], 3
call fcn.004063c0
lea edx, [esp + 0x26c]
push edx
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.00464810
mov ecx, eax
call fcn.004032f0
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00404d40
call fcn.0045fb90
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x460ae9
lea eax, [esp + 0x26c]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x40]
call fcn.00464b80
mov ecx, eax
call fcn.004032f0
lea ecx, [esp + 0x10]
jmp 0x460b4d
cmp eax, 2
jne 0x460b59
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.00536ea2
add esp, 8
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x28]
call fcn.00403220
lea eax, [esp + 0x26c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4288], 4
call fcn.00464810
mov ecx, eax
call fcn.004032f0
lea ecx, [esp + 0x24]
mov byte [esp + 0x4280], bl
call fcn.00404d70
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 dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x4609c0
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
lea ebx, [ebx]
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.004654d0
test al, al
je 0x460c86
lea ecx, [esp + 0x10]
call fcn.00404e70
push edi
lea ecx, [esp + 0x28]
mov byte [esp + 0x4284], bl
call fcn.00465460
mov ecx, eax
add ecx, 4
lea edx, [esp + 0x14]
call fcn.00460070
add esp, 4
lea ecx, [esp + 0x24]
call fcn.00465460
push eax
mov ecx, edi
call fcn.00464810
lea edx, [esp + 0x10]
push edx
mov ecx, eax
call fcn.00403750
lea ecx, [esp + 0x24]
call fcn.00465460
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00404d40
call fcn.0045fb90
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x460c6f
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x1c]
push eax
call fcn.00464b80
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call fcn.00403750
lea ecx, [esp + 0x10]
call fcn.00404d70
lea ecx, [esp + 0x24]
call fcn.00466900
jmp 0x460bc0
lea ecx, [esp + 0x44]
mov dword [esp + 0x4280], 0xffffffff
call fcn.0045f430
mov eax, 1
mov ecx, dword [esp + 0x4278]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x4264]
xor ecx, esp
call fcn.005308cb
mov esp, ebp
pop ebp
ret