Function at 0x4197a3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10028
call fcn.00454e20
mov ecx, dword [0x464c98]
push ebx
push esi
mov esi, dword [0x467168]
push edi
xor edi, edi
inc edi
push edi
xor ebx, ebx
push ebx
push 0xffffffffffffffff
push 0x458f24
mov dword [ebp - 0xc], esi
call fcn.0040152b
push edi
push ebx
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.0040152b
cmp dword [ebp + 8], ebx
je 0x419822
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x419822
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 8]
call esi
test eax, eax
je 0x41982b
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
jbe 0x419822
cmp ecx, 2
jbe 0x41984c
cmp ecx, 3
je 0x4198cb
push 4
pop eax
cmp ecx, eax
je 0x419888
cmp ecx, 7
jne 0x419822
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 0x10]
mov dword [ebp - 4], ebx
push dword [ebp - 8]
call esi
mov eax, dword [ebp - 4]
cmp eax, edi
ja 0x419995
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x464c98]
push edi
push ebx
push 0xffffffffffffffff
push 0x45771c
call fcn.0040152b
jmp 0x419824
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push dword [ebp + 0x10]
push dword [ebp - 8]
call esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x464c98]
push edi
push ebx
push 0xffffffffffffffff
push 0x45771c
call fcn.0040152b
mov ecx, dword [ebp - 0xc]
push ebx
push dword [ebp - 0x14]
call fcn.004018c1
jmp 0x419824
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10028]
push eax
push ebx
push ebx
push dword [ebp + 0x10]
mov dword [ebp - 4], 0xffff
push dword [ebp - 8]
call esi
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0xea
je 0x419822
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
push edi
push ebx
add eax, eax
push eax
push ebx
call fcn.0040152b
cmp eax, edi
je 0x41991a
xor eax, eax
jmp 0x419824
mov ecx, dword [ebp - 0xc]
call fcn.00401c8a
mov byte [eax], bl
mov esi, str.0123456789ABCDEF
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor esi, esi
cmp dword [ebp - 4], ebx
mov dword [ebp + 0x10], ebx
jbe 0x41996c
movsx ecx, byte [ebp + esi - 0x10028]
mov edi, dword [ebp + 0x10]
add dword [ebp + 0x10], 2
mov edx, ecx
and edx, 0xf
mov dl, byte [ebp + edx - 0x28]
shr ecx, 4
and ecx, 0xf
mov cl, byte [ebp + ecx - 0x28]
mov byte [edi + eax + 1], dl
mov edx, edi
inc esi
mov byte [edx + eax], cl
cmp esi, dword [ebp - 4]
jb 0x41993b
mov ecx, dword [ebp + 0x10]
push 1
push ebx
push 0xffffffffffffffff
mov byte [ecx + eax], bl
mov ecx, dword [0x464c98]
push 0x45771c
call fcn.0040152b
mov ecx, dword [ebp - 0xc]
push ebx
call fcn.0041cf68
jmp 0x419824
mov ecx, dword [ebp - 0xc]
push edi
push ebx
add eax, 2
push eax
push ebx
call fcn.0040152b
cmp eax, edi
je 0x4199b6
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x419913
mov ecx, dword [ebp - 0xc]
call fcn.00401c8a
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
push ebx
push ebx
push dword [ebp + 0x10]
push dword [ebp - 8]
call esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov byte [edi + eax + 1], bl
mov eax, dword [ebp - 4]
mov byte [edi + eax], bl
cmp dword [ebp - 0x10], 7
jne 0x4199fa
cmp byte [edi], bl
jne 0x4199f7
cmp byte [edi + 1], bl
mov byte [edi], 0xa
je 0x4199fa
inc edi
jmp 0x4199eb
mov ecx, dword [0x464c98]
push 1
push ebx
push 0xffffffffffffffff
push 0x45771c
call fcn.0040152b
mov ecx, dword [ebp - 0xc]
call fcn.00401c6f
mov ecx, dword [ebp - 0xc]
mov esi, eax
call fcn.00401c8a
push eax
call fcn.00454880
pop ecx
mov dword [esi], eax
jmp 0x419987