Function at 0x1400b83a0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x208
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov bpl, 1
test r8b, r8b
je 0x1400b8607
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov rax, qword [rdi + 0x38]
cmp rax, 1
je 0x1400b8411
test rax, rax
jne 0x1400b84a1
mov rax, qword [rdi + 0x40]
add rax, 0xfffffffffffffffd
cmp rax, 2
jb 0x1400b84a1
lea rcx, [rdi + 0x40]
call fcn.140081fa0
jmp 0x1400b84a1
mov eax, dword [rdi + 0x40]
or eax, 2
cmp eax, 2
je 0x1400b84a1
mov rax, qword [0x1402cee10]
test rax, rax
je 0x1400b86fa
lea rcx, [0x140142370]
cmp rax, rcx
jne 0x1400b845f
mov r14, qword [rdi + 0x48]
test r14, r14
je 0x1400b845f
mov rcx, r14
call sub.KERNEL32.dll_DeleteCriticalSection
call sub.KERNEL32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, r14
call fcn.14021dfcd
mov rcx, qword [rdi + 0x58]
mov rax, qword [rdi + 0x60]
call qword [rax]
mov rax, qword [rdi + 0x60]
cmp qword [rax + 8], 0
je 0x1400b84a1
mov r14, qword [rdi + 0x58]
cmp qword [rax + 0x10], 0x11
jae 0x1400b848e
call sub.KERNEL32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, r14
jmp 0x1400b849c
call sub.KERNEL32.dll_GetProcessHeap
mov r8, qword [r14 - 8]
mov rcx, rax
xor edx, edx
call fcn.14021dfcd
mov qword [rdi + 0x38], 1
lea r14, [rdi + 0x40]
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rdi + 0x40], xmm0
movups xmmword [rdi + 0x50], xmm1
mov rax, qword [rsp + 0x40]
mov qword [rdi + 0x60], rax
lea rcx, [rdi + 0x68]
lea rdx, [rsp + 0x50]
mov r8d, 0x190
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi]
nop
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rdi], rcx
jne 0x1400b84e0
test al, 1
je 0x1400b872e
test al, 2
jne 0x1400b8748
test al, 8
jne 0x1400b8533
mov rax, qword [rdi + 0x38]
cmp rax, 1
je 0x1400b855a
test rax, rax
jne 0x1400b85ea
mov rax, qword [r14]
add rax, 0xfffffffffffffffd
cmp rax, 2
jb 0x1400b85ea
mov rcx, r14
call fcn.140081fa0
jmp 0x1400b85ea
test al, 0x10
je 0x1400b8605
mov rax, qword [rdi + 0x200]
test rax, rax
je 0x1400b8762
mov rcx, qword [rdi + 0x1f8]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x1400b8605
mov eax, dword [r14]
or eax, 2
cmp eax, 2
je 0x1400b85ea
mov rax, qword [0x1402cee10]
test rax, rax
je 0x1400b8714
lea rcx, [0x140142370]
cmp rax, rcx
jne 0x1400b85a8
mov r15, qword [rdi + 0x48]
test r15, r15
je 0x1400b85a8
mov rcx, r15
call sub.KERNEL32.dll_DeleteCriticalSection
call sub.KERNEL32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, r15
call fcn.14021dfcd
mov rcx, qword [rdi + 0x58]
mov rax, qword [rdi + 0x60]
call qword [rax]
mov rax, qword [rdi + 0x60]
cmp qword [rax + 8], 0
je 0x1400b85ea
mov r15, qword [rdi + 0x58]
cmp qword [rax + 0x10], 0x11
jae 0x1400b85d7
call sub.KERNEL32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, r15
jmp 0x1400b85e5
call sub.KERNEL32.dll_GetProcessHeap
mov r8, qword [r15 - 8]
mov rcx, rax
xor edx, edx
call fcn.14021dfcd
mov qword [rdi + 0x38], 2
lea rdx, [rsp + 0x50]
mov r8d, 0x1b8
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
xor ebp, ebp
cmp qword [rdi + 0x30], 0
je 0x1400b8623
lea rcx, [rdi + 0x30]
mov rdx, rdi
call fcn.14011bc60
test rax, rax
setne r8b
jmp 0x1400b8626
xor r8d, r8d
xor bl, 1
mov rcx, rdi
mov edx, ebx
call fcn.140157490
cmp rax, 0x3f
ja 0x1400b8641
mov rcx, rdi
call fcn.1400b7900
test bpl, bpl
je 0x1400b8650
mov eax, dword [rsi]
or eax, 2
cmp eax, 2
jne 0x1400b8660
add rsp, 0x208
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rax, qword [0x1402cee10]
test rax, rax
je 0x1400b86e7
lea rcx, [0x140142370]
cmp rax, rcx
jne 0x1400b869b
mov rdi, qword [rsi + 8]
test rdi, rdi
je 0x1400b869b
mov rcx, rdi
call sub.KERNEL32.dll_DeleteCriticalSection
call sub.KERNEL32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, rdi
call fcn.14021dfcd
mov rdi, qword [rsi + 0x18]
mov rsi, qword [rsi + 0x20]
mov rcx, rdi
call qword [rsi]
cmp qword [rsi + 8], 0
je 0x1400b8650
cmp qword [rsi + 0x10], 0x11
jae 0x1400b86c5
call sub.KERNEL32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, rdi
jmp 0x1400b86d3
call sub.KERNEL32.dll_GetProcessHeap
mov r8, qword [rdi - 8]
mov rcx, rax
xor edx, edx
add rsp, 0x208
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.14021dfcd
call fcn.140142330
lea rcx, [0x140142370]
cmp rax, rcx
je 0x1400b8678
jmp 0x1400b869b
call fcn.140142330
lea rcx, [0x140142370]
cmp rax, rcx
je 0x1400b843c
jmp 0x1400b845f
call fcn.140142330
lea rcx, [0x140142370]
cmp rax, rcx
je 0x1400b8585
jmp 0x1400b85a8
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140275c70]
mov edx, 0x23
call fcn.14001f9d0
ud2
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140275cb0]
mov edx, 0x25
call fcn.14001f9d0
ud2
lea rcx, str.waker_missing
lea r8, str.C:Usersdarkarp.cargo_registry_srcgithub.com_1ecc6299db9ec823_tokio_1.4.0_src_runtime_taskcore.rsunexpected_stage
mov edx, recv
call fcn.140154a10
ud2