Function at 0x4a6460
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53dcf7
mov eax, dword fs:[0]
push eax
mov eax, 0x2034
call fcn.004b0a90
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
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 - 0x181c], dx
push 0x7fe
push 0
lea eax, [ebp - 0x181a]
push eax
call fcn.004b0ac0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x3ff
lea edx, [ebp - 0x181c]
push edx
push 0x540868
push 0x540e40
push str.proxy
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x181c]
push eax
call fcn.004a4e60
add esp, 4
test eax, eax
jne 0x4a64fa
xor al, al
jmp 0x4a6792
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 - 0x1018], eax
cmp dword [ebp - 0x1018], 0
je 0x4a65ba
lea ecx, [ebp - 0x181c]
push ecx
call fcn.004b0eb7
add esp, 4
test eax, eax
jne 0x4a65c1
xor al, al
jmp 0x4a6792
xor edx, edx
mov word [ebp - 0x1014], dx
push 0x7fe
push 0
lea eax, [ebp - 0x1012]
push eax
call fcn.004b0ac0
add esp, 0xc
mov ecx, dword [ebp - 0x1018]
push ecx
lea edx, [ebp - 0x181c]
push edx
push str._s__d__0B1001AADC087A35
push 0x3ff
lea eax, [ebp - 0x1014]
push eax
call fcn.004b7179
add esp, 0x14
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 ecx, al
test ecx, ecx
je 0x4a6773
push str.customhttp
lea edx, [ebp - 0x2030]
push edx
lea ecx, [ebp - 0x182c]
call fcn.004a6cc0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x2030]
call fcn.00401ef0
test eax, eax
je 0x4a6677
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2030]
call fcn.00401eb0
mov dword [ebp - 0x2034], 0xffffffff
lea edx, [ebp - 0x2034]
push edx
push str.proxytype
lea ecx, [ebp - 0x182c]
call fcn.004a6dd0
mov byte [ebp - 0x2035], al
cmp dword [ebp - 0x2034], 2
je 0x4a66bc
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
mov dword [ebp - 0x203c], 0xffffffff
lea ecx, [ebp - 0x203c]
push ecx
push str.customproxytype
lea ecx, [ebp - 0x182c]
call fcn.004a6dd0
mov byte [ebp - 0x203d], al
cmp dword [ebp - 0x203c], 0
je 0x4a66f2
mov edx, dword [ebp + 0x10]
mov byte [edx], 1
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax]
test ecx, ecx
je 0x4a6773
mov byte [ebp - 0x203e], 1
movzx ebx, byte [ebp - 0x203e]
push 2
push str.proxytype
lea ecx, [ebp - 0x182c]
call fcn.004a6e30
movzx edx, al
and ebx, edx
mov byte [ebp - 0x203e], bl
push 0
push str.customproxytype
lea ecx, [ebp - 0x182c]
call fcn.004a6e30
lea eax, [ebp - 0x1014]
push eax
call fcn.004b0eb7
add esp, 4
shl eax, 1
push eax
lea ecx, [ebp - 0x1014]
push ecx
push str.customhttp
lea ecx, [ebp - 0x182c]
call fcn.004a6d80
movzx edx, byte [ebp - 0x203e]
test edx, edx
jne 0x4a6773
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
mov byte [ebp - 0x203f], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x182c]
call fcn.004a6af0
mov al, byte [ebp - 0x203f]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret