Function at 0x14006650d
Capabilities:
Connect socket
Enumerate pe sections

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x238
lea rbp, [rsp + 0x80]
and rsp, 0xffffffffffffff80
mov r13, r8
mov rsi, rdx
mov r15, rcx
movzx eax, byte [rdx + 0x70]
test eax, eax
je 0x140066597
cmp eax, 3
jne 0x140066d5c
lea r14, [rsi + 0x68]
movzx eax, byte [rsi + 0x68]
lea r12, [rsi + 0x30]
test eax, eax
je 0x14006663c
cmp eax, 3
jne 0x140066d6a
mov rax, qword [rsi + 0x60]
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x28], rcx
mov eax, dword [rsi + 2]
movzx r9d, word [rsi + 6]
shl r9, 0x20
or r9, rax
cmp word [rsi], 0
je 0x14006665d
mov edx, dword [rsi + 0x14]
mov r8d, dword [rsi + 0x18]
movzx eax, word [rsi + 0x1c]
shr r9, 0x10
mov dword [rsp + 0xe8], r9d
mov r9, qword [rsi + 8]
mov qword [rsp + 0xec], r9
mov r9d, dword [rsi + 0x10]
mov dword [rsp + 0xf4], r9d
xorps xmm0, xmm0
movups xmmword [rsp + 0xfc], xmm0
movups xmmword [rsp + 0x10c], xmm0
movups xmmword [rsp + 0x11c], xmm0
movups xmmword [rsp + 0x12c], xmm0
and dword [rsp + 0x15c], 0
movups xmmword [rsp + 0x13c], xmm0
movups xmmword [rsp + 0x14c], xmm0
rol ax, 8
mov dword [rsp + 0xf8], r8d
push 0x1c
pop r8
mov r10w, 0x17
mov r9d, edx
jmp 0x1400666b5
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x50], r15
mov rbx, qword [rsi + 0x30]
mov r14, qword [rsi + 0x38]
jmp 0x140066737
mov rax, r9
shr rax, 0x20
rol ax, 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x148], xmm0
movups xmmword [rsp + 0x138], xmm0
movups xmmword [rsp + 0x128], xmm0
movups xmmword [rsp + 0x118], xmm0
movups xmmword [rsp + 0x108], xmm0
and qword [rsp + 0x158], 0
movups xmmword [rsp + 0xf8], xmm0
movups xmmword [rsp + 0xe8], xmm0
push 0x10
pop r8
mov r10w, 2
lea rdx, [rsp + 0xe0]
mov word [rdx], r10w
mov word [rdx + 2], ax
mov dword [rdx + 4], r9d
mov dword [rdx + 0x80], r8d
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x140066707
call fcn.140033bce
mov rbx, rax
mov qword [rsp + 0x80], rax
mov rcx, rax
call fcn.140014898
cmp al, 0xd
jne 0x140066908
lea rcx, [rsp + 0x80]
call fcn.14002435e
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x50], r15
mov rbx, qword [rsi + 0x28]
mov qword [rsi + 0x30], rbx
and qword [rsi + 0x38], 0
lea rax, [rsi + 0x30]
mov qword [rsp + 0x60], rax
lea rax, [rsi + 0x68]
mov qword [rsp + 0x70], rax
mov byte [rsi + 0x68], 0
xor r14d, r14d
lea rdi, str.C:UsersG.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.39.2_src_net_tcp_stream.rs
mov rcx, rdi
call fcn.1400a03d2
mov r12, rax
mov qword [rsp + 0x198], rbx
mov qword [rsp + 0x1a0], r14
mov qword [rsp + 0x1c0], rax
lea rbx, [rax + 0xc0]
mov rcx, rbx
mov rdx, rdi
call fcn.14009eb2a
lea rdi, [r12 + 0xe0]
mov rcx, rdi
call fcn.14009eb51
mov r15, rax
mov r13d, edx
and r13b, 1
cmp byte [rax + 0x30], 0
je 0x1400667bd
lea rdx, str.A_Tokio_1.x_context_was_found__but_it_is_being_shutdown._mark_pending_called_when_the_timer_entry_is_in_an_invalid_state
push 0x38
pop r8
mov cl, 0x27
call fcn.140033143
mov rbx, rax
mov rcx, r15
mov edx, r13d
call fcn.14009ebc2
mov r15, qword [rsp + 0x50]
jmp 0x140066c7d
mov qword [rsp + 0x1b8], rdi
lea rdi, [rsp + 0xe0]
and qword [rdi + 0x16], 0
xorps xmm0, xmm0
movups xmmword [rdi + 6], xmm0
movaps xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x8a], xmm0
mov rax, qword [rdi + 0x1e]
mov qword [rsp + 0xb8], rax
movups xmm0, xmmword [rdi + 0x10]
movups xmmword [rsp + 0xaa], xmm0
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x9a], xmm0
mov rax, qword [rsp + 0xb0]
mov qword [rdi + 0xa0], rax
mov rax, qword [rsp + 0xb8]
mov qword [rdi + 0xa8], rax
movaps xmm0, xmmword [rsp + 0xa0]
movaps xmmword [rdi + 0x90], xmm0
movaps xmm0, xmmword [rsp + 0x90]
movaps xmmword [rdi + 0x80], xmm0
movaps xmm0, xmmword [rsp + 0x80]
movaps xmmword [rdi + 0x70], xmm0
mov ecx, 0x100
mov edx, 0x80
call fcn.14009cd7c
mov r14, rax
push 1
pop rax
mov qword [r14], rax
mov qword [r14 + 8], rax
lea rcx, [r14 + 0x10]
mov r8d, 0xb0
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
and qword [r14 + 0xc0], 0
lock inc qword [r14]
jle 0x140066d68
lea rcx, [r14 + 0x80]
mov qword [rsp + 0x80], rcx
mov rax, qword [r15 + 0x20]
cmp rcx, rax
je 0x140066d76
mov qword [r14 + 0x88], rax
and qword [r14 + 0x80], 0
test rax, rax
je 0x1400668c7
mov qword [rax], rcx
mov qword [r15 + 0x20], rcx
cmp qword [r15 + 0x28], 0
jne 0x1400668d6
mov qword [r15 + 0x28], rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x1c8], r14
mov rcx, r15
mov edx, r13d
call fcn.14009ebc2
cmp qword [rsp + 0x1a0], 0
je 0x14006692d
movabs rbx, 0xc00000003
jmp 0x140066c33
mov rcx, qword [rsi + 0x28]
call fcn.14005f0f8
xor edi, edi
jmp case.0x14007468e.285
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x58], rax
mov rbx, qword [rbx]
lea rdi, [rbx + 0x18]
mov qword [rsp + 0x1d8], rdi
lea rdx, [rbx + 0x20]
lea r15, [rsp + 0xe0]
mov rcx, r15
call fcn.140033234
cmp qword [r15], 0
jne 0x140066d96
mov qword [rsp + 0x1b0], rbx
mov r15, qword [rsp + 0xe8]
mov r13b, byte [rsp + 0xf0]
mov qword [rsp + 0x1e0], r15
mov byte [rsp + 0x1e8], r13b
lea rdx, [r15 + 8]
mov rax, qword [r15 + 0x18]
test rax, rax
je 0x1400669b2
invalid
mov rcx, qword [r15 + 0x10]
mov rax, qword [rcx + rax*8 - 8]
mov rax, qword [rax]
cmp rax, 0x20
jbe 0x140066a3e
mov rcx, qword [rdi]
call fcn.1400345bc
mov rbx, rax
test rax, rax
je 0x140066a3e
mov rcx, r15
mov edx, r13d
call fcn.14009ebc2
jmp 0x140066c33
mov rax, qword [r15 + 0x18]
test rax, rax
je 0x140066dd3
mov rcx, qword [r15 + 0x10]
mov rdi, qword [rcx + rax*8 - 8]
lock inc qword [rdi]
jle 0x140066d68
mov rcx, r15
mov edx, r13d
call fcn.14009ebc2
mov qword [rsp + 0x1a8], rdi
mov qword [rsp + 0x218], rdi
lea rdi, [rsp + 0x80]
mov rcx, rdi
mov rdx, qword [rsp + 0x58]
mov r8d, 0x48000022
call fcn.14003474e
cmp dword [rdi], 0
je 0x140066b08
xor r15d, r15d
lea r13, [0x140108fe0]
lea rdi, [rsp + 0xe0]
cmp r15, 0xc
je 0x140066c17
mov r8d, dword [r15 + r13]
mov rcx, rdi
mov rdx, qword [rsp + 0x58]
call fcn.14003474e
mov rax, qword [rsp + 0x58]
cmp dword [rsp + 0xe0], 0
jne 0x140066ae2
mov rbx, qword [rsp + 0xe8]
cmp rbx, rax
jne 0x140066b10
add r15, 4
jmp 0x140066aab
mov rbx, qword [rsp + 0x88]
push 0x78
pop rcx
call fcn.140033115
mov r15, rax
push 1
pop rax
mov qword [r15], rax
mov qword [r15 + 8], rax
and word [r15 + 0x10], 0
and dword [r15 + 0x18], 0
lea rdx, [r15 + 0x10]
adc byte [rax - 0x75], cl
test byte [rax + rbp*4], ah
add dword [rax], eax
add byte [rcx - 0x77], cl
and byte [r15], r9b
push rdi
rol byte [rcx + 0xf], 0x11
sub byte [r9 + 0xf], r8b
adc dword [rdi + 0x38], eax
movups xmmword [r15 + 0x48], xmm0
mov qword [r15 + 0x58], rbx
movups xmmword [r15 + 0x60], xmm0
and word [r15 + 0x70], 0
lea rdi, [rsp + 0xe0]
mov rcx, rdi
call fcn.140033294
cmp qword [rdi], 0
mov r13, qword [rsp + 0x78]
jne 0x140066ea7
mov rcx, qword [rsp + 0xe8]
mov dl, byte [rsp + 0xf0]
mov dword [rcx + 0x58], 0x19d
mov rax, qword [rsp + 0x68]
mov qword [rcx + 0x50], rax
call fcn.14009ebc2
mov rbx, qword [rsp + 0x1b0]
lock inc qword [rbx]
jle 0x140066d68
lock inc qword [r15]
jle 0x140066d68
lea rdi, [rbx + 0x10]
mov qword [rsp + 0xe0], rbx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xf0], rax
mov byte [rsp + 0xf8], 3
mov qword [rsp + 0xe8], r15
mov rcx, rdi
mov rdx, r15
call fcn.1400344a6
mov rcx, rdi
call fcn.140034527
test rax, rax
je 0x140066ce2
mov rbx, rax
lea rcx, [rsp + 0xe0]
call fcn.1400347bd
jmp 0x140066c33
mov ebx, dword [rsp + 0x84]
shl rbx, 0x20
or rbx, 2
lea rcx, [rsp + 0x218]
call fcn.14003278f
mov r15, qword [rsp + 0x50]
mov qword [rsp + 0x1d0], rbx
mov rcx, qword [rsp + 0x1b8]
call fcn.14009eb51
add al, 0x7f
add eax, dword [rax]
mov rdi, rax
mov r14d, edx
and r14b, 1
and dh, 1
lea rcx, [rax + 8]
mov rdx, qword [rsp + 0x68]
call fcn.1400a0b4f
mov rcx, rdi
mov edx, r14d
call fcn.14009ebc2
push rdx
jg 0x140066c72
add byte [rax - 0x73], cl
mov word [rax + rcx*8], fs
add dword [rax], eax
add al, ch
or byte [rax + 3], ch
invalid
mov r12, qword [rsp + 0x60]
lea rcx, [rsp + 0x1c0]
call fcn.140027b6f
loopne case.0x140035e7a.290
cld
dec dword [rax - 0x73]
mov word [rax + rbx*4], fs
add dword [rax], eax
add al, ch
mov word [rbx], es
add byte [rcx], dh
dec dword [rbx + rcx*4 + 0x74]
and al, 0x70
lea rax, [rsp + 0xf0]
movups xmm0, xmmword [rax]
lea rcx, str.C:UsersG.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.39.2_src_net_tcp_socket.rs
call fcn.1400d6480
invalid
invalid
invalid
ud2
lea rcx, str.C:UsersG.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.39.2_src_net_tcp_stream.rs
call fcn.1400d6480
invalid
invalid
invalid
add r15, 0x20
lea r8, [rsp + 0xe0]
and qword [r8], 0
lea rax, [rsp + 0x1d8]
lea rdx, [rsp + 0x218]
add al, byte [rax]
add byte [rax - 0x77], cl
add cl, byte [rax - 0x73]
add eax, 0xfffcc6d3
rol esi, cl
cld
dec dword [rax - 0x77]
or byte [rax - 0x73], cl
test byte [rax + riz*8], ah
add dword [rax], eax
add byte [rax - 0x77], cl
adc byte [rax - 0x73], cl
add eax, 0xfffccde1