Function at 0x4417e0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x130
push ebx
push ebp
push edi
push 0x1002
call fcn.0044c0d4
mov edi, eax
push 0x104
mov dword [esp + 0x38], edi
call fcn.0044c0d4
push 0x104
mov dword [esp + 0x28], eax
call fcn.0044c0d4
push 0x104
mov ebp, eax
call fcn.0044c0d4
add esp, 0x10
mov ebx, eax
mov eax, dword [0x477340]
push 0x104
push ebx
push 0x106e
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x441ae3
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push 0
push ebx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x441ac4
push esi
push 0x1002
push edi
push 0x464964
push eax
push 0x46116c
call dword [sym.imp.KERNEL32.dll_GetProfileStringA]
test eax, eax
je 0x441a1c
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x1c], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x441a1c
mov edi, dword [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + ebp - 1], 0x3a
jne 0x4418d7
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ecx + ebp - 1], al
mov edx, dword [esp + 0x20]
mov ecx, dword [0x45a5ac]
mov eax, edx
mov edi, ebp
push 0x104
push ebx
mov dword [eax], ecx
mov ecx, dword [0x45a5b0]
push 0x464964
mov dword [eax + 4], ecx
mov ecx, dword [0x45a5b4]
mov dword [eax + 8], ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
mov eax, dword [esp + 0x30]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetProfileStringA]
test eax, eax
je 0x4419f6
mov edx, dword [0x477340]
lea ecx, [esp + 0x3c]
push 0x104
push ecx
push 0x106e
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x4419d7
lea eax, [esp + 0x24]
lea ecx, [esp + 0x3c]
push eax
push 1
push 0
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4419cf
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x30]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push 0
push ebp
push ecx
mov dword [esp + 0x48], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4419ac
mov dword [esp + 0x18], 0xffffffff
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x4419d7
test eax, eax
je 0x441a85
cmp eax, 1
je 0x4419d7
jmp 0x4419f6
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push 4
push edx
push 4
push 0
push ebp
mov dword [esp + 0x24], 0x63
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x1c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [edx + ecx + 1]
or ecx, 0xffffffff
mov dword [esp + 0x1c], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x441895
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
xor esi, esi
lea ecx, [esp + 0x28]
lea edx, [esp + 0x10]
push ecx
push edx
mov edx, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x38]
push 0
mov eax, esi
push ecx
push ebx
push eax
push edx
mov dword [esp + 0x4c], 0x104
mov dword [esp + 0x48], 4
inc esi
call edi
test eax, eax
jne 0x441ab4
mov eax, dword [esp + 0x10]
cmp eax, 0x62
jl 0x441aa3
cmp eax, 0x63
jg 0x441aa3
mov ecx, dword [esp + 0x14]
sub eax, 0x62
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push 4
push eax
push 4
push 0
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x441a24
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push 4
push eax
push 4
push 0
push ebp
mov dword [esp + 0x24], 0x62
push ecx
jmp 0x4419f0
mov edx, dword [esp + 0x14]
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x441a24
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov edi, dword [esp + 0x30]
push ebx
call fcn.0044c186
push edi
call fcn.0044c186
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0044c186
push ebp
call fcn.0044c186
add esp, 0x10
pop edi
pop ebp
pop ebx
add esp, 0x130
ret