Function at 0x1400b90e0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x228
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov bpl, 1
test r8b, r8b
je 0x1400b9347
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 0x1400b9151
test rax, rax
jne 0x1400b91e1
mov rax, qword [rdi + 0x40]
add rax, 0xfffffffffffffffd
cmp rax, 2
jb 0x1400b91e1
lea rcx, [rdi + 0x40]
call fcn.14008a8b0
jmp 0x1400b91e1
mov eax, dword [rdi + 0x40]
or eax, 2
cmp eax, 2
je 0x1400b91e1
mov rax, qword [0x1402cee10]
test rax, rax
je 0x1400b943a
lea rcx, [0x140142370]
cmp rax, rcx
jne 0x1400b919f
mov r14, qword [rdi + 0x48]
test r14, r14
je 0x1400b919f
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 0x1400b91e1
mov r14, qword [rdi + 0x58]
cmp qword [rax + 0x10], 0x11
jae 0x1400b91ce
call sub.KERNEL32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, r14
jmp 0x1400b91dc
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, 0x1b0
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi]
nop
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rdi], rcx
jne 0x1400b9220
test al, 1
je 0x1400b946e
test al, 2
jne 0x1400b9488
test al, 8
jne 0x1400b9273
mov rax, qword [rdi + 0x38]
cmp rax, 1
je 0x1400b929a
test rax, rax
jne 0x1400b932a
mov rax, qword [r14]
add rax, 0xfffffffffffffffd
cmp rax, 2
jb 0x1400b932a
mov rcx, r14
call fcn.14008a8b0
jmp 0x1400b932a
test al, 0x10
je 0x1400b9345
mov rax, qword [rdi + 0x220]
test rax, rax
je 0x1400b94a2
mov rcx, qword [rdi + 0x218]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x1400b9345
mov eax, dword [r14]
or eax, 2
cmp eax, 2
je 0x1400b932a
mov rax, qword [0x1402cee10]
test rax, rax
je 0x1400b9454
lea rcx, [0x140142370]
cmp rax, rcx
jne 0x1400b92e8
mov r15, qword [rdi + 0x48]
test r15, r15
je 0x1400b92e8
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 0x1400b932a
mov r15, qword [rdi + 0x58]
cmp qword [rax + 0x10], 0x11
jae 0x1400b9317
call sub.KERNEL32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, r15
jmp 0x1400b9325
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, 0x1d8
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
xor ebp, ebp
cmp qword [rdi + 0x30], 0
je 0x1400b9363
lea rcx, [rdi + 0x30]
mov rdx, rdi
call fcn.14011bf10
test rax, rax
setne r8b
jmp 0x1400b9366
xor r8d, r8d
xor bl, 1
mov rcx, rdi
mov edx, ebx
call fcn.140157490
cmp rax, 0x3f
ja 0x1400b9381
mov rcx, rdi
call fcn.1400b7530
test bpl, bpl
je 0x1400b9390
mov eax, dword [rsi]
or eax, 2
cmp eax, 2
jne 0x1400b93a0
add rsp, 0x228
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rax, qword [0x1402cee10]
test rax, rax
je 0x1400b9427
lea rcx, [0x140142370]
cmp rax, rcx
jne 0x1400b93db
mov rdi, qword [rsi + 8]
test rdi, rdi
je 0x1400b93db
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 0x1400b9390
cmp qword [rsi + 0x10], 0x11
jae 0x1400b9405
call sub.KERNEL32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, rdi
jmp 0x1400b9413
call sub.KERNEL32.dll_GetProcessHeap
mov r8, qword [rdi - 8]
mov rcx, rax
xor edx, edx
add rsp, 0x228
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 0x1400b93b8
jmp 0x1400b93db
call fcn.140142330
lea rcx, [0x140142370]
cmp rax, rcx
je 0x1400b917c
jmp 0x1400b919f
call fcn.140142330
lea rcx, [0x140142370]
cmp rax, rcx
je 0x1400b92c5
jmp 0x1400b92e8
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