Function at 0x1400d9940
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
push rax
mov rbp, rsp
mov rsi, rcx
mov eax, dword [0x141dd9610]
or eax, dword [0x141dd9614]
or eax, 0xe46200a8
and eax, 0xe46730ee
imul rax, rax, 0x1f00b4a5
shr rax, 0x3c
cmp eax, 0xee97451e
ja 0x1400d99ba
mov eax, dword [0x141dd9618]
xor edx, edx
div dword [0x141dd961c]
mov ecx, 0x8795deb1
imul rcx, rax
shr rcx, 0x3f
imul ecx, ecx, 0x11930b30
add ecx, 0x10805e6b
mov eax, 0x20
call fcn.1400f07c0
sub rsp, rax
mov rbx, rsp
cmp ecx, 0xe1c70120
jbe 0x1400d99c9
mov eax, 0x20
call fcn.1400f07c0
sub rsp, rax
jmp 0x1400d997b
mov eax, 0x20
call fcn.1400f07c0
sub rsp, rax
mov r14, rsp
mov rcx, qword [rsi]
cmp rcx, 0xffffffffffffffff
je 0x1400d9c74
lea rax, [rcx + 1]
lea rdx, [rcx + rcx]
cmp rdx, rax
cmova rax, rdx
cmp rax, 5
mov edi, 4
cmovae rdi, rax
mov edx, 0x70
mov rax, rdi
mul rdx
mov r15, rax
seto al
movabs rdx, 0x7ffffffffffffff8
nop dword [rax]
mov r9d, dword [0x141dd9620]
xor r9d, dword [0x141dd9624]
add r9d, 0x327172b7
cmp r15, rdx
seta r8b
cmp r9d, 0xcf07edbb
jb 0x1400d9a20
or al, r8b
xor edx, edx
nop word [rax + rax]
test dl, dl
jne 0x1400d9a50
test al, al
jne 0x1400d9c74
nop dword [rax]
mov eax, dword [0x141dd9628]
xor edx, edx
div dword [0x141dd962c]
imul rax, rax, 0x18476599
shr rax, 0x3b
add eax, 0xd2d3d511
cmp eax, 0xf3e476b4
ja 0x1400d9a60
nop word cs:[rax + rax]
mov eax, dword [0x141dd9630]
xor edx, edx
div dword [0x141dd9634]
xor eax, 0x13833198
add eax, 0x96c084a4
or eax, 0x651ac319
cmp eax, 0x5aadde3c
je 0x1400d9a90
test rcx, rcx
je 0x1400d9ae0
mov eax, dword [0x141dd9638]
xor edx, edx
div dword [0x141dd963c]
imul eax, eax, 0x467b8591
add eax, 0x9edd3319
and eax, 0xdcdaacd3
cmp eax, 0x6de6db39
jae 0x1400d9ae5
jmp 0x1400d9b11
xor r13d, r13d
jmp 0x1400d9b62
mov eax, dword [0x141dd9640]
mov edx, dword [0x141dd9644]
add eax, edx
add eax, 0xbfdc93d5
imul rax, rax, 0x133bf5bb
shr rax, 0x3c
mov rdx, qword [rsi + 8]
mov qword [rbx], rdx
cmp eax, 0x22b404bd
jne 0x1400d9b1a
mov rax, qword [rsi + 8]
mov qword [rbx], rax
jmp 0x1400d9ae5
imul rax, rcx, 0x70
mov ecx, 0xd1271bcb
nop word cs:[rax + rax]
mov edx, dword [str.D.__Pbf]
and edx, dword [0x141dd964c]
imul rdx, rcx
shr rdx, 0x3d
xor edx, 0x620a8209
or edx, 0x81c53d76
cmp edx, 0xe4b936d5
ja 0x1400d9b30
mov qword [rbx + 0x10], rax
mov r13d, 8
mov eax, dword [0x141dd9650]
or eax, dword [0x141dd9654]
or eax, 0x1df282ec
imul eax, eax, 0xf12662dd
or eax, 0xa2f738ab
cmp eax, 0xa53b283d
je 0x1400d9bcc
mov eax, dword [0x141dd9658]
xor edx, edx
div dword [0x141dd965c]
mov r12d, eax
and r12d, 0x6d008000
add r12d, 0xc30cdd3e
mov qword [rbx + 8], r13
sub rsp, 0x20
mov edx, 8
mov rcx, r14
mov r8, r15
mov r9, rbx
call fcn.1400c1ab0
add rsp, 0x20
cmp r12d, 0xf6e1490a
jbe 0x1400d9bed
mov qword [rbx + 8], r13
sub rsp, 0x20
mov edx, 8
mov rcx, r14
mov r8, r15
mov r9, rbx
call fcn.1400c1ab0
add rsp, 0x20
jmp 0x1400d9b85
cmp qword [r14], 0
jne 0x1400d9c30
mov rax, qword [r14 + 8]
mov qword [rsi + 8], rax
mov eax, dword [0x141dd9678]
imul eax, dword [0x141dd967c]
xor eax, 0x6d5b4c0d
imul rax, rax, 0x1109f82f
shr rax, 0x3c
cmp eax, 0x395383c6
jbe 0x1400d9ca7
jmp 0x1400d9cce
mov eax, dword [0x141dd9660]
add eax, dword [str.d.0]
imul eax, eax, 0x55b9acd0
cmp eax, 0xe2b28938
je 0x1400d9c30
nop dword [rax]
mov eax, dword [0x141dd9668]
xor edx, edx
div dword [0x141dd966c]
and eax, 0x47cd0750
add eax, 0xf4794289
and eax, 0x504b4a10
cmp eax, 0x2483de7d
jb 0x1400d9c50
ud2
mov eax, dword [0x141dd9680]
imul eax, dword [0x141dd9684]
imul eax, eax, 0x117e6d92
add eax, 0x12da83b0
and eax, 0xecb524c4
mov qword [rsi], rdi
cmp eax, 0xd5f1af1e
jbe 0x1400d9cd3
mov qword [rsi], rdi
jmp 0x1400d9ca7
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret