Function at 0x4a6180
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53dcb9
mov eax, dword fs:[0]
push eax
mov eax, 0x2030
call fcn.004b0a90
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 0
xor edx, edx
mov word [ebp - 0x101c], dx
push 0x7fe
push 0
lea eax, [ebp - 0x101a]
push eax
call fcn.004b0ac0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x3ff
lea edx, [ebp - 0x101c]
push edx
push 0x540868
push 0x540e40
push str.proxy
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x101c]
push eax
call fcn.004a4e60
add esp, 4
test eax, eax
jne 0x4a6219
xor al, al
jmp 0x4a643c
xor ecx, ecx
mov word [ebp - 0x814], cx
push 0x7fe
push 0
lea edx, [ebp - 0x812]
push edx
call fcn.004b0ac0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x3ff
lea ecx, [ebp - 0x814]
push ecx
push 0x540868
push 0x54c46c
push str.proxy
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edx, edx
mov word [ebp - 0x202c], dx
push 0x7fe
push 0
lea eax, [ebp - 0x202a]
push eax
call fcn.004b0ac0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x3ff
lea edx, [ebp - 0x202c]
push edx
push 0x540868
push str.pass
push str.proxy
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp + 8]
push eax
push 0
push str.port
push str.proxy
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x818], eax
cmp dword [ebp - 0x818], 0
je 0x4a62d9
lea ecx, [ebp - 0x101c]
push ecx
call fcn.004b0eb7
add esp, 4
test eax, eax
jne 0x4a62e0
xor al, al
jmp 0x4a643c
xor edx, edx
mov word [ebp - 0x181c], dx
push 0x7fe
push 0
lea eax, [ebp - 0x181a]
push eax
call fcn.004b0ac0
add esp, 0xc
push str.__0B1001AADC087A35
push 0x3ff
lea ecx, [ebp - 0x181c]
push ecx
call fcn.004b7179
add esp, 0xc
lea ecx, [ebp - 0x182c]
call fcn.004a6ac0
mov dword [ebp - 4], 0
push 0xf003f
push 0
push str.SOFTWARELiveUpdate360
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x182c]
call fcn.004a6bf0
movzx edx, al
test edx, edx
je 0x4a641d
push str.customhttp
lea eax, [ebp - 0x2030]
push eax
lea ecx, [ebp - 0x182c]
call fcn.004a6cc0
mov byte [ebp - 4], 1
mov dword [ebp - 0x2038], 0xffffffff
lea ecx, [ebp - 0x2038]
push ecx
push str.proxytype
lea ecx, [ebp - 0x182c]
call fcn.004a6dd0
mov dword [ebp - 0x2034], 0xffffffff
lea edx, [ebp - 0x2034]
push edx
push str.customproxytype
lea ecx, [ebp - 0x182c]
call fcn.004a6dd0
mov byte [ebp - 0x2039], al
push 0
lea eax, [ebp - 0x181c]
push eax
lea ecx, [ebp - 0x2030]
call fcn.004282c0
cmp eax, 0xffffffff
je 0x4a640e
cmp dword [ebp - 0x2038], 2
jne 0x4a640e
cmp dword [ebp - 0x2034], 0
jne 0x4a640e
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 1
push 1
push str.proxytype
lea ecx, [ebp - 0x182c]
call fcn.004a6e30
mov byte [ebp - 0x203a], al
movzx edx, byte [ebp - 0x203a]
test edx, edx
jne 0x4a640e
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2030]
call fcn.00401eb0
mov byte [ebp - 0x203b], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x182c]
call fcn.004a6af0
mov al, byte [ebp - 0x203b]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret