Function at 0x1400a4130
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2d8
mov ebp, r9d
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movabs rax, 0x700000000
mov qword [rsp + 0x44], rax
mov word [rsp + 0x54], 0
mov qword [rsp + 0x4c], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 1
mov eax, r9d
or eax, 0x2000000
mov dword [rsp + 0x40], eax
lea r8, [rsp + 0x30]
mov rcx, rdx
mov rdx, rdi
call fcn.140098e00
mov rbx, rdx
test rax, rax
je 0x1400a43f7
nop dword [rax + rax]
mov eax, dword [0x141f3ed08]
and eax, dword [0x141f3ed0c]
imul eax, eax, 0x176e57cd
add eax, 0xa461fc86
cmp eax, 0x1e3cf3ee
jb 0x1400a41b0
mov eax, ebx
and eax, 3
nop word cs:[rax + rax]
mov ecx, dword [0x141f3ed10]
or ecx, dword [0x141f3ed14]
and ecx, 0x33008220
xor ecx, 0x4180a422
or ecx, 0x881f594c
cmp ecx, 0x25d83769
jb 0x1400a41e0
cmp eax, 2
jb 0x1400a4390
cmp eax, 2
jne 0x1400a4360
mov rax, rbx
shr rax, 0x20
xor ecx, ecx
nop word cs:[rax + rax]
test cl, cl
jne 0x1400a4230
nop word cs:[rax + rax]
mov ecx, dword [0x141f3ed20]
imul ecx, dword [0x141f3ed24]
imul rcx, rcx, 0x165dde89
shr rcx, 0x3c
imul ecx, ecx, 0x7a75792c
cmp ecx, 0x8e9bc7d1
ja 0x1400a4240
cmp eax, 5
je 0x1400a4274
cmp eax, 0x20
jne 0x1400a4390
movabs r15, 0x8000000000000000
lea rcx, [rsp + 0x70]
mov rdx, r14
mov r8, rdi
call fcn.1400965b0
mov r12, qword [rsp + 0x70]
mov eax, dword [0x141f3ed40]
xor ecx, ecx
xor edx, edx
div dword [0x141f3ed44]
nop word cs:[rax + rax]
test cl, cl
jne 0x1400a42b0
mov rdi, qword [rsp + 0x78]
cmp r12, r15
jne 0x1400a4482
nop word cs:[rax + rax]
mov eax, dword [0x141f3ed48]
or eax, dword [0x141f3ed4c]
xor eax, 0x210283c0
or eax, 0xde59543d
add eax, 0x5ce3e2b9
cmp eax, 0x2870bd68
jb 0x1400a42d0
nop word cs:[rax + rax]
mov eax, dword [0x141f3ed50]
sub eax, dword [0x141f3ed54]
and eax, 0xa30da510
add eax, 0xd027eea6
xor eax, 0xfdb3cd05
cmp eax, 0x17366170
ja 0x1400a4300
nop word cs:[rax + rax]
mov eax, dword [0x141f3ed58]
xor edx, edx
div dword [0x141f3ed5c]
add eax, 0xc9f73628
xor eax, 0x3bbede38
add eax, 0xcf2f2cd
cmp eax, 0xaf56085a
jbe 0x1400a4330
jmp 0x1400a4579
mov eax, dword [0x141f3ed18]
xor eax, dword [0x141f3ed1c]
imul rax, rax, 0x37a30079
shr rax, 0x3b
add eax, 0xcdb58106
or eax, 0x53d77a12
cmp eax, 0xc12d17d9
jb 0x1400a4360
nop dword [rax + rax]
mov eax, dword [0x141f3ed28]
add eax, dword [0x141f3ed2c]
or eax, 0x2a25d820
shr eax, 4
imul rax, rax, 0x40274ff
shr rax, 0x35
xor eax, 0x3a42f5ef
cmp eax, 0x9888f6b
jb 0x1400a4390
mov qword [rsi + 8], rbx
mov eax, dword [0x141f3ed30]
xor edx, edx
div dword [0x141f3ed34]
mov ecx, 0xeb74719b
imul rcx, rax
shr rcx, 0x3e
mov eax, dword [0x141f3ecf0]
sub eax, dword [0x141f3ecf4]
xor eax, 0xa64959b9
add eax, 0xa7d04795
cmp eax, 0x8bed8f29
jae 0x1400a4420
mov rcx, rsi
mov rdx, rbx
call fcn.1400998d0
nop
mov eax, dword [0x141f3ecf8]
xor eax, dword [0x141f3ecfc]
imul edi, eax, 0x3a2792d9
add edi, 0x60307430
and edi, 0x80da9f34
mov rcx, rsi
mov rdx, rbx
call fcn.1400998d0
cmp edi, 0xb7b2ed7f
ja 0x1400a4420
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop word [rax + rax]
mov eax, dword [0x141f3ed00]
and eax, dword [0x141f3ed04]
and eax, 0x8836d089
xor eax, 0x1ddb8f0b
cmp eax, 0xc7baeac4
ja 0x1400a4460
jmp 0x1400a4ac7
mov r13, qword [rsp + 0x80]
mov ecx, 0x90fac911
nop
mov eax, dword [0x141f3ed60]
xor edx, edx
div dword [0x141f3ed64]
imul rax, rcx
shr rax, 0x3f
or eax, 0xba25e95e
cmp eax, 0x31a8a231
jb 0x1400a4490
mov dword [rsp + 0x2c], ebp
mov eax, dword [0x141f3ed68]
xor edx, edx
div dword [0x141f3ed6c]
mov ecx, 0x99102375
imul rcx, rax
shr rcx, 0x3e
imul eax, ecx, 0xf67593d2
cmp eax, 0x7da3a519
jbe 0x1400a450b
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x98], r13
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x88]
mov r8b, 1
call fcn.14009a1f0
lea r14, [rsp + 0x58]
lea r15, [rsp + 0x88]
mov rbp, rdi
nop dword [rax + rax]