Function at 0x672628
Capabilities:
Delete file
Download url
Get common file path
Receive data

Disassembly:
push ebp
lea ebp, [esp - 0x814]
sub esp, 0x814
push 0xffffffffffffffff
push 0x6a07bc
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x79b544]
xor eax, ebp
mov dword [ebp + 0x810], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
lea eax, [ebp]
mov dword [ebp - 4], ebx
push dword [ebp + 0x81c]
mov dword [ebp - 0x34], eax
push str.ParseProxyPac_ServerName_:_s
call fcn.00677763
push 1
push str.LoadLibrary:_d
mov byte [ebp - 4], 1
call fcn.00677763
add esp, 0x10
push str.jsproxy.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 1
push str.LoadLibrary1:_d
mov edi, eax
call fcn.00677763
pop ecx
pop ecx
test edi, edi
jne 0x6726d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadLibrary_failed_to_load_jsproxy.dll_with_error:__d
call fcn.006778de
pop ecx
pop ecx
mov eax, dword [ebp + 0x81c]
lea ecx, [eax - 0x10]
call fcn.0044ec01
xor al, al
jmp 0x672c51
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InternetInitializeAutoProxyDll
push edi
call esi
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x6726fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetProcAddress_failed_to_find_InternetInitializeAutoProxyDll_with_error_:_d
jmp 0x6726bd
push str.InternetDeInitializeAutoProxyDll
push edi
call esi
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x672719
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetProcAddress_failed_to_find_InternetDeInitializeAutoProxyDll_with_error_:_d
jmp 0x6726bd
push str.InternetGetProxyInfo
push edi
call esi
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x672736
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetProcAddress_failed_to_find_InternetGetProxyInfo_with_error_:_d
jmp 0x6726bd
lea eax, [ebp + 0x400]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x672761
call esi
push eax
push str.GetTempPath_Failed_:__d
call fcn.006778de
pop ecx
pop ecx
lea eax, [ebp + 0x608]
push eax
push ebx
push ebx
lea eax, [ebp + 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x67278a
call esi
push eax
push str.GetTempFileName_Failed_:__d
call fcn.006778de
pop ecx
pop ecx
lea eax, [ebp + 0x608]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00454b42
push ebx
push ebx
lea eax, [ebp + 0x608]
mov byte [ebp - 4], 2
push eax
push dword [0x7aef5c]
push ebx
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
push dword [0x7aef5c]
mov esi, eax
push str.ConnVar.AutoConfigUrl_:__s
call fcn.006778de
pop ecx
pop ecx
lea eax, [ebp + 0x608]
push eax
push str.TempFile_:__s
call fcn.006778de
pop ecx
pop ecx
test esi, esi
jne 0x6727e5
push str.Pac_successfully_downloaded
jmp 0x672829
cmp esi, 0x800c0008
jne 0x672815
push str.URLDownloadToFile_Failed_with_INETDownloadFailure
call fcn.006778de
pop ecx
lea eax, [ebp + 0x608]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
jmp 0x6726c4
cmp esi, 0x8007000e
jne 0x672824
push str.URLDownloadToFile_Failed_with_OutOfMemory
jmp 0x6727f2
push str.Unknown_URLDownloadToFile_Error_._Check_the_Passed_Parameters
call fcn.006778de
pop ecx
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00451fc5
push ebx
push ebx
push ebx
push eax
push ebx
call dword [ebp - 0x18]
test eax, eax
jne 0x672858
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.pInternetInitializeAutoProxyDll_Failed_:__d
call fcn.006778de
pop ecx
jmp 0x6727f7
push dword [ebp + 0x81c]
lea ecx, [ebp - 0x28]
call fcn.00454b42
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], 0x400
push ebx
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x18], eax
call fcn.00451fc5
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
push ebx
mov esi, dword [eax - 0xc]
call fcn.00451fc5
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp - 0x18]
push dword [ebp - 0x3c]
push esi
push eax
call dword [ebp - 0x14]
test eax, eax
jne 0x6728dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.InterGetProxyInfo_Failed_:__d
call fcn.006778de
pop ecx
pop ecx
lea eax, [ebp + 0x608]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
jmp 0x672805
push dword [ebp - 0x34]
lea ecx, [ebp - 0x24]
call fcn.00451497
mov esi, str.DIRECT
mov byte [ebp - 4], 4
push esi
push dword [ebp - 0x24]
call fcn.0045473e
pop ecx
pop ecx
test eax, eax
jne 0x672944
push str.Pac_says_Direct
call fcn.006778de
pop ecx
lea eax, [ebp + 0x608]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
jmp 0x672c41
push dword [ebp - 0x24]
push 0x762c24
call fcn.006778de
pop ecx
pop ecx
call fcn.00474f38
push eax
lea ecx, [ebp - 0x20]
call fcn.00451c1b
mov byte [ebp - 4], 5
call fcn.00474f38
push eax
lea ecx, [ebp - 0x1c]
call fcn.00451c1b
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 6
push eax
push 0x762c20
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], ebx
push eax
lea ecx, [ebp - 0x24]
call fcn.00455c1b
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.00451d78
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], 0
je 0x6729e5
lea eax, [ebp - 0x18]
push eax
push 0x762c54
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
call fcn.00455c1b
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.00451d78
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
push esi
mov esi, dword [ebp - 0x20]
push esi
call fcn.0045473e
pop ecx
pop ecx
test eax, eax
je 0x672ad5
cmp dword [esi - 0xc], 0
je 0x672ad5
push ebx
push str.SOCKS
lea ecx, [ebp - 0x20]
call fcn.004513db
cmp eax, 0xffffffff
jne 0x672a92
push str.PROXY__PROXY
lea ecx, [ebp - 0x20]
call fcn.004573cc
push eax
lea ecx, [ebp - 0x20]
call fcn.00451d78
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
mov edi, 0x75735c
lea eax, [ebp - 0x14]
push edi
push eax
lea ecx, [ebp - 0x20]
call fcn.00455c1b
mov byte [ebp - 4], 9
push eax
mov ecx, 0x7aef48
call fcn.00451d78
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
lea eax, [ebp - 0x18]
push eax
push 0x762c54
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
call fcn.00455c1b
push dword [eax]
call fcn.0051427b
pop ecx
mov ecx, dword [ebp - 0x14]
mov dword [0x7aef50], eax
lea ecx, [ecx - 0x10]
call fcn.0044ec01
jmp 0x672ada
push str.parsing_socks_proxy_server
call fcn.00677763
pop ecx
push str.SOCKS__SOCKS
lea ecx, [ebp - 0x20]
call fcn.004573cc
push eax
lea ecx, [ebp - 0x20]
call fcn.00451d78
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
mov edi, 0x75735c
lea eax, [ebp - 0x14]
push edi
push eax
lea ecx, [ebp - 0x20]
call fcn.00455c1b
mov byte [ebp - 4], 0xa
jmp 0x672a49
mov edi, 0x75735c
mov esi, dword [ebp - 0x1c]
push str.DIRECT
push esi
call fcn.0045473e
pop ecx
pop ecx
test eax, eax
je 0x672bbf
cmp dword [esi - 0xc], 0
je 0x672bbf
push ebx
push str.SOCKS
lea ecx, [ebp - 0x1c]
call fcn.004513db
cmp eax, 0xffffffff
jne 0x672b3f
push str.PROXY__PROXY
lea ecx, [ebp - 0x1c]
call fcn.004573cc
push eax
lea ecx, [ebp - 0x1c]
call fcn.00451d78
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
push edi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00455c1b
mov byte [ebp - 4], 0xb
jmp 0x672b78
push str.parsing_socks_proxy_server_2
call fcn.00677763
pop ecx
push str.SOCKS__SOCKS
lea ecx, [ebp - 0x1c]
call fcn.004573cc
push eax
lea ecx, [ebp - 0x1c]
call fcn.00451d78
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
push edi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00455c1b
mov byte [ebp - 4], 0xc
push eax
mov ecx, 0x7aef4c
call fcn.00451d78
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
lea eax, [ebp - 0x18]
push eax
push 0x762c54
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00455c1b
push dword [eax]
call fcn.0051427b
pop ecx
mov ecx, dword [ebp - 0x14]
mov dword [0x7aef54], eax
lea ecx, [ecx - 0x10]
call fcn.0044ec01
push ebx
push ebx
call dword [ebp - 0x30]
test eax, eax
jne 0x672bdb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DeInitializeAutoProxy_Failed_:__d
call fcn.006778de
pop ecx
pop ecx
push dword [0x7aef4c]
push dword [0x7aef48]
push str.ProxyHost1_:__s___ProxyHost2_:__s
call fcn.006778de
add esp, 0xc
lea eax, [ebp + 0x608]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x1c]
mov byte [0x7aeee7], 1
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.0044ec01
mov bl, 1
mov ecx, dword [ebp + 0x81c]
add ecx, 0xfffffff0
call fcn.0044ec01
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x810]
xor ecx, ebp
call fcn.0049b511
add ebp, 0x814
leave
ret