Function at 0x50f2fe
Capabilities:
Check http status code
Connect socket
Get socket status
Resolve function by parsing pe exports
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x7a0
mov esi, esp
mov dword [esi + 0x788], ebp
lea eax, [esi + 0x790]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x38], edx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x586330
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x88], eax
mov eax, dword [edx + 0x58]
mov dword [esi + 0x8c], ecx
mov ebx, dword [eax + 0x10]
mov dword [esi + 0x44], eax
cmp ebx, 0x3b9aca00
jne 0x50f378
mov ecx, dword [edx + 0x48]
mov dword [esi + 0x94], ecx
mov ecx, dword [edx + 0x4c]
mov dword [esi + 0x90], ecx
mov ecx, dword [edx + 0x50]
jmp 0x50f3ac
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esi + 4], ecx
mov dword [esi + 0xc], eax
call fcn.004d9cb0
mov edi, ecx
mov ecx, eax
push ebx
push dword [esi + 0xc]
push dword [esi + 4]
push edi
call fcn.004f1aa0
add esp, 0x10
mov dword [esi + 0x94], eax
mov eax, dword [esi + 0x44]
mov dword [esi + 0x90], edx
lea edi, [esi + 0x16c]
mov dword [esi + 0x80], ecx
lea edx, [eax + 0x5c]
mov ecx, edi
call fcn.004ffe4a
cmp dword [edi], 0x80000000
push 2
pop ebx
lea ecx, [esi + 0x88]
jne 0x50f41c
lea edx, [esi + 0x3f8]
lea eax, [esi + 0x268]
and dword [esi + 0x798], 0
mov dword [edx], str._rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_std_srcioimpls.rs
mov dword [edx + 4], ebx
and dword [edx + 0x10], 0
mov dword [eax], ecx
lea ecx, [ebp + 0x10]
mov dword [eax + 4], fcn.0041a414
mov dword [edx + 8], eax
mov dword [edx + 0xc], ebx
mov dword [eax + 8], ecx
lea ecx, [esi + 0x198]
mov dword [eax + 0xc], fcn.0044a1d0
call fcn.0050613c
jmp 0x50f466
lea edx, [esi + 0x3f8]
and dword [esi + 0x798], 0
lea ecx, [esi + 0x268]
lea eax, [esi + 0x190]
mov dword [edx], str._rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_std_srcioimpls.rs
mov dword [edx + 4], ebx
and dword [edx + 0x10], 0
mov dword [ecx], edi
mov dword [ecx + 4], fcn.0041a314
mov dword [ecx + 8], eax
mov dword [edx + 8], ecx
mov dword [ecx + 0xc], fcn.004465e0
lea ecx, [esi + 0x198]
mov dword [edx + 0xc], ebx
call fcn.0050613c
mov eax, dword [esi + 0x1a0]
movsd xmm0, qword [esi + 0x198]
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x38]
movsd qword [esi + 0x68], xmm0
mov eax, dword [eax + 0x5c]
mov ecx, dword [eax + 8]
lock inc dword [ecx]
jle 0x510b42
mov eax, dword [eax + 0xc]
mov dword [esi + 0x18], ecx
mov edi, dword [esi + 0x70]
lea ebx, [esi + 0x370]
mov dword [esi + 0x1c], eax
mov edx, dword [eax + 8]
mov dword [esi + 0x798], 0x13
dec edx
and edx, 0xfffffff8
lea ecx, [edx + ecx + 8]
mov edx, dword [esi + 0x6c]
push edi
push edx
push ecx
push ebx
call dword [eax + 0xc]
add esp, 0x10
mov eax, dword [esi + 0x370]
cmp eax, 0x80000000
jne 0x50f606
mov eax, dword [esi + 0x374]
mov ecx, dword [esi + 0x378]
lea edx, [esi + 0x3f8]
mov byte [esi + 0x2d], 1
mov dword [esi + 0x798], 0x14
mov dword [edx], str.resolve_dns_name_
mov dword [edx + 4], 2
and dword [edx + 0x10], 0
mov dword [esi + 0xc], ecx
mov dword [esi + 0xc4], ecx
lea ecx, [esi + 0x268]
mov dword [esi + 4], eax
mov dword [esi + 0xc0], eax
lea eax, [esi + 0x68]
mov dword [ecx], eax
mov dword [edx + 8], ecx
mov dword [ecx + 4], fcn.0041a314
lea ecx, [esi + 0xe0]
mov dword [edx + 0xc], 1
call fcn.0050613c
mov eax, dword [esi + 0xe8]
mov ecx, dword [esi + 0xc]
lea edx, [esi + 0x3f8]
movsd xmm0, qword [esi + 0xe0]
mov dword [edx + 0x54], eax
lea eax, [esi + 0x670]
movsd qword [edx + 0x4c], xmm0
mov dword [eax + 4], ecx
mov ecx, dword [esi + 4]
mov dword [eax], ecx
push 2
pop ecx
mov dword [edx + 4], ecx
and dword [edx + 0x58], 0
mov byte [edx + 0x60], 2
mov dword [edx], ecx
mov byte [esi + 0x2d], 0
lea ecx, [esi + 0x268]
push eax
call fcn.00506df7
pop eax
lea eax, [esi + 0x278]
mov ecx, dword [eax - 8]
mov edi, dword [eax - 0x10]
mov ebx, dword [eax - 0xc]
mov dword [esi + 0x48], ecx
mov ecx, dword [eax - 4]
mov dword [esi + 0x5c], ecx
lea ecx, [esi + 0x198]
push 0xb4
push eax
push ecx
call fcn.0058a110
add esp, 0xc
cmp edi, 3
mov dword [esi + 0x4c], ebx
je 0x50f61b
mov ebx, dword [esi + 0x20]
lea eax, [ebx + 0x10]
push 0xb4
lea ecx, [esi + 0x198]
push ecx
push eax
call fcn.0058a110
add esp, 0xc
mov eax, dword [esi + 0x4c]
mov edx, dword [esi + 0x48]
mov ecx, dword [esi + 0x5c]
mov dword [esi + 0x798], 1
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], ecx
lea ecx, [esi + 0x18]
mov dword [ebx], edi
call fcn.0042d75c
jmp 0x510a23
mov edx, dword [esi + 0x374]
mov ecx, dword [esi + 0x378]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], edx
mov dword [esi + 0x5c], ecx
lea ecx, [esi + 0x18]
mov byte [esi + 0xb], 0
mov dword [esi + 0x798], 2
call fcn.0042d75c
mov eax, dword [esi + 0x5c]
lea ecx, [esi + 0x88]
test eax, eax
je 0x50fec4
lea edi, [esi + 0x16c]
mov edx, dword [esi + 0x48]
mov byte [esi + 0x14], 4
cmp dword [edi], 0x80000000
mov dword [esi + 0x370], edx
sete bl
setne ch
shl eax, 5
add eax, edx
cmp byte [edi + 0x28], 0
sete cl
and ch, cl
or bl, cl
mov byte [esi + 0x42], ch
lea ecx, [esi + 0x54]
mov byte [esi + 0x43], bl
mov byte [ecx], 4
mov ecx, dword [esi + 0x4c]
mov dword [esi + 0x374], ecx
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x378], edx
mov dword [esi + 0x37c], eax
add ecx, 0x58
mov dword [esi + 0x9c], ecx
mov ecx, edx
mov bx, 2
cmp ecx, eax
je 0x50ff52
lea eax, [ecx + 0x20]
mov dword [esi + 0x378], eax
movsd xmm0, qword [ecx + 0x18]
movzx eax, word [ecx]
movsd qword [esi + 0xf6], xmm0
cmp ax, 2
movsd xmm0, qword [ecx + 0x12]
movsd qword [esi + 0xf0], xmm0
movsd xmm0, qword [ecx + 0xa]
movsd qword [esi + 0xe8], xmm0
movsd xmm0, qword [ecx + 2]
movsd qword [esi + 0xe0], xmm0
je 0x50ffbf
movsd xmm0, qword [esi + 0xf6]
movsd xmm1, qword [esi + 0xf0]
mov word [esi + 0x198], ax
lea eax, [esi + 0x19a]
movsd xmm2, qword [esi + 0xe0]
cmp dword [esi + 0x80], 0x3b9aca00
mov edi, 0x3b9aca00
movsd qword [eax + 0x16], xmm0
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [esi + 0xe8]
movsd qword [eax], xmm2
movsd qword [eax + 8], xmm1
je 0x50f7c2
mov al, byte [esi + 0x14]
mov edx, dword [esi + 0x94]
mov dword [esi + 0x798], 0xe
lea ecx, [esi + 0x3f8]
mov byte [esi + 3], al
push dword [esi + 0x80]
push dword [esi + 0x90]
call fcn.004fc33c
pop eax
pop ecx
mov edi, dword [esi + 0x400]
mov eax, dword [esi + 0x3f8]
mov ecx, dword [esi + 0x3fc]
cmp edi, 0x3b9aca00
mov dword [esi + 0x50], eax
je 0x50ff54
cmp dword [esi + 0x5c], 1
jne 0x50f7a2
mov dword [esi + 0x7c], ecx
jmp 0x50f7c2
mov edx, dword [esi + 0x50]
mov eax, ecx
shr edi, 1
shr ecx, 1
mov dword [esi + 0x7c], ecx
shld eax, edx, 0x1f
and edx, 1
neg edx
mov dword [esi + 0x50], eax
and edx, 0x1dcd6500
add edi, edx
mov eax, dword [0x673b84]
cmp eax, 4
jb 0x50f861
lea eax, [esi + 0x198]
mov dword [esi + 4], edi
mov dword [esi + 0x3f8], 0x6470bc
mov dword [esi + 0x670], eax
lea eax, [esi + 0x68]
mov dword [esi + 0x268], eax
lea eax, [esi + 0x670]
mov dword [esi + 0x26c], fcn.0041a314
mov dword [esi + 0x270], eax
mov dword [esi + 0x274], 0x50502b
push 2
pop eax
lea ecx, [esi + 0x268]
mov dword [esi + 0x3fc], eax
and dword [esi + 0x408], 0
mov dword [esi + 0x798], 0xe
mov dword [esi + 0x400], ecx
mov cl, byte [esi + 0x14]
mov dword [esi + 0x404], eax
mov byte [esi + 3], cl
lea ecx, [esi + 0x3f8]
push 4
pop edx
push 0x18a
push 0x647024
call fcn.00465135
pop eax
pop ecx
mov edi, dword [esi + 4]
cmp byte [esi + 0x43], 0
je 0x50f8fc
cmp edi, 0x3b9aca00
jne 0x50f99e
lea ebx, [esi + 0x19a]
movzx eax, word [esi + 0x198]
movzx ecx, word [esi + 0x19a]
mov edi, dword [esi + 0x1a0]
mov edx, dword [ebx + 0x1a]
movsd xmm0, qword [ebx + 0xa]
movsd xmm1, qword [ebx + 0x12]
cmp ax, 3
mov word [esi + 0x24], cx
mov dword [esi + 0x278], edx
mov edx, dword [esi + 0x19c]
movsd qword [esi + 0x268], xmm0
movsd qword [esi + 0x270], xmm1
jne 0x50fa3c
mov al, byte [esi + 0x14]
mov dword [esi + 0x798], 0xe
lea ecx, [esi + 0x30]
mov byte [esi + 3], al
push edi
call fcn.00504bfd
pop eax
cmp byte [esi + 0x30], 4
jne 0x50fbad
mov ecx, dword [esi + 0x34]
mov al, 4
mov dword [esi + 4], eax
mov dword [esi + 0xc], ecx
jmp 0x50fb73
mov al, byte [esi + 0x14]
lea ecx, [esi + 0x3f8]
lea edx, [esi + 0x16c]
mov dword [esi + 0x798], 0xe
mov byte [esi + 3], al
call fcn.004ffe4a
cmp dword [esi + 0x3f8], 0x80000000
je 0x510ad3
push 0x2c
lea edi, [esi + 0x3f8]
push edi
lea eax, [esi + 0x268]
push eax
call fcn.0058a110
add esp, 0xc
mov dword [esi + 0x798], 0x12
mov ecx, edi
push 0x27
pop edx
push 0x17
push str.SOCKS_feature_disabled.unknown_scheme_
call fcn.004ce6e9
pop eax
pop ecx
mov cl, byte [esi + 0x14]
mov eax, dword [esi + 0x3f8]
mov edx, dword [esi + 0x3fc]
mov dword [esi + 0x798], 0xe
mov byte [esi + 3], cl
lea ecx, [esi + 0x268]
mov dword [esi + 4], eax
mov dword [esi + 0xc], edx
call fcn.004fbb37
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 4]
shld edi, eax, 0x18
jmp 0x50fbbf
mov dword [esi + 4], edi
mov eax, dword [0x673b1c]
cmp eax, 3
je 0x50f9c0
mov al, byte [esi + 0x14]
mov dword [esi + 0x798], 0xe
mov byte [esi + 3], al
call fcn.0059db90
mov edx, dword [esi + 0x198]
lea edi, [esi + 0x3f8]
mov ecx, edi
call fcn.004e6bc0
mov al, byte [esi + 0x3f8]
cmp al, 4
jne 0x50fb0b
mov ebx, dword [esi + 0x3fc]
mov dword [esi + 0x3f8], 1
push edi
push 0x8004667e
push ebx
call dword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x50fce0
cmp word [esi + 0x198], 0
mov dword [esi + 0x24], ebx
je 0x50fc12
movups xmm0, xmmword [esi + 0x19c]
mov eax, dword [esi + 0x1b0]
mov cx, 0x17
lea edx, [esi + 0x1b4]
lea ebx, [esi + 0x1ac]
push 0x1c
jmp 0x50fc27
mov bl, 4
mov dword [esi + 0x84], edx
mov dword [esi + 0x3c], edi
mov byte [esi + 0x18], 4
cmp ax, 2
je 0x50fb3b
mov word [esi + 0x3f8], ax
movzx eax, word [esi + 0x24]
movsd xmm0, qword [esi + 0x268]
movsd xmm1, qword [esi + 0x270]
lea ecx, [esi + 0x400]
mov dword [esi + 0x798], 0xf
mov word [esi + 0x3fa], ax
mov eax, dword [esi + 0x84]
mov dword [esi + 0x3fc], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x400], eax
mov eax, dword [esi + 0x278]
movsd qword [ecx + 0xc], xmm1
movsd qword [ecx + 4], xmm0
mov dword [ecx + 0x14], eax
lea ecx, [esi + 0x670]
push 4
pop edx
lea eax, [esi + 0x3f8]
push eax
call fcn.00504bfd
pop eax
cmp byte [esi + 0x670], 4
je 0x50fb4a
mov ecx, dword [esi + 0x674]
mov eax, dword [esi + 0x670]
mov dword [esi + 0x798], 0x10
mov dword [esi + 4], ecx
lea ecx, [esi + 0x18]
mov dword [esi + 0xc], eax
call fcn.00504bef
mov eax, dword [esi + 0xc]
mov ebx, eax
mov dword [esi + 0x18], eax
mov eax, dword [esi + 4]
mov edx, eax
mov dword [esi + 0x1c], eax
mov ax, 2
jmp 0x50fa4b
movzx ebx, byte [esi + 0x3fb]
movzx edi, word [esi + 0x3f9]
mov edx, dword [esi + 0x3fc]
mov ecx, eax
mov dword [esi + 0x798], 0x11
mov dword [esi + 4], ecx
shl ebx, 0x10
mov dword [esi + 0xc], edx
or edi, ebx
jmp 0x50fbc9
mov eax, ebx
cmp al, 4
jne 0x50fb7b
mov edx, 0x64524c
mov bl, 2
jmp 0x50fb91
mov cl, byte [esi + 0x14]
mov eax, dword [esi + 0x674]
mov dword [esi + 0x798], 0xe
mov byte [esi + 3], cl
lea ecx, [esi + 0x18]
mov dword [esi + 0xc], eax
mov dword [esi + 0x34], eax
call fcn.00504bef
mov al, 4
mov dword [esi + 4], eax
mov edi, dword [esi + 0x98]
jmp 0x50fbbf
lea ecx, [esi + 0x19]
mov al, byte [ecx + 2]
movzx ecx, word [ecx]
mov byte [esi + 0x3fa], al
mov word [esi + 0x3f8], cx
mov al, byte [esi + 0x3fa]
movzx edi, word [esi + 0x3f8]
lea ecx, [esi + 0x31]
mov byte [esi + 0x30], bl
mov byte [ecx + 2], al
mov word [ecx], di
mov dword [esi + 0x34], edx
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
mov ecx, edi
mov dword [esi + 4], edi
mov dword [esi + 0xc], eax
shrd edi, eax, 8
cmp byte [esi + 4], 4
je 0x50ff7f
movzx ecx, byte [esi + 4]
mov eax, edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x798], 0x11
shl eax, 8
or ecx, eax
mov dword [esi + 0x14], ecx
lea ecx, [esi + 0x54]
call fcn.00504bef
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x378]
mov edx, dword [esi + 4]
mov byte [esi + 0x14], dl
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x37c]
jmp 0x50f6a0
mov cx, 2
xorps xmm0, xmm0
lea edx, [esi + 0x19e]
lea ebx, [esi + 0x19a]
push 0x10
pop edi
movzx edx, word [edx]
mov ebx, dword [ebx]
mov word [esi + 0x3f8], cx
rol dx, 8
mov word [esi + 0x3fa], dx
mov dword [esi + 0x3fc], ebx
movups xmmword [esi + 0x400], xmm0
mov dword [esi + 0x410], eax
push edi
lea edi, [esi + 0x3f8]
push edi
mov ebx, dword [esi + 0x24]
push ebx
call dword [sym.imp.ws2_32.dll_connect]
cmp eax, 0xffffffff
je 0x50fc8a
and dword [esi + 0x3f8], 0
push edi
push 0x8004667e
push ebx
call dword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x50fce0
push 4
pop ecx
jmp 0x50fd0a
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
and dword [esi + 0x3f8], 0
mov dword [esi + 0xc], eax
push edi
push 0x8004667e
push ebx
call dword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x50fce0
mov edi, dword [esi + 0xc]
mov ecx, edi
call fcn.004da380
xor ecx, ecx
cmp al, 0xd
jne 0x50fd0a
mov eax, dword [esi + 0x50]
mov edi, dword [esi + 4]
or eax, dword [esi + 0x7c]
jne 0x50fd56
test edi, edi
jne 0x50fd56
mov ecx, ebx
mov bl, 2
mov dword [esi + 0xc], 0x620f0c
jmp 0x50fd30
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edx, eax
mov ecx, eax
mov dword [esi + 0xc], eax
shr eax, 0x18
mov byte [esi + 0x18], 0
shl ecx, 0x18
shr edx, 8
mov dword [esi + 0x19], ecx
mov word [esi + 0x1d], dx
mov ecx, ebx
mov byte [esi + 0x1f], al
xor ebx, ebx
jmp 0x50fd30
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edi
mov edx, dword [esi + 0x78]
mov edi, dword [esi + 0x74]
cmp cl, 4
je 0x50ff79
mov ebx, ecx
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edx
mov dword [esi + 0xc], eax
movzx eax, byte [esi + 0x1b]
movzx edi, word [esi + 0x19]
mov dword [esi + 4], ebx
shl eax, 0x10
or edi, eax
push ecx
call dword [sym.imp.ws2_32.dll_closesocket]
mov dword [esi + 0x798], 0x11
jmp 0x50fbc9
mov edx, dword [esi + 0x50]
mov eax, 0x7fffffff
mov ecx, 0x7fffffff
mov ebx, 0x3e8
cmp edx, eax
cmovb ecx, edx
cmp dword [esi + 0x7c], 0
cmovne ecx, eax
mov eax, edi
xor edx, edx
div ebx
mov edx, edi
mov dword [esi + 0x670], ecx
test ecx, ecx
mov edi, 1
mov ecx, eax
cmove ecx, edi
cmp edx, ebx
cmovae ecx, eax
mov eax, 0xfc
mov dword [esi + 0x674], ecx
push eax
push 0
lea eax, [esi + 0x400]
push eax
call fcn.0058a690
add esp, 0xc
mov ebx, dword [esi + 0x24]
mov eax, 0xfc
mov dword [esi + 0x268], edi
mov dword [esi + 0x26c], ebx
push eax
push 0
lea eax, [esi + 0x270]
push eax
call fcn.0058a690
add esp, 0xc
lea eax, [esi + 0x670]
mov dword [esi + 0x3f8], edi
mov dword [esi + 0x3fc], ebx
push eax
lea eax, [esi + 0x3f8]
push eax
lea eax, [esi + 0x268]
push eax
push 0
push edi
call dword [sym.imp.ws2_32.dll_select]
test eax, eax
je 0x50fe30
mov edx, dword [esi + 0x78]
mov edi, dword [esi + 0x74]
cmp eax, 0xffffffff
jne 0x50fe48
mov ebx, edx
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
xor edx, edx
xor ecx, ecx
mov byte [esi + 0x18], dl
and word [esi + 0x19], 0
mov byte [esi + 0x1b], dl
mov edx, ebx
mov dword [esi + 0x1c], eax
jmp 0x50fd16
mov edx, dword [esi + 0x78]
mov edi, dword [esi + 0x74]
mov al, 2
mov byte [esi + 0x18], 2
mov dword [esi + 0x1c], 0x620f2c
mov dword [esi + 4], eax
jmp 0x50feaf
cmp dword [esi + 0x268], 1
mov al, 4
mov dword [esi + 4], eax
je 0x50feaf
and dword [esi + 0x60], 0
mov ebx, edx
lea eax, [esi + 0x30]
mov dword [esi + 0x30], 4
push eax
lea eax, [esi + 0x60]
push eax
push 0x1007
push 0xffff
push dword [esi + 0x24]
call dword [sym.imp.ws2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x50fe96
mov ecx, dword [esi + 0x60]
mov edx, ebx
and edx, 0xffffff00
test ecx, ecx
je 0x50fea2
mov edi, ecx
jmp 0x50fea5
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edi, eax
xor edx, edx
jmp 0x50feb7
or edx, 4
cmp eax, 0xffffffff
je 0x50feb7
cmp dl, 4
jne 0x50feb7
mov ecx, dword [esi + 4]
jmp 0x50fd16
mov ecx, edx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], edi
jmp 0x50fd16
lea eax, [esi + 0x268]
lea edx, [esi + 0x3f8]
mov byte [esi + 0xb], 0
mov dword [eax], ecx
xor ecx, ecx
mov dword [edx], str.No_ip_address_for
mov dword [eax + 4], fcn.0041a414
inc ecx
mov dword [edx + 4], ecx
and dword [edx + 0x10], 0
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esi + 0x25c]
call fcn.0050613c
movsd xmm0, qword [esi + 0x25c]
mov eax, dword [esi + 0x264]
mov edi, dword [esi + 0x20]
movsd qword [esi + 0x43c], xmm0
mov dword [esi + 0x444], eax
push 2
pop eax
mov dword [edi], eax
mov dword [edi + 4], eax
lea eax, [edi + 8]
push 0x50
lea ecx, [esi + 0x3f8]
push ecx
push eax
call fcn.0058a110
add esp, 0xc
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x48]
and dword [edi + 0x58], 0
mov byte [edi + 0x60], 2
call fcn.004faf33
jmp 0x510a23
jmp 0x50ffbf
mov al, byte [esi + 0x14]
mov edi, ecx
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x50]
mov byte [esi + 3], al
push edi
call fcn.0050ce03
pop eax
lea ecx, [esi + 0x370]
call fcn.004faf28
jmp 0x5109fe
mov eax, dword [esi + 0x24]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x19a]
movzx ebx, word [esi + 0x198]
movsd xmm1, qword [eax + 8]
movsd xmm0, qword [eax]
movsd xmm2, qword [eax + 0x10]
movsd qword [esi + 0xc8], xmm1
movsd xmm1, qword [eax + 0x16]
movsd qword [esi + 0xd0], xmm2
movsd qword [esi + 0xc0], xmm0
movsd qword [esi + 0xd6], xmm1
lea ecx, [esi + 0x370]
call fcn.004faf28
cmp bx, 2
jne 0x51008e
cmp byte [esi + 0x14], 4
je 0x510aee
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x58]
mov byte [esi + 0x2f], 1
mov dword [esi + 0x798], 5
mov dword [esi + 0x14], ecx
mov dword [esi + 0xe4], ecx
mov dword [esi + 4], eax
mov dword [esi + 0xe0], eax
push 0xd
pop ecx
call fcn.0046a9f5
mov ecx, edx
mov byte [edx + 0xc], 0x72
mov dword [edx + 8], 0x6f727265
mov dword [edx + 4], 0x20746365
mov dword [edx], 0x6e6e6f43
lea edx, [esi + 0x3f8]
push 2
pop edi
mov dword [edx + 4], edi
mov dword [edx + 0x4c], eax
mov eax, dword [esi + 0x14]
mov dword [edx + 0x50], ecx
mov dword [edx + 0x54], 0xd
and dword [edx + 0x58], 0
mov byte [edx + 0x60], 4
mov dword [edx], edi
mov byte [esi + 0x2f], 0
lea ecx, [esi + 0x268]
mov dword [esi + 0x19c], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x198], eax
lea eax, [esi + 0x198]
push eax
call fcn.00506df7
pop eax
push 0xc4
lea eax, [esi + 0x268]
push eax
push dword [esi + 0x20]
call fcn.0058a110
add esp, 0xc
jmp 0x510a1c
movsd xmm0, qword [esi + 0xd6]
movsd xmm1, qword [esi + 0xd0]
movsd xmm2, qword [esi + 0xc0]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x44]
movsd qword [esi + 0xb6], xmm0
movsd qword [esi + 0xb0], xmm1
movsd xmm1, qword [esi + 0xc8]
movsd qword [esi + 0xa0], xmm2
mov dword [esi + 0x30], ecx
movsd qword [esi + 0xa8], xmm1
movzx eax, byte [eax + 0x8d]
mov dword [esi + 0x3f8], eax
push 4
lea eax, [esi + 0x3f8]
push eax
push 1
push 6
push ecx
call dword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
mov word [esi + 4], bx
je 0x5101a0
mov eax, dword [esi + 0x38]
mov edi, dword [eax + 0x50]
cmp edi, 0x3b9aca00
jne 0x5101c1
mov eax, dword [esi + 0x44]
mov edx, dword [esi + 0x30]
lea edi, [esi + 0x3f8]
mov ecx, edi
push dword [eax + 0x20]
push dword [eax + 0x1c]
push dword [eax + 0x18]
call fcn.004e6c80
add esp, 0xc
cmp byte [edi], 4
je 0x51014a
mov edx, dword [esi + 0x3f8]
cmp dl, 4
jne 0x51023b
mov eax, dword [esi + 0x44]
mov edx, dword [esi + 0x30]
lea edi, [esi + 0x3f8]
mov ecx, edi
push dword [eax + 0x30]
push dword [eax + 0x2c]
push dword [eax + 0x28]
call fcn.004e6d60
add esp, 0xc
cmp byte [edi], 4
je 0x5102f6
mov edx, dword [esi + 0x3f8]
cmp dl, 4
je 0x5102f6
mov eax, dword [esi + 0x3fc]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x798], 6
push eax
call fcn.0050ce03
pop eax
jmp 0x5109f5
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x798], 6
xor edx, edx
push eax
call fcn.0050ce03
pop eax
jmp 0x5109f5
mov edx, dword [eax + 0x48]
mov eax, dword [eax + 0x4c]
mov dword [esi + 0x798], 6
lea ecx, [esi + 0x3f8]
mov dword [esi + 0x24], edi
mov dword [esi + 0x84], edx
push edi
mov dword [esi + 0x3c], eax
push eax
call fcn.004fc33c
pop eax
pop ecx
mov edi, dword [esi + 0x400]
mov eax, dword [esi + 0x3f8]
mov ebx, dword [esi + 0x3fc]
cmp edi, 0x3b9aca00
jne 0x510217
mov ecx, dword [esi + 0x20]
mov edx, eax
push ebx
call fcn.0050ce03
pop eax
jmp 0x5109f5
mov edx, dword [esi + 0x30]
lea ecx, [esi + 0x268]
push edi
push ebx
push eax
call fcn.004e6c80
add esp, 0xc
lea eax, [esi + 0x268]
cmp byte [eax], 4
jne 0x51025a
mov eax, dword [esi + 0x24]
jmp 0x510268
mov eax, dword [esi + 0x3fc]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x798], 6
push eax
call fcn.0050ce03
pop eax
jmp 0x5109f5
mov edx, dword [esi + 0x268]
mov eax, dword [esi + 0x24]
cmp dl, 4
jne 0x5102cf
mov edx, dword [esi + 0x84]
lea ecx, [esi + 0x3f8]
push eax
push dword [esi + 0x3c]
call fcn.004fc33c
pop eax
pop ecx
mov edi, dword [esi + 0x400]
mov eax, dword [esi + 0x3f8]
mov ebx, dword [esi + 0x3fc]
cmp edi, 0x3b9aca00
jne 0x5102aa
mov ecx, dword [esi + 0x20]
mov edx, eax
push ebx
call fcn.0050ce03
pop eax
jmp 0x5109f5
mov edx, dword [esi + 0x30]
lea ecx, [esi + 0x268]
push edi
push ebx
push eax
call fcn.004e6d60
add esp, 0xc
lea eax, [esi + 0x268]
cmp byte [eax], 4
jne 0x5102e3
movzx ebx, word [esi + 4]
jmp 0x5102f6
mov ecx, dword [esi + 0x20]
push dword [esi + 0x26c]
call fcn.0050ce03
pop eax
jmp 0x5109f5
mov edx, dword [esi + 0x268]
movzx ebx, word [esi + 4]
cmp dl, 4
jne 0x5103df
cmp byte [esi + 0x42], 0
je 0x510a71
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x798], 6
call fcn.004fb662
mov ecx, eax
push 5
push 0x647c13
call fcn.004ceab4
pop ecx
pop edx
movzx ebx, word [esi + 4]
test al, al
lea edi, [esi + 0x370]
je 0x510a71
cmp dword [esi + 0x16c], 0x80000000
je 0x510a71
mov edx, dword [esi + 0x44]
movzx eax, word [ebp + 0x10]
cmp dword [esi + 0x178], 0x80000000
mov ecx, dword [edx + 0x54]
mov edx, dword [edx + 0x58]
mov word [esi + 0x60], ax
mov eax, dword [esi + 0x88]
mov dword [esi + 0x18], ecx
mov ecx, dword [esi + 0x8c]
mov dword [esi + 0x1c], edx
je 0x5103c2
cmp dword [esi + 0x184], 0x80000000
je 0x5103c2
mov dword [esi + 0x3c], ecx
lea edx, [esi + 0x178]
lea ecx, [esi + 0x3f8]
mov dword [esi + 0x24], eax
call fcn.00579ba2
cmp dword [esi + 0x3f8], 0x80000000
lea edx, [esi + 0x184]
jne 0x5103f3
and dword [esi + 0xe0], 0
mov dword [esi + 0xe4], 1
and dword [esi + 0xe8], 0
jmp 0x51040f
and dword [esi + 0xe0], 0
mov dword [esi + 0xe4], 1
and dword [esi + 0xe8], 0
jmp 0x5105cb
mov ecx, dword [esi + 0x20]
push dword [esi + 0x26c]
call fcn.0050ce03
pop eax
jmp 0x5109f5
mov eax, dword [esi + 0x400]
movsd xmm0, qword [esi + 0x3f8]
mov dword [esi + 0xe8], eax
movsd qword [esi + 0xe0], xmm0
lea ecx, [esi + 0x3f8]
mov dword [esi + 0x798], 0xc
call fcn.00579ba2
cmp dword [esi + 0x3f8], 0x80000000
push 2
pop ecx
jne 0x51044d
and dword [esi + 0x198], 0
mov dword [esi + 0x19c], 1
and dword [esi + 0x1a0], 0
jmp 0x510469
mov eax, dword [esi + 0x400]
movsd xmm0, qword [esi + 0x3f8]
mov dword [esi + 0x1a0], eax
movsd qword [esi + 0x198], xmm0
lea eax, [esi + 0xe0]
lea edx, [esi + 0x198]
mov dword [esi + 0x798], 0xd
mov dword [esi + 0x268], eax
mov eax, fcn.0041a314
mov dword [esi + 0x26c], eax
mov dword [esi + 0x270], edx
lea edx, [esi + 0x3f8]
mov dword [esi + 0x274], eax
lea eax, [esi + 0x268]
mov dword [edx], str._rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_std_srcioimpls.rs
mov dword [edx + 4], ecx
and dword [edx + 0x10], 0
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esi + 0x370]
call fcn.0050613c
lea edi, [esi + 0x198]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
call fcn.004d351c
mov ecx, dword [esi + 0xe0]
mov edx, dword [esi + 0xe4]
call fcn.004d351c
movsd xmm0, qword [esi + 0x370]
mov eax, dword [esi + 0x378]
lea edx, [esi + 0x3f8]
mov ecx, edi
mov dword [esi + 0x798], 6
movsd qword [edx], xmm0
mov dword [edx + 8], eax
call fcn.005111ec
cmp byte [esi + 0x194], 0
je 0x510536
and dword [esi + 0xe0], 0
mov dword [esi + 0xe4], 1
and dword [esi + 0xe8], 0
jmp 0x5105a4
lea edx, [esi + 0x3f8]
lea eax, [esi + 0x198]
lea ecx, [esi + 0x268]
mov dword [esi + 0x798], 0xb
mov dword [edx], str.Proxy_Authorization:_basic
mov dword [edx + 4], 2
and dword [edx + 0x10], 0
mov dword [esi + 0xe0], eax
lea eax, [esi + 0xe0]
mov dword [esi + 0xe4], fcn.0041a314
mov dword [edx + 8], eax
mov dword [edx + 0xc], 1
call fcn.0050613c
movsd xmm0, qword [esi + 0x268]
mov eax, dword [esi + 0x270]
movsd qword [esi + 0xe0], xmm0
mov dword [esi + 0xe8], eax
mov ecx, dword [esi + 0x198]
mov edx, dword [esi + 0x19c]
lea edi, [esi + 0x370]
call fcn.004d351c
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x798], 0xa
mov dword [esi + 0x670], eax
mov dword [esi + 0x370], eax
lea eax, [esi + 0x670]
mov dword [esi + 0x674], ecx
mov dword [esi + 0x374], ecx
lea edx, [esi + 0x60]
mov ecx, fcn.0044a1d0
mov dword [esi + 0x798], 0xa
mov dword [esi + 0x3f8], eax
mov eax, fcn.0041a414
mov dword [esi + 0x3fc], eax
mov dword [esi + 0x400], edx
mov dword [esi + 0x404], ecx
mov dword [esi + 0x408], edi
mov dword [esi + 0x40c], eax
mov dword [esi + 0x410], edx
lea edx, [esi + 0x268]
mov dword [esi + 0x414], ecx
lea ecx, [esi + 0x18]
mov dword [edx], str.CONNECT__HTTP_1.1_r_nHost:__r_nUser_Agent:__r_nProxy_Connection:_Keep_Alive_r_n
mov dword [edx + 4], 7
and dword [edx + 0x10], 0
mov dword [esi + 0x418], ecx
mov dword [esi + 0x41c], eax
lea eax, [esi + 0xe0]
lea ecx, [esi + 0x198]
mov dword [esi + 0x420], eax
lea eax, [esi + 0x3f8]
mov dword [esi + 0x424], 0x41a314
mov dword [edx + 8], eax
mov dword [edx + 0xc], 6
call fcn.0050613c
mov ecx, dword [esi + 0xe0]
mov edx, dword [esi + 0xe4]
call fcn.004d351c
lea eax, [esi + 0x198]
mov dword [esi + 0x3f8], 0x65308c
lea ecx, [esi + 0x268]
mov dword [esi + 0x798], 9
mov dword [esi + 0x268], eax
xor eax, eax
mov dword [esi + 0x26c], fcn.0041a314
inc eax
mov dword [esi + 0x3fc], eax
and dword [esi + 0x408], 0
mov dword [esi + 0x400], ecx
mov dword [esi + 0x404], eax
lea eax, [esi + 0x3f8]
push eax
lea eax, [esi + 0x30]
push eax
lea eax, [esi + 0xe0]
push eax
call fcn.00504952
add esp, 0xc
lea ecx, [esi + 0xe0]
mov edx, 0x6470dc
call fcn.0050cb31
mov ecx, dword [esi + 0x198]
mov edx, dword [esi + 0x19c]
call fcn.004d351c
mov edi, dword [esi + 0x30]
cmp edi, 0xffffffff
je 0x510b25
push 0x274
push 0
lea ebx, [esi + 0x3f8]
push ebx
call fcn.0058a690
add esp, 0xc
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
push ebx
push eax
push edi
call dword [sym.imp.ws2_32.dll_WSADuplicateSocketW]
cmp eax, 0xffffffff
je 0x5109a1
push 0x81
push 0
push ebx
push dword [esi + 0x454]
push dword [esi + 0x450]
push dword [esi + 0x444]
call dword [sym.imp.ws2_32.dll_WSASocketW]
mov ebx, eax
cmp eax, 0xffffffff
je 0x51093d
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x24], ebx
mov byte [esi + 0xa], 1
mov dword [esi + 0x798], 7
call fcn.004fb662
mov dword [esi + 0x3c], edx
mov ebx, dword [esi + 0x88]
mov edi, dword [esi + 0x8c]
mov byte [esi + 0xa], 1
lea ecx, [esi + 0x6f4]
mov edx, eax
push dword [ebp + 0x10]
push edi
push ebx
push dword [esi + 0x3c]
call fcn.0050f1ad
add esp, 0x10
mov edx, dword [esi + 0x9c]
lea eax, [esi + 0x6f4]
mov byte [esi + 0xa], 1
lea ecx, [esi + 0x73c]
push eax
call fcn.0050f271
pop eax
movzx eax, word [esi + 4]
movsd xmm1, qword [esi + 0xa8]
movsd xmm0, qword [esi + 0xa0]
movsd xmm2, qword [esi + 0xb0]
mov edx, dword [esi + 0x24]
mov byte [esi + 0xa], 0
lea ecx, [esi + 0x370]
mov word [esi + 0x3f8], ax
movsd qword [esi + 0x402], xmm1
movsd xmm1, qword [esi + 0xb6]
lea eax, [esi + 0x73c]
movsd qword [esi + 0x40a], xmm2
movsd qword [esi + 0x3fa], xmm0
movsd qword [esi + 0x410], xmm1
push eax
lea eax, [esi + 0x3f8]
push eax
call fcn.00510ef7
pop eax
pop ecx
push 0x88
lea eax, [esi + 0x370]
push eax
lea eax, [esi + 0xe0]
push eax
call fcn.0058a110
add esp, 0xc
mov edx, dword [esi + 0x38]
lea ecx, [esi + 0x670]
mov byte [esi + 0x2e], 1
mov dword [esi + 0x798], 8
call fcn.0050cbb3
lea eax, [esi + 0x670]
mov byte [esi + 0x2e], 0
lea ecx, [esi + 0x3f8]
lea edx, [esi + 0xe0]
push eax
call fcn.0050ce33
pop eax
lea eax, [esi + 0x3fc]
mov edi, dword [eax - 4]
cmp edi, 3
jne 0x5109c1
mov edi, 0xc0
push edi
push eax
lea ebx, [esi + 0x268]
push ebx
call fcn.0058a110
add esp, 0xc
push edi
push ebx
lea eax, [esi + 0x198]
push eax
call fcn.0058a110
add esp, 0xc
movzx ecx, word [esi + 0x254]
cmp ecx, 0xc8
je 0x510a54
cmp ecx, 0x197
je 0x510904
mov al, 0xa
cmp ecx, 0x191
jne 0x510906
mov al, 0xb
mov ecx, dword [esi + 0x20]
push 2
pop edx
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov dword [ecx + 0x4c], 0x80000000
and dword [ecx + 0x58], 0
mov byte [ecx + 0x60], al
lea ecx, [esi + 0x198]
mov byte [esi + 0xa], 0
mov dword [esi + 0x798], 7
call fcn.004fb8c1
jmp 0x5109f5
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x510953
mov edi, eax
cmp eax, 0x2726
jne 0x5109a9
push 1
push 0
lea eax, [esi + 0x3f8]
push eax
push dword [esi + 0x454]
push dword [esi + 0x450]
push dword [esi + 0x444]
call dword [sym.imp.ws2_32.dll_WSASocketW]
cmp eax, 0xffffffff
je 0x5109a1
mov ebx, eax
push 0
push 1
push eax
call dword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
jne 0x510784
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
push ebx
call dword [sym.imp.ws2_32.dll_closesocket]
jmp 0x5109a9
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edi, eax
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x798], 6
xor edx, edx
push edi
call fcn.0050ce03
pop eax
jmp 0x5109f5
mov ecx, 0xc0
push ecx
push eax
lea eax, [esi + 0x268]
push eax
call fcn.0058a110
add esp, 0xc
mov ebx, dword [esi + 0x20]
mov ecx, 0xc0
lea eax, [ebx + 4]
push ecx
lea ecx, [esi + 0x268]
push ecx
push eax
call fcn.0058a110
add esp, 0xc
mov dword [ebx], edi
push dword [esi + 0x30]
call dword [sym.imp.ws2_32.dll_closesocket]
cmp byte [esi + 0x14], 4
je 0x510a1c
lea eax, [esi + 0x54]
mov byte [esi + 0xb], 1
mov dword [esi + 0x798], 2
push eax
call fcn.004583ed
pop eax
or dword [esi + 0x798], 0xffffffff
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x6c]
call fcn.004d351c
or dword [esi + 0x798], 0xffffffff
lea ecx, [esi + 0x16c]
call fcn.004fbb2a
mov eax, dword [esi + 0x790]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esi + 0x198]
mov byte [esi + 0xa], 0
mov dword [esi + 0x798], 7
call fcn.004fb8c1
movzx ebx, word [esi + 4]
movsd xmm0, qword [esi + 0xb6]
mov ecx, dword [esi + 0x20]
movsd xmm1, qword [esi + 0xb0]
movsd xmm2, qword [esi + 0xa0]
mov eax, dword [esi + 0x30]
mov byte [esi + 0xb], 1
mov dword [esi + 0x798], 2
movsd qword [ecx + 0x20], xmm0
movsd qword [ecx + 0x1a], xmm1
movsd xmm1, qword [esi + 0xa8]
movsd qword [ecx + 0xa], xmm2
movsd qword [ecx + 0x12], xmm1
mov dword [ecx + 4], eax
mov word [ecx + 8], bx
mov dword [ecx], 3
lea ecx, [esi + 0x54]
call fcn.00504bef
jmp 0x510a23
mov al, byte [esi + 0x14]
mov byte [esi + 3], al
push 0x2b
pop edx
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_alloc_srccollections_btree_navigate.rs
push 0x6470cc
call fcn.0059a2a0
pop eax
jmp 0x510b42
mov eax, dword [esi + 0xc]
mov byte [esi + 0x11], 4
mov word [esi + 0x2a], 2
mov byte [esi + 0x12], 1
mov byte [esi + 0x13], 0
mov dword [esi + 0x798], 4
mov dword [esi + 0x64], eax
push 0x3c
pop edx
mov ecx, str.shouldnt_happen:_failed_to_connect_to_all_IPs__but_no_error
push 0x647128
call fcn.0059a984
pop eax
jmp 0x510b42
mov dword [esi + 0x798], 6
push 0x3f
pop edx
mov ecx, str.assertion_failed:_socket___sys::c::INVALID_SOCKET_as_RawSocketlibrary_std_srcoswindowsio_socket.rs
push 0x6201e0
call fcn.0059a2a0
pop eax
ud2