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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x444e11
push eax
mov al, byte [0x4592e4]
mov dword fs:[0], esp
sub esp, 0x12c
test al, 1
push ebx
push ebp
push esi
push edi
jne 0x41a06f
mov bl, al
push 0x459240
or bl, 1
mov ecx, 0x4592e8
mov byte [0x4592e4], bl
call fcn.004394f8
push 0x41a370
call fcn.0042756e
add esp, 4
mov al, byte [0x4592e4]
test al, 2
jne 0x41a09f
mov bl, al
push 0x459240
or bl, 2
mov ecx, 0x4592e0
mov byte [0x4592e4], bl
call fcn.004394f8
push 0x41a360
call fcn.0042756e
add esp, 4
mov ebp, dword [0x457458]
mov dword [esp + 0x10], ebp
xor ebx, ebx
mov ecx, 0x45
xor eax, eax
lea edi, [esp + 0x28]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x144], ebx
rep stosd dword es:[edi], eax
mov eax, dword [0x4592e0]
mov esi, 0x459240
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x41a0f1
cmp cl, bl
je 0x41a0ed
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x41a0f1
add eax, 2
add esi, 2
cmp cl, bl
jne 0x41a0cd
xor eax, eax
jmp 0x41a0f6
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x41a1bd
mov dword [esp + 0x20], 0x104
mov dword [esp + 0x14], ebp
lea eax, [esp + 0x18]
mov byte [esp + 0x144], 1
push eax
push 0x20019
push ebx
push str.SOFTWAREIBMConfigUtilPath
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41a2d4
lea ecx, [esp + 0x20]
push ecx
push 0x104
lea ecx, [esp + 0x1c]
call fcn.004398a5
mov edx, dword [esp + 0x1c]
push eax
push ebx
push ebx
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41a2c9
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.004398f4
lea eax, [esp + 0x14]
push str.prfw.ini
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.0043971f
push eax
mov ecx, 0x4592e0
mov byte [esp + 0x148], 2
call fcn.004395c3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 1
call fcn.004394ce
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], bl
call fcn.004394ce
mov edx, dword [0x4592e0]
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.00427b65
add esp, 8
cmp eax, 0xffffffff
je 0x41a2e4
mov eax, dword [0x4592e0]
lea ecx, [esp + 0x10]
push eax
push 0x104
push 0x104
call fcn.004398a5
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push str.null
push 0x456edc
push str.GENERAL
call edi
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.004398f4
mov ecx, dword [esp + 0x10]
push str.null
push ecx
call fcn.00427600
add esp, 8
cmp eax, ebx
je 0x41a2e4
mov edx, dword [esp + 0x10]
push 0x456ed0
push edx
call fcn.00427600
add esp, 8
cmp eax, ebx
jne 0x41a2e4
mov ecx, dword [0x4592e0]
mov eax, dword [esp + 0x150]
push ecx
push 0x104
mov esi, dword [eax]
push 0x104
lea ecx, [esp + 0x1c]
call fcn.004398a5
push eax
push str.null
push esi
push str.STRINGS
call edi
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.004398f4
mov edx, dword [esp + 0x10]
push str.null
push edx
call fcn.00427600
add esp, 8
cmp eax, ebx
je 0x41a2e4
mov eax, dword [esp + 0x10]
mov esi, 0x459240
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x41a328
cmp cl, bl
je 0x41a2c5
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x41a328
add eax, 2
add esi, 2
cmp cl, bl
jne 0x41a2a5
xor eax, eax
jmp 0x41a32d
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], bl
call fcn.004394ce
mov ecx, dword [esp + 0x14c]
push ecx
mov ecx, 0x4592e8
call fcn.004399d2
lea ecx, [esp + 0x10]
mov dword [esp + 0x144], 0xffffffff
call fcn.004394ce
mov eax, 0x4592e8
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x41a2e4
lea eax, [esp + 0x10]
mov ecx, 0x4592e8
push eax
call fcn.004395c3
lea ecx, [esp + 0x10]
mov esi, eax
mov dword [esp + 0x144], 0xffffffff
call fcn.004394ce
mov eax, esi
jmp 0x41a30f