Function at 0x4440a6
Capabilities:
Connect socket
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x120
movzx eax, byte [edx + 0x4c]
mov ebx, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], ecx
test eax, eax
je 0x4440f7
cmp eax, 3
jne 0x4447e1
movzx eax, byte [ebx + 0x48]
lea edx, [ebx + 0x28]
lea edi, [ebx + 0x48]
mov dword [esp + 0x30], edx
test eax, eax
je 0x444167
cmp eax, 3
jne 0x4447f0
mov eax, dword [ebx + 0x44]
jmp 0x4446c1
mov esi, dword [ebx + 0x20]
mov dword [ebx + 0x24], esi
movzx eax, word [ebx + 0x12]
cmp word [ebx], 0
mov word [esp + 0x88], ax
movsd xmm0, qword [ebx + 2]
movsd xmm1, qword [ebx + 0xa]
movsd qword [esp + 0x80], xmm1
movsd qword [esp + 0x78], xmm0
je 0x444176
mov eax, dword [ebx + 0x14]
movups xmm0, xmmword [esp + 0x7a]
lea edx, [esp + 0xac]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x18]
movzx ebx, word [ebx + 0x1c]
mov dword [esp + 8], eax
push 0x19
pop ecx
xor eax, eax
mov edi, edx
rol bx, 8
rep stosd dword es:[edi], eax
movups xmmword [edx - 0x14], xmm0
mov eax, dword [esp + 8]
mov dword [edx - 4], eax
push 0x1c
pop edx
mov ax, 0x17
jmp 0x44419c
mov dword [esp + 0x10], edi
mov edi, dword [ebx + 0x28]
mov ebx, dword [ebx + 0x2c]
jmp 0x44420f
push 0x10
pop edx
movzx ebx, word [esp + 0x7c]
mov eax, dword [esp + 0x78]
lea edi, [esp + 0x98]
rol bx, 8
mov dword [esp + 0xc], eax
push 0x1e
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
mov ax, 2
lea ecx, [esp + 0x90]
mov word [ecx], ax
mov eax, dword [esp + 0xc]
mov word [ecx + 2], bx
mov dword [ecx + 4], eax
mov dword [ecx + 0x80], edx
push edx
push ecx
push esi
call dword [sym.imp.ws2_32.dll_connect]
mov esi, dword [esp + 0x20]
test eax, eax
je 0x4441f1
call sub.kernel32.dll_GetLastError
lea edi, [esp + 0x38]
mov dword [esp + 4], eax
and dword [edi], 0
mov ecx, edi
mov dword [edi + 4], eax
call fcn.0041be74
cmp al, 0xd
jne 0x44449a
push edi
call fcn.004371c6
pop eax
mov edi, dword [esi + 0x24]
lea eax, [esi + 0x28]
xor ebx, ebx
mov dword [esp + 0x30], eax
lea eax, [esi + 0x48]
mov dword [esp + 0x10], eax
mov dword [esi + 0x28], edi
and dword [esi + 0x2c], 0
mov byte [esi + 0x48], 0
mov ecx, 0x4c8dd8
call fcn.0048baa6
lea ecx, [edx + 0x10]
lea esi, [edx + 0x70]
test eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x64], edx
mov edx, 0x4c8dd8
mov dword [esp + 0x24], edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x54], eax
cmove ecx, esi
add ecx, 8
call fcn.00489d07
lea ecx, [eax + 0x10]
mov ebx, eax
mov dword [esp + 4], ecx
call fcn.00487353
cmp byte [ebx + 0x28], 0
je 0x44428f
lea esi, [esp + 0x38]
push 0x27
pop edx
mov ecx, esi
push 0x38
push str.A_Tokio_1.x_context_was_found__but_it_is_being_shutdown._mark_pending_called_when_the_timer_entry_is_in_an_invalid_stateI
call fcn.00478d44
pop eax
pop ecx
cmp byte [esi], 4
mov edi, dword [esp + 0x10]
jne 0x444462
mov esi, dword [esp + 0x3c]
jmp 0x44430d
lea esi, [esp + 0x90]
and dword [esi + 0x3c], 0
and dword [esi + 0x38], 0
and dword [esi + 0x41], 0
and dword [esi + 0x3d], 0
push 0x40
pop edx
mov ecx, 0x80
call fcn.00488456
xor ecx, ecx
lea edi, [eax + 8]
inc ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
push 0x12
pop ecx
rep movsd dword es:[edi], dword [esi]
and dword [eax + 0x50], 0
and dword [eax + 0x54], 0
and dword [eax + 0x58], 0
and dword [eax + 0x60], 0
lock inc dword [eax]
jle 0x4447dd
mov esi, eax
add eax, 0x40
mov dword [esp + 0x68], eax
mov ecx, dword [ebx + 0x20]
cmp ecx, eax
je 0x444804
mov edi, dword [esp + 0x10]
mov dword [esi + 0x44], ecx
and dword [esi + 0x40], 0
test ecx, ecx
je 0x444301
mov dword [ecx], eax
mov dword [ebx + 0x20], eax
cmp dword [ebx + 0x24], 0
jne 0x44430d
mov dword [ebx + 0x24], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x58], esi
call fcn.00446c18
cmp dword [esp + 0x14], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], edi
je 0x444361
xor ebx, ebx
mov esi, 0xc00
mov dword [esp + 4], 0
inc ebx
lea ecx, [esp + 0x58]
movzx edi, bl
call fcn.004871cf
cmp edi, 4
je 0x44467d
or esi, edi
mov edi, dword [esp + 0x10]
mov dword [esp + 8], esi
jmp 0x444483
mov ebx, dword [ebx]
mov dword [esp + 0x14], esi
lea esi, [esp + 0x90]
mov ecx, esi
lea edi, [ebx + 0xc]
lea edx, [ebx + 0x10]
mov dword [esp + 0x5c], edi
call fcn.00434706
mov ecx, esi
mov edx, 0x4bf944
call fcn.00434ddf
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c], dl
mov dword [esp + 0x2c], ebx
mov ecx, dword [eax + 0x10]
add eax, 8
test ecx, ecx
je 0x4443ae
mov edx, dword [eax]
mov ecx, dword [edx + ecx*4 - 4]
mov ecx, dword [ecx]
cmp ecx, 0x20
jbe 0x4443d5
mov edx, dword [edi]
lea edi, [esp + 0x90]
mov ecx, edi
push eax
call fcn.004357b1
pop eax
cmp byte [edi], 4
je 0x4443d5
mov ebx, dword [esp + 0x90]
cmp bl, 4
jne 0x444634
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x444825
mov eax, dword [eax + 8]
mov esi, dword [eax + ecx*4 - 4]
lock inc dword [esi]
jle 0x4447dd
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
call fcn.0043486f
mov edx, dword [esp + 0xc]
lea edi, [esp + 0x68]
mov dword [esp + 4], esi
mov dword [esp + 0x18], esi
mov ecx, edi
push 0x48000022
call fcn.0043590b
pop eax
cmp dword [edi], 0
je 0x4444b2
push 0xfffffffffffffff4
pop ebx
lea edi, [esp + 0x38]
test ebx, ebx
je 0x444618
mov edx, dword [esp + 0xc]
mov ecx, edi
push dword [ebx + 0x4bfb2c]
call fcn.0043590b
mov eax, dword [esp + 0x10]
add esp, 4
add ebx, 4
cmp dword [esp + 0x38], 0
jne 0x44442e
mov esi, dword [esp + 0x3c]
cmp esi, eax
je 0x44442e
jmp 0x4444b6
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 4]
cmp al, 4
je 0x444311
mov dword [esp + 8], eax
call fcn.00446c18
mov dword [esp + 4], esi
lea ecx, [esp + 0x60]
call fcn.00486c0d
lea ecx, [esp + 0x24]
call fcn.0048b2fd
jmp 0x444710
mov ecx, dword [esi + 0x24]
mov dword [esp + 8], 0
call fcn.0043cef8
push 2
pop edi
jmp 0x44471f
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x14]
add eax, 0x40
mov dword [esp + 0xc], eax
lea eax, [esp + 0x90]
mov ebx, dword [eax]
push 0x60
pop ecx
push 8
pop edx
call fcn.00488456
mov ecx, dword [esp + 4]
mov edi, eax
xor eax, eax
inc eax
lea edx, [edi + 8]
mov dword [edi], eax
mov dword [edi + 4], eax
and dword [edi + 8], 0
mov byte [edi + 0xc], 0
and dword [edi + 0x10], 0
mov dword [edi + 0x14], ebx
and dword [edi + 0x18], 0
mov ebx, dword [esp + 0xc]
and dword [edi + 0x20], 0
and dword [edi + 0x1c], 0
and dword [edi + 0x28], 0
and dword [edi + 0x24], 0
and dword [edi + 0x30], 0
and dword [edi + 0x2c], 0
and dword [edi + 0x38], 0
and dword [edi + 0x34], 0
and dword [edi + 0x40], 0
and dword [edi + 0x3c], 0
and dword [edi + 0x44], 0
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], esi
and dword [edi + 0x54], 0
and dword [edi + 0x50], 0
and word [edi + 0x58], 0
lea esi, [esp + 0x90]
mov ecx, esi
call fcn.004346de
mov ecx, esi
mov edx, 0x4bfaf0
call fcn.0043499c
mov dword [eax + 0x48], 0x19d
and dword [eax + 0x3c], 0
movzx edx, dl
mov ecx, eax
mov dword [eax + 0x38], ebx
call fcn.0043486f
mov eax, dword [esp + 0x2c]
lock inc dword [eax]
jle 0x4447dd
lock inc dword [edi]
jle 0x4447dd
lea esi, [eax + 8]
mov edx, edi
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], ebx
mov byte [esp + 0x9c], 3
mov dword [esp + 0x94], edi
mov ecx, esi
call fcn.00435728
lea edi, [esp + 0x38]
mov edx, esi
mov ecx, edi
call fcn.00435767
cmp byte [edi], 4
je 0x4445cc
mov ebx, dword [esp + 0x38]
cmp bl, 4
jne 0x444657
mov eax, dword [esp + 0x94]
mov ebx, dword [esp + 0x98]
mov edi, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
push 0x10
pop ecx
push 4
pop edx
call fcn.00488456
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov esi, eax
mov dword [esi], edx
mov dword [esi + 8], ebx
mov dword [esi + 4], ecx
mov dword [esi + 0xc], edi
mov ecx, dword [esp + 0x28]
call fcn.0043597c
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], esi
jmp 0x444679
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
lea eax, [esp + 0x18]
push eax
call fcn.00434073
pop eax
xor esi, esi
xor ebx, ebx
jmp 0x44433d
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x94]
call fcn.0043486f
mov eax, dword [esp + 0x14]
cmp bl, 4
je 0x444401
jmp 0x44466b
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x90]
call fcn.00435956
mov eax, dword [esp + 0x14]
cmp bl, 4
je 0x444679
cmp bl, 4
jne 0x4447cc
mov dword [esp + 4], eax
mov edx, dword [esp + 8]
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x20]
or edx, dword [esp + 0x50]
cmp esi, 2
jne 0x44469c
mov edi, dword [esp + 0x10]
mov dword [esp + 8], edx
jmp 0x444710
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0x30], esi
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x10]
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x3c], eax
lea eax, [ebx + 0x30]
mov dword [ebx + 0x40], ecx
mov dword [ebx + 0x44], eax
mov edx, dword [eax + 8]
lea esi, [esp + 0x90]
mov ecx, esi
push dword [ebp + 8]
call fcn.0048ca5f
pop eax
mov eax, dword [esi]
cmp eax, 2
jne 0x4446ee
mov byte [edi], 3
mov eax, dword [esp + 0x34]
mov dword [eax], 3
mov al, 3
jmp 0x44473b
test eax, eax
je 0x44474a
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x98]
mov dword [esp + 8], ecx
lea ecx, [ebx + 0x30]
mov dword [esp + 4], eax
call fcn.0043cce6
mov byte [edi], 1
push 2
pop edi
mov ecx, dword [esp + 0x30]
call fcn.0044408c
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], esi
mov al, 1
mov ecx, dword [esp + 0x20]
mov byte [ecx + 0x4c], al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [ebx + 0x30]
call fcn.0048ba63
lea ecx, [esp + 0x38]
mov eax, dword [eax]
mov dword [esp + 0x90], 4
and dword [ecx], 0
push esi
push ecx
push 0x1007
push 0xffff
push eax
call dword [sym.imp.ws2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x4447bf
mov eax, dword [esp + 0x38]
xor ecx, ecx
test eax, eax
sete cl
shl ecx, 2
test ecx, ecx
je 0x444700
mov edi, dword [ebx + 0x30]
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx + 0x38]
mov esi, dword [ebx + 0x40]
mov ecx, ebx
mov ebx, dword [ebx + 0x3c]
mov byte [ecx + 0x48], 1
cmp edi, 3
mov dword [esp + 8], eax
mov dword [esp + 4], edx
je 0x4446e0
jmp 0x444716
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
xor ecx, ecx
jmp 0x444700
mov dword [esp + 4], esi
mov esi, ebx
and esi, 0xffffff00
jmp 0x44433d
ud2
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 0x4c30c4
jmp 0x4447fd
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 0x4c30d4
call fcn.0049a440
jmp 0x444822
and dword [esp + 0x90], 0
add ebx, 0x20
lea eax, [esp + 0x90]
lea edx, [esp + 0x68]
mov ecx, ebx
push eax
call fcn.0049ced2
pop eax
ud2
lea ecx, [esp + 0x5c]
lea eax, [esp + 0x68]
mov dword [eax], ecx
lea ecx, [esp + 0x18]
mov dword [eax + 4], 0x434740
mov dword [eax + 8], ecx
push 2
pop edx
mov dword [esp + 0x90], edx
mov dword [esp + 0x98], edx
push 0x20
pop ecx
mov dword [esp + 0xa0], ecx
and dword [esp + 0xa4], 0
push 4
pop edi
mov bl, 3
mov dword [esp + 0xa8], edi
mov dword [eax + 0xc], 0x434ea1
mov byte [esp + 0xac], bl
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xc0], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc8], edi
mov byte [esp + 0xcc], bl
mov dword [ecx], 0x4bf9a0
mov dword [ecx + 4], edx
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], edx
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov edx, 0x4bf9b0
call fcn.0049a2c0
ud2