Function at 0x4bd7a8
Capabilities:
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, 0x238
call 0x4bd7bc
pop eax
mov ebx, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
movzx eax, byte [edx + 0x234]
test eax, eax
je 0x4bd7f9
cmp eax, 3
jne 0x4bd81c
lea eax, [ebx + 0x128]
mov dword [esp + 8], eax
movzx eax, byte [ebx + 0x184]
mov eax, dword [eax*4 + 0x4be22c]
add eax, dword [esp + 0x3c]
jmp eax
mov eax, dword [ebx + 0x220]
mov ecx, dword [ebx + 0x224]
mov dword [ebx + 0x228], eax
mov dword [ebx + 0x22c], ecx
and dword [ebx], 0
mov dword [ebx + 0x230], eax
jmp 0x4bd82e
push 0x23
pop edx
mov ecx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.10_srcutilpoll_buf.rs
push 0x620a24
call fcn.0059ef30
mov ecx, dword [eax + 8]
cmp ecx, dword [eax + 0xc]
je 0x4be090
lea edx, [ecx + 0x20]
mov dword [eax + 8], edx
movsd xmm0, qword [ecx + 0x18]
movzx edx, word [ecx]
movsd qword [esp + 0x12e], xmm0
cmp dx, 2
movsd xmm0, qword [ecx + 0x12]
movsd qword [esp + 0x128], xmm0
movsd xmm0, qword [ecx + 0xa]
movsd qword [esp + 0x120], xmm0
movsd xmm0, qword [ecx + 2]
movsd qword [esp + 0x118], xmm0
je 0x4be090
mov word [ebx + 0x10], dx
mov word [esp + 0x1c], dx
test dx, dx
movsd xmm0, qword [esp + 0x118]
movsd xmm1, qword [esp + 0x120]
movsd qword [ebx + 0x12], xmm0
movsd qword [ebx + 0x1a], xmm1
movsd xmm0, qword [esp + 0x128]
movsd qword [ebx + 0x22], xmm0
movsd xmm0, qword [esp + 0x12e]
movsd qword [ebx + 0x28], xmm0
mov ecx, dword [ebx + 0x22c]
mov eax, dword [ebx + 0x228]
mov dword [esp + 8], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x34], ecx
push 2
pop ecx
push 0x17
pop esi
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
cmove esi, ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
mov eax, dword [0x66634c]
cmp eax, 3
jne 0x4be0dc
push 0x81
push 0
push 0
push 6
push 1
push esi
call dword [sym.imp.ws2_32.dll_WSASocketW]
mov esi, eax
cmp eax, 0xffffffff
jne 0x4bd951
call sub.kernel32.dll_GetLastError
lea esi, [esp + 0x90]
mov edx, str.tcp_open_errortcp_set_nonblocking_errortcp_bind_local_error
mov ecx, esi
push eax
push 0
push 0xe
call fcn.00444de9
add esp, 0xc
mov esi, dword [esi]
test esi, esi
jne 0x4be1fc
mov esi, dword [esp + 0x94]
lea eax, [esp + 0xc]
mov dword [eax], 1
push eax
push 0x8004667e
push esi
call dword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x4bd974
mov byte [esp + 0x20], 4
jmp 0x4bd982
call sub.kernel32.dll_GetLastError
and dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
mov dword [esp + 4], esi
lea esi, [esp + 0x90]
lea edx, [esp + 0x20]
mov ecx, esi
push 0x19
push 0x5be05e
call fcn.00444f6e
pop eax
pop ecx
mov esi, dword [esi]
test esi, esi
jne 0x4be10f
mov eax, dword [esp + 8]
mov edi, dword [eax + 0x38]
cmp edi, 0x3b9aca00
je 0x4bdae2
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
mov edx, dword [esp + 4]
lea esi, [esp + 0x90]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x60], eax
mov ecx, esi
push 1
push 8
call fcn.004fbe90
pop eax
pop ecx
cmp byte [esi], 4
je 0x4bd9f9
mov ecx, dword [esp + 0x90]
cmp cl, 4
jne 0x4bdaa6
mov eax, dword [esp + 0x30]
mov ecx, 0x3e8
mul ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
mov ebx, edx
mul ecx
mov esi, eax
mov ecx, edx
mov eax, edi
mov edi, 0xf4240
add esi, ebx
adc ecx, 0
xor edx, edx
xor ebx, ebx
div edi
mov dword [esp + 0x90], 1
add eax, dword [esp + 0x30]
adc esi, 0
adc ecx, 0
setb dl
neg esi
sbb ebx, ebx
movzx edx, dl
or ebx, eax
xor eax, eax
dec eax
or edx, ecx
cmove eax, ebx
and dword [esp + 0x20], 0
mov dword [esp + 0x94], eax
and dword [esp + 0x98], 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
push 0
push 0
push 0xc
lea esi, [esp + 0xa8]
push esi
push 0x98000004
push dword [esp + 0x24]
call dword [sym.imp.ws2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x4bda94
mov ebx, dword [esp + 0x14]
jmp 0x4bdade
call sub.kernel32.dll_GetLastError
mov ebx, dword [esp + 0x14]
mov edx, eax
shl eax, 0x18
xor ecx, ecx
jmp 0x4bdaba
mov edx, dword [esp + 0x94]
mov eax, ecx
lea esi, [esp + 0x90]
shrd eax, edx, 8
shr edx, 8
shld edx, eax, 8
shl eax, 8
movzx ecx, cl
or ecx, eax
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], ecx
push esi
call fcn.0043fc78
pop eax
mov eax, dword [esp + 8]
cmp word [esp + 0x1c], 0
je 0x4bdb20
cmp byte [eax + 0x46], 0
je 0x4bdb6f
movups xmm0, xmmword [eax + 0x47]
lea edx, [esp + 0xac]
push 0x19
pop ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
movups xmmword [edx - 0x14], xmm0
and dword [edx - 4], 0
mov dword [edx - 0x1c], 0x17
and dword [edx - 0x18], 0
mov dword [edx + 0x64], 0x1c
jmp 0x4bdb4a
cmp byte [eax + 0x41], 0
je 0x4bdb78
mov esi, dword [eax + 0x42]
lea edx, [esp + 0x98]
push 0x1e
pop ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [edx - 8], 2
mov dword [edx - 4], esi
mov dword [edx + 0x78], 0x10
mov edi, dword [esp + 4]
lea esi, [esp + 0xc]
lea eax, [esp + 0x90]
mov ecx, esi
mov edx, edi
push eax
call fcn.004fbe65
pop eax
cmp byte [esi], 4
je 0x4bdbd0
mov eax, dword [esp + 0xc]
jmp 0x4bdbcc
push 0x1c
pop esi
mov bx, 0x17
jmp 0x4bdb7f
push 0x10
pop esi
mov bx, 2
lea edx, [esp + 0x98]
push 0x1e
pop ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov word [edx - 8], bx
lea eax, [esp + 0x90]
mov edi, dword [esp + 4]
and word [edx - 6], 0
and dword [edx - 4], 0
mov dword [edx + 0x78], esi
lea esi, [esp + 0xc]
mov ecx, esi
mov edx, edi
push eax
call fcn.004fbe65
pop eax
cmp byte [esi], 4
jne 0x4bdbc4
mov ebx, dword [esp + 0x14]
jmp 0x4bdbd0
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
cmp al, 4
jne 0x4bdbd7
mov byte [esp + 0xc], 4
jmp 0x4bdbe3
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea esi, [esp + 0x20]
lea edx, [esp + 0xc]
mov ecx, esi
push 0x14
push 0x5be077
call fcn.00444f6e
pop eax
pop ecx
mov esi, dword [esi]
test esi, esi
jne 0x4be126
mov eax, dword [esp + 8]
cmp byte [eax + 0x58], 0
je 0x4bdc48
lea esi, [esp + 0x20]
mov edx, edi
mov ecx, esi
push 1
push 4
call fcn.004fbe90
pop eax
pop ecx
cmp byte [esi], 4
je 0x4bdc44
movsd xmm0, qword [esp + 0x20]
lea eax, [esp + 0x90]
movsd qword [esp + 0x90], xmm0
push eax
call fcn.0043fc78
pop eax
mov eax, dword [esp + 8]
cmp dword [eax], 0
je 0x4bdc8a
lea esi, [esp + 0x20]
mov edx, edi
mov ecx, esi
push dword [eax + 4]
push 0x1001
call fcn.004fbe90
pop eax
pop ecx
cmp byte [esi], 4
je 0x4bdc86
movsd xmm0, qword [esp + 0x20]
lea eax, [esp + 0x90]
movsd qword [esp + 0x90], xmm0
push eax
call fcn.0043fc78
pop eax
mov eax, dword [esp + 8]
cmp dword [eax + 8], 0
je 0x4bdcc9
lea esi, [esp + 0x20]
mov edx, edi
mov ecx, esi
push dword [eax + 0xc]
push 0x1002
call fcn.004fbe90
pop eax
pop ecx
cmp byte [esi], 4
je 0x4bdcc9
movsd xmm0, qword [esp + 0x20]
lea eax, [esp + 0x90]
movsd qword [esp + 0x90], xmm0
push eax
call fcn.0043fc78
pop eax
movsd xmm0, qword [ebx + 0x24]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
movsd qword [esp + 0x50], xmm0
movsd xmm0, qword [ebx + 0x1c]
movsd qword [esp + 0x48], xmm0
mov esi, dword [ebx + 0x2c]
mov dword [esp + 0x58], esi
mov esi, dword [esp + 0x64]
mov dword [ebx + 0x34], esi
mov esi, dword [esp + 0x34]
mov dword [ebx + 0x30], esi
mov esi, dword [esp + 0x68]
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x40], ecx
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], edx
movsd xmm0, qword [esp + 0x48]
movsd xmm1, qword [esp + 0x50]
movsd qword [ebx + 0x4c], xmm0
movsd qword [ebx + 0x54], xmm1
mov eax, dword [esp + 0x58]
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x60], edi
lea edi, [ebx + 0x64]
push 9
pop ecx
lea esi, [esp + 0x1e8]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov byte [ebx + 0x88], al
lea esi, [ebx + 0x30]
movzx ecx, word [esp + 0x5d]
mov word [ebx + 0x89], cx
mov cl, byte [esp + 0x5f]
mov byte [ebx + 0x8b], cl
mov byte [ebx + 0x8c], al
lea eax, [ebx + 0x8d]
lea ecx, [esp + 0x148]
push 0x9b
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebx + 0x128]
push pe_nt_image_headers32
push esi
mov dword [esp + 0x10], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movzx eax, byte [ebx + 0x184]
mov eax, dword [eax*4 + 0x4be22c]
add eax, dword [esp + 0x3c]
jmp eax
cmp dword [ebx], 0
je 0x4be181
movsd xmm0, qword [ebx]
movsd xmm1, qword [ebx + 8]
movsd qword [esp + 0x78], xmm1
movsd qword [esp + 0x70], xmm0
jmp 0x4be1b3
lea eax, [esp + 0xc]
lea edi, [esp + 0x20]
mov ecx, 0x66634c
xor edx, edx
mov byte [eax], 1
mov dword [edi], eax
push 0x627f24
push 0x627ea4
push edi
call fcn.005a4430
add esp, 0xc
jmp 0x4bd905
mov ebx, dword [esp + 0x94]
mov edi, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
jmp 0x4be132
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
push dword [esp + 4]
call dword [sym.imp.ws2_32.dll_closesocket]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [eax + 0x3c], esi
xor esi, esi
mov dword [eax + 0x40], ebx
mov ebx, eax
mov dword [eax + 0x44], edi
add eax, 0x3c
inc esi
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x38], 0x3b9aca01
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov ecx, ebx
movsd qword [esp + 0x78], xmm1
movsd qword [esp + 0x70], xmm0
call fcn.004be3ad
jmp 0x4be1b6
lea esi, [esp + 0x148]
push 7
pop edx
mov ecx, esi
push 0x13
push str.Network_unreachabletcp_connect_error
call fcn.004f76f1
pop eax
pop ecx
lea ecx, [esp + 0x70]
mov edx, 0x620a47
push dword [esi + 4]
push dword [esi]
push 0x11
call fcn.00444de9
add esp, 0xc
xor esi, esi
inc esi
mov eax, dword [esp + 0x38]
movsd xmm0, qword [esp + 0x70]
movsd xmm1, qword [esp + 0x78]
mov dword [eax], esi
movsd qword [eax + 4], xmm0
movsd qword [eax + 0xc], xmm1
mov al, 1
jmp 0x4be1ee
mov byte [ebx + 0x234], al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [esp + 0x94]
mov edi, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
jmp 0x4be144