Function at 0x417aba
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10028
call fcn.004561f0
mov ecx, dword [0x465b20]
push ebx
push esi
push edi
mov edi, dword [0x467ff0]
xor esi, esi
inc esi
push esi
xor ebx, ebx
push ebx
push 0xffffffffffffffff
push 0x459f14
mov dword [ebp - 0xc], edi
call fcn.00401592
push esi
push ebx
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.00401592
cmp dword [ebp + 8], ebx
je 0x417b17
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
je 0x417b1b
mov eax, esi
jmp 0x417b40
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 0x417b47
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
jbe 0x417b3d
cmp ecx, 2
jbe 0x417b68
cmp ecx, 3
je 0x417bf5
push 4
pop eax
cmp ecx, eax
je 0x417bb3
cmp ecx, 7
jne 0x417b3d
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
test eax, eax
jne 0x417d3d
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x417d3d
push 1
push ebx
add eax, 2
push eax
push ebx
mov ecx, edi
call fcn.00401592
cmp eax, 1
je 0x417cbf
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x417c3e
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 [0x465b20]
push 1
push ebx
push 0xffffffffffffffff
push 0x45871c
call fcn.00401592
push dword [ebp - 0x14]
mov ecx, edi
call fcn.004018f8
jmp 0x417b40
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 0x417b3d
mov eax, dword [ebp - 4]
push 1
push ebx
add eax, eax
push eax
push ebx
mov ecx, edi
call fcn.00401592
cmp eax, 1
je 0x417c45
xor eax, eax
jmp 0x417b40
mov ecx, edi
call fcn.00401d39
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 0x417c96
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 0x417c65
mov ecx, dword [ebp + 0x10]
push 1
push ebx
push 0xffffffffffffffff
mov byte [ecx + eax], bl
mov ecx, dword [0x465b20]
push 0x45871c
call fcn.00401592
mov ecx, dword [ebp - 0xc]
push ebx
call fcn.0041c5b7
jmp 0x417b40
mov ecx, edi
call fcn.00401d39
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]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
jne 0x417d0e
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x417d0e
mov byte [edi + eax + 1], bl
mov eax, dword [ebp - 4]
mov byte [edi + eax], bl
cmp dword [ebp - 0x10], 7
jne 0x417d10
mov eax, edi
cmp byte [eax], bl
jne 0x417d0b
cmp byte [eax + 1], bl
mov byte [eax], 0xa
je 0x417d10
inc eax
jmp 0x417cff
mov byte [edi], bl
mov ecx, dword [0x465b20]
push 1
push ebx
push 0xffffffffffffffff
push 0x45871c
call fcn.00401592
mov ecx, dword [ebp - 0xc]
call fcn.00401d1e
push edi
mov esi, eax
call fcn.00455c50
pop ecx
mov dword [esi], eax
jmp 0x417cb1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x465b20]
push 1
push ebx
push 0xffffffffffffffff
push 0x45871c
call fcn.00401592
jmp 0x417b40