Function at 0x100461b0
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101713b6
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x101c6270]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push str.Performing_AutoDetectProxyInfo_...
push 2
mov dword [ebp - 0x64], eax
call fcn.100566d0
add esp, 8
cmp byte [edi], 0
jne 0x1004621c
cmp dword [esi + 0x10], 0
jne 0x1004621c
push str.Automatically_detect_proxy_settings_is_not_selected_or_PAC_URL_is_empty_
push 3
call fcn.100566d0
add esp, 8
xor al, al
jmp 0x10046418
mov ecx, dword [ebp - 0x64]
push 0
push 0x101a4228
call fcn.10004470
push 0
push 0
push 0
push 0
push str.WinHTTP_1.0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 0x74], eax
test eax, eax
jne 0x10046291
push 0xb
push 0x1017da84
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.10004470
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 4], 0
call fcn.10047c30
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x1004628a
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.10004630
xor al, al
jmp 0x10046418
mov dword [ebp - 0x98], fcn.10047f30
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x60]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x68], 0
xorps xmm0, xmm0
mov dword [ebp - 4], 1
movups xmmword [ebp - 0x8c], xmm0
push 0xffffffffffffffff
movq qword [ebp - 0x7c], xmm0
add eax, 4
movq qword [ebp - 0x70], xmm0
push 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push eax
mov byte [ecx], 0
call fcn.1000d420
lea eax, [ebp - 0x40]
push eax
call fcn.10055f40
add esp, 0x1c
xor eax, eax
mov byte [ebp - 4], 2
xor edx, edx
cmp byte [edi], al
je 0x1004630b
mov ecx, 0x10001
lea edx, [eax + 3]
jmp 0x1004631c
cmp dword [esi + 0x14], 8
mov ecx, 2
jb 0x1004631a
mov eax, dword [esi]
jmp 0x1004631c
mov eax, esi
cmp dword [ebp - 0x2c], 8
mov esi, dword [ebp - 0x74]
mov dword [ebp - 0x8c], ecx
lea ecx, [ebp - 0x70]
push ecx
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x8c]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x88], edx
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
push esi
mov dword [ebp - 0x78], 1
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
jne 0x10046435
push 0x15
push 0x1017da9c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10004470
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 3
call fcn.10047c30
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x100463a4
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10004630
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp byte [edi], 0
mov ecx, str.PAC_URL
mov eax, str.WPAD
cmove eax, ecx
push eax
push str.Unable_to_automatically_detect_proxy_information_using__s
push 2
call fcn.100566d0
mov byte [ebp - 0x59], 0
add esp, 0xc
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x100463f1
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.10004630
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
push esi
mov dword [ebp - 4], 6
call fcn.10047f30
mov al, byte [ebp - 0x59]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010f54f
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x10046455
push eax
push str.Bypass_proxy_server_list:_s
push 1
call fcn.100566d0
add esp, 0xc
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x100463b8
push eax
push str.Proxy_server_list:_s
push 1
call fcn.100566d0
mov edi, dword [ebp - 0x6c]
add esp, 0xc
mov edx, edi
lea ecx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10046480
sub edx, ecx
mov ecx, dword [ebp - 0x64]
sar edx, 1
push edx
push edi
call fcn.10004470
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov byte [ebp - 0x59], 1
jmp 0x100463dc