Function at 0x140134380
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], rcx
mov eax, dword [0x1401fb698]
mov edx, dword [str.K_W_]
mov ecx, eax
xor ecx, edx
xor edx, 0xffffffff
and eax, edx
shl eax, 1
sub eax, ecx
mov ecx, 0x8063f704
xor ecx, 0x8063f704
sub ecx, eax
xor eax, eax
sub eax, 0xf0b7e4d8
add ecx, eax
mov eax, 0xafbf042d
xor eax, 0xafbf042d
sub eax, ecx
mov r8d, 0xffffffff
xor r8d, 0x7e4998e6
mov edx, eax
and edx, r8d
mov ecx, eax
or ecx, r8d
mov r8d, 0x313548f3
xor r8d, 0xcecab70c
xor ecx, r8d
imul ecx, edx
mov edx, eax
and edx, 0x7e4998e6
or eax, 0x7e4998e6
imul eax, edx
add eax, ecx
mov ecx, 0xd7ea861f
xor ecx, 0xbfb9aa9d
and eax, ecx
cmp eax, 0x5aaa715f
je 0x140134800
mov eax, dword [0x1401fb6a0]
mov ecx, dword [0x1401fb6a4]
xor ecx, 0x432aaa1c
xor edx, edx
div ecx
mov ecx, 0x4ae3d304
xor edx, edx
div ecx
mov ecx, 0xa9b25c8a
xor edx, edx
div ecx
mov rdx, qword [rsp + 0x48]
mov ecx, 0xdded5081
xor ecx, 0x9f8933ec
or eax, ecx
mov ecx, 0xb36d3392
xor ecx, 0xd3c31d39
mov rdx, qword [rdx]
mov qword [rsp + 0x38], rdx
cmp rdx, 0
setg dl
mov byte [rsp + 0x47], dl
cmp eax, ecx
je 0x140134800
mov al, byte [rsp + 0x47]
test al, 1
jne 0x14013448f
jmp 0x14013479a
mov rcx, qword [rsp + 0x38]
mov rax, rcx
add rax, 1
mov qword [rsp + 0x30], rax
xor rcx, 0xffffffffffffffff
and rax, rcx
cmp rax, 0
jge 0x1401344bb
call fcn.140009cc0
jmp 0x14013479a
mov rax, qword [rsp + 0x30]
movabs rcx, 0xdc8199f87319066d
movabs rdx, 0xdc8199f87319066d
xor rcx, rdx
cmp rax, rcx
jge 0x1401344fd
mov rcx, qword [rsp + 0x30]
xor eax, eax
mov edx, eax
movabs r8, 0x7fffffffffffffff
call fcn.14000e57e
jmp 0x14013479a
mov rax, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x30]
mov rcx, qword [rdx + 8]
add rcx, 8
add rcx, qword [rdx]
mov rdx, qword [rax + 8]
add rdx, 8
call fcn.140132390
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x48]
mov r9, qword [rcx]
mov r8, qword [rax]
mov rax, r8
add rax, r9
mov qword [rsp + 0x28], rax
mov rcx, rax
xor rcx, 0xffffffffffffffff
mov rdx, r9
and rdx, rcx
movabs rcx, 0x525aa8f7e3f67155
movabs r10, 0xada557081c098eaa
xor rcx, r10
xor r9, rcx
mov rcx, rax
and rcx, r9
or rdx, rcx
movabs r9, 0xa7eed3911135195e
movabs rcx, 0x58112c6eeecae6a1
xor r9, rcx
mov rcx, rax
xor rcx, r9
mov r9, rax
xor r9, 0xffffffffffffffff
and rcx, r9
mov r9, r8
xor r9, 0xffffffffffffffff
mov r10, r8
xor r10, 0xffffffffffffffff
and r9, r10
movabs r10, 0xea291f9801d14285
movabs r11, 0x15d6e067fe2ebd7a
xor r10, r11
xor rcx, r10
xor r9, 0xffffffffffffffff
and rcx, r9
or rax, r8
xor rax, 0xffffffffffffffff
movabs r8, 0xc194596ed48de831
movabs r9, 0x3e6ba6912b7217ce
xor r8, r9
xor rcx, r8
movabs r8, 0xe3efeef507ce0fe
movabs r9, 0xf1c10110af831f01
xor r8, r9
xor rax, r8
and rcx, rax
movabs r8, 0x8ef30a49ec96f74
movabs rax, 0xf710cf5b6136908b
xor r8, rax
mov rax, rdx
xor rax, r8
xor rdx, 0xffffffffffffffff
and rax, rdx
or rcx, rcx
movabs rdx, 0xbccca8b0d3e27c01
movabs r8, 0x4333574f2c1d83fe
xor rdx, r8
xor rcx, rdx
xor rax, 0xffffffffffffffff
xor rcx, 0xffffffffffffffff
and rax, rcx
movabs rcx, 0xf8e37bea93e30015
movabs rdx, 0xf8e37bea93e30015
xor rcx, rdx
cmp rax, rcx
jge 0x14013467c
call fcn.140009cc0
jmp 0x14013479a
mov eax, dword [0x1401fb6a8]
xor edx, edx
div dword [0x1401fb6ac]
add eax, 0xa7bb775d
mov ecx, 0x3a35c559
xor ecx, 0x3a35c559
mov edx, 0x233a07dc
xor edx, 0x134a5353
sub ecx, edx
add eax, ecx
mov ecx, 0x14ccf10e
xor edx, edx
div ecx
mov ecx, 0x630a2ccc
xor ecx, 0xe7815979
cmp eax, ecx
je 0x140134809
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x28]
mov r8d, dword [0x1401fb6b0]
mov eax, 0x8df0df29
xor eax, 0x80536354
xor r8d, eax
xor r8d, dword [0x1401fb6b4]
mov eax, r8d
add eax, 1
mov r9d, 0x82ca83e1
xor r9d, 0x7d357c1e
xor r8d, r9d
mov r9d, 0x8e01f210
xor r9d, 0xd8e06675
or r8d, r9d
add r8d, eax
mov eax, r8d
and eax, 0xad2048ea
mov r9d, 0x37f3a7b6
xor r9d, 0x37f3a7b4
imul eax, r9d
xor r8d, 0xad2048ea
add r8d, eax
mov eax, r8d
xor eax, 0xffffffff
mov r9d, 0xf5883687
xor r9d, 0x940bc585
mov r10d, 0x3fb4b1c9
xor r10d, 0xc04b4e36
xor r9d, r10d
or eax, r9d
xor r8d, 0xffffffff
mov r9d, 0xffffffff
xor r9d, 0x6183f302
or r8d, r9d
mov r9d, 0xe96dad5d
xor r9d, 0x169252a2
xor eax, r9d
xor r8d, 0xffffffff
or eax, r8d
mov qword [rcx], rdx
cmp eax, 0x2752b2b5
ja 0x1401346c5
jmp 0x14013479a
mov eax, dword [0x1401fb6b8]
sub eax, dword [0x1401fb6bc]
sub eax, 0x8d786719
mov ecx, 0xea4b8ea5
xor edx, edx
div ecx
mov ecx, 0x2791330e
xor edx, edx
div ecx
mov ecx, 0xafab54ba
xor ecx, 0x820f5abe
cmp eax, ecx
ja 0x140134812
add byte [rbx + 0xc6eea05], cl
add byte [0x107168c24], dh
mov eax, dword [0x1401fb6c0]
xor eax, 0xc7034449
and eax, dword [0x1401fb6c4]
and eax, 0xf15ed2cc
xor eax, 0xecaa75fe
sub eax, 0x81760558
cmp eax, 0x9819bae1
je 0x1401347d0
invalid
add rsp, 0x58
ret
xor al, 0x4d
push rax
sub cl, 0x15
cld
invalid
jrcxz 0x1401347cf
cmpsb byte [rsi], byte [rdi]
jnp 0x1401347f7
mov bl, 0xfe
invalid
movabs dword [0xffffffb5e908651a], eax