Function at 0x140171210
Capabilities:
Load assembly via iassembly

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x508
movaps xmmword [rsp + 0x4f0], xmm6
mov rsi, rdx
mov rax, qword [rdx]
lea rdx, [rax - 6]
cmp rdx, 3
setb r9b
cmp rdx, 1
setne dl
test r9b, dl
jne 0x1401712af
cmp eax, 5
jne 0x14017134d
movzx eax, byte [rsi + 0x78]
mov byte [rsi + 0x78], 3
cmp al, 3
je 0x140171839
movups xmm0, xmmword [rsi + 0x68]
movups xmmword [rcx + 0x60], xmm0
movups xmm0, xmmword [rsi + 0x58]
movups xmmword [rcx + 0x50], xmm0
movups xmm0, xmmword [rsi + 0x48]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rsi + 8]
movups xmm1, xmmword [rsi + 0x18]
movups xmm2, xmmword [rsi + 0x28]
movups xmm3, xmmword [rsi + 0x38]
movups xmmword [rcx + 0x30], xmm3
movups xmmword [rcx + 0x20], xmm2
movups xmmword [rcx + 0x10], xmm1
movups xmmword [rcx], xmm0
mov edx, dword [rsi + 0x79]
mov r8d, dword [rsi + 0x7c]
mov dword [rcx + 0x71], edx
mov dword [rcx + 0x74], r8d
mov byte [rcx + 0x70], al
jmp 0x1401717c2
cmp eax, 6
jne 0x1401717de
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x40], rcx
mov rax, qword [rsi + 8]
mov qword [rsi], 8
cmp rax, 2
jae 0x1401717f2
lea rdi, [rsi + 0x10]
mov qword [rsp + 0x198], rax
lea rcx, [rsp + 0x1a0]
mov r8d, 0x1e8
mov rdx, rdi
call sub.msvcrt.dll_memcpy
lea rdx, [rsp + 0x378]
lea r8, [rsp + 0x2e0]
movzx r9d, byte [rsp + 0x380]
lea rcx, [rsp + 0xc0]
call fcn.140158f60
cmp byte [rsp + 0xc0], 3
jne 0x140171370
lea rcx, [rsp + 0x198]
call fcn.1401662a0
mov r12d, 5
mov bpl, 2
xor r15d, r15d
mov r13b, 2
xor r14d, r14d
jmp 0x14017162c
mov rdx, rsi
movaps xmm6, xmmword [rsp + 0x4f0]
add rsp, 0x508
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140167350
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x407], rax
movups xmm0, xmmword [rsp + 0xc0]
movups xmm1, xmmword [rsp + 0xd0]
movups xmm2, xmmword [rsp + 0xe0]
movups xmmword [rsp + 0x3f7], xmm2
movups xmmword [rsp + 0x3e7], xmm1
movups xmmword [rsp + 0x3d7], xmm0
movups xmm0, xmmword [rsp + 0x198]
movups xmm1, xmmword [rsp + 0x1a8]
movups xmm2, xmmword [rsp + 0x1b8]
movups xmm3, xmmword [rsp + 0x1c8]
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xd0], xmm1
movaps xmmword [rsp + 0xe0], xmm2
movaps xmmword [rsp + 0xf0], xmm3
movups xmm0, xmmword [rsp + 0x1d8]
movaps xmmword [rsp + 0x100], xmm0
movups xmm0, xmmword [rsp + 0x1e8]
movaps xmmword [rsp + 0x110], xmm0
movups xmm0, xmmword [rsp + 0x1f8]
movaps xmmword [rsp + 0x120], xmm0
movups xmm0, xmmword [rsp + 0x208]
movaps xmmword [rsp + 0x130], xmm0
mov rax, qword [rsp + 0x360]
mov qword [rsp + 0x190], rax
movups xmm0, xmmword [rsp + 0x350]
movaps xmmword [rsp + 0x180], xmm0
movups xmm0, xmmword [rsp + 0x340]
movaps xmmword [rsp + 0x170], xmm0
movups xmm0, xmmword [rsp + 0x330]
movaps xmmword [rsp + 0x160], xmm0
movups xmm0, xmmword [rsp + 0x320]
movaps xmmword [rsp + 0x150], xmm0
movups xmm0, xmmword [rsp + 0x310]
movaps xmmword [rsp + 0x140], xmm0
movzx eax, byte [rsp + 0x381]
mov byte [rsp + 0x27], al
mov rax, qword [rsp + 0x378]
mov qword [rsp + 0x38], rax
mov r12, qword [rsp + 0x218]
mov r14, qword [rsp + 0x220]
movups xmm0, xmmword [rsp + 0x228]
movaps xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [rsp + 0x238]
movaps xmmword [rsp + 0x60], xmm0
movzx eax, byte [rsp + 0x248]
mov byte [rsp + 0x70], al
movzx r13d, byte [rsp + 0x249]
movzx eax, word [rsp + 0x24e]
mov word [rsp + 0x34], ax
mov eax, dword [rsp + 0x24a]
mov dword [rsp + 0x30], eax
movzx r15d, byte [rsp + 0x250]
movups xmm0, xmmword [rsp + 0x280]
movups xmmword [rsp + 0xaf], xmm0
movups xmm0, xmmword [rsp + 0x271]
movaps xmmword [rsp + 0xa0], xmm0
movups xmm0, xmmword [rsp + 0x261]
movaps xmmword [rsp + 0x90], xmm0
movups xmm0, xmmword [rsp + 0x251]
movaps xmmword [rsp + 0x80], xmm0
movzx ebp, byte [rsp + 0x290]
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0x38f], rax
mov rax, qword [rsp + 0x291]
mov qword [rsp + 0x388], rax
movups xmm6, xmmword [rsp + 0x368]
movups xmm0, xmmword [rsp + 0x2a0]
movups xmm1, xmmword [rsp + 0x2b0]
movups xmm2, xmmword [rsp + 0x2c0]
movups xmm3, xmmword [rsp + 0x2d0]
movups xmmword [rsp + 0x3c7], xmm3
movups xmmword [rsp + 0x3b7], xmm2
movups xmmword [rsp + 0x3a7], xmm1
movups xmmword [rsp + 0x397], xmm0
lea rcx, [rsp + 0x418]
lea rdx, [rsp + 0xc0]
mov r8d, 0xd8
call sub.msvcrt.dll_memcpy
cmp byte [rsp + 0x2e0], 2
jb 0x140171609
mov rbx, qword [rsp + 0x2e8]
lea rcx, [rbx + 0x18]
mov rax, qword [rbx]
mov rdx, qword [rbx + 8]
mov r8, qword [rbx + 0x10]
call qword [rax + 0x20]
mov rcx, qword [0x14031a288]
xor edx, edx
mov r8, rbx
call fcn.1401fb9c4
lea rcx, [rsp + 0x308]
mov rax, qword [rsp + 0x2f0]
mov rdx, qword [rsp + 0x2f8]
mov r8, qword [rsp + 0x300]
call qword [rax + 0x20]
lea rbx, [rsi + 8]
mov rax, qword [rsi]
lea rdx, [rax - 6]
cmp rdx, 3
mov ecx, 1
cmovb rcx, rdx
cmp rcx, 1
je 0x140171659
test rcx, rcx
jne 0x140171676
mov rcx, rbx
call fcn.1401662a0
jmp 0x140171676
cmp eax, 5
jne 0x14017166e
cmp byte [rsi + 0x78], 3
je 0x140171676
mov rcx, rbx
call fcn.140166a20
jmp 0x140171676
mov rcx, rsi
call fcn.140166410
mov qword [rsi], r12
mov qword [rsi + 8], r14
movzx eax, byte [rsp + 0x70]
mov byte [rdi + 0x20], al
movaps xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov byte [rsi + 0x31], r13b
mov eax, dword [rsp + 0x30]
mov dword [rsi + 0x32], eax
movzx eax, word [rsp + 0x34]
mov word [rsi + 0x36], ax
mov byte [rsi + 0x38], r15b
movaps xmm0, xmmword [rsp + 0x80]
movaps xmm1, xmmword [rsp + 0x90]
movaps xmm2, xmmword [rsp + 0xa0]
movups xmmword [rsi + 0x39], xmm0
movups xmmword [rsi + 0x49], xmm1
movups xmmword [rsi + 0x59], xmm2
movups xmm0, xmmword [rsp + 0xaf]
movups xmmword [rsi + 0x68], xmm0
mov byte [rsi + 0x78], bpl
lea rcx, [rsi + 0x79]
lea rdx, [rsp + 0x388]
mov r8d, 0x87
call sub.msvcrt.dll_memcpy
movups xmmword [rsi + 0x100], xmm6
mov rax, qword [rsp + 0x38]
mov qword [rsi + 0x110], rax
movzx eax, byte [rsp + 0x27]
mov byte [rsi + 0x118], al
lea rcx, [rsi + 0x119]
lea rdx, [rsp + 0x411]
mov r8d, 0xdf
call sub.msvcrt.dll_memcpy
lea rax, [r12 - 9]
cmp rax, 0xfffffffffffffffd
setb al
cmp r12, 7
sete cl
or cl, al
je 0x140171851
cmp r12, 5
mov rcx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
jne 0x1401717ba
mov byte [rsi + 0x78], 3
cmp bpl, 3
je 0x140171839
movups xmm0, xmmword [rbx + 0x60]
movups xmmword [rcx + 0x60], xmm0
movups xmm0, xmmword [rbx + 0x50]
movups xmmword [rcx + 0x50], xmm0
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmm2, xmmword [rbx + 0x20]
movups xmm3, xmmword [rbx + 0x30]
movups xmmword [rcx + 0x30], xmm3
movups xmmword [rcx + 0x20], xmm2
movups xmmword [rcx + 0x10], xmm1
movups xmmword [rcx], xmm0
mov eax, dword [rsp + 0x388]
mov edx, dword [rsp + 0x38b]
mov dword [rcx + 0x71], eax
mov dword [rcx + 0x74], edx
mov byte [rcx + 0x70], bpl
jmp 0x1401717c2
mov rdx, rsi
call fcn.140167350
movaps xmm6, xmmword [rsp + 0x4f0]
add rsp, 0x508
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp eax, 7
jne 0x1401717eb
mov rcx, rsi
call fcn.140187e10
mov qword [rsi], 8
lea rax, [0x1402d5a08]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], 1
lea rax, [rsp + 0x28]
mov qword [rsp + 0xd0], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0xd8], xmm0
lea rdx, str._redacted_
lea rcx, [rsp + 0xc0]
call fcn.1400567b0
lea rcx, str.Ready_polled_after_completionfuture_polled_after_completiondns_errorNetwork_unreachabletcp_connect_error
lea r8, str._redacted_
mov edx, 0x1d
call fcn.14005c6e0
lea rcx, str.internal_error:_entered_unreachable_codeassertion_failed:_actual_state__EMPTY__actual_state__NOTIFIEDassertion_failed:_self.tail.is_none__
lea r8, str._redacted_
mov edx, 0x28
call fcn.1400576c0
int3