Function at 0x412a50
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov eax, dword [0x4271f8]
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
mov byte [eax], 0
push ebp
mov eax, dword [ebx + 0x20]
xor ebp, ebp
push esi
push edi
test eax, eax
je 0x412aa9
push str.parent
push eax
call fcn.004196a0
add esp, 8
test eax, eax
je 0x412aa4
mov edi, dword [ebx + 0x20]
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, dword [0x427690]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x412aa9
mov ebp, 1
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x412b14
mov ecx, dword [ebx + 0x28]
cmp ecx, 0x10
jb 0x412ac0
mov ecx, dword [0x422048]
jmp 0x412ac7
mov ecx, dword [ecx*4 + 0x422044]
lea edx, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x412b14
mov ecx, dword [0x4271f8]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebx + 0x30]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [0x4271f8]
cmp byte [edx], 0
jne 0x412b96
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x412b8d
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x412b8d
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x412b8d
mov edi, dword [0x427690]
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
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x38]
mov edx, dword [0x427690]
mov eax, dword [0x4271f8]
push ecx
mov ecx, dword [ebx + 0x40]
push 0x104
push edx
mov edx, dword [ebx + 0x3c]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x412b87
mov eax, dword [0x4271f8]
mov byte [eax], 0
mov edx, dword [0x4271f8]
cmp byte [edx], 0
je 0x412c59
push edx
call fcn.00419268
add esp, 4
test eax, eax
je 0x412bff
mov ecx, dword [0x4271f8]
push 0x5c
push ecx
call fcn.00418f20
mov esi, eax
add esp, 8
test esi, esi
je 0x412bf7
lea edx, [esi + 1]
push 0x2e
push edx
call fcn.00418f60
add esp, 8
test eax, eax
je 0x412bec
mov byte [esi], 0
mov eax, dword [0x4271f8]
push eax
call fcn.00419268
add esp, 4
test eax, eax
je 0x412bff
mov ecx, dword [0x4271f8]
mov byte [ecx], 0
jmp 0x412bff
mov edx, dword [0x4271f8]
mov byte [edx], 0
jmp 0x412bff
mov eax, dword [0x4271f8]
mov byte [eax], 0
mov eax, dword [0x4271f8]
cmp byte [eax], 0
je 0x412c59
test ebp, ebp
je 0x412c1f
push 0x5c
push eax
call fcn.00418f20
add esp, 8
test eax, eax
je 0x412c1f
mov byte [eax], 0
mov edi, dword [0x4271f8]
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, dword [0x427690]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x427690]
cmp byte [eax], 0
je 0x412c5e
push eax
call fcn.00412c80
add esp, 4
mov eax, dword [0x427690]
push 0x104
push eax
push eax
call fcn.0040c0c0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret