Function at 0x514560
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x53c
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x538], eax
mov ecx, dword [esp + 0x548]
mov eax, dword [esp + 0x544]
mov edx, dword [esp + 0x54c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x54c]
push edi
xor ebx, ebx
push 0x103
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x564]
lea ecx, [esp + 0x39]
push ebx
push ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
mov byte [esp + 0x40], bl
call fcn.005dfd60
push 0x103
lea edx, [esp + 0x24d]
push ebx
push edx
mov byte [esp + 0x254], bl
call fcn.005dfd60
push 0x103
lea eax, [esp + 0x35d]
push ebx
push eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
xor ebp, ebp
mov byte [esp + 0x364], bl
call fcn.005dfd60
push 0x103
lea ecx, [esp + 0x161]
push ebx
push ecx
mov byte [esp + 0x168], bl
call fcn.005dfd60
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0x30
push esi
push 0x104
lea edx, [esp + 0x244]
push edx
push 0x615678
push str.EnablePhishFilter
push str.General
call edi
lea eax, [esp + 0x138]
push eax
push ebx
lea ecx, [esp + 0x348]
push ecx
call fcn.00514250
push esi
push 0x104
lea edx, [esp + 0x3c]
push edx
push 0x60cf3c
mov dword [esp + 0x24], eax
push str.ENHTTP
lea eax, [esp + 0x14c]
push eax
call edi
cmp byte [esp + 0x34], 0x31
jne 0x514684
lea ebp, [ebx + 1]
cmp dword [esp + 0x14], 4
jne 0x514697
cmp byte [esp + 0x23c], 0x30
jne 0x514697
xor ebp, ebp
push esi
push 0x104
lea ecx, [esp + 0x3c]
push ecx
push 0x60cf3c
push str.noccdll
push str.General
call edi
lea edx, [esp + 0x34]
push edx
call fcn.005e0909
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x5146fc
push ebx
push esi
push 0x104
lea eax, [esp + 0x40]
push eax
push 0x60cf3c
lea ecx, [esp + 0x14c]
push str.noccdll
push ecx
call fcn.004e3460
lea edx, [esp + 0x50]
push edx
call fcn.005e0909
add esp, 0x20
mov dword [esp + 0x10], eax
cmp dword [esp + 0x14], 4
jne 0x51470b
mov dword [esp + 0x10], 1
push 0x103
lea eax, [esp + 0x449]
push ebx
push eax
mov dword [esp + 0x24], 1
mov byte [esp + 0x450], bl
call fcn.005dfd60
lea ecx, [esp + 0x34c]
push ecx
lea edx, [esp + 0x454]
push str.SoftwareMicroWorld_s
push edx
call fcn.005dfb23
add esp, 0x18
lea eax, [esp + 0x18]
push eax
push str.HTTPAccessType
lea ecx, [esp + 0x44c]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004d5820
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x514774
mov edx, dword [esp + 0x18]
mov dword [eax], edx
push esi
push 0x104
lea eax, [esp + 0x244]
push eax
push 0x615678
push str.EnablePhishFilter
push str.General
call edi
mov eax, 1
cmp ebp, eax
jne 0x5147b4
cmp byte [esp + 0x23c], 0x31
jne 0x5147aa
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x10], ebx
jne 0x5147b4
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x5147c2
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x5147d0
mov edx, dword [esp + 0x20]
mov dword [eax], edx
mov ebp, dword [esp + 0x30]
cmp ebp, ebx
je 0x514896
cmp dword [esp + 0x14], 0xffffffff
jne 0x514814
push esi
push 0x104
lea eax, [esp + 0x3c]
push eax
push 0x615678
push str.LastButtonName
push str.General
call edi
lea ecx, [esp + 0x34]
push ecx
call fcn.005e0909
add esp, 4
mov dword [ebp], eax
jmp 0x514896
lea edx, [esp + 0x138]
push str.ForKids
push edx
call fcn.004dd620
add esp, 8
test eax, eax
jne 0x514836
mov dword [ebp], 1
jmp 0x514896
lea eax, [esp + 0x138]
push str.ForTeenager
push eax
call fcn.004dd620
add esp, 8
test eax, eax
jne 0x514858
mov dword [ebp], 2
jmp 0x514896
lea ecx, [esp + 0x138]
push str.ForAdolescent
push ecx
call fcn.004dd620
add esp, 8
test eax, eax
jne 0x51487a
mov dword [ebp], 3
jmp 0x514896
lea edx, [esp + 0x138]
push str.ForAdult
push edx
call fcn.004dd620
add esp, 8
mov dword [ebp], 4
mov ecx, dword [esp + 0x548]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005dfbbe
add esp, 0x53c
ret 0x14