Function at 0x140099540
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x110
mov rax, qword [0x1400d5040]
xor rax, rsp
mov qword [rsp + 0x108], rax
xor edi, edi
cmp byte [0x1400ec0f0], dil
sete al
test al, al
je 0x1400997a1
xor edx, edx
mov cl, 0x4c
call fcn.1400051a0
mov byte [rsp + 0x20], al
lea edx, [rdi + 1]
mov cl, 0x69
call fcn.1400051a0
mov byte [rsp + 0x21], al
lea edx, [rdi + 2]
mov cl, 0x63
call fcn.1400051a0
mov byte [rsp + 0x22], al
lea edx, [rdi + 3]
mov cl, 0x65
call fcn.1400051a0
mov byte [rsp + 0x23], al
lea edx, [rdi + 4]
mov cl, 0x6e
call fcn.1400051a0
mov byte [rsp + 0x24], al
lea edx, [rdi + 5]
mov cl, 0x73
call fcn.1400051a0
mov byte [rsp + 0x25], al
lea edx, [rdi + 6]
mov cl, 0x65
call fcn.1400051a0
mov byte [rsp + 0x26], al
lea edx, [rdi + 7]
mov cl, 0x20
call fcn.1400051a0
mov byte [rsp + 0x27], al
lea edx, [rdi + 8]
mov cl, 0x6b
call fcn.1400051a0
mov byte [rsp + 0x28], al
lea edx, [rdi + 9]
mov cl, 0x65
call fcn.1400051a0
mov byte [rsp + 0x29], al
lea edx, [rdi + 0xa]
mov cl, 0x79
call fcn.1400051a0
mov byte [rsp + 0x2a], al
lea edx, [rdi + 0xb]
mov cl, 0x20
call fcn.1400051a0
mov byte [rsp + 0x2b], al
lea edx, [rdi + 0xc]
mov cl, 0x63
call fcn.1400051a0
mov byte [rsp + 0x2c], al
lea edx, [rdi + 0xd]
mov cl, 0x61
call fcn.1400051a0
mov byte [rsp + 0x2d], al
lea edx, [rdi + 0xe]
mov cl, 0x6e
call fcn.1400051a0
mov byte [rsp + 0x2e], al
lea edx, [rdi + 0xf]
call fcn.1400051a0
mov byte [rsp + 0x2f], al
lea edx, [rdi + 0x10]
mov cl, 0x6f
call fcn.1400051a0
mov byte [rsp + 0x30], al
lea edx, [rdi + 0x11]
mov cl, 0x74
call fcn.1400051a0
mov byte [rsp + 0x31], al
lea edx, [rdi + 0x12]
mov cl, 0x20
call fcn.1400051a0
mov byte [rsp + 0x32], al
lea edx, [rdi + 0x13]
mov cl, 0x62
call fcn.1400051a0
mov byte [rsp + 0x33], al
lea edx, [rdi + 0x14]
mov cl, 0x65
call fcn.1400051a0
mov byte [rsp + 0x34], al
lea edx, [rdi + 0x15]
mov cl, 0x20
call fcn.1400051a0
mov byte [rsp + 0x35], al
lea edx, [rdi + 0x16]
mov cl, 0x65
call fcn.1400051a0
mov byte [rsp + 0x36], al
lea edx, [rdi + 0x17]
mov cl, 0x6d
call fcn.1400051a0
mov byte [rsp + 0x37], al
lea edx, [rdi + 0x18]
mov cl, 0x70
call fcn.1400051a0
mov byte [rsp + 0x38], al
lea edx, [rdi + 0x19]
mov cl, 0x74
call fcn.1400051a0
mov byte [rsp + 0x39], al
lea edx, [rdi + 0x1a]
mov cl, 0x79
call fcn.1400051a0
mov byte [rsp + 0x3a], al
lea edx, [rdi + 0x1b]
mov cl, 0x2e
call fcn.1400051a0
mov byte [rsp + 0x3b], al
xor eax, eax
mov byte [rsp + 0x3c], al
nop dword [rax]
nop word [rax + rax]
movsxd rax, edi
lea rcx, [rsp + 0x20]
add rcx, rax
lea eax, [rdi + 0x13]
xor byte [rcx], al
inc edi
cmp edi, 0x1c
jb 0x140099710
mov byte [rsp + 0x3c], 0
lea rax, [rsp + 0x20]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140099740
mov rax, qword [0x1400d5160]
cmp rbx, rax
ja 0x140099788
lea rdi, [0x1400d5148]
cmp rax, 0xf
cmova rdi, qword [0x1400d5148]
mov qword [0x1400d5158], rbx
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rbx], 0
jmp 0x140099919
lea r9, [rsp + 0x20]
mov rdx, rbx
lea rcx, [0x1400d5148]
call fcn.14002fac0
jmp 0x140099919
xorps xmm0, xmm0
movups xmmword [rsp + 0xf0], xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x50], xmm1
movdqu xmmword [rsp + 0x60], xmm0
lea rdx, [0x1400ec0f0]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400997d0
lea rcx, [rsp + 0x50]
call fcn.14001e3f0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xd0]
call fcn.140006800
mov rsi, rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
call fcn.140001a50
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140099816
lock inc dword [rcx + 8]
mov rcx, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rdi
lea rcx, [rsp + 0x90]
call qword [sym.imp.MSVCP140.dll_private:_void___cdecl_Concurrency::task_continuation_context::constructor_void____ptr64]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xb0], xmm0
mov qword [rsp + 0xc0], rdi
mov qword [rsp + 0xa8], rdi
mov byte [rsp + 0xa0], 0
mov word [rsp + 0xc8], 0
lea r9, [rsp + 0x70]
lea rdx, [rsp + 0xf0]
mov rcx, rsi
call fcn.14009dfa0
nop
mov rdi, qword [rsp + 0xd8]
test rdi, rdi
je 0x1400998c0
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400998c0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x1400998c0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
nop
lea rcx, [rsp + 0x50]
call fcn.14000f500
mov rcx, qword [rsp + 0xf0]
test rcx, rcx
je 0x14009993e
call fcn.140003020
mov cl, 1
call fcn.140098420
nop
mov rdi, qword [rsp + 0xf8]
test rdi, rdi
je 0x140099919
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140099919
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x140099919
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.1400a1650
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.1400022d0
nop
int3