Function at 0x1400c5160
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov dword [rbp - 0xc], r8d
mov qword [rbp - 8], rdx
mov qword [rbp], rcx
mov eax, dword [0x140110ba0]
imul eax, dword [0x140110ba4]
or eax, 0x54dcaf73
xor eax, 0x8ba2e1e5
or eax, 0x7e71b056
cmp eax, 0xc62dff79
je 0x1400c53dc
mov r8d, dword [rbp - 0xc]
mov r10, qword [rbp - 8]
mov rsi, qword [rbp]
mov eax, dword [0x140110ba8]
mov ecx, dword [0x140110bac]
xor edx, edx
div ecx
add eax, 0x4297adb2
and eax, 0x2d9b3023
mov dword [rbp - 0x1c], eax
mov eax, 0x10
mov qword [rbp - 0x30], rax
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x30]
mov r11, rsp
mov qword [rbp - 0x40], r11
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x30]
mov r9, rsp
mov qword [rbp - 0x38], r9
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x30]
mov rdx, rsp
mov qword [rbp - 0x28], rdx
call fcn.1400ec140
sub rsp, rax
mov eax, dword [rbp - 0x1c]
mov rcx, rsp
mov qword [rbp - 0x18], rcx
mov qword [r11], rsi
mov qword [r9], r10
mov dword [rdx], r8d
mov dword [rcx], 0
cmp eax, 0x8196c6bf
ja 0x1400c519e
jmp 0x1400c523a
mov eax, dword [0x140110bb0]
xor edx, edx
div dword [0x140110bb4]
or eax, 0xdbe343f6
add eax, 0x920af50d
or eax, 0x2150764a
cmp eax, 0x32c4d458
jb 0x1400c543b
mov rcx, qword [rbp - 0x18]
mov eax, dword [0x140110bb8]
imul eax, dword [0x140110bbc]
or eax, 0xbbbe47e9
mov r8d, 0x56f001ec
xor edx, edx
div r8d
mov rdx, qword [rbp - 0x28]
sub eax, 0xf5902006
mov ecx, dword [rcx]
cmp ecx, dword [rdx]
setb cl
mov byte [rbp - 0x41], cl
cmp eax, 0x7e5c34e6
jae 0x1400c543b
mov al, byte [rbp - 0x41]
test al, 1
jne 0x1400c52b1
jmp 0x1400c5388
mov eax, dword [0x140110bc0]
and eax, dword [0x140110bc4]
imul eax, eax, 0xaca3f190
xor eax, 0x4396da12
or eax, 0x7b719121
cmp eax, 0xd5d8cd09
ja 0x1400c5440
mov rcx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x38]
mov eax, dword [0x140110bc8]
or eax, dword [0x140110bcc]
sub eax, 0x6b91dcde
mov r9d, 0x6778328f
xor edx, edx
div r9d
mov rdx, qword [rbp - 0x18]
and eax, 0x5973b206
mov r8, qword [r8]
mov r9d, dword [rdx]
mov r8b, byte [r8 + r9]
mov rcx, qword [rcx]
mov edx, dword [rdx]
mov byte [rcx + rdx], r8b
cmp eax, 0x2af453c5
jae 0x1400c52d8
jmp 0x1400c5328
mov eax, dword [0x140110bd0]
sub eax, dword [0x140110bd4]
xor eax, 0xca565347
add eax, 0x9f80b137
add eax, 0x9c56156e
cmp eax, 0x71a282aa
jae 0x1400c5463
mov rcx, qword [rbp - 0x18]
mov eax, dword [0x140110bd8]
xor edx, edx
div dword [0x140110bdc]
and eax, 0x77f782ea
imul eax, eax, 0x42d7b6c4
imul eax, eax, 0x3cfd92e3
mov edx, dword [rcx]
add edx, 1
mov dword [rcx], edx
cmp eax, 0x1feeadca
je 0x1400c534e
jmp 0x1400c523a
mov eax, dword [0x140110be0]
sub eax, dword [0x140110be4]
sub eax, 0x98ffef89
add eax, 0x2fb69f0b
imul eax, eax, 0x93c6be94
cmp eax, 0xcc4b422b
jbe 0x1400c5473
mov eax, dword [0x140110be8]
or eax, dword [0x140110bec]
sub eax, 0xdcb8e618
add eax, 0x96fa9c
xor eax, 0x9dba3f4e
cmp eax, 0x970b74a9
jbe 0x1400c53af
lea rsp, [rbp + 8]
pop rsi
pop rbp
ret
mov edx, dword [rbp - 0xc]
mov r9, qword [rbp - 8]
mov r11, qword [rbp]
mov eax, 0x10
mov qword [rbp - 0x50], rax
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x50]
mov r10, rsp
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x50]
mov r8, rsp
call fcn.1400ec140
sub rsp, rax
mov rax, qword [rbp - 0x50]
mov rcx, rsp
call fcn.1400ec140
sub rsp, rax
mov rax, rsp
mov qword [r10], r11
mov qword [r8], r9
mov dword [rcx], edx
mov dword [rax], 0
jmp 0x1400c519e
jmp 0x1400c5262
mov rcx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
mov rdx, qword [rdx]
mov r8d, dword [rcx]
mov dl, byte [rdx + r8]
mov rax, qword [rax]
mov ecx, dword [rcx]
mov byte [rax + rcx], dl
jmp 0x1400c52d8
mov rax, qword [rbp - 0x18]
mov ecx, dword [rax]
add ecx, 1
mov dword [rax], ecx
jmp 0x1400c534e
jmp 0x1400c53af