Function at 0x140136537
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 r13, r8
mov rsi, rdx
mov r12, rcx
movzx eax, byte [rdx + 0x78]
test eax, eax
je 0x1401365c6
cmp eax, 3
jne 0x140136ded
lea r14, [rsi + 0x70]
movzx eax, byte [rsi + 0x70]
lea rbx, [rsi + 0x30]
test eax, eax
je 0x140136745
cmp eax, 3
jne 0x140136e1b
mov rax, qword [rsi + 0x68]
mov rdx, qword [rax + 0x10]
lea rdi, [rsp + 0x130]
mov rcx, rdi
mov r8, r13
call fcn.140192677
mov al, byte [rdi + 9]
cmp al, 3
jne 0x14013695b
mov byte [r14], 3
mov qword [r12], 3
mov al, 3
jmp 0x140136da1
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
test byte [rsi], 1
je 0x14013666a
mov edx, dword [rsi + 0x14]
mov r8d, dword [rsi + 0x18]
movzx eax, word [rsi + 0x1c]
shr r9, 0x10
mov dword [rsp + 0x138], r9d
mov r9, qword [rsi + 8]
mov qword [rsp + 0x13c], r9
mov r9d, dword [rsi + 0x10]
mov dword [rsp + 0x144], r9d
xorps xmm0, xmm0
movups xmmword [rsp + 0x14c], xmm0
movups xmmword [rsp + 0x15c], xmm0
movups xmmword [rsp + 0x16c], xmm0
movups xmmword [rsp + 0x17c], xmm0
and dword [rsp + 0x1ac], 0
movups xmmword [rsp + 0x18c], xmm0
movups xmmword [rsp + 0x19c], xmm0
rol ax, 8
mov dword [rsp + 0x148], r8d
push 0x1c
pop r8
mov r10w, 0x17
mov r9d, edx
jmp 0x1401366c2
mov rax, r9
shr rax, 0x20
rol ax, 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x198], xmm0
movups xmmword [rsp + 0x188], xmm0
movups xmmword [rsp + 0x178], xmm0
movups xmmword [rsp + 0x168], xmm0
movups xmmword [rsp + 0x158], xmm0
and qword [rsp + 0x1a8], 0
movups xmmword [rsp + 0x148], xmm0
movups xmmword [rsp + 0x138], xmm0
push 0x10
pop r8
mov r10w, 2
lea rdx, [rsp + 0x130]
mov word [rdx], r10w
mov word [rdx + 2], ax
mov dword [rdx + 4], r9d
mov dword [rdx + 0x80], r8d
call sub.ws2_32.dll_connect
test eax, eax
je 0x140136713
call fcn.140130dd2
mov r15, rax
mov qword [rsp + 0x80], rax
mov rcx, rax
call fcn.140080631
cmp al, 0xd
jne 0x14013694a
lea rcx, [rsp + 0x80]
call fcn.1401014ca
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x48], r12
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 + 0x58], rax
mov byte [rsi + 0x70], 0
xor r14d, r14d
jmp 0x140136761
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x48], r12
mov rbx, qword [rsi + 0x30]
mov r14, qword [rsi + 0x38]
lea rdi, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.41.1_src_net_tcp_stream.rs
mov rcx, rdi
call fcn.1401914ee
mov r15, rdx
mov qword [rsp + 0x1e8], rbx
mov qword [rsp + 0x1f0], r14
mov qword [rsp + 0x220], rax
mov qword [rsp + 0x228], rdx
lea r13, [rdx + 0xe0]
lea rcx, [rdx + 0x140]
mov qword [rsp + 0x200], rax
test al, 1
cmovne r13, rcx
mov rcx, r13
mov rdx, rdi
call fcn.14018ef18
lea rbx, [r13 + 0x20]
mov rcx, rbx
call fcn.14019322b
mov r12, rax
mov edi, edx
and dil, 1
cmp byte [rax + 0x30], 0
je 0x1401367fe
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, 0x28
call fcn.140152fc8
mov r15, rax
mov rcx, r12
mov edx, edi
call fcn.14018f3bd
mov r12, qword [rsp + 0x48]
jmp 0x140136d28
mov qword [rsp + 0x50], rbx
lea r14, [rsp + 0x130]
and qword [r14 + 0x16], 0
xorps xmm0, xmm0
movups xmmword [r14 + 6], xmm0
movaps xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x8a], xmm0
mov rax, qword [r14 + 0x1e]
mov qword [rsp + 0xb8], rax
movups xmm0, xmmword [r14 + 0x10]
movups xmmword [rsp + 0xaa], xmm0
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x9a], xmm0
mov rax, qword [rsp + 0xb0]
mov qword [r14 + 0xa0], rax
mov rax, qword [rsp + 0xb8]
mov qword [r14 + 0xa8], rax
movaps xmm0, xmmword [rsp + 0xa0]
movaps xmmword [r14 + 0x90], xmm0
movaps xmm0, xmmword [rsp + 0x90]
movaps xmmword [r14 + 0x80], xmm0
movaps xmm0, xmmword [rsp + 0x80]
movaps xmmword [r14 + 0x70], xmm0
mov ecx, 0x100
mov edx, pe_nt_image_headers64
call fcn.14018cb34
mov rbx, rax
push 1
pop rax
mov qword [rbx], rax
mov qword [rbx + 8], rax
lea rcx, [rbx + 0x10]
mov r8d, 0xb0
mov rdx, r14
call sub.msvcrt.dll_memcpy
and qword [rbx + 0xc0], 0
lock inc qword [rbx]
jle 0x140136df9
lea r14, [rbx + 0x80]
mov qword [rsp + 0x80], r14
mov rax, qword [r12 + 0x20]
cmp r14, rax
je 0x140136dfb
mov qword [rbx + 0x88], rax
and qword [rbx + 0x80], 0
test rax, rax
je 0x14013690c
mov qword [rax], r14
mov qword [r12 + 0x20], r14
cmp qword [r12 + 0x28], 0
jne 0x14013691e
mov qword [r12 + 0x28], r14
mov qword [rsp + 0x208], rbx
mov rcx, r12
mov edx, edi
call fcn.14018f3bd
cmp qword [rsp + 0x1f0], 0
je 0x140136970
movabs r15, 0xc00000003
jmp 0x140136ce6
mov rcx, qword [rsi + 0x28]
call fcn.14012dff6
push 2
pop rdi
jmp 0x140136d7b
cmp al, 2
jne 0x140136a18
mov r15, qword [rsp + 0x130]
jmp 0x140136c53
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x68], rax
mov rax, qword [r13]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x218], rdi
mov qword [rsp + 0x70], rax
lea rdx, [rax + 0x20]
lea r12, [rsp + 0x130]
mov rcx, r12
call fcn.140103ea4
cmp dword [r12], 1
je 0x140136e27
mov r13, qword [rsp + 0x138]
mov r12b, byte [rsp + 0x140]
mov qword [rsp + 0x230], r13
mov byte [rsp + 0x238], r12b
lea rdx, [r13 + 8]
mov rax, qword [r13 + 0x18]
test rax, rax
je 0x1401369f4
mov rcx, qword [r13 + 0x10]
mov rax, qword [rcx + rax*8 - 8]
mov rax, qword [rax]
cmp rax, 0x20
jbe 0x140136a9d
mov rcx, qword [rdi]
call fcn.1400a4b00
test rax, rax
je 0x140136a9d
mov r15, rax
mov rcx, r13
mov edx, r12d
call fcn.14018f3bd
jmp 0x140136ce6
lea rcx, [rsi + 0x40]
call fcn.140190ffe
mov rcx, qword [rax]
lea r9, [rsp + 0x80]
and dword [r9], 0
mov dword [rsp + 0x130], 4
mov qword [rsp + 0x20], rdi
mov edx, 0xffff
mov r8d, 0x1007
call sub.ws2_32.dll_getsockopt
cmp eax, 0xffffffff
je 0x140136c43
movsxd r15, dword [rsp + 0x80]
test r15, r15
jne 0x140136c4b
mov rdi, qword [rsi + 0x40]
mov r15, 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 rdi, 3
je 0x1401365b7
jmp 0x140136d53
mov rax, qword [r13 + 0x18]
test rax, rax
je 0x140136e64
mov rcx, qword [r13 + 0x10]
mov rdi, qword [rcx + rax*8 - 8]
lock inc qword [rdi]
jle 0x140136df9
mov rcx, r13
mov edx, r12d
call fcn.14018f3bd
mov qword [rsp + 0x1f8], rdi
mov qword [rsp + 0x298], rdi
lea rdi, [rsp + 0x80]
mov rcx, rdi
mov rdx, qword [rsp + 0x68]
mov r8d, 0x48000022
call fcn.1400a4c8d
cmp dword [rdi], 1
jne 0x140136b45
xor r13d, r13d
mov rdi, qword [rsp + 0x68]
cmp r13, 0xc
je 0x140136cc9
lea rax, [0x14020df68]
mov r8d, dword [r13 + rax]
lea rcx, [rsp + 0x130]
mov rdx, rdi
call fcn.1400a4c8d
mov r12, qword [rsp + 0x138]
cmp r12, rdi
sete al
or al, byte [rsp + 0x130]
cmp al, 1
jne 0x140136b4d
add r13, 4
jmp 0x140136b00
mov r12, qword [rsp + 0x88]
push 0x78
pop rcx
call fcn.1400a3810
mov rdi, rax
push 1
pop rax
mov qword [rdi], rax
mov qword [rdi + 8], rax
and word [rdi + 0x10], 0
and dword [rdi + 0x18], 0
lea rdx, [rdi + 0x10]
mov rax, qword [rsp + 0x1f8]
mov qword [rdi + 0x20], rax
xorps xmm0, xmm0
movups xmmword [rdi + 0x28], xmm0
movups xmmword [rdi + 0x38], xmm0
movups xmmword [rdi + 0x48], xmm0
mov qword [rdi + 0x58], r12
movups xmmword [rdi + 0x60], xmm0
and word [rdi + 0x70], 0
lea r12, [rsp + 0x130]
mov rcx, r12
call fcn.140103ea4
cmp dword [r12], 1
mov r13, qword [rsp + 0x78]
je 0x140136f38
mov rcx, qword [rsp + 0x138]
mov dl, byte [rsp + 0x140]
mov dword [rcx + 0x58], 0x19d
mov qword [rcx + 0x50], r14
call fcn.14018f3bd
mov rax, qword [rsp + 0x70]
lock inc qword [rax]
jle 0x140136df9
lock inc qword [rdi]
jle 0x140136df9
lea r12, [rax + 0x10]
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x140], r14
mov byte [rsp + 0x148], 3
mov qword [rsp + 0x138], rdi
mov rcx, r12
mov rdx, rdi
call fcn.1400a49ec
mov rcx, r12
call fcn.1400a4a6c
test rax, rax
je 0x140136c61
mov r12, rax
lea rcx, [rsp + 0x130]
call fcn.1400a4cfa
mov r15, r12
jmp 0x140136ce6
call sub.ws2_32.dll_WSAGetLastError
mov r15d, eax
shl r15, 0x20
or r15, 2
lea rcx, [rsi + 0x40]
call fcn.14012dd22
jmp 0x140136d4c
lea rax, [rsp + 0x140]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x280], xmm0
push 0x20
pop rcx
call fcn.1400a3810
mov r14, rax
mov rax, qword [rsp + 0x70]
mov qword [r14], rax
mov qword [r14 + 8], rdi
movaps xmm0, xmmword [rsp + 0x280]
movups xmmword [r14 + 0x10], xmm0
xor ecx, ecx
call fcn.1400a4d2f
lea rcx, [rsp + 0x210]
and qword [rcx], 0
call fcn.14018cc35
mov rcx, qword [rsp + 0x200]
cmp rcx, 2
jne 0x140136db8
mov r12, qword [rsp + 0x48]
jmp 0x140136d42
mov r15d, dword [rsp + 0x84]
shl r15, 0x20
or r15, 2
lea rcx, [rsp + 0x298]
call fcn.1400a30a8
mov r12, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x210], r15
call fcn.14019322b
mov rdi, rax
mov ebx, edx
and bl, 1
lea rcx, [rax + 8]
mov rdx, r14
call fcn.14018f331
mov rcx, rdi
mov edx, ebx
call fcn.14018f3bd
lea rcx, [rsp + 0x208]
call fcn.14018c48c
lea rcx, [rsp + 0x220]
call fcn.14018bcd0
lea rcx, [rsp + 0x1e8]
call fcn.14019088e
mov rbx, qword [rsp + 0x60]
mov r14, qword [rsp + 0x58]
mov byte [r14], 1
push 2
pop rdi
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0x250], rax
movaps xmm0, xmmword [rsp + 0x260]
movaps xmmword [rsp + 0x240], xmm0
mov rcx, rbx
call fcn.14013651c
mov qword [r12], rdi
mov qword [r12 + 8], r15
movaps xmm0, xmmword [rsp + 0x240]
movups xmmword [r12 + 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, [rsi + 0x40]
mov qword [rsi + 0x40], rcx
mov qword [rsi + 0x48], r15
mov qword [rsi + 0x50], rbx
mov rcx, qword [rsp + 0x68]
mov qword [rsi + 0x58], rcx
mov qword [rsi + 0x60], r14
mov qword [rsi + 0x68], rax
mov r12, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x60]
mov r14, qword [rsp + 0x58]
jmp 0x140136591
lea rcx, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.41.1_src_net_tcp_socket.rs
call fcn.14006ff40
ud2
add r12, 0x20
lea r8, [rsp + 0x130]
and qword [r8], 0
lea rdx, [rsp + 0x80]
mov rcx, r12
call fcn.140190695
lea rcx, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.41.1_src_net_tcp_stream.rs
call fcn.14006ff40
mov rax, qword [rsp + 0x138]
mov cl, byte [rsp + 0x140]
lea r8, [rsp + 0x80]
mov qword [r8], rax
mov byte [r8 + 8], cl
lea rax, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_mio_1.0.3_src_sys_windows_selector.rs
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, [0x14020d898]
jmp 0x140136f70
lea rax, [rsp + 0x218]
lea rdx, [rsp + 0x298]
mov qword [rdx], rax
lea rax, [0x1400a3a97]
mov qword [rdx + 8], rax
lea rax, [rsp + 0x230]
mov qword [rdx + 0x10], rax
lea rax, [0x1400a4153]
mov qword [rdx + 0x18], rax
push 2
pop rax
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x140], rax
and qword [rsp + 0x150], 0
movabs rcx, 0x400000020
mov qword [rsp + 0x158], rcx
mov r8b, 3
mov byte [rsp + 0x160], r8b
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x178], rax
mov qword [rsp + 0x188], 1
mov qword [rsp + 0x190], rcx
mov byte [rsp + 0x198], r8b
lea r8, str.internal_error:_entered_unreachable_code:_Cannot_acquire_afd____afd_group:
lea rcx, [rsp + 0x80]
mov qword [rcx], r8
mov qword [rcx + 8], rax
lea r8, [rsp + 0x130]
mov qword [rcx + 0x20], r8
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], rax
lea rdx, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_mio_1.0.3_src_sys_windows_selector.rs
call fcn.140068590
mov rax, qword [rsp + 0x138]
mov cl, byte [rsp + 0x140]
lea r8, [rsp + 0x80]
mov qword [r8], rax
mov byte [r8 + 8], cl
lea rax, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_mio_1.0.3_src_sys_windows_selector.rs
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, [0x14020d8d8]
push 0x2b
pop rdx
call fcn.14006b0e0
int3