Function at 0x482ec0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bac7b
mov eax, dword fs:[0]
push eax
sub esp, 0x824
mov eax, dword [0x4e4018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, str.http_proxy.ini
lea ecx, [ebp - 0x82c]
call fcn.004718f0
lea ebx, [esi + 4]
mov dword [ebp - 4], 0
push ebx
mov dword [ebp - 0x830], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp - 0x82c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x482f57
push eax
push 0x80
push 2
push eax
push eax
push 0xc0000000
push dword [ebp - 0x82c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x483178
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x483178
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00489ec0
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
add esp, 0xc
push dword [ebp - 0x82c]
push 0x400
push eax
push 0x4c8cd8
push 0x4d1ef0
push str.proxy_info
call edi
xor eax, eax
mov dword [ebp - 0x828], 0
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 7
lea edx, [ecx + 2]
mov word [ebp - 0x828], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x482fc6
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.0042c850
mov edx, str.custom_porxy
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
call fcn.0045a410
test al, al
je 0x483154
push dword [ebp - 0x82c]
lea eax, [ebp - 0x810]
mov dword [esi], 2
push 0x400
push eax
push 0x4c8cd8
push 0x4d1f5c
push str.proxy_info
call edi
lea edx, [ebp - 0x810]
lea ecx, [esi + 0x24]
lea ebx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x483040
sub edx, ebx
lea eax, [ebp - 0x810]
sar edx, 1
push edx
push eax
call fcn.00404740
push dword [ebp - 0x82c]
lea eax, [ebp - 0x810]
push 0x400
push eax
push 0x4c8cd8
push str.port
push str.proxy_info
call edi
lea edx, [ebp - 0x810]
lea ecx, [esi + 0x28]
lea ebx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x483090
sub edx, ebx
lea eax, [ebp - 0x810]
sar edx, 1
push edx
push eax
call fcn.00404740
push dword [ebp - 0x82c]
lea eax, [ebp - 0x810]
push 0x400
push eax
push 0x4c8cd8
push str.user
push str.proxy_info
call edi
lea edx, [ebp - 0x810]
lea ecx, [esi + 0x1c]
lea ebx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4830e0
sub edx, ebx
lea eax, [ebp - 0x810]
sar edx, 1
push edx
push eax
call fcn.00404740
push dword [ebp - 0x82c]
lea eax, [ebp - 0x810]
push 0x400
push eax
push 0x4c8cd8
push str.password
push str.proxy_info
call edi
lea edx, [ebp - 0x810]
lea ecx, [esi + 0x20]
lea esi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x483130
sub edx, esi
lea eax, [ebp - 0x810]
sar edx, 1
push edx
push eax
call fcn.00404740
mov ebx, dword [ebp - 0x830]
jmp 0x48316d
mov edx, str.ie_proxy
lea ecx, [ebp - 0x828]
call fcn.0045a410
xor ecx, ecx
test al, al
setne cl
mov dword [esi], ecx
lea ecx, [ebp - 0x828]
call fcn.0042c7f0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x82c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4831a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048782e
mov esp, ebp
pop ebp
ret