Function at 0x469050
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1002c
call fcn.0048af20
push ebx
push esi
push edi
push 1
push 0
mov esi, ecx
mov ecx, dword [0x4a2bd0]
push 0xffffffffffffffff
push 0
mov dword [esp + 0x28], ecx
call fcn.0046ede0
test esi, esi
jne 0x46908a
mov esi, 0x57
jmp 0x469390
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x469390
mov edi, dword [ebp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push eax
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [esp + 0x20]
push edi
push eax
call ebx
mov esi, eax
test esi, esi
je 0x4690da
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x469390
mov eax, dword [esp + 0x1c]
dec eax
cmp eax, 6
ja case.0x4690e8.5
jmp dword [eax*4 + 0x4693ac]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x24]
push eax
push 0
push 0
push edi
push ecx
mov dword [esp + 0x2c], 4
call ebx
mov esi, eax
test esi, esi
jne 0x469124
mov edx, dword [esp + 0x20]
push 0x18
push eax
mov eax, dword [esp + 0x20]
push edx
call fcn.004010d0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x469390
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0
push edi
push edx
mov dword [esp + 0x2c], 0
call ebx
mov esi, eax
test esi, esi
jne 0x469260
mov eax, dword [esp + 0x14]
test eax, eax
je 0x469260
push 1
push esi
add eax, 2
push eax
push esi
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.0046ede0
cmp eax, 1
je 0x469193
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [esi + 0x17], 0
jne 0x46919c
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x4691a9
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x4691c2
test byte [esi + 0x15], 4
je 0x4691bd
mov eax, esi
call fcn.0042d510
mov edi, dword [esi + 8]
jmp 0x4691d4
cmp al, 2
jne 0x4691cf
call fcn.00401000
mov edi, eax
jmp 0x4691d4
mov edi, 0x4a453d
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edi
push 0
push 0
push edx
push eax
call ebx
mov ecx, dword [esp + 0x10]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x469221
mov eax, dword [esp + 0x14]
test eax, eax
je 0x469221
mov word [eax + edi], si
cmp dword [esp + 0x1c], 7
jne 0x469224
mov eax, edi
nop
cmp byte [eax], 0
jne 0x46921e
cmp byte [eax + 1], 0
mov byte [eax], 0xa
je 0x469224
inc eax
jmp 0x469210
mov byte [edi], 0
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x469230
mov ebx, dword [esp + 0x18]
sub eax, edx
mov edi, eax
mov eax, ebx
call fcn.00412850
push 0
mov eax, ebx
call fcn.00412950
test eax, eax
jne 0x469390
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x469390
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x3c]
push ecx
push 0
push 0
push edi
push edx
mov dword [esp + 0x2c], 0xffff
call ebx
mov esi, eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x469390
mov ecx, dword [esp + 0x14]
push 1
push esi
lea edx, [ecx + ecx]
push edx
push esi
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.0046ede0
cmp eax, 1
jne 0x469188
cmp byte [esi + 0x17], 0
jne 0x4692cc
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x4692d9
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x4692f2
test byte [esi + 0x15], 4
je 0x4692ed
mov eax, esi
call fcn.0042d510
mov edi, dword [esi + 8]
jmp 0x469304
cmp al, 2
jne 0x4692ff
call fcn.00401000
mov edi, eax
jmp 0x469304
mov edi, 0x4a453d
mov byte [edi], 0
mov eax, dword [str.0123456789ABCDEF]
mov ecx, dword [0x499de8]
mov dword [esp + 0x24], eax
mov eax, dword [0x499dec]
xor edx, edx
mov dword [esp + 0x28], ecx
mov ecx, dword [0x499df0]
mov dword [esp + 0x2c], eax
mov al, byte [0x499df4]
xor esi, esi
mov dword [esp + 0x30], ecx
mov byte [esp + 0x34], al
cmp dword [esp + 0x14], edx
jbe 0x469369
movzx ecx, byte [esp + esi + 0x38]
mov eax, ecx
shr ecx, 4
and eax, 0xf
mov al, byte [esp + eax + 0x24]
and ecx, 0xf
mov cl, byte [esp + ecx + 0x24]
mov byte [edx + edi + 1], al
mov byte [edx + edi], cl
inc esi
add edx, 2
cmp esi, dword [esp + 0x14]
jb 0x469340
mov eax, dword [esp + 0x18]
push 0
mov byte [edx + edi], 0
call fcn.00412950
test eax, eax
je 0x469188
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 0x65e
mov edx, dword [ebp + 8]
test esi, esi
setne al
movzx ecx, al
push esi
push ecx
push edx
call fcn.0042cc90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc