Function at 0x4cdc86
Capabilities:
Download url
Receive data

Disassembly:
push 0x654
mov eax, 0x5810c0
call fcn.0053d83b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x598], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x594], eax
mov esi, 0x400
push esi
xor ebx, ebx
push ebx
lea eax, [ebp - 0x524]
push eax
call fcn.005389c0
add esp, 0xc
push 3
push esi
lea eax, [ebp - 0x524]
push eax
call dword [sym.imp.WININET.dll_DetectAutoProxyUrl]
test eax, eax
jne 0x4cde02
mov dword [ebp - 4], ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_Settings
lea ecx, [ebp - 0x5b8]
call fcn.00415a69
mov byte [ebp - 4], 1
push ebx
xor edi, edi
inc edi
push edi
lea eax, [ebp - 0x5b8]
push eax
push reloc.WS2_32.dll_accept
lea eax, [ebp - 0x590]
push eax
call fcn.0047e3a1
mov byte [ebp - 4], 3
push ebx
push edi
lea ecx, [ebp - 0x5b8]
call fcn.0041382c
push str.AutoConfigURL
lea ecx, [ebp - 0x5b8]
call fcn.00415a69
mov byte [ebp - 4], 4
lea eax, [ebp - 0x5b8]
push eax
lea eax, [ebp - 0x55c]
push eax
lea ecx, [ebp - 0x590]
call fcn.0047edfe
mov byte [ebp - 4], 6
push ebx
push edi
lea ecx, [ebp - 0x5b8]
call fcn.0041382c
cmp dword [ebp - 0x548], ebx
jne 0x4cdd86
mov byte [ebp - 4], 3
push ebx
push edi
lea ecx, [ebp - 0x55c]
call fcn.0041382c
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x590]
call fcn.0045f4f0
jmp 0x4cdf85
lea eax, [ebp - 0x5b8]
push eax
lea esi, [ebp - 0x55c]
call fcn.00463a93
pop ecx
mov byte [ebp - 4], 7
cmp dword [eax + 0x18], 0x10
jb 0x4cdda8
mov eax, dword [eax + 4]
jmp 0x4cddab
add eax, 4
push dword [ebp - 0x548]
push eax
lea eax, [ebp - 0x524]
push eax
call fcn.00540410
add esp, 0xc
mov byte [ebp - 4], 6
push ebx
push edi
lea ecx, [ebp - 0x5b8]
call fcn.00411efe
mov byte [ebp - 4], 3
push ebx
push edi
lea ecx, [ebp - 0x55c]
call fcn.0041382c
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x590]
call fcn.0045f4f0
jmp 0x4cde05
xor edi, edi
inc edi
or dword [ebp - 4], 0xffffffff
push str.Proxysearch:_found_proxy_auto_config_setting:__1_
lea eax, [ebp - 0x660]
push eax
call fcn.00409f00
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x524]
push ecx
mov esi, eax
call fcn.004cee26
push eax
call fcn.00401000
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x660]
push eax
call fcn.00402184
push 0x104
push ebx
lea eax, [ebp - 0x124]
push eax
call fcn.005389c0
add esp, 0xc
lea esi, [ebp - 0x55c]
call fcn.004ba549
mov dword [ebp - 4], 0xa
push str.proxy.pac
push eax
lea eax, [ebp - 0x5b8]
push eax
call fcn.0040a121
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x540]
push ecx
mov esi, eax
call fcn.00463a93
pop ecx
mov byte [ebp - 4], 0xd
push ebx
push edi
lea ecx, [ebp - 0x5b8]
call fcn.0041382c
mov byte [ebp - 4], 0xe
push ebx
push edi
lea ecx, [ebp - 0x55c]
call fcn.0041382c
cmp dword [ebp - 0x528], 0x10
mov eax, dword [ebp - 0x53c]
jae 0x4cdecb
lea eax, [ebp - 0x53c]
push dword [ebp - 0x52c]
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.00540410
add esp, 0xc
push ebx
push ebx
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x524]
push eax
push ebx
call sub.urlmon.dll_URLDownloadToFileA
mov dword [ebp - 0x59c], eax
cmp eax, ebx
je 0x4cdf3c
push str.Proxysearch:_Could_not_download_PAC_file__error___1_
lea eax, [ebp - 0x660]
push eax
call fcn.00409f00
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x59c]
push ecx
mov esi, eax
call fcn.0040a377
push eax
call fcn.00417675
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x660]
push eax
call fcn.00402184
jmp 0x4cdf74
push dword [ebp - 0x594]
push dword [ebp - 0x598]
mov edx, 0x6cf378
lea ecx, [ebp - 0x540]
call fcn.004cdf8d
push dword [ebp - 0x594]
push dword [ebp - 0x598]
mov edx, 0x6cf394
lea ecx, [ebp - 0x540]
call fcn.004cdf8d
or dword [ebp - 4], 0xffffffff
push ebx
push edi
lea ecx, [ebp - 0x540]
call fcn.00411efe
call fcn.0053d897
ret 8