Function at 0x10025a20
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
push esi
push edi
mov edi, ecx
test edi, edi
je 0x10025d82
xor eax, eax
mov word [edi], ax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10025a6e
call esi
push eax
push str.GetIEProxyInfo___Failed_to_get_proxy_setting_for_current_user_:_d
push 0x1014c234
push ecx
call fcn.1002e950
add esp, 4
push eax
call fcn.1002f0d0
add esp, 0x10
xor eax, eax
mov byte [esp + 0x17], 0
push eax
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x2c], eax
push eax
xor ecx, ecx
movaps xmmword [esp + 0x54], xmm0
push 0xfde9
mov dword [esp + 0x30], ecx
movq qword [esp + 0x68], xmm0
movq qword [esp + 0x3c], xmm0
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [esp + 0x20], eax
test eax, eax
je 0x10025cfe
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100ebc5f
add esp, 4
mov dword [esp + 0x18], eax
push dword [esp + 0x20]
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0
push 1
push str.WinHTTP_AutoProxy
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10025cfe
cmp dword [esp + 0x30], 0
je 0x10025b2c
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], 1
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x48], 3
push ecx
jmp 0x10025b6f
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10025baf
push eax
push str.GetIEProxyInfo___autoconfig_url_on_the_machine_is_:_s
push str.HTTPConnector
push ecx
call fcn.1002e950
add esp, 4
push eax
call fcn.1002f7f0
mov eax, dword [esp + 0x44]
add esp, 0x10
mov dword [esp + 0x48], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x40], 2
push eax
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push ecx
push eax
mov dword [esp + 0x64], 1
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
jne 0x10025cc4
call esi
push eax
push str.GetIEProxyInfo___Failed_to_get_proxy_for_the_url__error:_d
push str.HTTPConnector
push ecx
call fcn.1002e950
add esp, 4
push eax
call fcn.1002f7f0
add esp, 0x10
jmp 0x10025cc4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10025cac
push eax
push str.GetIEProxyInfo___proxy_fetched_is_:_s
push str.HTTPConnector
push ecx
call fcn.1002e950
add esp, 4
push eax
call fcn.1002f7f0
push str.https
push dword [esp + 0x4c]
mov byte [esp + 0x2f], 0
call fcn.10103ceb
mov esi, eax
add esp, 0x18
test esi, esi
je 0x10025bf6
add esi, 0xc
jmp 0x10025c0f
push 0x1014c81c
push dword [esp + 0x3c]
call fcn.10103ceb
add esp, 8
test eax, eax
jne 0x10025c7b
mov esi, dword [esp + 0x38]
push 0x1014c820
push esi
call fcn.10103ceb
add esp, 8
test eax, eax
lea ecx, [eax + 6]
cmovne esi, ecx
cmp word [esi], 0x20
jne 0x10025c39
nop dword [eax + eax]
add esi, 2
cmp word [esi], 0x20
je 0x10025c30
movzx eax, word [esi]
test ax, ax
je 0x10025c7b
cmp eax, 0x3a
je 0x10025c7b
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10025c50
sub ecx, edx
sar ecx, 1
cmp ecx, 0x100
jg 0x10025c7b
push esi
push 0x100
push edi
call fcn.101154c7
add esp, 0xc
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
test eax, eax
je 0x10025c8c
push eax
call esi
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10025c97
push eax
call esi
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10025ca2
push eax
call esi
mov al, byte [esp + 0x17]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.GetIEProxyInfo___No_default_proxy_present_on_the_user_machine
push 0x1014c234
call fcn.1002e950
push eax
call fcn.1002f0d0
add esp, 0xc
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x10025cfe
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10025cd0
sub ecx, edx
sar ecx, 1
cmp ecx, 0x100
jg 0x10025cfe
push dword [esp + 0x28]
push 0x100
push edi
call fcn.101154c7
add esp, 0xc
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
test eax, eax
je 0x10025d0f
push eax
call esi
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10025d1a
push eax
call esi
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10025d25
push eax
call esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10025d36
push eax
call fcn.100eb37a
add esp, 4
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x10025d41
push ecx
call esi
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10025d4c
push eax
call esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10025d5b
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
push str.GetIEProxyInfo___proxy_Url_is__s
push str.HTTPConnector
push ecx
call fcn.1002e950
add esp, 4
push eax
call fcn.1002f7f0
mov al, byte [esp + 0x27]
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.GetIEProxyInfo___invalid_arguments
push 0x1014c234
call fcn.1002e950
push eax
call fcn.1002f250
add esp, 0xc
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret