Function at 0x469360
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1002c
call fcn.0048b400
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.0046f180
test esi, esi
jne 0x46939a
mov esi, 0x57
jmp 0x4696b0
mov ecx, dword [0x49f440]
mov edx, dword [ecx + 0xac]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
or edx, 0x20019
push edx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4696b0
mov edi, dword [ebp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push eax
lea ecx, [esp + 0x24]
push ecx
push eax
push edi
push edx
call ebx
mov esi, eax
test esi, esi
je 0x4693f8
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4696b0
mov eax, dword [esp + 0x1c]
dec eax
cmp eax, 6
ja case.0x469406.5
jmp dword [eax*4 + 0x4696cc]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push 0
push edi
push eax
mov dword [esp + 0x2c], 4
call ebx
mov esi, eax
test esi, esi
jne 0x469442
mov ecx, dword [esp + 0x20]
push 0x18
push eax
mov eax, dword [esp + 0x20]
push ecx
call fcn.004010d0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4696b0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0
push edi
push ecx
mov dword [esp + 0x2c], 0
call ebx
mov esi, eax
test esi, esi
jne 0x469580
mov eax, dword [esp + 0x14]
test eax, eax
je 0x469580
push 1
push esi
add eax, 2
push eax
push esi
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.0046f180
cmp eax, 1
je 0x4694b1
mov edx, dword [esp + 0x10]
push edx
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 0x4694ba
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x4694c7
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x4694e0
test byte [esi + 0x15], 4
je 0x4694db
mov eax, esi
call fcn.0042d6b0
mov edi, dword [esi + 8]
jmp 0x4694f2
cmp al, 2
jne 0x4694ed
call fcn.00401000
mov edi, eax
jmp 0x4694f2
mov edi, 0x4a453d
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push edi
push 0
push 0
push ecx
push edx
call ebx
mov esi, eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x469541
mov eax, dword [esp + 0x14]
test eax, eax
je 0x469541
mov word [eax + edi], si
cmp dword [esp + 0x1c], 7
jne 0x469544
mov eax, edi
lea ecx, [ecx]
cmp byte [eax], 0
jne 0x46953e
cmp byte [eax + 1], 0
mov byte [eax], 0xa
je 0x469544
inc eax
jmp 0x469530
mov byte [edi], 0
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x469550
mov ebx, dword [esp + 0x18]
sub eax, edx
mov edi, eax
mov eax, ebx
call fcn.00412870
push 0
mov eax, ebx
call fcn.00412970
test eax, eax
jne 0x4696b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4696b0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push edi
push ecx
mov dword [esp + 0x2c], 0xffff
call ebx
mov edx, dword [esp + 0x10]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4696b0
mov eax, dword [esp + 0x14]
push 1
push esi
lea ecx, [eax + eax]
push ecx
push esi
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.0046f180
cmp eax, 1
jne 0x4694a6
cmp byte [esi + 0x17], 0
jne 0x4695ec
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x4695f9
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x469612
test byte [esi + 0x15], 4
je 0x46960d
mov eax, esi
call fcn.0042d6b0
mov edi, dword [esi + 8]
jmp 0x469624
cmp al, 2
jne 0x46961f
call fcn.00401000
mov edi, eax
jmp 0x469624
mov edi, 0x4a453d
mov byte [edi], 0
mov eax, dword [str.0123456789ABCDEF]
mov ecx, dword [0x499fe8]
mov dword [esp + 0x24], eax
mov eax, dword [0x499fec]
xor edx, edx
mov dword [esp + 0x28], ecx
mov ecx, dword [0x499ff0]
mov dword [esp + 0x2c], eax
mov al, byte [0x499ff4]
xor esi, esi
mov dword [esp + 0x30], ecx
mov byte [esp + 0x34], al
cmp dword [esp + 0x14], edx
jbe 0x469689
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 0x469660
mov eax, dword [esp + 0x18]
push 0
mov byte [edx + edi], 0
call fcn.00412970
test eax, eax
je 0x4694a6
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.0042ce20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc