Function at 0x140058ef0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x40], rcx
mov rax, qword [0x14028d330]
mov ecx, dword [rax]
call fcn.14000efc9
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
add rax, 0x60
mov qword [rsp + 0x58], rax
mov rax, qword [r8]
cmp rax, rdx
mov qword [rsp + 0x60], rax
jge 0x140058f7d
mov rax, qword [rsp + 0x50]
cmp rax, 0
jge 0x140058f61
mov rcx, qword [rsp + 0x50]
xor eax, eax
mov edx, eax
movabs r8, 0x7fffffffffffffff
call fcn.14001a720
jmp 0x140059141
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
call fcn.14002bfc0
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x60]
mov rax, qword [rax + 8]
movabs r8, 0x1bbbe1009bb82c0c
movabs rcx, 0x1bbbe1009bb82c0c
xor r8, rcx
add rax, 8
lea rcx, [0x140281f80]
cmp rdx, r8
cmove rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [0x14028d330]
mov ecx, dword [rax]
call fcn.14000efc9
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x50]
mov rax, qword [rsp + 0x40]
mov rcx, rax
call qword [rax + 0x38]
mov rcx, rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rcx
cmp byte [rax], 0
jne 0x140059141
mov ecx, dword [0x140274c70]
xor ecx, 0x7056841b
mov edx, dword [0x140274c74]
mov eax, ecx
and eax, edx
shl eax, 1
xor ecx, edx
add ecx, eax
mov eax, ecx
xor eax, 0xffffffff
mov edx, ecx
xor edx, 0xffffffff
and eax, edx
mov edx, 0xb3da0a30
or edx, 0xb3da0a30
xor edx, 0xffffffff
xor eax, 0xffffffff
xor edx, 0xffffffff
and eax, edx
xor ecx, 0xffffffff
mov edx, 0xffffffff
xor edx, 0xb3da0a30
and ecx, edx
or eax, ecx
xor eax, 0xffffffff
mov ecx, 0x1af3ded9
xor edx, edx
div ecx
mov ecx, 0x70a4b295
xor ecx, 0xa0bfc298
and eax, ecx
cmp eax, 0xe314b0a6
je 0x140059147
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
mov r8d, dword [0x140274c78]
or r8d, dword [0x140274c7c]
mov eax, r8d
and eax, 0xdf70a6a1
shl eax, 1
mov r9d, 0xa4de590
xor r9d, 0xd53d4331
xor r8d, r9d
add r8d, eax
mov r9d, 0x2a943bb6
xor r9d, 0x2b09a059
mov eax, r8d
and eax, r9d
xor r8d, 0x19d9bef
or eax, r8d
mov r8d, 0x8920fcad
xor r8d, 0x49244fec
add eax, r8d
cmp rcx, qword [rdx]
sete cl
mov byte [rsp + 0x2f], cl
cmp eax, 0x2d10537e
je 0x140059067
mov al, byte [rsp + 0x2f]
test al, 1
jne 0x140059141
jmp 0x1400590f0
add byte [rax], al
add byte [rax], al
mov rax, qword [rsp + 0x38]
movabs rcx, 0x958a195f91346d55
movabs rdx, 0x958a195f91346d55
xor rcx, rdx
cmp rax, rcx
jge 0x140059132
mov rcx, qword [rsp + 0x38]
xor eax, eax
mov edx, eax
movabs r8, 0x7fffffffffffffff
call fcn.14001a720
jmp 0x140059141
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
call fcn.14002bfc0
nop
add rsp, 0x68
ret
jnp 0x1400590ec
mov dword [rax - 0xe817], eax
dec dword [rax - 0x7d]
sub rsp, 0x48
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rcx
mov rax, qword [0x14028d330]
mov ecx, dword [rax]
call fcn.14000efc9
mov r8, qword [rsp + 0x40]
cmp r8, 0
jge 0x1400591a2
mov rcx, qword [rsp + 0x40]
xor eax, eax
mov edx, eax
movabs r8, 0x7fffffffffffffff
call fcn.14001a720
jmp 0x1400591c5
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
call fcn.140034600
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x30]
call fcn.140058ef0
mov ecx, dword [0x140274c80]
or ecx, dword [0x140274c84]
mov eax, 0x6b6d5cd2
xor eax, 0xe291da64
or ecx, eax
mov eax, ecx
and eax, 0xe20929fe
or ecx, 0xe20929fe
add eax, ecx
mov ecx, 0x67b99256
xor edx, edx
div ecx
cmp eax, 0x7ae0390c
je 0x140059245
mov eax, dword [0x140274c88]
mov ecx, dword [0x140274c8c]
xor ecx, 0xb61e474
xor eax, ecx
mov ecx, 0x1f965c91
xor edx, edx
div ecx
xor eax, 0x3f0ef6d5
imul eax, eax, 0xd914afe4
mov ecx, 0x80e1adcf
xor ecx, 0x4db1acc9
cmp eax, ecx
jae 0x140059245
mov rax, qword [rsp + 0x38]
add rsp, 0x48
ret
push 0xffffffffffffffaf
in eax, 0xe9
mov dl, 0xff
invalid