Function at 0x1400e7ca0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r9
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
cmp byte [r9 + 8], 4
mov r13, r9
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
jne 0x1400e8012
test rcx, rcx
je 0x1400e7d1c
mov rax, qword [rcx]
test rax, rax
jne 0x1400e7d0c
mov rax, qword [0x140706608]
mov ecx, 0x198
test rax, rax
je 0x1400e7cfa
call rax
jmp 0x1400e7d00
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsi], rax
test rax, rax
je 0x1400e8578
xor edx, edx
mov r8d, 0x198
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
test rdi, rdi
je 0x1400e7d60
mov rax, qword [rdi]
test rax, rax
jne 0x1400e7d50
mov rax, qword [0x140706608]
mov ecx, 0x198
test rax, rax
je 0x1400e7d3e
call rax
jmp 0x1400e7d44
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rdi], rax
test rax, rax
je 0x1400e8578
xor edx, edx
mov r8d, 0x198
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
test rsi, rsi
je 0x1400e7d7f
mov rax, qword [rsi]
test rax, rax
je 0x1400e871f
mov r12, qword [rsp + 0x78]
mov qword [rax + 0x190], r12
jmp 0x1400e7d84
mov r12, qword [rsp + 0x78]
test rdi, rdi
je 0x1400e7d9c
mov rax, qword [rdi]
test rax, rax
je 0x1400e871f
mov qword [rax + 0x190], r12
cmp dword [rsp + 0x70], 1
jne 0x1400e7f2b
test rsi, rsi
je 0x1400e7e61
mov rbp, qword [rsi]
lea r15, [rbx + 0xc0]
lea r14, [rbx + 0x80]
test rbp, rbp
je 0x1400e7f21
test r14, r14
je 0x1400e7f21
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp], xmm0
mov r8, rbp
xor edx, edx
movups xmmword [rbp + 0x10], xmm0
mov rcx, r14
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
mov dword [rbp + 0x180], eax
mov dword [rbp + 0x188], eax
call fcn.1400dd3c0
test eax, eax
jne 0x1400e8848
lea r8, [rbp + 0x80]
lea rcx, [r14 + 8]
lea edx, [rax + 1]
call fcn.1400dd3c0
test eax, eax
jne 0x1400e8848
lea r8, [rbp + 0x100]
xor edx, edx
lea rcx, [r14 + 0x10]
call fcn.1400dd3c0
test eax, eax
jne 0x1400e8848
test r15, r15
je 0x1400e7f1a
mov rax, qword [r15]
mov qword [rbp + 0x180], rax
test rdi, rdi
je 0x1400e7ffe
lea r15, [rbx + 0xd0]
lea r14, [rbx + 0xa0]
mov rbp, qword [rdi]
test rbp, rbp
je 0x1400e7f21
test r14, r14
je 0x1400e7f21
xorps xmm0, xmm0
lea rcx, [r14 + 0x10]
movups xmmword [rbp], xmm0
xor eax, eax
mov r8, rbp
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
lea edx, [rax + 1]
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
mov dword [rbp + 0x180], eax
mov dword [rbp + 0x188], eax
call fcn.1400dd3c0
test eax, eax
jne 0x1400e8848
lea r8, [rbp + 0x80]
xor edx, edx
lea rcx, [r14 + 8]
call fcn.1400dd3c0
test eax, eax
jne 0x1400e8848
lea r8, [rbp + 0x100]
mov rcx, r14
lea edx, [rax + 1]
call fcn.1400dd3c0
test eax, eax
jne 0x1400e8848
test r15, r15
je 0x1400e7ff5
mov rax, qword [r15]
jmp 0x1400e7ff7
xor eax, eax
jmp 0x1400e7e5a
mov eax, 0xffffff53
jmp 0x1400e8848
test rsi, rsi
je 0x1400e7fdd
mov rbp, qword [rsi]
lea r15, [rbx + 0xd0]
lea r14, [rbx + 0xa0]
test rbp, rbp
je 0x1400e7f21
test r14, r14
je 0x1400e7f21
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp], xmm0
mov r8, rbp
xor edx, edx
movups xmmword [rbp + 0x10], xmm0
mov rcx, r14
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
mov dword [rbp + 0x180], eax
mov dword [rbp + 0x188], eax
call fcn.1400dd3c0
test eax, eax
jne 0x1400e8848
lea r8, [rbp + 0x80]
lea rcx, [r14 + 8]
lea edx, [rax + 1]
call fcn.1400dd3c0
test eax, eax
jne 0x1400e8848
lea r8, [rbp + 0x100]
xor edx, edx
lea rcx, [r14 + 0x10]
call fcn.1400dd3c0
test eax, eax
jne 0x1400e8848
test r15, r15
je 0x1400e7fd4
mov rax, qword [r15]
jmp 0x1400e7fd6
xor eax, eax
mov qword [rbp + 0x180], rax
test rdi, rdi
je 0x1400e7ffe
lea r15, [rbx + 0xc0]
lea r14, [rbx + 0x80]
jmp 0x1400e7e78
xor eax, eax
mov qword [rbp + 0x180], rax
test rsi, rsi
je 0x1400e8007
mov byte [rsi + 0x21], 1
test rdi, rdi
je 0x1400e8017
mov byte [rdi + 0x21], 1
jmp 0x1400e8017
mov r12, qword [rsp + 0x78]
xor r15d, r15d
cmp byte [r13 + 8], 6
jne 0x1400e84f3
lea r14, [rsi + 8]
test rsi, rsi
je 0x1400e806d
mov rax, qword [r14]
test rax, rax
jne 0x1400e805d
mov rax, qword [0x140706608]
mov ecx, 0x1b0
test rax, rax
je 0x1400e804b
call rax
jmp 0x1400e8051
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r14], rax
test rax, rax
je 0x1400e8578
xor edx, edx
mov r8d, 0x1b0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea r15, [rdi + 8]
test rdi, rdi
je 0x1400e80bd
mov rax, qword [r15]
test rax, rax
jne 0x1400e80ad
mov rax, qword [0x140706608]
mov ecx, 0x1b0
test rax, rax
je 0x1400e8093
call rax
jmp 0x1400e8099
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r15], rax
test rax, rax
je 0x1400e8578
lea r14, [rsi + 8]
lea r15, [rdi + 8]
xor edx, edx
mov r8d, 0x1b0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rbp, r15
test rsi, rsi
je 0x1400e8103
mov rax, qword [r14]
test rax, rax
je 0x1400e871f
xor ecx, ecx
mov qword [rax + 0x148], r12
xorps xmm0, xmm0
lea rbp, [rdi + 8]
movups xmmword [rax + 0x134], xmm0
and byte [rax + 0x1ab], 0xf8
mov dword [rax + 0x144], ecx
mov dword [rax + 0xf4], ecx
mov dword [rax + 0x120], ecx
jmp 0x1400e8105
xor ecx, ecx
test rdi, rdi
je 0x1400e8144
mov rax, qword [r15]
test rax, rax
je 0x1400e871f
xorps xmm0, xmm0
mov qword [rax + 0x148], r12
movups xmmword [rax + 0x134], xmm0
and byte [rax + 0x1ab], 0xf8
lea r14, [rsi + 8]
mov dword [rax + 0x144], ecx
mov dword [rax + 0xf4], ecx
mov dword [rax + 0x120], ecx
cmp dword [rsp + 0x70], 1
jne 0x1400e831e
test rsi, rsi
je 0x1400e8238
mov rbp, qword [r14]
lea r12, [rbx + 0xc0]
movzx r15d, word [r13]
test rbp, rbp
je 0x1400e7f21
cmp r15d, 0xf0
ja 0x1400e7f21
lea eax, [r15 - 0x10]
test eax, 0xffffffe7
jne 0x1400e7f21
cmp r15d, 0x28
je 0x1400e7f21
mov r14d, r15d
mov dword [rbp + 0xf4], r15d
shr r14d, 2
lea eax, [r14 + 6]
mov dword [rbp + 0xf0], eax
test r12, r12
je 0x1400e81ba
movups xmm0, xmmword [r12]
jmp 0x1400e81bd
xorps xmm0, xmm0
mov r8, r15
lea rdx, [rbx + 0x80]
mov rcx, rbp
movups xmmword [rbp + 0xf8], xmm0
call sub.VCRUNTIME140.dll_memcpy
test r14d, r14d
je 0x1400e8204
mov r9, rbp
mov r8d, r14d
mov ecx, dword [r9]
lea r9, [r9 + 4]
mov eax, ecx
rol ecx, 8
ror eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
mov dword [r9 - 4], ecx
sub r8, 1
jne 0x1400e81e1
xor r9d, r9d
lea rdx, [rbx + 0x80]
mov r8d, r15d
mov rcx, rbp
call fcn.1400da8b0
test r12, r12
je 0x1400e8225
movups xmm0, xmmword [r12]
jmp 0x1400e8228
xorps xmm0, xmm0
mov r13, qword [rsp + 0x68]
movups xmmword [rbp + 0xf8], xmm0
lea rbp, [rdi + 8]
test rdi, rdi
je 0x1400e84d9
mov rbp, qword [rbp]
lea r12, [rbx + 0xd0]
movzx r14d, word [r13]
test rbp, rbp
je 0x1400e7f21
cmp r14d, 0xf0
ja 0x1400e7f21
lea eax, [r14 - 0x10]
test eax, 0xffffffe7
jne 0x1400e7f21
cmp r14d, 0x28
je 0x1400e7f21
mov r15d, r14d
mov dword [rbp + 0xf4], r14d
shr r15d, 2
lea eax, [r15 + 6]
mov dword [rbp + 0xf0], eax
test r12, r12
je 0x1400e82a4
movups xmm0, xmmword [r12]
jmp 0x1400e82a7
xorps xmm0, xmm0
mov r8, r14
lea rdx, [rbx + 0xa0]
mov rcx, rbp
movups xmmword [rbp + 0xf8], xmm0
call sub.VCRUNTIME140.dll_memcpy
test r15d, r15d
je 0x1400e82f3
mov r10, rbp
mov r8d, r15d
nop dword [rax + rax]
mov ecx, dword [r10]
lea r10, [r10 + 4]
mov eax, ecx
rol ecx, 8
ror eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
mov dword [r10 - 4], ecx
sub r8, 1
jne 0x1400e82d0
lea rdx, [rbx + 0xa0]
mov r8d, r14d
mov r9d, 1
mov rcx, rbp
call fcn.1400da8b0
test r12, r12
je 0x1400e84cf
movups xmm0, xmmword [r12]
jmp 0x1400e84d2
test rsi, rsi
je 0x1400e8407
mov rbp, qword [r14]
lea r12, [rbx + 0xd0]
movzx r15d, word [r13]
test rbp, rbp
je 0x1400e7f21
cmp r15d, 0xf0
ja 0x1400e7f21
lea eax, [r15 - 0x10]
test eax, 0xffffffe7
jne 0x1400e7f21
cmp r15d, 0x28
je 0x1400e7f21
mov r14d, r15d
mov dword [rbp + 0xf4], r15d
shr r14d, 2
lea eax, [r14 + 6]
mov dword [rbp + 0xf0], eax
test r12, r12
je 0x1400e8389
movups xmm0, xmmword [r12]
jmp 0x1400e838c
xorps xmm0, xmm0
mov r8, r15
lea rdx, [rbx + 0xa0]
mov rcx, rbp
movups xmmword [rbp + 0xf8], xmm0
call sub.VCRUNTIME140.dll_memcpy
test r14d, r14d
je 0x1400e83d3
mov r9, rbp
mov r8d, r14d
mov ecx, dword [r9]
lea r9, [r9 + 4]
mov eax, ecx
rol ecx, 8
ror eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
mov dword [r9 - 4], ecx
sub r8, 1
jne 0x1400e83b0
xor r9d, r9d
lea rdx, [rbx + 0xa0]
mov r8d, r15d
mov rcx, rbp
call fcn.1400da8b0
test r12, r12
je 0x1400e83f4
movups xmm0, xmmword [r12]
jmp 0x1400e83f7
xorps xmm0, xmm0
mov r13, qword [rsp + 0x68]
movups xmmword [rbp + 0xf8], xmm0
lea rbp, [rdi + 8]
test rdi, rdi
je 0x1400e84d9
mov rbp, qword [rbp]
lea r12, [rbx + 0xc0]
movzx r14d, word [r13]
test rbp, rbp
je 0x1400e7f21
cmp r14d, 0xf0
ja 0x1400e7f21
lea eax, [r14 - 0x10]
test eax, 0xffffffe7
jne 0x1400e7f21
cmp r14d, 0x28
je 0x1400e7f21
mov r15d, r14d
mov dword [rbp + 0xf4], r14d
shr r15d, 2
lea eax, [r15 + 6]
mov dword [rbp + 0xf0], eax
test r12, r12
je 0x1400e8473
movups xmm0, xmmword [r12]
jmp 0x1400e8476
xorps xmm0, xmm0
mov r8, r14
lea rdx, [rbx + 0x80]
mov rcx, rbp
movups xmmword [rbp + 0xf8], xmm0
call sub.VCRUNTIME140.dll_memcpy
test r15d, r15d
je 0x1400e84c3
mov r9, rbp
mov r8d, r15d
nop word [rax + rax]
mov ecx, dword [r9]
lea r9, [r9 + 4]
mov eax, ecx
rol ecx, 8
ror eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
mov dword [r9 - 4], ecx
sub r8, 1
jne 0x1400e84a0
lea rdx, [rbx + 0x80]
jmp 0x1400e82fa
xorps xmm0, xmm0
movups xmmword [rbp + 0xf8], xmm0
test rsi, rsi
je 0x1400e84e2
mov byte [rsi + 0x21], 1
mov r13, qword [rsp + 0x68]
xor r15d, r15d
test rdi, rdi
je 0x1400e84f3
mov byte [rdi + 0x21], 1
cmp byte [r13 + 8], 7
jne 0x1400e8826
lea r14, [rsi + 8]
test rsi, rsi
je 0x1400e8546
mov rax, qword [r14]
test rax, rax
jne 0x1400e8536
mov rax, qword [0x140706608]
mov ecx, 0x1b0
test rax, rax
je 0x1400e8524
call rax
jmp 0x1400e852a
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r14], rax
test rax, rax
je 0x1400e8578
lea r14, [rsi + 8]
xor edx, edx
mov r8d, 0x1b0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
test rdi, rdi
je 0x1400e8596
mov rax, qword [rdi + 8]
test rax, rax
jne 0x1400e8582
mov rax, qword [0x140706608]
mov ecx, 0x1b0
test rax, rax
je 0x1400e8569
call rax
jmp 0x1400e856f
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rdi + 8], rax
test rax, rax
jne 0x1400e8582
mov eax, 0xffffff83
jmp 0x1400e8848
xor edx, edx
mov r8d, 0x1b0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea r14, [rsi + 8]
test rsi, rsi
je 0x1400e85e0
mov rax, qword [rsi + 8]
lea r14, [rsi + 8]
test rax, rax
je 0x1400e871f
mov rcx, qword [rsp + 0x78]
xorps xmm0, xmm0
mov qword [rax + 0x148], rcx
movups xmmword [rax + 0x134], xmm0
and byte [rax + 0x1ab], 0xf8
mov dword [rax + 0x144], r15d
mov dword [rax + 0xf4], r15d
mov dword [rax + 0x120], r15d
jmp 0x1400e85e5
mov rcx, qword [rsp + 0x78]
mov rbp, r14
test rdi, rdi
je 0x1400e862b
mov rax, qword [rdi + 8]
test rax, rax
je 0x1400e871f
xorps xmm0, xmm0
mov qword [rax + 0x148], rcx
movups xmmword [rax + 0x134], xmm0
and byte [rax + 0x1ab], 0xf8
lea rbp, [rsi + 8]
mov dword [rax + 0x144], r15d
mov dword [rax + 0xf4], r15d
mov dword [rax + 0x120], r15d
cmp dword [rsp + 0x70], 1
jne 0x1400e8729
test rsi, rsi
je 0x1400e86e6
movzx r8d, word [r13]
lea rdx, [rbx + 0x80]
mov rcx, qword [r14]
call fcn.1400dbaf0
test eax, eax
jne 0x1400e8848
cmp dword [rsp + 0x90], 0
lea rdx, [rbx + 0xc0]
movsd xmm0, qword [rdx]
mov eax, dword [rdx + 8]
movsd qword [rbx + 0xe8], xmm0
mov dword [rbx + 0xf0], eax
jne 0x1400e86e6
mov rbp, qword [rbp]
test rbp, rbp
je 0x1400e7f21
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400e7f21
test rdx, rdx
je 0x1400e7f21
mov eax, dword [rdx]
mov r8d, 8
lea rdx, [rbp + 0xfc]
mov dword [rbp + 0xf8], eax
call fcn.1400df7a0
test eax, eax
jne 0x1400e8848
or byte [rbp + 0x1ab], 4
mov qword [rbp + 0x118], 0
mov dword [rbp + 0x120], send
test rdi, rdi
je 0x1400e8814
movzx r8d, word [r13]
lea rdx, [rbx + 0xa0]
mov rcx, qword [rdi + 8]
call fcn.1400dbaf0
test eax, eax
jne 0x1400e8848
movsd xmm0, qword [rbx + 0xd0]
mov eax, dword [rbx + 0xd8]
jmp 0x1400e8806
mov eax, 0xffffff4a
jmp 0x1400e8848
test rsi, rsi
je 0x1400e87da
movzx r8d, word [r13]
lea rdx, [rbx + 0xa0]
mov rcx, qword [rbp]
call fcn.1400dbaf0
test eax, eax
jne 0x1400e8848
cmp dword [rsp + 0x90], 0
lea rdx, [rbx + 0xd0]
movsd xmm0, qword [rdx]
mov eax, dword [rdx + 8]
movsd qword [rbx + 0xe8], xmm0
mov dword [rbx + 0xf0], eax
jne 0x1400e87da
mov rbp, qword [rbp]
test rbp, rbp
je 0x1400e7f21
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400e7f21
test rdx, rdx
je 0x1400e7f21
mov eax, dword [rdx]
mov r8d, 8
lea rdx, [rbp + 0xfc]
mov dword [rbp + 0xf8], eax
call fcn.1400df7a0
test eax, eax
jne 0x1400e8848
or byte [rbp + 0x1ab], 4
mov qword [rbp + 0x118], 0
mov dword [rbp + 0x120], send
test rdi, rdi
je 0x1400e8814
movzx r8d, word [r13]
lea rdx, [rbx + 0x80]
mov rcx, qword [rdi + 8]
call fcn.1400dbaf0
test eax, eax
jne 0x1400e8848
movsd xmm0, qword [rbx + 0xc0]
mov eax, dword [rbx + 0xc8]
movsd qword [rbx + 0xf4], xmm0
mov dword [rbx + 0xfc], eax
test rsi, rsi
je 0x1400e881d
mov byte [rsi + 0x21], 1
test rdi, rdi
je 0x1400e8826
mov byte [rdi + 0x21], 1
test rsi, rsi
je 0x1400e8836
mov qword [rbx + 0x148], 0
test rdi, rdi
je 0x1400e8846
mov qword [rbx + 0x140], 0
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret