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

Disassembly:
sub esp, 0x10
mov eax, dword [0x42b630]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov byte [eax], 0
xor ebp, ebp
push edi
mov eax, dword [esi + 0x20]
mov dword [esp + 0x14], ebp
cmp eax, ebp
je 0x41427f
push str.parent
push eax
call fcn.0041a590
add esp, 8
test eax, eax
je 0x414277
mov ecx, dword [esi + 0x20]
mov edx, dword [0x42bae0]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x41426b
jmp 0x41427f
mov dword [esp + 0x14], 1
cmp dword [esi + 0x2c], ebp
je 0x414385
mov eax, dword [esi + 0x28]
mov ebx, dword [0x426048]
cmp eax, 0x14
mov dword [esp + 0x18], ebp
jae 0x4142a1
mov ebx, dword [eax*4 + 0x426044]
xor edi, edi
cmp eax, 4
jne 0x4142bf
mov ecx, dword [esi + 0x30]
push 0x5c
push ecx
call fcn.0041a7f0
mov edi, eax
add esp, 8
cmp edi, ebp
je 0x4142bf
mov byte [edi], 0
mov eax, dword [esi + 0x2c]
lea edx, [esp + 0x24]
push edx
push 0x20019
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
push ebx
call ebp
test eax, eax
jne 0x414321
mov edx, dword [0x42b630]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x30]
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
push eax
push 0
push ecx
push edx
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov ebx, 1
je 0x414312
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x41437e
cmp dword [esi + 0x28], 4
jne 0x41437e
mov ebx, dword [esi + 0x30]
test edi, edi
je 0x414331
lea ebx, [edi + 1]
mov edx, dword [esi + 0x2c]
lea ecx, [esp + 0x24]
push ecx
push 0x20019
push 0
push edx
push 0x80000001
call ebp
test eax, eax
jne 0x41437e
mov ecx, dword [0x42b630]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x20]
push ecx
push edx
push 0
push ebx
push eax
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x414385
mov byte [edi], 0x5c
mov ecx, dword [0x42b630]
cmp byte [ecx], 0
jne 0x41442e
mov eax, dword [esi + 0x38]
test eax, eax
je 0x414425
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x414425
mov edx, dword [esi + 0x40]
test edx, edx
je 0x414425
push 0xffdc
push eax
push 0
call fcn.0040d310
lea edi, [eax + 1]
push edi
call fcn.0041a900
mov edx, dword [esi + 0x38]
mov ebx, eax
push edi
push edx
push ebx
call fcn.0040d310
mov ecx, dword [0x42bae0]
mov edx, dword [0x42b630]
add esp, 0x1c
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4143df
mov eax, dword [0x42bae0]
mov ecx, dword [0x42b630]
mov edx, dword [esi + 0x40]
push ebx
push 0x104
push eax
mov eax, dword [esi + 0x3c]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x414416
mov ecx, dword [0x42b630]
mov byte [ecx], al
push ebx
call fcn.0041aa63
mov ecx, dword [0x42b630]
add esp, 4
cmp byte [ecx], 0
je 0x4144e2
mov esi, ecx
cmp byte [esi], 0x22
jne 0x41445b
mov al, byte [esi + 1]
inc esi
cmp al, 0x22
mov ecx, esi
je 0x414450
test al, al
je 0x414450
mov al, byte [ecx + 1]
inc ecx
cmp al, 0x22
jne 0x41443f
mov byte [ecx], 0
jmp 0x41445b
cmp byte [ecx], 0x22
jne 0x41445a
mov byte [ecx], 0
jmp 0x41445b
dec esi
push esi
call fcn.0041aaf8
add esp, 4
test eax, eax
je 0x4144a0
push 0x5c
push esi
call fcn.0041a7b0
mov edi, eax
add esp, 8
test edi, edi
je 0x41449b
lea edx, [edi + 1]
push 0x2e
push edx
call fcn.0041a7f0
add esp, 8
test eax, eax
je 0x41449b
push esi
mov byte [edi], 0
call fcn.0041aaf8
add esp, 4
test eax, eax
je 0x4144a0
mov byte [esi], 0
jmp 0x4144e2
cmp byte [esi], 0
je 0x4144e2
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4144bf
push 0x5c
push esi
call fcn.0041a7b0
add esp, 8
test eax, eax
je 0x4144bf
mov byte [eax], 0
mov ecx, dword [0x42bae0]
mov al, byte [esi]
inc esi
mov byte [ecx], al
inc ecx
test al, al
jne 0x4144c5
mov eax, dword [0x42bae0]
cmp byte [eax], 0
je 0x4144e2
push eax
call fcn.00414500
add esp, 4
mov eax, dword [0x42bae0]
push 0x104
push eax
push eax
call fcn.0040d310
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret