Function at 0x467e46
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
xor esi, esi
lea edi, [ebp - 0x28]
push 7
mov edx, esi
xor eax, eax
pop ecx
mov ebx, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], edx
rep stosd dword es:[edi], eax
jmp 0x467e6c
mov edx, dword [ebp - 8]
xor esi, esi
mov dword [ebp - 0xc], esi
test edx, edx
je 0x467e81
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, esi
mov dword [ebp - 4], edi
jmp 0x467e84
mov edi, dword [ebp - 8]
test ebx, ebx
je 0x467e8f
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea eax, [ebp - 0x28]
mov ebx, esi
push eax
mov eax, dword [ebp + 0xc]
push dword [eax]
call fcn.0046c0d2
mov esi, eax
test esi, esi
js 0x468022
mov esi, dword [ebp + 0x1c]
xor ebx, ebx
test esi, esi
je 0x467eb9
mov edx, esi
cmp word [esi], bx
jne 0x467ebc
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x467eca
mov ecx, eax
cmp word [eax], bx
jne 0x467ecd
mov ecx, dword [ebp - 0x1c]
xor eax, eax
cmp dword [ebp - 0x28], 1
push ebx
push ebx
setne al
lea eax, [eax*2 + 1]
push eax
push edx
push ecx
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebx, eax
test ebx, ebx
je 0x467fd1
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x467f3a
xor eax, eax
cmp word [edi], ax
je 0x467f3a
test esi, esi
je 0x467f3a
cmp word [esi], ax
je 0x467f3a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push edi
push 0x2b
push ebx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x467f3a
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push esi
push 0x2c
push ebx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x14]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x28]
push dword [ebp + 0x10]
push ebx
call fcn.00468066
mov esi, eax
test esi, esi
js 0x467fab
push dword [ebp + 0x2c]
mov edi, dword [ebp - 4]
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x20]
mov dword [ebp - 8], edi
push dword [ebp + 0xc]
push edi
call fcn.004681e3
mov esi, eax
test esi, esi
js 0x467f95
cmp dword [ebp - 0xc], 0
jne 0x467e67
mov eax, dword [ebp + 0x24]
mov dword [eax], ebx
xor ebx, ebx
mov eax, dword [ebp + 0x28]
mov dword [eax], edi
xor edi, edi
jmp 0x46803e
mov eax, dword [ebp + 0xc]
push dword [eax]
push str.Failed_to_send_request_to_URL:__ls
push esi
push 0xf
push 5
push 0x23f
jmp 0x468013
mov eax, dword [ebp + 0xc]
push dword [eax]
push str.Failed_to_open_internet_URL:__ls
push esi
push 0xf
push 5
push 0x23c
push str.d:_awixwix_srclibsdutilwixtoolset.dutildlutil.cpp
call fcn.00401228
mov edi, dword [ebp - 4]
add esp, 0x1c
jmp 0x46803e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x467fe8
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x467fef
mov esi, 0x80004005
push esi
push 0x230
push str.d:_awixwix_srclibsdutilwixtoolset.dutildlutil.cpp
call fcn.00401225
mov eax, dword [ebp + 0xc]
push dword [eax]
push str.Failed_to_connect_to_URL:__ls
push esi
push 0xf
push 5
push 0x230
push str.d:_awixwix_srclibsdutilwixtoolset.dutildlutil.cpp
call fcn.00401228
add esp, 0x1c
jmp 0x46803e
push str.Failed_to_break_URL_into_server_and_resource_parts.
push esi
push 0xf
push 5
push 0x22d
push str.d:_awixwix_srclibsdutilwixtoolset.dutildlutil.cpp
call fcn.00401228
add esp, 0x18
lea eax, [ebp - 0x28]
push eax
call fcn.0046c123
test edi, edi
je 0x468052
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test ebx, ebx
je 0x46805d
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x28