Function at 0x1400ec249
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, 0x2b8
lea rbp, [rsp + 0x80]
and rsp, 0xffffffffffffff80
mov r15, r8
mov rsi, rdx
mov r12, rcx
movzx eax, byte [rdx + 0x78]
test eax, eax
je 0x1400ec2d7
cmp eax, 3
jne 0x1400ecadc
lea rbx, [rsi + 0x70]
movzx eax, byte [rsi + 0x70]
lea r14, [rsi + 0x30]
test eax, eax
je 0x1400ec37c
cmp eax, 3
jne 0x1400ecaea
mov rax, qword [rsi + 0x68]
mov rdx, qword [rax + 0x10]
lea rdi, [rsp + 0x140]
mov rcx, rdi
mov r8, r15
call fcn.140162da1
mov al, byte [rdi + 9]
cmp al, 3
jne 0x1400ec678
mov byte [rbx], 3
mov qword [r12], 3
mov al, 3
jmp 0x1400eca2c
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 0x1400ec39d
mov edx, dword [rsi + 0x14]
mov r8d, dword [rsi + 0x18]
movzx eax, word [rsi + 0x1c]
shr r9, 0x10
mov dword [rsp + 0x148], r9d
mov r9, qword [rsi + 8]
mov qword [rsp + 0x14c], r9
mov r9d, dword [rsi + 0x10]
mov dword [rsp + 0x154], r9d
xorps xmm0, xmm0
movups xmmword [rsp + 0x15c], xmm0
movups xmmword [rsp + 0x16c], xmm0
movups xmmword [rsp + 0x17c], xmm0
movups xmmword [rsp + 0x18c], xmm0
and dword [rsp + 0x1bc], 0
movups xmmword [rsp + 0x19c], xmm0
movups xmmword [rsp + 0x1ac], xmm0
rol ax, 8
mov dword [rsp + 0x158], r8d
push 0x1c
pop r8
mov r10w, 0x17
mov r9d, edx
jmp 0x1400ec3f5
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], r14
mov rbx, qword [rsi + 0x30]
mov r15, qword [rsi + 0x38]
jmp 0x1400ec477
mov rax, r9
shr rax, 0x20
rol ax, 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x1a8], xmm0
movups xmmword [rsp + 0x198], xmm0
movups xmmword [rsp + 0x188], xmm0
movups xmmword [rsp + 0x178], xmm0
movups xmmword [rsp + 0x168], xmm0
and qword [rsp + 0x1b8], 0
movups xmmword [rsp + 0x158], xmm0
movups xmmword [rsp + 0x148], xmm0
push 0x10
pop r8
mov r10w, 2
lea rdx, [rsp + 0x140]
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 0x1400ec447
call fcn.1400e7698
mov rdi, rax
mov qword [rsp + 0x80], rax
mov rcx, rax
call fcn.14005ed8f
cmp al, 0xd
jne 0x1400ec667
lea rcx, [rsp + 0x80]
call fcn.140005a30
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x78], 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 + 0x70]
mov qword [rsp + 0x50], rax
mov byte [rsi + 0x70], 0
xor r15d, r15d
lea r14, str.C:Userselena.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.36.0_src_net_tcp_stream.rs
mov rcx, r14
call fcn.140161d77
mov rdi, rax
mov r13, rdx
mov qword [rsp + 0x130], rbx
mov qword [rsp + 0x138], r15
mov qword [rsp + 0x220], rax
mov qword [rsp + 0x228], rdx
lea rbx, [rdx + 0x118]
lea rax, [rdx + 0xb8]
test rdi, rdi
cmove rbx, rax
mov rcx, rbx
mov rdx, r14
call fcn.14015f0b8
lea rcx, [rbx + 0x20]
call fcn.14015d002
mov r14, rax
mov r12d, edx
and r12b, 1
cmp byte [rax + 0x30], 0
je 0x1400ec514
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_stateA_r__
push 0x38
pop r8
mov cl, 0x27
call fcn.14007afb6
mov r15, rax
mov rcx, r14
mov edx, r12d
call fcn.14015f572
mov rbx, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
jmp 0x1400ec9b6
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x208], rdi
lea r15, [rsp + 0x140]
and qword [r15 + 0x16], 0
xorps xmm0, xmm0
movups xmmword [r15 + 6], xmm0
movaps xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x8a], xmm0
mov rax, qword [r15 + 0x1e]
mov qword [rsp + 0xb8], rax
movups xmm0, xmmword [r15 + 0x10]
movups xmmword [rsp + 0xaa], xmm0
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x9a], xmm0
mov rax, qword [rsp + 0xb0]
mov qword [r15 + 0xa0], rax
mov rax, qword [rsp + 0xb8]
mov qword [r15 + 0xa8], rax
movaps xmm0, xmmword [rsp + 0xa0]
movaps xmmword [r15 + 0x90], xmm0
movaps xmm0, xmmword [rsp + 0x90]
movaps xmmword [r15 + 0x80], xmm0
movaps xmm0, xmmword [rsp + 0x80]
movaps xmmword [r15 + 0x70], xmm0
mov ecx, 0x100
mov edx, 0x80
call fcn.1400c2684
mov r13, rax
push 1
pop rax
mov qword [r13], rax
mov qword [r13 + 8], rax
lea rcx, [r13 + 0x10]
mov r8d, 0xb0
mov rdx, r15
call fcn.140240685
and qword [r13 + 0xc0], 0
lock inc qword [r13]
jle 0x1400ecae8
lea rdi, [r13 + 0x80]
mov qword [rsp + 0x80], rdi
mov rax, qword [r14 + 0x20]
cmp rdi, rax
je 0x1400ecaf6
mov qword [r13 + 0x88], rax
and qword [r13 + 0x80], 0
test rax, rax
je 0x1400ec62b
mov qword [rax], rdi
mov qword [r14 + 0x20], rdi
cmp qword [r14 + 0x28], 0
jne 0x1400ec63a
mov qword [r14 + 0x28], rdi
mov qword [rsp + 0x210], r13
mov rcx, r14
mov edx, r12d
call fcn.14015f572
cmp qword [rsp + 0x138], 0
je 0x1400ec68d
movabs r15, 0xc00000003
jmp 0x1400ec99f
mov rcx, qword [rsi + 0x28]
call fcn.1400e4857
push 2
pop rbx
jmp 0x1400eca06
cmp al, 2
jne 0x1400ec736
mov rdi, qword [rsp + 0x140]
jmp 0x1400ec86c
mov qword [rsp + 0x68], rdi
mov rdi, qword [rsp + 0x130]
mov rax, qword [rbx]
lea r15, [rax + 0x18]
mov qword [rsp + 0x218], r15
mov qword [rsp + 0x200], rax
lea rdx, [rax + 0x20]
lea r14, [rsp + 0x140]
mov rcx, r14
call fcn.14007b108
cmp qword [r14], 0
jne 0x1400ecb16
mov rbx, qword [rsp + 0x148]
mov r12b, byte [rsp + 0x150]
mov ah, byte [rsp + 0x150]
mov qword [rsp + 0x230], rbx
mov byte [rsp + 0x238], r12b
lea rdx, [rbx + 8]
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x1400ec712
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx + rax*8 - 8]
mov rax, qword [rax]
cmp rax, 0x20
jbe 0x1400ec7bc
mov rcx, qword [r15]
call fcn.14007c2b8
sahf
sti
clc
dec dword [rcx - 0x77]
invalid
test rax, rax
je 0x1400ec7bc
mov rcx, rbx
mov edx, r12d
call fcn.14015f572
jmp 0x1400ec99f
lea rcx, [rsi + 0x40]
call fcn.140161cb2
mov rcx, qword [rax]
lea r9, [rsp + 0x80]
mov word [rax + rax*4], fs
add byte [rax], al
add byte [rcx - 0x7d], al
and dword [rax], eax
mov dword [rsp + 0x140], 4
mov qword [rsp + 0x20], rdi
mov edx, 0xffff
mov r8d, 0x1007
call qword [sym.imp.ws2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x1400ec85c
movsxd rdi, dword [rsp + 0x80]
test rdi, rdi
dec dword [rdi]
test ebx, ebx
add byte [rax], al
invalid
mov rbx, qword [rsi + 0x40]
mov rdi, qword [rsi + 0x48]
mov rax, qword [rsi + 0x60]
mov qword [rsp + 0x270], rax
movups xmm0, xmmword [rsi + 0x50]
movaps xmmword [rsp + 0x260], xmm0
mov byte [rsi + 0x70], 1
cmp rbx, 3
je 0x1400ec2c8
jmp 0x1400ec9de
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x1400ecb53
mov rcx, qword [rbx + 0x10]
mov r15, qword [rcx + rax*8 - 8]
lock inc qword [r15]
jle 0x1400ecae8
mov rcx, rbx
mov edx, r12d
call fcn.14015f572
mov qword [rsp + 0x298], r15
lea rbx, [rsp + 0x80]
mov rcx, rbx
mov rdx, rdi
mov r8d, 0x48000022
call fcn.14007c44a
cmp dword [rbx], 0
je 0x1400ec87a
mov qword [rsp + 0x1f8], r15
xor r12d, r12d
lea r15, [0x14027e978]
lea rbx, [rsp + 0x140]
cmp r12, 0xc
je 0x1400ec884
mov r8d, dword [r12 + r15]
mov rcx, rbx
mov rdx, rdi
cli
call fcn.14007c44a
cmp dword [rsp + 0x140], 0
add dword [rax], eax
add byte [rax], al
jne 0x1400ec856
mov rax, rdi
mov r14, qword [rsp + 0x148]
cmp r14, rdi
jne 0x1400ec8a6
add r12, 4
jmp 0x1400ec827
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
lea rcx, [rsi + 0x40]
call fcn.1400e456f
jmp case.0x1400c2dff.390
mov r14, qword [rsp + 0x88]
jmp 0x1400ec8ae
mov r15d, dword [rsp + 0x84]
shl r15, 0x20
or r15, 2
lea rcx, [rsp + 0x298]
call fcn.14007a786
jmp 0x1400ec99f
mov r15, qword [rsp + 0x1f8]
push 0x78
pop rcx
call fcn.14007a3d2
mov rbx, rax
push 1
pop rax
mov qword [rbx], rax
mov qword [rbx + 8], rax
and word [rbx + 0x10], 0
and dword [rbx + 0x18], 0
lea rdx, [rbx + 0x10]
mov qword [rbx + 0x20], r15
xorps xmm0, xmm0
movups xmmword [rbx + 0x28], xmm0
movups xmmword [rbx + 0x38], xmm0
movups xmmword [rbx + 0x48], xmm0
mov qword [rbx + 0x58], r14
movups xmmword [rbx + 0x60], xmm0
invalid
and word [rbx + 0x70], 0
lea r15, [rsp + 0x140]
add dword [rax], eax
add byte [rcx + rcx*4 - 7], cl
call fcn.14007b108
cmp qword [r15], 0
mov r14, qword [rsp + 0x200]
jne 0x1400ecc1f
mov rcx, qword [rsp + 0x148]
mov dl, byte [rsp + 0x150]
mov dword [rcx + 0x58], 0x19d
popfq
add dword [rax], eax
add byte [rax - 0x75], cl
and al, 0x68
mov qword [rcx + 0x50], rax
call fcn.14015f572
cmp al, 0x2c
invalid
add al, dh
inc qword [r14]
jle 0x1400ecae8
lock inc qword [rbx]
jle 0x1400ecae8
lea r15, [r14 + 0x10]
mov qword [rsp + 0x140], r14
mov ah, 0x24
add dword [rax], eax
add byte [rax - 0x75], cl
and al, 0x68
mov qword [rsp + 0x150], rax
add dh, al
test byte [rax + rbx*2], ah
add dword [rax], eax
add byte [rbx], al
mov qword [rsp + 0x148], rbx
mov rcx, r15
mov rdx, rbx
call fcn.14007c1a2
and al, 0xf8
clc
dec dword [rcx + rcx*4 - 7]
call fcn.14007c223
dec dword [rax - 0x7b]
ror byte [rdi], 0x84
mov ah, 0
add byte [rax], al
invalid
mov r15, rax
lea rcx, [rsp + 0x140]
call fcn.14007c4b9
lea rcx, [rsp + 0x210]
call fcn.14015cdee
add al, 7
add byte [rbx + rcx*4 + 0x64], cl
and al, 0x58
mov rbx, qword [rsp + 0x50]
push rax
lea rcx, [rsp + 0x220]
call fcn.14015c68a
lea rcx, [rsp + 0x130]
call fcn.14016163f
mov rdi, r15
mov r14, qword [rsp + 0x60]
mov byte [rbx], 1
push 2
pop rbx
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0x250], rax
movaps xmm0, xmmword [rsp + 0x260]
and al, 0x60
add al, byte [rax]
add byte [rdi], cl
sub dword [rsp + 0x240], eax
add byte [rcx + rcx*4 - 0xf], cl
call fcn.1400ec22e
mov qword [r12], rbx
mov qword [r12 + 8], rdi
movaps xmm0, xmmword [rsp + 0x240]
add byte [rcx + 0xf], al
movups xmmword [rsp + 0x10], xmm0
mov rax, qword [rsp + 0x250]
mov qword [r12 + 0x20], rax
mov al, 1
mov byte [rsi + 0x78], al
lea rsp, [rbp + 0x238]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rax, [rsp + 0x150]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x280], xmm0
push 0x20
pop rcx
call fcn.14007a3d2
mov r15, rax
mov qword [rax], r14
mov qword [rax + 8], rbx
movaps xmm0, xmmword [rsp + 0x280]
movups xmmword [rax + 0x10], xmm0
xor ecx, ecx
call fcn.14007c4ee
mov rcx, qword [rsp + 0x208]
cmp rcx, 2
cmp ecx, 2
jne 0x1400ecaa2
mov r12, qword [rsp + 0x58]
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x70]
jmp case.0x1400c2dff.390
lea rax, [rsi + 0x40]
mov qword [rsi + 0x40], rcx
mov rcx, qword [rsp + 0x70]
mov qword [rsi + 0x48], rcx
mov qword [rsi + 0x50], r13
push rax
mov qword [rsi + 0x58], rdi
mov qword [rsi + 0x60], r15
mov qword [rsi + 0x68], rax
mov r12, qword [rsp + 0x58]
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x78]
jmp 0x1400ec2a3
lea rcx, str.h_._
call fcn.140241f50
ud2
lea rcx, str.C:Userselena.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.36.0_src_net_tcp_stream.rs
call fcn.140241f50
add r14, 0x20
lea r8, [rsp + 0x140]
and qword [r8], 0
lea rdx, [rsp + 0x80]
mov rcx, r14
call fcn.14024876a
push rsp
invalid
invalid
invalid
mov rax, qword [rsp + 0x148]
mov cl, byte [rsp + 0x150]
lea r8, [rsp + 0x80]
mov qword [r8], rax
mov byte [r8 + 8], cl
lea rax, str.C:Userselena.cargo_registry_srcindex.crates.io_6f17d22bba15001fmio_0.8.10_src_syswindows_selector.rs
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x20], eax
lea rax, [rsp + 0x218]
lea rdx, [rsp + 0x298]
mov qword [rdx], rax
add cl, byte [rax - 0x73]
add eax, 0xfff8e7ec
mov qword [rdx + 8], rax
lea rax, [rsp + 0x230]
mov qword [rdx + 0x10], rax
mov dword [rdx + 0x10], eax