Function at 0x140054060
Capabilities:
Encode data using xor

Disassembly:
add byte [rax], 0
add byte [rdx + rax], bh
je 0x1400352b6
jmp 0x140035287
mov r15, rbx
add r15, 0x30
mov rcx, rbx
add rcx, 0x48
cmp qword [rbx + 0x48], 0xffffffffffffffff
jne 0x14003529e
ud2
call fcn.1400824f0
mov rdi, rdx
cmp rax, 0
je 0x1400352ae
jmp 0x1400352b6
cmp rdi, 0
je 0x1400352f9
jmp 0x1400352b6
add rbx, 0x30
mov rcx, rbx
call fcn.140034d30
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x38], rax
mov byte [r13], 1
mov r15d, 2
jmp 0x1400353c2
mov r15, qword [r15]
mov rdi, qword [rbx + 0x38]
mov rax, qword [rbx + 0x40]
mov qword [rsp + 0x28], rax
mov rax, qword [rbx + 0x48]
mov qword [rsp + 0x30], rax
mov rax, qword [rbx + 0x50]
mov qword [rsp + 0x38], rax
mov byte [r13], 1
cmp r15, 3
je 0x1400353ed
jmp 0x1400353c2
mov byte [r12], al
add rsp, 0xf0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [0x1400e5c40]
xor eax, dword [0x1400e5c44]
xor eax, 0xb0c3d73b
mov ecx, 0x3fba1114
xor edx, edx
div ecx
and eax, 0xa7197264
cmp eax, 0x301e2ad5
je 0x140035460
mov eax, dword [0x1400e5c48]
imul eax, dword [0x1400e5c4c]
and eax, 0xd2969c4b
or eax, 0xbb388f5f
or eax, 0x6ab7ecbf
mov qword [rsi], r15
mov qword [rsi + 8], rdi
mov rcx, qword [rsp + 0x40]
mov qword [rsi + 0x10], rcx
mov rcx, qword [rsp + 0x48]
mov qword [rsi + 0x18], rcx
mov rcx, qword [rsp + 0x50]
mov qword [rsi + 0x20], rcx
cmp eax, 0x12126ab2
je 0x140035460
mov al, 1
jmp 0x14003532f
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rcx, r14
call fcn.140034f10
jmp 0x140035346
mov eax, dword [0x1400e5c50]
sub eax, dword [0x1400e5c54]
sub eax, 0x4cdf3e40
add eax, 0x5de93a9d
sub eax, 0xe482ff9e
cmp eax, 0x2a40529f
jbe 0x140035493
jmp 0x140035415
mov eax, dword [0x1400e5c58]
xor edx, edx
div dword [0x1400e5c5c]
xor eax, 0x91eddf5a
or eax, 0x64c094cb
xor eax, 0xc8e46e6c
mov qword [rsi], 3
cmp eax, 0x287df5a5
jbe 0x140035415
mov al, 3
jmp 0x14003532f
jrcxz 0x1400354a6
invalid
mov r12, r9
invalid
jmp 0x140035413
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rsi, r8
mov bl, dl
mov rdi, rcx
mov eax, dword [str.__cw]
or eax, dword [0x1400e7384]
sub eax, 0xd02b6cda
imul eax, eax, 0xf793b6be
imul eax, eax, 0xfb06f762
cmp eax, 0x2c76a9cb
je 0x14005427e
mov eax, dword [0x1400e7388]
add eax, dword [0x1400e738c]
and eax, 0xfdfe5ee6
mov ecx, 0xb7ec0422
xor edx, edx
div ecx
xor eax, 0xc7c1b45a
cmp bl, 0
sete cl
cmp rsi, 0
setl r8b
cmp eax, 0x17d2438b
jbe 0x14005427e
test cl, 1
jne 0x1400540d9
jmp 0x14005411b
xor ecx, ecx
test r8b, 1
jne 0x140054210
jmp 0x1400540e7
mov r14d, 1
cmp rsi, 0
je 0x14005420e
mov rcx, rsi
mov edx, 1
call fcn.140063a20
mov r14, rax
mov ecx, 1
cmp r14, 0
je 0x140054210
jmp 0x14005420e
mov eax, dword [0x1400e7390]
xor edx, edx
div dword [0x1400e7394]
xor eax, 0xa5cdd3b0
add eax, 0xef941f12
or eax, 0x507b7687
cmp eax, 0xd08b34ba
jbe 0x14005428b
jmp 0x140054145
mov eax, dword [0x1400e7398]
and eax, dword [0x1400e739c]
mov ecx, 0x4be69b99
xor edx, edx
div ecx
sub eax, 0x7e03d667
xor eax, 0xcb93054a
cmp eax, 0xf8e89ee6
je 0x140054145
xor ecx, ecx
test r8b, 1
jne 0x1400541a4
jmp 0x140054175
mov r14d, 1
cmp rsi, 0
je 0x1400541ac
mov al, byte [0x1400e8bf0]
mov rcx, rsi
mov edx, 1
call fcn.1400639f0
mov r14, rax
mov ecx, 1
cmp r14, 0
je 0x1400541a4
jmp 0x1400541ac
mov rdx, rsi
call fcn.14006f020
mov eax, dword [0x1400e73a0]
imul eax, dword [0x1400e73a4]
add eax, 0xd9e068a5
imul eax, eax, 0x8e7437f0
imul eax, eax, 0xefbe2ce3
cmp eax, 0x5fcd847
jbe 0x140054298
mov ebp, dword [0x1400e73a8]
xor ebp, dword [0x1400e73ac]
sub ebp, 0xd56a33df
and ebp, 0x8f19d2af
or ebp, 0x78125d3f
mov rcx, r14
mov dl, bl
mov r8, rsi
call fcn.1400be7c0
cmp ebp, 0xb48f6698
jbe 0x140054298
jmp 0x140054218
jmp 0x140054218
mov rdx, rsi
call fcn.14006f020
mov eax, dword [0x1400e73b0]
sub eax, dword [0x1400e73b4]
and eax, 0x3b7a714a
sub eax, 0x775cff47
xor eax, 0x7650ca11
cmp eax, 0x1a65f462
jbe 0x1400542b2
mov eax, dword [0x1400e73b8]
imul eax, dword [0x1400e73bc]
sub eax, 0x5a34da50
mov ecx, 0x409e2e2f
xor edx, edx
div ecx
mov ecx, 0x7c17fd17
xor edx, edx
div ecx
mov qword [rdi], rsi
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], rsi
cmp eax, 0xf5848655
jae 0x1400542b2
mov rax, rdi
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
and eax, 0xdfc3f322
adc ebx, ecx
jmp 0x140035273
xchg edi, eax
mov edx, dword [rbx]
frstor dword [rax]
jge 0x14005427d
stosd dword [rdi], eax
invalid
mov dh, byte [rsi - 0x5f]
ror byte [rax + riz*4 - 0x76b3fc92], 0xf1
mov dl, bl
mov r8, rsi
call fcn.1400be7c0
jmp 0x1400541d5
invalid