Function at 0x1400a78c0
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4d8
movdqa xmmword [rsp + 0x4c0], xmm8
movdqa xmmword [rsp + 0x4b0], xmm7
movdqa xmmword [rsp + 0x4a0], xmm6
mov rbx, rcx
mov rsi, qword [rcx + 0xd8]
mov r14, qword [rcx + 0xe0]
mov rcx, rsi
call qword [r14 + 0xb8]
test rax, rax
je 0x1400a7978
mov rdi, rax
mov dword [rsp + 0x290], 0
mov rcx, qword [rax]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x290]
mov edx, 0xffff
mov r8d, 0x1006
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1400a7994
mov dword [rsp + 0x290], 0
mov rcx, qword [rdi]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x290]
mov edx, 0xffff
mov r8d, 0x1005
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1400a7994
movabs rcx, 0x8000000000000000
cmp qword [rbx + 8], rcx
jne 0x1400a7a0d
mov rsi, rcx
jmp 0x1400a7c9e
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
cmp qword [rbx + 0xb8], 0
je 0x1400a79c8
mov r8, qword [rbx + 0xb0]
mov rcx, qword [0x1401bb0c8]
xor edx, edx
call fcn.1400fda74
mov rsi, qword [rbx + 0xd8]
mov r14, qword [rbx + 0xe0]
mov rax, qword [r14]
test rax, rax
je 0x1400a79d5
mov rcx, rsi
call rax
shl rdi, 0x20
cmp qword [r14 + 8], 0
je 0x1400a79fc
cmp qword [r14 + 0x10], 0x11
jb 0x1400a79eb
mov rsi, qword [rsi - 8]
mov rcx, qword [0x1401bb0c8]
xor edx, edx
mov r8, rsi
call fcn.1400fda74
or rdi, 2
mov rcx, rbx
call fcn.1400a77e0
jmp 0x1400a7ef8
mov r14, qword [rbx]
cmp r14, 0xffffffffffffffff
je 0x1400a7a21
lock inc qword [r14 + 8]
jle 0x1400a8175
mov r15, qword [rbx + 0x10]
mov rdi, qword [rbx + 0x18]
mov ebp, 1
test rdi, rdi
je 0x1400a7a5b
js 0x1400a8175
movzx eax, byte [0x1401bb111]
xor ecx, ecx
mov rdx, rdi
call fcn.140089d40
test rax, rax
je 0x1400a8175
mov rcx, rax
mov rsi, rdi
jmp 0x1400a7a62
xor esi, esi
mov ecx, 1
mov qword [rsp + 0x58], rcx
mov rdx, r15
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov r12, qword [rbx + 0x28]
mov r15, qword [rbx + 0x30]
test r15, r15
je 0x1400a7aac
js 0x1400a8175
movzx eax, byte [0x1401bb111]
xor ecx, ecx
mov rdx, r15
call fcn.140089d40
test rax, rax
je 0x1400a8175
mov rbp, rax
mov rax, r15
mov qword [rsp + 0x50], r15
jmp 0x1400a7ab3
xor eax, eax
mov qword [rsp + 0x50], rax
mov rcx, rbp
mov rdx, r12
mov r8, r15
call sub.msvcrt.dll_memcpy
movzx r9d, word [rbx + 0x88]
movzx r10d, word [rbx + 0x8a]
movabs rcx, 0x8000000000000000
cmp qword [rbx + 0x38], rcx
jne 0x1400a7af8
mov rdx, rcx
mov qword [rsp + 0x40], rcx
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
jmp 0x1400a7c9e
mov word [rsp + 0x34], r10w
mov word [rsp + 0x36], r9w
mov r13, qword [rbx + 0x40]
mov r8, qword [rbx + 0x48]
test r8, r8
mov qword [rsp + 0x68], r8
je 0x1400a7b48
js 0x1400a8175
movzx eax, byte [0x1401bb111]
xor ecx, ecx
mov rdx, r8
call fcn.140089d40
mov r8, qword [rsp + 0x68]
test rax, rax
je 0x1400a8175
mov r12, rax
mov rax, r8
mov qword [rsp + 0x40], r8
jmp 0x1400a7b55
mov r12d, 1
xor eax, eax
mov qword [rsp + 0x40], rax
mov rcx, r12
mov rdx, r13
call sub.msvcrt.dll_memcpy
mov eax, dword [rbx + 0x80]
mov dword [rsp + 0x60], eax
movabs rcx, 0x8000000000000000
cmp qword [rbx + 0x50], rcx
jne 0x1400a7b84
mov rax, rcx
mov qword [rsp + 0x48], rcx
jmp 0x1400a7bf3
mov rdx, qword [rbx + 0x58]
mov r13, qword [rbx + 0x60]
test r13, r13
je 0x1400a7bc8
mov qword [rsp + 0x38], rdx
js 0x1400a8175
movzx eax, byte [0x1401bb111]
xor ecx, ecx
mov rdx, r13
call fcn.140089d40
test rax, rax
je 0x1400a8175
mov rcx, rax
mov rax, r13
mov qword [rsp + 0x48], r13
mov rdx, qword [rsp + 0x38]
jmp 0x1400a7bd4
mov ecx, 1
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], r13
mov r8, r13
call sub.msvcrt.dll_memcpy
movabs rcx, 0x8000000000000000
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov qword [rsp + 0x38], r12
cmp qword [rbx + 0x68], rcx
movzx r9d, word [rsp + 0x36]
movzx r10d, word [rsp + 0x34]
mov r11, qword [rsp + 0x68]
jne 0x1400a7c1e
mov r13, rcx
jmp 0x1400a7c97
mov rdx, qword [rbx + 0x70]
mov r12, qword [rbx + 0x78]
test r12, r12
je 0x1400a7c5d
mov qword [rsp + 0x70], rdx
js 0x1400a8175
movzx eax, byte [0x1401bb111]
xor ecx, ecx
mov rdx, r12
call fcn.140089d40
test rax, rax
je 0x1400a8175
mov rcx, rax
mov r13, r12
mov rdx, qword [rsp + 0x70]
jmp 0x1400a7c65
mov ecx, 1
xor r13d, r13d
mov qword [rsp + 0x70], rcx
mov r8, r12
call sub.msvcrt.dll_memcpy
movabs rcx, 0x8000000000000000
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
movzx r9d, word [rsp + 0x36]
movzx r10d, word [rsp + 0x34]
mov r11, qword [rsp + 0x68]
movzx eax, byte [rbx + 0x84]
mov qword [rsp + 0x120], r14
mov qword [rsp + 0x128], rsi
mov qword [rsp + 0x130], rdx
mov qword [rsp + 0x138], rdi
mov qword [rsp + 0x140], r8
mov qword [rsp + 0x148], rbp
mov qword [rsp + 0x150], r15
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0x158], rdx
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x160], rdx
mov qword [rsp + 0x168], r11
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0x170], rdx
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0x178], rdx
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x180], rdx
mov qword [rsp + 0x188], r13
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0x190], rdx
mov qword [rsp + 0x198], r12
mov edx, dword [rsp + 0x60]
mov dword [rsp + 0x1a0], edx
mov byte [rsp + 0x1a4], al
mov word [rsp + 0x1a8], r9w
mov word [rsp + 0x1aa], r10w
cmp rsi, rcx
je 0x1400a7ee1
cmp r14, 0xffffffffffffffff
je 0x1400a7ee1
lea rdx, [rsp + 0x128]
mov rax, qword [r14]
nop word cs:[rax + rax]
test rax, rax
je 0x1400a7ee1
js 0x1400a8175
lea rcx, [rax + 1]
lock cmpxchg qword [r14], rcx
jne 0x1400a7d90
mov qword [rsp + 0x88], r14
cmp qword [r14 + 0x90], 0
je 0x1400a7f28
cmp qword [r14 + 0x98], 0
je 0x1400a7f28
lea rsi, [r14 + 0x38]
mov cl, 1
xor eax, eax
lock cmpxchg byte [rsi], cl
jne 0x1400a8902
mov qword [rsp + 0x48], rsi
lea r12, [rsp + 0x290]
mov rcx, r12
call fcn.1400b58c0
lea rax, [r14 + 0x60]
mov qword [rsp + 0x38], rax
mov rcx, qword [r14 + 0x80]
mov rdx, qword [r14 + 0x88]
mov r8, r12
call fcn.1400a41f0
mov rcx, rax
shr rcx, 0x39
mov rdx, qword [r14 + 0x60]
mov r13, qword [r14 + 0x68]
mov rsi, r13
mov qword [rsp + 0x78], rax
and rsi, rax
mov qword [rsp + 0x80], rcx
movd xmm0, ecx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm6, xmm0, 0
lea rbp, [rdx - 0xa8]
xor eax, eax
pcmpeqd xmm7, xmm7
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x40], rax
movdqu xmm8, xmmword [rdx + rsi]
movdqa xmm0, xmm8
pcmpeqb xmm0, xmm6
pmovmskb edi, xmm0
test edi, edi
je 0x1400a7eb2
nop word cs:[rax + rax]
tzcnt eax, edi
add rax, rsi
and rax, r13
neg rax
imul r15, rax, 0xa8
lea rcx, [r15 + rbp]
mov rdx, r12
call fcn.1400aaa10
test al, al
jne 0x1400a7f4d
lea eax, [rdi - 1]
and ax, di
mov edi, eax
jne 0x1400a7e80
pcmpeqb xmm8, xmm7
pmovmskb eax, xmm8
test eax, eax
mov rax, qword [rsp + 0x40]
jne 0x1400a87d5
add rsi, rax
add rsi, 0x10
add rax, 0x10
and rsi, r13
mov rdx, qword [rsp + 0x60]
jmp 0x1400a7e5a
mov rcx, rbx
call fcn.1400b5c80
lea rcx, [rsp + 0x120]
call fcn.1400a77e0
xor edi, edi
mov rax, rdi
movaps xmm6, xmmword [rsp + 0x4a0]
movaps xmm7, xmmword [rsp + 0x4b0]
movaps xmm8, xmmword [rsp + 0x4c0]
add rsp, 0x4d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rbx
call fcn.1400b5c80
mov rax, qword [rsp + 0x88]
lock dec qword [rax]
jne 0x1400a7ee9
lea rcx, [rsp + 0x88]
call fcn.1400b6af0
jmp 0x1400a7ee9
mov rdi, qword [rsp + 0x60]
lea r12, [rdi + r15]
lea rsi, [rsp + 0x418]
lea rdx, [rsp + 0x290]
mov r8d, 0x88
mov rcx, rsi
call sub.msvcrt.dll_memcpy
lea rcx, [rsp + 0x378]
mov r8d, 0x88
mov rdx, rsi
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x400], r12
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x408], rax
mov rax, qword [rdi + r15 - 0x20]
mov rsi, qword [rdi + r15 - 8]
cmp rsi, rax
jne 0x1400a7fc5
lea rcx, [rdi + r15]
add rcx, 0xffffffffffffffe0
call fcn.1400a4840
mov rax, qword [r12 - 0x20]
mov rsi, qword [r12 - 8]
mov rcx, qword [r12 - 0x10]
add rcx, rsi
xor edx, edx
cmp rcx, rax
cmovae rdx, rax
sub rcx, rdx
imul rcx, rcx, 0xe8
add rcx, qword [r12 - 0x18]
mov r8d, 0xe8
mov rdx, rbx
call sub.msvcrt.dll_memcpy
lea rax, [rsi + 1]
mov qword [r12 - 8], rax
cmp rax, qword [r14 + 0x98]
lea r13, [rsp + 0x128]
jbe 0x1400a83ae
mov rax, qword [r12 - 0x10]
lea rcx, [rax + 1]
mov rdx, qword [r12 - 0x20]
mov r8, qword [r12 - 0x18]
xor r9d, r9d
cmp rcx, rdx
cmovae r9, rdx
neg r9
lea rcx, [rax + r9]
inc rcx
mov qword [r12 - 0x10], rcx
mov qword [r12 - 8], rsi
imul rax, rax, 0xe8
mov rsi, qword [r8 + rax]
mov rdi, qword [r8 + rax + 8]
lea rdx, [r8 + rax]
add rdx, 0x10
lea rcx, [rsp + 0x1b0]
mov r8d, 0xd8
call sub.msvcrt.dll_memcpy
movabs rax, 0x8000000000000000
inc rax
cmp rdi, rax
je 0x1400a8175
mov qword [rsp + 0x290], rsi
mov qword [rsp + 0x298], rdi
lea rcx, [rsp + 0x2a0]
lea rdx, [rsp + 0x1b0]
mov r8d, 0xd8
call sub.msvcrt.dll_memcpy
mov rbx, qword [r14 + 0x40]
mov rbp, qword [r14 + 0x58]
test rbp, rbp
je 0x1400a80de
mov rax, qword [r14 + 0x50]
xor ecx, ecx
cmp rax, rbx
cmovae rcx, rbx
sub rax, rcx
mov rcx, rbx
sub rcx, rax
mov rsi, rbp
sub rsi, rcx
jbe 0x1400a80e4
mov rcx, rbx
jmp 0x1400a80ea
xor eax, eax
xor ecx, ecx
jmp 0x1400a80e8
lea rcx, [rax + rbp]
xor esi, esi
mov r15, qword [r14 + 0x48]
mov rdx, rax
shl rdx, 7
lea r12, [rdx + rax*8]
mov rax, rcx
shl rax, 7
lea r13, [rax + rcx*8]
xor edi, edi
cmp r13, r12
je 0x1400a8134
nop dword [rax + rax]
lea rcx, [r15 + r12]
lea rdx, [rsp + 0x128]
call fcn.1400aaa10
test al, al
jne 0x1400a8177
inc rdi
add r12, 0x88
cmp r13, r12
jne 0x1400a8110
mov rax, rsi
shl rax, 7
lea rsi, [rax + rsi*8]
mov r12, r15
lea r13, [rsp + 0x128]
test rsi, rsi
je 0x1400a8175
nop
mov rcx, r12
mov rdx, r13
call fcn.1400aaa10
test al, al
jne 0x1400a817f
add r12, 0x88
inc rdi
add rsi, 0xffffffffffffff78
test rsi, rsi
jne 0x1400a8150
ud2
lea r13, [rsp + 0x128]
cmp rbp, rdi
jbe 0x1400a8175
mov r8, qword [r14 + 0x50]
lea r9, [r8 + rdi]
xor eax, eax
cmp r9, rbx
cmovae rax, rbx
sub r9, rax
mov rax, r9
shl rax, 7
lea rax, [rax + r9*8]
mov r12, qword [r15 + rax]
movups xmm0, xmmword [r15 + rax + 0x78]
movaps xmmword [rsp + 0x220], xmm0
movups xmm0, xmmword [r15 + rax + 0x68]
movaps xmmword [rsp + 0x210], xmm0
movups xmm0, xmmword [r15 + rax + 0x58]
movaps xmmword [rsp + 0x200], xmm0
movups xmm0, xmmword [r15 + rax + 0x48]
movaps xmmword [rsp + 0x1f0], xmm0
movups xmm0, xmmword [r15 + rax + 0x38]
movaps xmmword [rsp + 0x1e0], xmm0
movups xmm0, xmmword [r15 + rax + 0x28]
movaps xmmword [rsp + 0x1d0], xmm0
movups xmm0, xmmword [r15 + rax + 0x18]
movaps xmmword [rsp + 0x1c0], xmm0
movups xmm0, xmmword [r15 + rax + 8]
movaps xmmword [rsp + 0x1b0], xmm0
mov rax, rdi
not rax
add rax, rbp
cmp rax, rdi
jae 0x1400a8243
lea rcx, [r9 + 1]
xor edx, edx
cmp rcx, rbx
cmovae rdx, rbx
neg rdx
lea r8, [r9 + rdx]
inc r8
mov qword [rsp + 0x20], rax
jmp 0x1400a8263
lea rax, [r8 + 1]
xor ecx, ecx
cmp rax, rbx
cmovae rcx, rbx
neg rcx
lea r9, [r8 + rcx]
inc r9
mov qword [r14 + 0x50], r9
mov qword [rsp + 0x20], rdi
mov rcx, rbx
mov rdx, r15
call fcn.1400a4570
dec rbp
mov qword [r14 + 0x58], rbp
movaps xmm0, xmmword [rsp + 0x220]
movaps xmmword [rsp + 0x100], xmm0
movaps xmm0, xmmword [rsp + 0x210]
movaps xmmword [rsp + 0xf0], xmm0
movaps xmm0, xmmword [rsp + 0x200]
movaps xmmword [rsp + 0xe0], xmm0
movaps xmm0, xmmword [rsp + 0x1f0]
movaps xmmword [rsp + 0xd0], xmm0
movdqa xmm0, xmmword [rsp + 0x1b0]
movaps xmm1, xmmword [rsp + 0x1c0]
movaps xmm2, xmmword [rsp + 0x1d0]
movaps xmm3, xmmword [rsp + 0x1e0]
movaps xmmword [rsp + 0xc0], xmm3
movaps xmmword [rsp + 0xb0], xmm2
movaps xmmword [rsp + 0xa0], xmm1
movdqa xmmword [rsp + 0x90], xmm0
movabs rax, 0x8000000000000000
cmp r12, rax
je 0x1400a8175
mov qword [rsp + 0x1b0], r12
movaps xmm0, xmmword [rsp + 0x90]
movaps xmm1, xmmword [rsp + 0xa0]
movaps xmm2, xmmword [rsp + 0xb0]
movaps xmm3, xmmword [rsp + 0xc0]
movups xmmword [rsp + 0x1b8], xmm0
movups xmmword [rsp + 0x1c8], xmm1
movups xmmword [rsp + 0x1d8], xmm2
movups xmmword [rsp + 0x1e8], xmm3
movaps xmm0, xmmword [rsp + 0xd0]
movups xmmword [rsp + 0x1f8], xmm0
movaps xmm0, xmmword [rsp + 0xe0]
movups xmmword [rsp + 0x208], xmm0
movaps xmm0, xmmword [rsp + 0xf0]
movups xmmword [rsp + 0x218], xmm0
movdqa xmm0, xmmword [rsp + 0x100]
movdqu xmmword [rsp + 0x228], xmm0
lea rcx, [rsp + 0x1b0]
call fcn.1400a4990
lea rcx, [rsp + 0x290]
call fcn.1400b5c80
movabs rax, 0x8000000000000000
cmp qword [rsp + 0x378], rax
je 0x1400a83cf
lea rcx, [rsp + 0x378]
call fcn.1400a4990
lea rcx, [rsp + 0x290]
mov rdx, r13
call fcn.1400b58c0
mov rax, qword [r14 + 0x40]
mov rsi, qword [r14 + 0x58]
cmp rsi, rax
jne 0x1400a83fd
lea rcx, [r14 + 0x40]
call fcn.1400a48e0
mov rax, qword [r14 + 0x40]
mov rsi, qword [r14 + 0x58]
mov rcx, qword [r14 + 0x50]
add rcx, rsi
xor edi, edi
cmp rcx, rax
mov edx, 0
cmovae rdx, rax
sub rcx, rdx
mov rax, rcx
shl rax, 7
lea rcx, [rax + rcx*8]
add rcx, qword [r14 + 0x48]
lea rdx, [rsp + 0x290]
mov r8d, 0x88
call sub.msvcrt.dll_memcpy
inc rsi
mov qword [r14 + 0x58], rsi
cmp rsi, qword [r14 + 0x90]
xchg byte [r14 + 0x38], dil
jbe 0x1400a8620
cmp dil, 2
mov rsi, qword [rsp + 0x48]
jne 0x1400a8462
mov rcx, rsi
call fcn.1400f6b70
cmp qword [r14 + 0x90], 0
je 0x1400a8175
cmp qword [r14 + 0x98], 0
je 0x1400a8175
mov cl, 1
xor eax, eax
lock cmpxchg byte [rsi], cl
jne 0x1400a898c
mov rcx, qword [r14 + 0x58]
test rcx, rcx
je 0x1400a8175
mov rdx, qword [r14 + 0x50]
lea r8, [rdx + 1]
mov r9, qword [r14 + 0x40]
mov rax, qword [r14 + 0x48]
xor r10d, r10d
cmp r8, r9
cmovae r10, r9
neg r10
lea r8, [rdx + r10]
inc r8
mov qword [r14 + 0x50], r8
dec rcx
mov qword [r14 + 0x58], rcx
mov rcx, rdx
shl rcx, 7
lea rdx, [rcx + rdx*8]
mov rcx, qword [rax + rdx]
movabs r8, 0x8000000000000000
cmp rcx, r8
je 0x1400a8175
add rax, rdx
mov qword [rsp + 0x90], rcx
movups xmm0, xmmword [rax + 8]
movups xmm1, xmmword [rax + 0x18]
movups xmm2, xmmword [rax + 0x28]
movups xmm3, xmmword [rax + 0x38]
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0xa8], xmm1
movups xmmword [rsp + 0xb8], xmm2
movups xmmword [rsp + 0xc8], xmm3
movups xmm0, xmmword [rax + 0x48]
movups xmmword [rsp + 0xd8], xmm0
movups xmm0, xmmword [rax + 0x58]
movups xmmword [rsp + 0xe8], xmm0
movups xmm0, xmmword [rax + 0x68]
movups xmmword [rsp + 0xf8], xmm0
movups xmm0, xmmword [rax + 0x78]
movups xmmword [rsp + 0x108], xmm0
mov rcx, qword [r14 + 0x80]
mov rdx, qword [r14 + 0x88]
lea rbx, [rsp + 0x90]
mov r8, rbx
call fcn.1400a41f0
mov rcx, qword [r14 + 0x60]
mov r15, qword [r14 + 0x68]
mov r12, r15
and r12, rax
shr rax, 0x39
movd xmm0, eax
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm6, xmm0, 0
mov qword [rsp + 0x40], rcx
lea rsi, [rcx - 0xa8]
xor r13d, r13d
pcmpeqd xmm7, xmm7
mov rax, qword [rsp + 0x40]
movdqu xmm8, xmmword [rax + r12]
movdqa xmm0, xmm8
pcmpeqb xmm0, xmm6
pmovmskb ebp, xmm0
test ebp, ebp
je 0x1400a85fe
nop word cs:[rax + rax]
tzcnt eax, ebp
add rax, r12
and rax, r15
neg rax
imul rdi, rax, 0xa8
lea rcx, [rsi + rdi]
mov rdx, rbx
call fcn.1400aaa10
test al, al
jne 0x1400a8639
lea eax, [rbp - 1]
and ax, bp
mov ebp, eax
jne 0x1400a85d0
pcmpeqb xmm8, xmm7
pmovmskb eax, xmm8
test eax, eax
jne 0x1400a89c3
add r12, r13
add r12, 0x10
add r13, 0x10
and r12, r15
jmp 0x1400a85aa
cmp dil, 2
jne 0x1400a7f30
mov rcx, qword [rsp + 0x48]
call fcn.1400f6b70
jmp 0x1400a7f30
mov rsi, qword [rsp + 0x40]
lea r14, [rsi + rdi]
lea rbx, [rsp + 0x380]
lea rdx, [rsp + 0x90]
mov r8d, 0x88
mov rcx, rbx
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x408], r14
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x410], rax
mov qword [rsp + 0x378], 0
mov rdi, qword [rsi + rdi - 8]
test rdi, rdi
je 0x1400a8175
mov rsi, qword [rsp + 0x380]
mov rax, qword [r14 - 0x10]
lea rcx, [rax + 1]
mov rdx, qword [r14 - 0x20]
mov r8, qword [r14 - 0x18]
xor r9d, r9d
cmp rcx, rdx
cmovae r9, rdx
neg r9
lea rcx, [rax + r9]
inc rcx
mov qword [r14 - 0x10], rcx
dec rdi
mov qword [r14 - 8], rdi
imul rax, rax, 0xe8
mov r14, qword [r8 + rax]
mov r15, qword [r8 + rax + 8]
lea rdx, [r8 + rax]
add rdx, 0x10
lea rcx, [rsp + 0x1b0]
mov r8d, 0xd8
call sub.msvcrt.dll_memcpy
movabs rax, 0x8000000000000000
inc rax
cmp r15, rax
je 0x1400a8175
mov qword [rsp + 0x290], r14
mov qword [rsp + 0x298], r15
lea rcx, [rsp + 0x2a0]
lea rdx, [rsp + 0x1b0]
mov r8d, 0xd8
call sub.msvcrt.dll_memcpy
test rdi, rdi
je 0x1400a8764
lea rcx, [rsp + 0x290]
call fcn.1400b5c80
movabs rax, 0x8000000000000000
cmp rsi, rax
je 0x1400a895e
mov rcx, rbx
call fcn.1400a4990
jmp 0x1400a895e
lea r15, [rsp + 0x1b0]
mov rcx, r15
mov rdx, rbx
call fcn.1400c2250
mov rsi, qword [rsp + 0x238]
mov rdi, qword [rsp + 0x240]
mov r12, qword [rsp + 0x248]
mov r14, qword [rsp + 0x250]
mov rcx, r15
call fcn.1400a4990
test r14, r14
je 0x1400a87ca
xor eax, eax
cmp r12, rsi
cmovae rax, rsi
sub r12, rax
mov rax, rsi
sub rax, r12
mov r15, r14
sub r15, rax
jbe 0x1400a8915
mov r14, rsi
jmp 0x1400a891b
xor r12d, r12d
xor r14d, r14d
jmp 0x1400a8918
cmp qword [r14 + 0x70], 0
je 0x1400a89a6
lea rcx, [rsp + 0x418]
lea rdx, [rsp + 0x290]
mov r8d, 0x88
call sub.msvcrt.dll_memcpy
movzx eax, byte [0x1401bb111]
mov edx, 0xe8
xor ecx, ecx
call fcn.140089d40
test rax, rax
lea r13, [rsp + 0x128]
je 0x1400a8175
mov r12, rax
mov r8d, 0xe8
mov rcx, rax
mov rdx, rbx
call sub.msvcrt.dll_memcpy
mov rdi, qword [r14 + 0x60]
mov rax, qword [r14 + 0x68]
mov r8, qword [rsp + 0x78]
and r8, rax
movdqu xmm0, xmmword [rdi + r8]
pmovmskb ecx, xmm0
test ecx, ecx
jne 0x1400a886e
mov edx, 0x10
add r8, rdx
and r8, rax
movdqu xmm0, xmmword [rdi + r8]
pmovmskb ecx, xmm0
add rdx, 0x10
test ecx, ecx
je 0x1400a8856
tzcnt ecx, ecx
add rcx, r8
and rcx, rax
movzx edx, byte [rdi + rcx]
test dl, dl
js 0x1400a8890
movdqa xmm0, xmmword [rdi]
pmovmskb ecx, xmm0
tzcnt ecx, ecx
movzx edx, byte [rdi + rcx]
lea r8, [rcx - 0x10]
and r8, rax
mov rax, qword [rsp + 0x80]
mov byte [rdi + rcx], al
mov byte [rdi + r8 + 0x10], al
neg rcx
imul rsi, rcx, 0xa8
and dl, 1
movzx eax, dl
sub qword [r14 + 0x70], rax
lea rcx, [rdi + rsi]
add rcx, 0xffffffffffffff58
lea rdx, [rsp + 0x418]
mov r8d, 0x88
call sub.msvcrt.dll_memcpy
mov qword [rdi + rsi - 0x20], 1
mov qword [rdi + rsi - 0x18], r12
mov qword [rdi + rsi - 0x10], 0
mov qword [rdi + rsi - 8], 1
inc qword [r14 + 0x78]
jmp 0x1400a83cf
mov rcx, rsi
mov rdi, rdx
call fcn.1400877e0
mov rdx, rdi
jmp 0x1400a7de0
add r14, r12
xor r15d, r15d
imul rcx, r12, 0xe8
add rcx, rdi
sub r14, r12
mov rdx, r14
call fcn.1400a4a50
mov rcx, rdi
mov rdx, r15
call fcn.1400a4a50
test rsi, rsi
je 0x1400a8951
mov rcx, qword [0x1401bb0c8]
xor edx, edx
mov r8, rdi
call fcn.1400fda74
lea rcx, [rsp + 0x290]
call fcn.1400b5c80
xor eax, eax
mov rcx, qword [rsp + 0x48]
xchg byte [rcx], al
cmp al, 2
jne 0x1400a8970
call fcn.1400f6b70
cmp qword [rsp + 0x378], 0
je 0x1400a7f30
mov rcx, rbx
call fcn.1400a4990
jmp 0x1400a7f30
mov rcx, rsi
call fcn.1400877e0
mov rcx, qword [r14 + 0x58]
test rcx, rcx
jne 0x1400a8499
jmp 0x1400a8175
mov rdx, qword [r14 + 0x80]
mov r8, qword [r14 + 0x88]
mov rcx, qword [rsp + 0x38]
call fcn.1400ab5b0
jmp 0x1400a87e0
cmp qword [r14 + 0x70], 0
jne 0x1400a8175
mov rdx, qword [r14 + 0x80]
mov r8, qword [r14 + 0x88]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x38]