Function at 0x492710
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x2c
push ebx
mov ebx, dword [0x4e90f8]
push ebp
push esi
push edi
push 1
push 0
push 0xffffffffffffffff
mov dword [esp + 0x30], ecx
mov ecx, ebx
push 0
mov dword [esp + 0x30], ebx
call fcn.0049e6b0
mov edx, dword [esp + 0x40]
test edx, edx
jne 0x492767
mov edi, 0x57
mov ecx, edi
mov eax, dword [0x4e498c]
test edi, edi
mov dword [eax + 0x30], ecx
setne al
mov ecx, dword [esp + 0x24]
movzx eax, al
push eax
call fcn.004469f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x4e498c]
mov eax, dword [eax + 0xb0]
or eax, 0x20019
push eax
push 0
push dword [esp + 0x50]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
test edi, edi
jne 0x4927fc
mov ebp, dword [esp + 0x48]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push eax
lea eax, [esp + 0x20]
push eax
push edi
push ebp
push dword [esp + 0x24]
call esi
mov edi, eax
test edi, edi
jne 0x4927f2
mov eax, dword [esp + 0x18]
dec eax
cmp eax, 6
ja case.0x4927bd.5
jmp dword [eax*4 + 0x492a20]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x20]
push eax
push 0
push 0
push ebp
push dword [esp + 0x24]
call esi
mov edi, eax
test edi, edi
jne 0x4927f2
push dword [esp + 0x1c]
mov ecx, ebx
call fcn.00401660
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, 0xffffffff
jne 0x492741
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
jmp 0x492743
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0
push 0
push 0
push ebp
push dword [esp + 0x24]
call esi
mov edi, eax
test edi, edi
jne 0x4927f2
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4927f2
push 1
push edi
add eax, 2
mov ecx, ebx
push eax
push edi
call fcn.0049e6b0
cmp eax, 1
je 0x492864
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 0xc
push 0
push 1
mov ecx, ebx
call fcn.00401680
mov esi, eax
lea eax, [esp + 0x14]
push eax
push esi
push 0
push 0
push ebp
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [esp + 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x4928c1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4928c1
mov word [esi + eax], di
cmp dword [esp + 0x18], 7
jne 0x4928c4
mov eax, esi
nop dword [eax + eax]
cmp byte [eax], 0
jne 0x4928be
cmp byte [eax + 1], 0
mov byte [eax], 0xa
je 0x4928c4
inc eax
jmp 0x4928b0
mov byte [esi], 0
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4928c7
sub esi, ecx
cmp byte [ebx + 0x17], al
jne 0x4928da
mov ebp, dword [ebx + 0xc]
jmp 0x4928dc
mov ebp, ebx
cmp byte [ebp + 0x17], 1
jne 0x4928f4
test byte [ebp + 0x15], 8
je 0x4928ef
mov ecx, ebp
call fcn.004015a0
add ebp, 0xc
jmp 0x4928f9
mov ebp, 0x4eb4fc
push 0
mov ecx, ebx
mov dword [ebp], esi
call fcn.00427880
test eax, eax
jne 0x4927fc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0
push 0
push 0
push ebp
push dword [esp + 0x24]
call esi
mov edi, eax
test edi, edi
jne 0x4927f2
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4927f2
push 1
push edi
add eax, eax
mov ecx, ebx
push eax
push edi
call fcn.0049e6b0
cmp eax, 1
jne 0x49284e
push edi
push eax
mov ecx, ebx
call fcn.00401680
mov ebp, eax
lea ecx, [esp + 0x14]
push ecx
mov byte [ebp], 0
mov eax, dword [esp + 0x18]
add eax, ebp
push eax
push edi
push edi
push dword [esp + 0x58]
mov dword [esp + 0x54], eax
push dword [esp + 0x24]
call esi
push dword [esp + 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x4927fc
movups xmm0, xmmword [str.0123456789ABCDEF]
mov al, byte [0x4dc11c]
xor edx, edx
xor esi, esi
mov byte [esp + 0x38], al
movups xmmword [esp + 0x28], xmm0
cmp dword [esp + 0x14], edx
jbe 0x4929eb
mov ebx, dword [esp + 0x40]
movzx ecx, byte [esi + ebx]
inc esi
mov eax, ecx
shr ecx, 4
and eax, 0xf
movzx eax, byte [esp + eax + 0x28]
mov byte [edx + ebp + 1], al
movzx eax, byte [esp + ecx + 0x28]
mov byte [edx + ebp], al
add edx, 2
cmp esi, dword [esp + 0x14]
jb 0x4929c0
mov ebx, dword [esp + 0x20]
push 0
mov ecx, ebx
mov byte [edx + ebp], 0
call fcn.00427880
test eax, eax
jne 0x492741
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x65e
jmp 0x492741