Function at 0x417479
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x417566
lea eax, [ebp + 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x4174cd
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x68], eax
push 1
push dword [ebp - 0x68]
call fcn.00417784
pop ecx
pop ecx
jmp 0x417561
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x41751f
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x41751d
push 1
push 0x68be
push 1
push 0x11fa
push 0
call fcn.0040902b
add esp, 0x14
jmp 0x417561
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0xffffffe7
jmp 0x417541
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xfffffff1
jg 0x417561
mov byte [ebp - 5], 0
push 1
push 0
lea eax, [ebp - 5]
push eax
push 0
call fcn.00408948
add esp, 0x10
jmp 0x417536
jmp 0x417780
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x88]
movzx eax, byte [eax]
test eax, eax
je 0x417756
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x4175d5
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x4175d0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x417754
mov dword [ebp - 0xc], 0
mov dword [ebp - 0xc], 0xfffffff9
jmp 0x4175ec
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x1b
jl 0x417754
mov dword [ebp - 0x1c], 8
mov dword [ebp - 0x74], 0xfffffff6
mov dword [ebp - 0x14], 0
jmp 0x417614
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x417627
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 4], 3
jmp 0x41760d
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 4], 0
jmp 0x41764c
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 4], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 4], 0xfffffffc
je 0x41774f
mov dword [ebp - 0x24], 0xca955a63
mov dword [ebp - 0x10], 0
jmp 0x417674
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x41768a
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x94], 0xfffffffa
jmp 0x41766d
push 6
pop eax
test eax, eax
je 0x4176a7
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 4], 0
je 0x4176a7
mov dword [ebp - 0x28], 1
jmp 0x4176ab
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xc], eax
jl 0x4176c2
mov dword [ebp - 0x64], 1
jmp 0x4176c6
and dword [ebp - 0x64], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 4], 0xd1dc6b79
jae 0x4176df
mov dword [ebp - 0x20], 1
jmp 0x4176e3
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
cmp eax, dword [ebp - 0x24]
je 0x417701
mov dword [ebp - 0x2c], 1
jmp 0x417705
and dword [ebp - 0x2c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
cmp eax, dword [ebp - 0x2c]
je 0x41771d
mov dword [ebp - 0x6c], 1
jmp 0x417721
and dword [ebp - 0x6c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x94]
mov dword [ebp - 0x98], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x94]
sub eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x74], eax
jmp 0x417637
jmp 0x4175e5
jmp 0x417780
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x84], eax
push 0
push dword [ebp - 0x84]
push 0x4b8e
push 0
push 0x2280
push 0x1f61
call fcn.00413d2d
add esp, 0x18
mov esp, ebp
pop ebp
ret