Function at 0x140058b40
Capabilities:
Encode data using xor

Disassembly:
xchg rsp, rbx
mov rax, rbx
xchg rbx, rsp
nop
push r15
mov qword [rsp], rbp
nop
sub rsp, 8
mov qword [rsp], rdi
neg rsp
sub rsp, 0xffffffffffffffa8
neg rsp
movabs rbp, 0xd6313e35d9206bd
xor rbp, 0x4000b840
xor rbp, 0x4c4461df
sub rbp, 0x1a036db4
xchg rbp, rcx
mov rdi, rbp
xchg rcx, rbp
cmp qword [rcx + 0x38], rbp
jne 0x140059066
mov dword [rsp - 0x38], ecx
mov qword [rax + 0x10], rbx
xchg r11, rsi
mov qword [rax + 0x18], r11
xchg rsi, r11
xor esi, esi
mov rsp, rsp
mov dword [rax - 0x48], 0x26316ab9
xor dword [rax - 0x48], 0x323758ca
add dword [rax - 0x48], 0x58380177
xor dword [rax - 0x48], 0x6c123391
mov dword [rax - 0x44], 0x643192e5
xor dword [rax - 0x44], 0x250436e0
add dword [rax - 0x44], 0xd89c402
sub dword [rax - 0x44], 0x4e9c6723
mov dword [rax - 0x40], 0x6a7bf0cf
sub dword [rax - 0x40], 0xa9fc8c5
xor dword [rax - 0x40], 0x5a614e54
sub dword [rax - 0x40], 0x5556601
mov dword [rax - 0x3c], 0x3d1fdc46
sub dword [rax - 0x3c], 0x37b90f5b
add dword [rax - 0x3c], 0x48d8a458
sub dword [rax - 0x3c], 0x4e0a709a
mov dword [rax - 0x38], 0x643fb291
sub dword [rax - 0x38], 0x1d95ea9c
sub dword [rax - 0x38], 0x292c8892
xor dword [rax - 0x38], 0x1d4d3f26
xchg rsi, r13
mov qword [rsp + 0x70], r13
xchg rsi, r13
mov rax, qword [rsp + 0x70]
nop word [rax + rax]
xchg r8, rcx
mov r8, qword [rsp + 0x70]
xchg r8, rcx
mov rax, qword [rsp + 0x70]
and cl, 3
xchg r12, r12
shl cl, 1
shl cl, 2
movzx edx, word [rsp + rax*2 + 0x20]
mov dword [rsp - 0x40], 0x34f384a7
mov eax, 0x65ec3df2
xor eax, 0x663bbd66
add eax, 0x653a0dde
sub eax, 0x38a4f96e
add eax, 0x211ac725
shr eax, cl
movzx ecx, al
mov dword [rsp - 0x1c], esi
mov rax, qword [rsp + 0x70]
xor cx, dx
mov word [rsp + rax*2 + 0x34], cx
xchg rbx, rax
mov rbx, qword [rsp + 0x70]
xchg rbx, rax
inc rax
mov dword [rsp - 0x24], edi
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
cmp rax, 0xa
xchg r9, r9
jb 0x140058c31
xor edx, edx
mov word [rsp + 0x48], si
mov dword [rsp - 0x18], esi
lea rcx, [rsp + 0x34]
call fcn.14007c6a0
mov rdx, rax
mov dword [rsp - 0x40], 0x5f98199c
xchg rbx, r15
mov r15, rax
xchg r15, rbx
xor rdx, rbp
xor eax, eax
mov dword [rsp - 0x24], 0x42df33f5
xchg rsp, rdx
mov qword [rdi + 0x38], rsp
xchg rsp, rdx
lea rdi, [rsp + 0x34]
mov ecx, 0x130beab
add ecx, 0x648f42a6
sub ecx, 0x4cf868b6
sub ecx, 0x18c79891
rep stosb byte [rdi], al
mov dword [rsp - 0x2c], edi
cmp rdx, rbp
je 0x140059038
mov edx, 0x2390f440
add edx, 0x521b7eea
xor edx, 0x79aafaaa
add edx, 0x12421851
xor edx, 0x912e9539
xchg r14, rbp
mov qword [rsp + 0x50], rbp
xchg rbp, r14
mov rcx, rbx
call fcn.1400758b0
mov dword [rsp - 0x20], ecx
test rax, rax
je 0x140058de8
movabs rcx, 0x6f5996a4328417bc
add rcx, 0xbeafb32
sub rcx, 0x2bc99eda
add rcx, 0xdd88ffa
mov edi, esi
mov dword [rsp - 0x2c], ebp
xor rax, rcx
movabs rcx, 0x72a2ea4c36a59cb2
xor rcx, 0x5624c82f
sub rcx, 0x5af1021b
add rcx, 0x78b47eb1
add rcx, 0x2b933bf7
ror rax, 4
ror rax, 1
ror rax, 1
xor rax, rcx
mov dword [rsp - 0x14], edx
movabs rcx, 0x42d8495959daed
add rcx, 0x2b112d5
add rcx, 0x1365092d
xor rcx, 0x761f5e45
sub rax, rcx
mov qword [0x1404a75d0], rax
mov dword [rsp - 0x10], edi
jmp 0x140058e05
mov edi, 0x5756486b
add edi, 0x25ac5790
xor edi, 0x36f25daf
xor edi, 0x2d78a37f
xor edi, 0x6688612a
mov edx, 0x5071e8fc
sub edx, 0x23b0f97d
sub edx, 0x2ca82e7a
xor edx, 0x49714a0a
add edx, 0x2ea48b58
xchg rbx, rcx
mov rbx, rcx
xchg rbx, rcx
call fcn.1400758b0
test rax, rax
je 0x140058e70
mov dword [rsp - 0x1c], edi
not rax
mov r14d, esi
rol rax, 6
rol rax, 3
not rax
ror rax, 6
ror rax, 1
ror rax, 0xa
ror rax, 1
mov qword [0x1404a75d8], rax
mov dword [rsp - 0xc], 0x3b1d720e
jmp 0x140058e92
mov r14d, 0x2f249c39
add r14d, 0x3c884130
xor r14d, 0x39431e0a
xor r14d, 0x2abaa778
sub r14d, 0x7855641a
mov edx, 0x710bbebb
xor edx, 0x1c91d0c8
xor edx, 0x6576c311
add edx, 0x9fa444b6
xchg rbx, rsp
mov rcx, rsp
xchg rsp, rbx
call fcn.1400758b0
test rax, rax
mov rsi, rsi
je 0x140058f59
rol rax, 0x17
rol rax, 0xd
rol rax, 0xc
rol rax, 1
rol rax, 1
rol rax, 1
movabs rcx, 0x70ed3044338710a9
xor rcx, 0x7685d3a7
add rcx, 0x1c8d76c7
xor rcx, 0x2c3d4afa
sub rcx, 0x1cc2cd3f
xor rax, rcx
xchg r12, r12
mov ebp, esi
movabs rcx, 0x1deb1efd25c00c0f
add rcx, 0x3cfa3626
sub rcx, 0x4f9f0bca
add rcx, 0x4abd0c15
add rcx, 0x14ee5ef2
add rax, rcx
mov dword [rsp - 0xc], ecx
ror rax, 0xd
ror rax, 2
ror rax, 5
ror rax, 1
ror rax, 1
mov qword [0x1404a75e0], rax
mov dword [rsp - 0x18], 0x31f5c53a
jmp 0x140058f76
mov ebp, 0x4dc9e710
xor ebp, 0x70f74ee3
xor ebp, 0x5d1ac8a2
add ebp, 0x1962ebac
sub ebp, 0x79874cfc
mov edx, 0x540a7ee
add edx, 0x65925707
sub edx, 0x48c69d4a
add edx, 0x648183aa
mov rcx, rbx
xchg r14, r14
call fcn.1400758b0
test rax, rax
je 0x140059005
not rax
mov dword [rsp - 0x14], 0x7800bc13
movabs rcx, 0x61aba89e51bde6ef
add rcx, 0x2cc4ec09
sub rcx, 0x1ac52089
sub rcx, 0x316a8cda
add rcx, 0x7fffffff
sub rcx, 0x242a2d80
rol rax, 0xc
rol rax, 0x2a
rol rax, 1
rol rax, 1
add rax, rcx
ror rax, 0xf
ror rax, 1
mov qword [0x1404a75e8], rax
mov dword [rsp - 0x28], 0x13e2a3cb
jmp 0x14005901c
mov esi, 0x684d37ea
sub esi, 0x16c7d0eb
add esi, 0x26edd222
sub esi, 0x78733920
or edi, r14d
mov dword [rsp - 0xc], ebp
xchg r13, r14
mov r13, qword [rsp + 0x50]
xchg r13, r14
or edi, ebp
mov rsi, rsi
or edi, esi
sete al
mov rbx, qword [rsp + 0x78]
xchg r10, rsi
mov r10, qword [rsp + 0x80]
xchg rsi, r10
nop
sub rsp, 0x75667acc
add rsp, 0x75667b24
pop rdi
nop
add rsp, 8
mov rbp, qword [rsp - 8]
ret
mov al, 5
add al, 0x1c
xor al, 0x2c
sub al, 0xc
add rsp, 0x58
xchg r11, r11
pop rdi
nop
add rsp, 8
mov rbp, qword [rsp - 8]
ret