Function at 0x4669aa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x4004]
mov eax, 0x4004
call fcn.004952c0
push 0xffffffffffffffff
push 0x4c998c
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4ff5d0]
xor eax, ebp
mov dword [ebp + 0x4000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x400c]
xor ebx, ebx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 2
call fcn.00472090
lea eax, [ebp + 0x4010]
push eax
mov ecx, 0x50266c
mov byte [ebp - 4], 3
call fcn.004162e0
push eax
lea ecx, [ebp - 0x20]
call fcn.004723d0
cmp byte [ebp - 0x19], 0xff
lea eax, [ebp - 0x20]
jne 0x466a2e
mov eax, dword [ebp - 0x20]
push eax
call fcn.004963f5
pop ecx
mov dword [0x504af0], eax
cmp eax, ebx
jne 0x466b9e
lea ecx, [ebp - 0x28]
call fcn.00472090
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00472090
lea eax, [ebp + 0x4018]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00472280
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.004720a0
cmp byte [ebp - 0xd], 0xff
lea ecx, [ebp - 0x14]
jne 0x466a81
mov ecx, dword [ebp - 0x14]
cmp byte [ecx + eax - 1], 0x5c
je 0x466a95
push 0x4d19a0
lea ecx, [ebp - 0x14]
call fcn.004727a0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
mov edi, 0x504af0
push edi
push ecx
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
mov dword [ebp - 0x38], ebx
call fcn.00472280
call fcn.0040fd40
add esp, 0x18
cmp eax, ebx
jne 0x466b02
push 0x4d1a1a
mov ecx, esi
call fcn.00472340
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 5
call fcn.00472320
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00472320
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00472320
jmp 0x466bfb
cmp byte [ebp - 0x21], 0xff
mov dword [0x504af0], ebx
lea eax, [ebp - 0x28]
jne 0x466b14
mov eax, dword [ebp - 0x28]
push edi
push 0x20019
push ebx
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x466b39
push 0x4d1a1a
mov ecx, esi
call fcn.00472340
jmp 0x466ad2
push dword [0x504af0]
lea eax, [ebp - 0x48]
push eax
mov dword [0x504aec], ebx
call fcn.00437c91
push eax
lea eax, [ebp + 0x4010]
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 7
call fcn.0046660b
add esp, 0x14
lea ecx, [ebp - 0x40]
call fcn.00472320
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.00472320
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00472320
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00472320
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00472320
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp]
push eax
push dword [0x504aec]
mov dword [ebp - 0x34], 0x3fff
push dword [0x504af0]
mov byte [ebp], bl
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, ebx
jne 0x466bd6
inc dword [0x504aec]
lea eax, [ebp]
push eax
jmp 0x466bed
push dword [0x504af0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x504af0], ebx
push 0x4d1a1a
mov ecx, esi
call fcn.00472340
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00472320
lea ecx, [ebp + 0x4010]
mov byte [ebp - 4], 1
call fcn.00472320
lea ecx, [ebp + 0x4018]
mov byte [ebp - 4], bl
call fcn.00472320
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x4000]
xor ecx, ebp
call fcn.00493f43
add ebp, 0x4004
leave
ret