Function at 0x1400d1e00
Capabilities:
Connect socket
Enumerate pe sections

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov eax, dword [0x1401e4c88]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 0xd0]
lea rax, [rax + 0xd8]
test rcx, rcx
cmove rax, rcx
jne 0x1400d1e4e
xor ecx, ecx
call fcn.140090ac0
test rax, rax
je 0x1400d1e93
cmp byte [rax + 0x58], 0
sete cl
cmp byte [rax + 0x59], 0
setne bpl
or bpl, cl
movzx eax, byte [rdi + 0x78]
test eax, eax
je 0x1400d1e9e
cmp eax, 3
jne 0x1400d229d
lea r15, [rdi + 0x68]
movzx eax, byte [rdi + 0x68]
test eax, eax
je 0x1400d1fcd
cmp eax, 3
jne 0x1400d22ad
mov rax, qword [rdi + 0x60]
jmp 0x1400d201f
mov bpl, 2
movzx eax, byte [rdi + 0x78]
test eax, eax
jne 0x1400d1e68
mov rcx, qword [rdi + 0x70]
mov qword [rdi + 0x20], rcx
mov eax, dword [rdi + 2]
movzx edx, word [rdi + 6]
shl rdx, 0x20
or rdx, rax
cmp word [rdi], 0
je 0x1400d1f2f
mov r10d, dword [rdi + 0x14]
mov r8d, dword [rdi + 0x18]
movzx eax, word [rdi + 0x1c]
shr rdx, 0x10
rol ax, 8
mov dword [rsp + 0x50], edx
mov rdx, qword [rdi + 8]
mov qword [rsp + 0x54], rdx
mov edx, dword [rdi + 0x10]
mov dword [rsp + 0x5c], edx
xorps xmm0, xmm0
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
mov dword [rsp + 0xc4], 0
mov dword [rsp + 0x60], r8d
mov r8d, 0x1c
mov r9w, 0x17
mov edx, r10d
jmp 0x1400d1f77
mov rax, rdx
shr rax, 0x20
rol ax, 8
lea r8, [rsp + 0x50]
xorps xmm0, xmm0
movups xmmword [r8 + 0x60], xmm0
movups xmmword [r8 + 0x50], xmm0
movups xmmword [r8 + 0x40], xmm0
movups xmmword [r8 + 0x30], xmm0
movups xmmword [r8 + 0x20], xmm0
movups xmmword [r8 + 0x10], xmm0
movups xmmword [r8], xmm0
mov qword [r8 + 0x70], 0
mov r8d, 0x10
mov r9w, 2
mov word [rsp + 0x48], r9w
mov word [rsp + 0x4a], ax
mov dword [rsp + 0x4c], edx
mov dword [rsp + 0xc8], r8d
lea rdx, [rsp + 0x48]
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x1400d1fb5
call qword [sym.imp.kernel32.dll_GetLastError]
mov r14d, eax
mov ecx, eax
call fcn.1400eae40
cmp al, 0xd
jne 0x1400d2141
mov rax, qword [rdi + 0x20]
mov qword [rdi + 0x28], 0
mov qword [rdi + 0x30], rax
lea r15, [rdi + 0x68]
mov byte [rdi + 0x68], 0
mov rdx, qword [rdi + 0x28]
mov r8, qword [rdi + 0x30]
lea rcx, [rsp + 0x48]
call fcn.1400fa8c0
mov r14, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
cmp rcx, 2
je 0x1400d2251
mov rdx, qword [rsp + 0x50]
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x30], xmm0
lea rax, [rdi + 0x38]
mov qword [rdi + 0x38], r14
mov qword [rdi + 0x40], rdx
mov qword [rdi + 0x48], rcx
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi + 0x50], xmm0
mov qword [rdi + 0x60], rax
mov rdx, qword [rax + 0x20]
lea r14, [rsp + 0x48]
mov rcx, r14
mov r8, rbx
mov r9b, 1
call fcn.140108750
movzx eax, byte [rsp + 0x51]
cmp al, 3
jne 0x1400d2113
mov byte [r15], 3
mov byte [rdi + 0x78], 3
sub rdi, 0xffffffffffffff80
mov eax, dword [0x1401e4c88]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 0xd0]
lea rax, [rax + 0xd8]
test rcx, rcx
cmove rax, rcx
jne 0x1400d2089
xor ecx, ecx
call fcn.140090ac0
test rax, rax
je 0x1400d2121
test bpl, bpl
je 0x1400d2121
cmp byte [rax + 0x58], 0
je 0x1400d2121
cmp byte [rax + 0x59], 0
jne 0x1400d2121
mov eax, dword [0x1401e4c88]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 0xd0]
lea rax, [rax + 0xd8]
test rcx, rcx
cmove rax, rcx
jne 0x1400d20dc
xor ecx, ecx
call fcn.140090ac0
test rax, rax
je 0x1400d2295
movzx ebp, byte [rax + 0x58]
movzx r14d, byte [rax + 0x59]
mov byte [rax + 0x58], 0
mov rcx, rdi
mov rdx, rbx
call fcn.14010dab0
test al, al
je 0x1400d21e5
mov qword [rsi + 0x10], 4
cmp bpl, 2
jne 0x1400d21f7
jmp 0x1400d2285
cmp al, 2
jne 0x1400d215d
mov r14, qword [rsp + 0x48]
jmp 0x1400d2248
mov rcx, rdi
mov rdx, rbx
call fcn.14010dab0
test al, al
je 0x1400d21d8
mov qword [rsi + 0x10], 4
jmp 0x1400d2285
shl r14, 0x20
or r14, 2
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.ws2_32.dll_closesocket]
mov eax, 2
jmp 0x1400d226a
mov rcx, qword [rdi + 0x40]
cmp rcx, 0xffffffffffffffff
je 0x1400d22c7
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x48], 4
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov r8d, 0x1007
call qword [sym.imp.ws2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x1400d2237
mov r14d, dword [rsp + 0x30]
test r14, r14
jne 0x1400d2240
mov r14, qword [rdi + 0x38]
mov rcx, qword [rdi + 0x40]
mov rax, qword [rdi + 0x48]
movups xmm0, xmmword [rdi + 0x50]
movaps xmmword [rsp + 0xd0], xmm0
mov byte [rdi + 0x68], 1
cmp rax, 3
je 0x1400d2047
jmp 0x1400d225a
mov qword [rsi + 0x10], 3
jmp 0x1400d2285
mov qword [rsi + 0x10], 3
cmp bpl, 2
je 0x1400d2285
mov eax, dword [0x1401e4c88]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 0xd0]
lea rax, [rax + 0xd8]
test rcx, rcx
cmove rax, rcx
jne 0x1400d2228
xor ecx, ecx
call fcn.140102ac0
test rax, rax
je 0x1400d2285
mov byte [rax + 0x58], bpl
mov byte [rax + 0x59], r14b
jmp 0x1400d2285
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r14d, eax
shl r14, 0x20
or r14, 2
lea rcx, [rdi + 0x38]
call fcn.1400611c0
mov byte [r15], 1
mov eax, 2
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0xe0], xmm0
movaps xmm0, xmmword [rsp + 0xe0]
movups xmmword [rsi + 0x18], xmm0
mov byte [rdi + 0x78], 1
mov qword [rsi], r14
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rax
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov bpl, 2
jmp 0x1400d20e9
lea rcx, [0x14019fd50]
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.28.2_src_net_tcp_socket.rs
jmp 0x1400d22bb
lea rcx, [0x14019fd50]
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.28.2_src_net_tcp_stream.rs
mov edx, 0x23
call fcn.140144ec0
ud2
lea rcx, [0x1401d1846]
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.28.2_srciopoll_evented.rs
mov edx, 0x2b
call fcn.140144ec0
ud2