Function at 0x454078
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, 0x268
call 0x45408c
pop eax
mov ebx, edx
mov dword [esp + 4], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
movzx eax, byte [edx + 0x254]
test eax, eax
je 0x4540c9
cmp eax, 3
jne 0x4540ec
lea eax, [ebx + 0x138]
mov dword [esp + 0x18], eax
movzx eax, byte [ebx + 0x198]
mov eax, dword [eax*4 + 0x454b50]
add eax, dword [esp + 0x34]
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 0x4540fe
push 0x23
pop edx
mov ecx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:UsersAdministrator.cargo_registry_srcindex.crates.io_1cd66030c949c28d_tokio_util_0.7.10_srcutilpoll_buf.rsb
push 0x4bac20
jmp 0x454b45
mov ecx, dword [eax + 8]
cmp ecx, dword [eax + 0xc]
je 0x4549c0
lea edx, [ecx + 0x20]
mov dword [eax + 8], edx
movsd xmm0, qword [ecx + 0x18]
movzx eax, word [ecx]
movsd qword [esp + 0x126], xmm0
cmp ax, 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 0x4549c0
mov word [ebx + 0x10], ax
test ax, ax
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 ecx, dword [ebx + 0x248]
mov esi, dword [ecx + 0x14]
mov edx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x18], edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x14], ecx
push 2
pop eax
push 0x17
pop esi
cmove esi, eax
mov eax, dword [ebx + 0x24c]
mov dword [esp], eax
mov eax, dword [0x4eb174]
cmp eax, 3
jne 0x454a04
push 0x81
push 0
push 0
push 6
push 1
push esi
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov edi, eax
cmp eax, 0xffffffff
jne 0x45421c
call dword [sym.imp.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.0042678b
add esp, 0xc
mov esi, dword [esi]
test esi, esi
jne 0x454b1e
mov edi, dword [esp + 0x8c]
lea eax, [esp + 0xc]
mov dword [eax], 1
push eax
push 0x8004667e
push edi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x45423f
mov byte [esp + 0x20], 4
jmp 0x45424e
call dword [sym.imp.KERNEL32.dll_GetLastError]
and dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
lea esi, [esp + 0x88]
lea edx, [esp + 0x20]
mov ecx, esi
push 0x19
push 0x4a7e2a
call fcn.004269bf
pop eax
pop ecx
mov esi, dword [esi]
mov dword [esp + 8], edi
test esi, esi
jne 0x454a4d
mov eax, dword [esp]
mov esi, dword [eax + 0x38]
cmp esi, 0x3b9aca00
je 0x45439f
mov eax, dword [esp]
mov ecx, edi
mov edi, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x88], 1
mov dword [esp + 0x44], eax
push 4
lea eax, [esp + 0x8c]
push eax
push 8
push 0xffff
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x45435d
mov ecx, 0x3e8
mov eax, edi
mul ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x44]
mov ebx, edx
mul ecx
mov edi, eax
mov ecx, edx
mov eax, esi
mov esi, 0xf4240
add edi, ebx
adc ecx, 0
xor edx, edx
xor ebx, ebx
div esi
mov dword [esp + 0x88], 1
add eax, dword [esp + 0x40]
adc edi, 0
adc ecx, 0
setb dl
neg edi
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 0x454371
mov ebx, dword [esp + 4]
jmp 0x45439f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
shl eax, 0x18
lea esi, [esp + 0x88]
jmp 0x454380
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [esp + 4]
mov ecx, eax
shl eax, 0x18
shr ecx, 8
shld ecx, eax, 8
shl eax, 8
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
push esi
call fcn.004215a1
pop eax
cmp word [ebx + 0x10], 0
je 0x4543e3
mov ebx, dword [esp]
cmp byte [ebx + 0x46], 0
je 0x454435
movups xmm0, xmmword [ebx + 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 0x454410
mov ebx, dword [esp]
cmp byte [ebx + 0x41], 0
je 0x45443e
mov esi, dword [ebx + 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 + 0xc]
lea eax, [esp + 0x88]
mov ecx, esi
mov edx, edi
push eax
call fcn.004738c5
pop eax
cmp byte [esi], 4
je 0x454494
mov eax, dword [esp + 0xc]
jmp 0x454490
push 0x1c
pop esi
mov bx, 0x17
jmp 0x454445
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 + 0xc]
mov ecx, esi
mov edx, edi
push eax
call fcn.004738c5
pop eax
cmp byte [esi], 4
jne 0x454489
mov ebx, dword [esp]
jmp 0x454494
mov eax, dword [esp + 0xc]
mov ebx, dword [esp]
cmp al, 4
jne 0x45449b
mov byte [esp + 0xc], 4
jmp 0x4544a7
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 0x4a7e43
call fcn.004269bf
pop eax
pop ecx
mov esi, dword [esi]
test esi, esi
jne 0x454a64
cmp byte [ebx + 0x58], 0
je 0x454504
lea esi, [esp + 0x20]
mov edx, edi
mov ecx, esi
push 1
push 4
call fcn.0047332e
pop eax
pop ecx
cmp byte [esi], 4
je 0x454504
movsd xmm0, qword [esp + 0x20]
lea eax, [esp + 0x88]
movsd qword [esp + 0x88], xmm0
push eax
call fcn.004215a1
pop eax
cmp dword [ebx], 0
je 0x454542
lea esi, [esp + 0x20]
mov edx, edi
mov ecx, esi
push dword [ebx + 4]
push 0x1001
call fcn.0047332e
pop eax
pop ecx
cmp byte [esi], 4
je 0x454542
movsd xmm0, qword [esp + 0x20]
lea eax, [esp + 0x88]
movsd qword [esp + 0x88], xmm0
push eax
call fcn.004215a1
pop eax
cmp dword [ebx + 8], 0
je 0x454581
lea esi, [esp + 0x20]
mov edx, edi
mov ecx, esi
push dword [ebx + 0xc]
push 0x1002
call fcn.0047332e
pop eax
pop ecx
cmp byte [esi], 4
je 0x454581
movsd xmm0, qword [esp + 0x20]
lea eax, [esp + 0x88]
movsd qword [esp + 0x88], xmm0
push eax
call fcn.004215a1
pop eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [esp + 4]
movsd xmm0, qword [eax + 0x24]
mov eax, dword [esp + 4]
mov ebx, dword [eax + 0x10]
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x14]
movsd qword [esp + 0x78], xmm0
mov ecx, dword [ecx + 0x2c]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 4]
movsd xmm0, qword [ecx + 0x1c]
movsd qword [esp + 0x70], xmm0
push 0xa
pop ecx
mov edx, edi
lea edi, [esp + 0x130]
lea esi, [esp + 0x214]
rep movsd dword es:[edi], dword [esi]
movzx ecx, word [esp + 0x3d]
mov esi, dword [esp + 0x48]
mov word [esp + 0x1c], cx
mov cl, byte [esp + 0x3f]
mov byte [esp + 0x1e], cl
mov ecx, dword [esp + 4]
mov dword [ecx + 0x34], esi
mov ecx, dword [esp + 4]
mov esi, dword [esp + 0x18]
mov dword [ecx + 0x30], esi
mov ecx, dword [esp + 4]
mov esi, dword [esp + 0x14]
mov dword [ecx + 0x38], esi
mov ecx, dword [esp + 4]
mov esi, dword [esp]
mov dword [ecx + 0x40], ebx
mov ebx, dword [esp + 4]
mov ecx, dword [esp + 4]
mov dword [ecx + 0x48], esi
mov dword [ebx + 0x44], eax
lea edi, [ebx + 0x64]
movsd xmm0, qword [esp + 0x70]
movsd xmm1, qword [esp + 0x78]
movsd qword [ebx + 0x4c], xmm0
movsd qword [ebx + 0x54], xmm1
mov eax, dword [esp + 0x80]
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x60], edx
push 0xa
pop ecx
lea esi, [esp + 0x130]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov byte [ebx + 0x8c], al
lea esi, [ebx + 0x30]
movzx ecx, word [esp + 0x1c]
mov word [ebx + 0x8d], cx
mov cl, byte [esp + 0x1e]
mov byte [ebx + 0x8f], cl
mov byte [ebx + 0x90], al
lea eax, [ebx + 0x91]
lea ecx, [esp + 0x168]
push 0xa7
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebx + 0x138]
push 0x108
push esi
mov dword [esp + 0x20], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movzx eax, byte [ebx + 0x198]
mov eax, dword [eax*4 + 0x454b50]
add eax, dword [esp + 0x34]
jmp eax
cmp dword [ebx], 0
je 0x454abd
movsd xmm0, qword [ebx]
movsd xmm1, qword [ebx + 8]
movsd qword [esp + 0x58], xmm1
movsd qword [esp + 0x50], xmm0
jmp 0x454aef
lea eax, [esp + 0xc]
lea edi, [esp + 0x20]
mov ecx, 0x4eb174
xor edx, edx
mov byte [eax], 1
mov dword [edi], eax
push 0x4bddb4
push 0x4bdcd4
push edi
call fcn.00495980
add esp, 0xc
jmp 0x4541cf
mov ebx, dword [esp + 0x8c]
mov edi, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
jmp 0x454a70
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
push dword [esp + 8]
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp]
mov eax, dword [esp + 4]
mov dword [eax + 0x3c], esi
mov dword [eax + 0x40], ebx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x44], edi
mov ebx, eax
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 + 0x58], xmm1
movsd qword [esp + 0x50], xmm0
call fcn.00454cc9
jmp 0x454af2
lea esi, [esp + 0x168]
push 7
pop edx
mov ecx, esi
push 0x13
push str.Network_unreachabletcp_connect_error_
call fcn.004731ea
pop eax
pop ecx
lea ecx, [esp + 0x50]
mov edx, 0x4bac43
push dword [esi + 4]
push dword [esi]
push 0x11
call fcn.0042678b
add esp, 0xc
push 2
pop esi
mov eax, dword [esp + 0x30]
movsd xmm0, qword [esp + 0x50]
movsd xmm1, qword [esp + 0x58]
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 0x454a80
call fcn.00493be0
pop eax
ud2