Function at 0x443940
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, 0x240
call 0x443954
pop eax
mov ebx, edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
movzx eax, byte [edx + 0x254]
test eax, eax
je 0x443991
cmp eax, 3
jne 0x4439b4
lea eax, [ebx + 0x138]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 0x198]
mov eax, dword [eax*4 + 0x4443c4]
add eax, dword [esp + 0x38]
jmp eax
mov eax, dword [ebx + 0x240]
mov ecx, dword [ebx + 0x244]
mov dword [ebx + 0x248], eax
mov dword [ebx + 0x24c], ecx
and dword [ebx], 0
mov dword [ebx + 0x250], eax
jmp 0x4439c6
push 0x23
pop edx
mov ecx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.10_srcutilpoll_buf.rs
push 0x4cde08
jmp 0x4443ba
mov ecx, dword [eax + 8]
cmp ecx, dword [eax + 0xc]
je 0x444230
lea edx, [ecx + 0x20]
mov dword [eax + 8], edx
movsd xmm0, qword [ecx + 0x18]
movzx edx, word [ecx]
movsd qword [esp + 0x126], xmm0
cmp dx, 2
movsd xmm0, qword [ecx + 0x12]
movsd qword [esp + 0x120], xmm0
movsd xmm0, qword [ecx + 0xa]
movsd qword [esp + 0x118], xmm0
movsd xmm0, qword [ecx + 2]
movsd qword [esp + 0x110], xmm0
je 0x444230
mov word [ebx + 0x10], dx
mov word [esp + 0x1c], dx
test dx, dx
movsd xmm0, qword [esp + 0x110]
movsd xmm1, qword [esp + 0x118]
movsd qword [ebx + 0x12], xmm0
movsd qword [ebx + 0x1a], xmm1
movsd xmm0, qword [esp + 0x120]
movsd qword [ebx + 0x22], xmm0
movsd xmm0, qword [esp + 0x126]
movsd qword [ebx + 0x28], xmm0
mov eax, dword [ebx + 0x248]
mov esi, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], eax
push 2
pop eax
push 0x17
pop esi
cmove esi, eax
mov eax, dword [ebx + 0x24c]
mov dword [esp + 4], eax
mov eax, dword [0x5069bc]
cmp eax, 3
jne 0x444277
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 0x443ae9
call sub.kernel32.dll_GetLastError
lea esi, [esp + 0x88]
mov edx, str.tcp_open_errortcp_set_nonblocking_errortcp_bind_local_error
mov ecx, esi
push eax
push 0
push 0xe
call fcn.0042fa5d
add esp, 0xc
mov esi, dword [esi]
test esi, esi
jne 0x444393
mov esi, dword [esp + 0x8c]
lea eax, [esp + 0x10]
mov dword [eax], 1
push eax
push 0x8004667e
push esi
call dword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x443b0c
mov byte [esp + 0x20], 4
jmp 0x443b1a
call sub.kernel32.dll_GetLastError
and dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
mov dword [esp + 8], esi
lea esi, [esp + 0x88]
lea edx, [esp + 0x20]
mov ecx, esi
push 0x19
push 0x4bb20a
call fcn.0042fbe2
pop eax
pop ecx
mov esi, dword [esi]
test esi, esi
jne 0x4442c0
mov eax, dword [esp + 4]
mov edi, dword [eax + 0x38]
cmp edi, 0x3b9aca00
je 0x443c7a
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
mov edx, dword [esp + 8]
lea esi, [esp + 0x88]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x58], eax
mov ecx, esi
push 1
push 8
call fcn.00479840
pop eax
pop ecx
cmp byte [esi], 4
je 0x443b91
mov ecx, dword [esp + 0x88]
cmp cl, 4
jne 0x443c3e
mov eax, dword [esp + 0x30]
mov ecx, 0x3e8
mul ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x58]
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 + 0x88], 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 + 0x8c], eax
and dword [esp + 0x90], 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
push 0
push 0
push 0xc
lea esi, [esp + 0xa0]
push esi
push 0x98000004
push dword [esp + 0x28]
call dword [sym.imp.ws2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x443c2c
mov ebx, dword [esp + 0xc]
jmp 0x443c76
call sub.kernel32.dll_GetLastError
mov ebx, dword [esp + 0xc]
mov edx, eax
shl eax, 0x18
xor ecx, ecx
jmp 0x443c52
mov edx, dword [esp + 0x8c]
mov eax, ecx
lea esi, [esp + 0x88]
shrd eax, edx, 8
shr edx, 8
shld edx, eax, 8
shl eax, 8
movzx ecx, cl
or ecx, eax
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], ecx
push esi
call fcn.004376b6
pop eax
mov eax, dword [esp + 4]
cmp word [esp + 0x1c], 0
je 0x443cb8
cmp byte [eax + 0x46], 0
je 0x443d07
movups xmm0, xmmword [eax + 0x47]
lea edx, [esp + 0xa4]
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 0x443ce2
cmp byte [eax + 0x41], 0
je 0x443d10
mov esi, dword [eax + 0x42]
lea edx, [esp + 0x90]
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 + 8]
lea esi, [esp + 0x10]
lea eax, [esp + 0x88]
mov ecx, esi
mov edx, edi
push eax
call fcn.00479815
pop eax
cmp byte [esi], 4
je 0x443d68
mov eax, dword [esp + 0x10]
jmp 0x443d64
push 0x1c
pop esi
mov bx, 0x17
jmp 0x443d17
push 0x10
pop esi
mov bx, 2
lea edx, [esp + 0x90]
push 0x1e
pop ecx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov word [edx - 8], bx
lea eax, [esp + 0x88]
mov edi, dword [esp + 8]
and word [edx - 6], 0
and dword [edx - 4], 0
mov dword [edx + 0x78], esi
lea esi, [esp + 0x10]
mov ecx, esi
mov edx, edi
push eax
call fcn.00479815
pop eax
cmp byte [esi], 4
jne 0x443d5c
mov ebx, dword [esp + 0xc]
jmp 0x443d68
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
cmp al, 4
jne 0x443d6f
mov byte [esp + 0x10], 4
jmp 0x443d7b
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
lea esi, [esp + 0x20]
lea edx, [esp + 0x10]
mov ecx, esi
push 0x14
push 0x4bb223
call fcn.0042fbe2
pop eax
pop ecx
mov esi, dword [esi]
test esi, esi
jne 0x4442d7
mov eax, dword [esp + 4]
cmp byte [eax + 0x58], 0
je 0x443de0
lea esi, [esp + 0x20]
mov edx, edi
mov ecx, esi
push 1
push 4
call fcn.00479840
pop eax
pop ecx
cmp byte [esi], 4
je 0x443ddc
movsd xmm0, qword [esp + 0x20]
lea eax, [esp + 0x88]
movsd qword [esp + 0x88], xmm0
push eax
call fcn.004376b6
pop eax
mov eax, dword [esp + 4]
cmp dword [eax], 0
je 0x443e22
lea esi, [esp + 0x20]
mov edx, edi
mov ecx, esi
push dword [eax + 4]
push 0x1001
call fcn.00479840
pop eax
pop ecx
cmp byte [esi], 4
je 0x443e1e
movsd xmm0, qword [esp + 0x20]
lea eax, [esp + 0x88]
movsd qword [esp + 0x88], xmm0
push eax
call fcn.004376b6
pop eax
mov eax, dword [esp + 4]
cmp dword [eax + 8], 0
je 0x443e61
lea esi, [esp + 0x20]
mov edx, edi
mov ecx, esi
push dword [eax + 0xc]
push 0x1002
call fcn.00479840
pop eax
pop ecx
cmp byte [esi], 4
je 0x443e61
movsd xmm0, qword [esp + 0x20]
lea eax, [esp + 0x88]
movsd qword [esp + 0x88], xmm0
push eax
call fcn.004376b6
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 + 0x48], xmm0
movsd xmm0, qword [ebx + 0x1c]
movsd qword [esp + 0x40], xmm0
mov esi, dword [ebx + 0x2c]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x5c]
mov dword [ebx + 0x34], esi
mov esi, dword [esp + 0x18]
mov dword [ebx + 0x30], esi
mov esi, dword [esp + 0x60]
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x40], ecx
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], edx
movsd xmm0, qword [esp + 0x40]
movsd xmm1, qword [esp + 0x48]
movsd qword [ebx + 0x4c], xmm0
movsd qword [ebx + 0x54], xmm1
mov eax, dword [esp + 0x50]
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x60], edi
lea edi, [ebx + 0x64]
push 0xa
pop ecx
lea esi, [esp + 0x1ec]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov byte [ebx + 0x8c], al
lea esi, [ebx + 0x30]
movzx ecx, word [esp + 0x55]
mov word [ebx + 0x8d], cx
mov cl, byte [esp + 0x57]
mov byte [ebx + 0x8f], cl
mov byte [ebx + 0x90], al
lea eax, [ebx + 0x91]
lea ecx, [esp + 0x140]
push 0xa7
push ecx
push eax
call fcn.00496910
add esp, 0xc
lea eax, [ebx + 0x138]
push 0x108
push esi
mov dword [esp + 0x24], eax
push eax
call fcn.00496910
add esp, 0xc
movzx eax, byte [ebx + 0x198]
mov eax, dword [eax*4 + 0x4443c4]
add eax, dword [esp + 0x38]
jmp eax
cmp dword [ebx], 0
je 0x444332
movsd xmm0, qword [ebx]
movsd xmm1, qword [ebx + 8]
movsd qword [esp + 0x70], xmm1
movsd qword [esp + 0x68], xmm0
jmp 0x444364
lea eax, [esp + 0x10]
lea edi, [esp + 0x20]
mov ecx, 0x5069bc
xor edx, edx
mov byte [eax], 1
mov dword [edi], eax
push 0x4d0d0c
push 0x4d0c38
push edi
call fcn.004a7200
add esp, 0xc
jmp 0x443a9d
mov ebx, dword [esp + 0x8c]
mov edi, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
jmp 0x4442e3
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
push dword [esp + 8]
call dword [sym.imp.ws2_32.dll_closesocket]
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov dword [eax + 0x3c], esi
mov dword [eax + 0x40], ebx
mov dword [eax + 0x44], edi
mov ebx, eax
mov dword [eax + 0x48], ecx
add eax, 0x3c
mov dword [ebx + 0x38], 0x3b9aca01
push 2
pop esi
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov ecx, ebx
movsd qword [esp + 0x70], xmm1
movsd qword [esp + 0x68], xmm0
call fcn.0044453d
jmp 0x444367
lea esi, [esp + 0x140]
push 7
pop edx
mov ecx, esi
push 0x13
push str.Network_unreachabletcp_connect_error
call fcn.00476903
pop eax
pop ecx
lea ecx, [esp + 0x68]
mov edx, 0x4cde2b
push dword [esi + 4]
push dword [esi]
push 0x11
call fcn.0042fa5d
add esp, 0xc
push 2
pop esi
mov eax, dword [esp + 0x34]
movsd xmm0, qword [esp + 0x68]
movsd xmm1, qword [esp + 0x70]
mov dword [eax], esi
movsd qword [eax + 4], xmm0
movsd qword [eax + 0xc], xmm1
mov al, 1
mov byte [ebx + 0x254], al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [esp + 0x8c]
mov edi, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
jmp 0x4442f5
call fcn.004a5340
pop eax
ud2