Function at 0x14008b438
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x240
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1400d1090]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov r15, r8
mov qword [rsp + 0x60], r8
mov rbx, rdx
mov r13, rcx
mov qword [rbp - 0x38], rdx
xor edi, edi
mov dword [rsp + 0x50], edi
mov rdx, qword [rcx + 0x30]
lea rcx, [rsp + 0x58]
call fcn.14008005c
nop
cmp qword [r13 + 0x48], rdi
jne 0x14008b4d4
mov dword [r13], 6
lea esi, [rdi + 0xf]
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x10], rdi
mov byte [rbx], dil
xor r8d, r8d
lea rdx, [0x1400c4580]
mov rcx, rbx
call fcn.14007df84
lea r12d, [rdi + 1]
mov dword [rsp + 0x50], r12d
jmp 0x14008bd8d
mov r8, r15
lea rdx, [rbp + 0x50]
lea rcx, [r13 + 0x80]
call fcn.1400820e8
mov rdx, qword [rbp + 0x50]
cmp qword [r13 + 0x88], rdx
je 0x14008b525
mov esi, 0xf
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x10], rdi
mov byte [rbx], dil
add rdx, 0x40
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rbx
call fcn.14007e3c8
lea r12d, [rsi - 0xe]
mov dword [rsp + 0x50], r12d
jmp 0x14008bd8d
lea rcx, [rsp + 0x70]
call fcn.14007e1d8
nop
lea rcx, [rbp - 0x58]
call fcn.14007e1d8
nop
mov qword [rbp - 0x68], rdi
mov ecx, 0x400
mov qword [rbp - 0x60], rcx
call fcn.14008f4d8
mov qword [rbp - 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.14008bdc8
mov rax, qword [0x1400c33b0]
mov qword [rbp + 0x50], rax
mov eax, dword [0x1400c33b8]
mov dword [rbp + 0x58], eax
mov al, byte [0x1400c33bc]
mov byte [rbp + 0x5c], al
mov ecx, 0xb
lea r12d, [rcx - 0xa]
mov al, byte [rbp + rcx + 0x4f]
xor byte [rbp + rcx + 0x50], al
sub rcx, r12
test rcx, rcx
jg 0x14008b580
xor byte [rbp + 0x50], 0xc1
mov rax, qword [str._nz_nf]
mov qword [rbp + 0x60], rax
mov rax, qword [0x1400c33c8]
mov qword [rbp + 0x68], rax
mov al, byte [0x1400c33d0]
mov byte [rbp + 0x70], al
mov esi, 0xf
mov ecx, esi
mov al, byte [rbp + rcx + 0x5f]
xor byte [rbp + rcx + 0x60], al
sub rcx, r12
test rcx, rcx
jg 0x14008b5ba
xor byte [rbp + 0x60], 0x6b
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0x90], rdi
mov byte [rbp + 0x80], dil
xor eax, eax
or r14, 0xffffffffffffffff
mov rcx, r14
lea rdi, [rbp + 0x50]
repne scasb al, byte [rdi]
not rcx
sub rcx, r12
mov r8, rcx
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x80]
call fcn.14007df84
nop
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x70]
call fcn.140085e90
mov r11, rax
xor eax, eax
mov rcx, r14
lea rdi, [rbp + 0x60]
repne scasb al, byte [rdi]
not rcx
sub rcx, r12
mov r8, rcx
lea rdx, [rbp + 0x60]
mov rcx, r11
call fcn.14007df84
nop
cmp qword [rbp + 0x98], 0x10
jb 0x14008b657
mov rcx, qword [rbp + 0x80]
call fcn.14009f17c
xor edi, edi
mov qword [rbp - 0x68], rdi
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x10], rdi
mov byte [rbp], dil
lea rcx, [rbp + 0xd0]
lea rdx, [0x1400c33e0]
lea r8d, [rdi + 0x51]
call fcn.14009e430
lea edx, [rdi + 0x4f]
mov al, byte [rbp + rdx + 0xcf]
xor byte [rbp + rdx + 0xd0], al
sub rdx, r12
test rdx, rdx
jg 0x14008b683
xor byte [rbp + 0xd0], 0xdf
xor eax, eax
mov rcx, r14
lea rdi, [rbp + 0xd0]
repne scasb al, byte [rdi]
not rcx
sub rcx, r12
mov r8, rcx
lea rdx, [rbp + 0xd0]
lea rcx, [rbp]
call fcn.14007df84
mov qword [rbp - 0x10], rsi
xor edi, edi
mov qword [rbp - 0x18], rdi
mov byte [rbp - 0x28], dil
mov rax, qword [0x1400c3438]
mov qword [rbp + 0x50], rax
movzx eax, word [0x1400c3440]
mov word [rbp + 0x58], ax
mov al, byte [0x1400c3442]
mov byte [rbp + 0x5a], al
lea ecx, [rdi + 9]
mov al, byte [rbp + rcx + 0x4f]
xor byte [rbp + rcx + 0x50], al
sub rcx, r12
test rcx, rcx
jg 0x14008b6f7
xor byte [rbp + 0x50], 0xdb
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x28]
call fcn.14008601c
mov r9, r14
xor r8d, r8d
mov rdx, r15
lea rcx, [rbp - 0x28]
call fcn.14008615c
lea rcx, [rbp + 0x80]
lea rdx, [0x1400c3450]
mov r8d, 0x4a
call fcn.14009e430
mov edx, 0x48
mov al, byte [rbp + rdx + 0x7f]
xor byte [rbp + rdx + 0x80], al
sub rdx, r12
test rdx, rdx
jg 0x14008b748
xor byte [rbp + 0x80], 0xce
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 0x28]
call fcn.14008601c
mov dword [rbp + 0x50], edi
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0x90], rdi
mov byte [rbp + 0x80], dil
mov r8d, 4
lea rdx, str.POST
lea rcx, [rbp + 0x80]
call fcn.14007df84
nop
lea rdx, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rdx, qword [rbp]
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x38], rdi
mov byte [rbp + 0x28], dil
xor eax, eax
mov rcx, r14
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
sub rcx, r12
mov r8, rcx
lea rcx, [rbp + 0x28]
call fcn.14007df84
nop
lea r8, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae r8, qword [rbp - 0x28]
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 0x50]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x80]
mov qword [rsp + 0x20], rcx
mov r9, qword [rbp - 0x18]
lea rdx, [rbp + 0x28]
lea rcx, [r13 + 8]
call fcn.1400857c4
mov edi, eax
cmp qword [rbp + 0x40], 0x10
jb 0x14008b83d
mov rcx, qword [rbp + 0x28]
call fcn.14009f17c
mov qword [rbp + 0x40], rsi
and qword [rbp + 0x38], 0
mov byte [rbp + 0x28], 0
cmp qword [rbp + 0x98], 0x10
jb 0x14008b860
mov rcx, qword [rbp + 0x80]
call fcn.14009f17c
xor r15d, r15d
test edi, edi
je 0x14008bb23
cmp edi, 3
je 0x14008b984
mov edx, 0x5a2bc0
mov ecx, 0xb9f5b9c
call fcn.14009de44
mov ecx, 0xbb8
call rax
mov qword [rbp + 0x98], rsi
xor edi, edi
mov qword [rbp + 0x90], rdi
mov byte [rbp + 0x80], dil
lea r8d, [rdi + 4]
lea rdx, str.POST
lea rcx, [rbp + 0x80]
call fcn.14007df84
nop
lea rdx, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rdx, qword [rbp]
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x38], rdi
mov byte [rbp + 0x28], dil
xor eax, eax
mov rcx, r14
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
sub rcx, r12
mov r8, rcx
lea rcx, [rbp + 0x28]
call fcn.14007df84
nop
lea r8, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae r8, qword [rbp - 0x28]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x18]
lea rdx, [rbp + 0x28]
lea rcx, [r13 + 8]
call fcn.1400857c4
mov edi, eax
cmp qword [rbp + 0x40], 0x10
jb 0x14008b952
mov rcx, qword [rbp + 0x28]
call fcn.14009f17c
mov qword [rbp + 0x40], rsi
and qword [rbp + 0x38], 0
mov byte [rbp + 0x28], 0
cmp qword [rbp + 0x98], 0x10
jb 0x14008b975
mov rcx, qword [rbp + 0x80]
call fcn.14009f17c
add r15d, r12d
cmp r15d, 3
jl 0x14008b863
jmp 0x14008b988
mov dword [r13], r12d
xor r14d, r14d
test edi, edi
je 0x14008bb26
cmp edi, 2
je 0x14008ba69
cmp edi, 4
je 0x14008ba69
cmp edi, r12d
je 0x14008b9b3
cmp edi, 3
jne 0x14008bb26
mov dword [r13], r12d
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x10], r14
mov byte [rbx], r14b
xor r8d, r8d
lea rdx, [0x1400c4580]
mov rcx, rbx
call fcn.14007df84
mov dword [rsp + 0x50], r12d
cmp qword [rbp - 0x10], 0x10
jb 0x14008b9e9
mov rcx, qword [rbp - 0x28]
call fcn.14009f17c
mov qword [rbp - 0x10], rsi
mov qword [rbp - 0x18], r14
mov byte [rbp - 0x28], r14b
cmp qword [rbp + 0x18], 0x10
jb 0x14008ba05
mov rcx, qword [rbp]
call fcn.14009f17c
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x10], r14
mov byte [rbp], r14b
lea rcx, [rbp - 0x70]
call fcn.140080fa4
nop
mov r8, qword [rbp - 0x50]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x58]
call fcn.14007e120
nop
mov rcx, qword [rbp - 0x50]
call fcn.14009f17c
nop
mov r8, qword [rsp + 0x78]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.14007e120
nop
mov rcx, qword [rsp + 0x78]
call fcn.14009f17c
nop
jmp 0x14008bd8d
mov dword [r13], 3
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x10], r14
mov byte [rbx], r14b
xor r8d, r8d
lea rdx, [0x1400c4580]
mov rcx, rbx
call fcn.14007df84
mov dword [rsp + 0x50], r12d
cmp qword [rbp - 0x10], 0x10
jb 0x14008baa3
mov rcx, qword [rbp - 0x28]
call fcn.14009f17c
mov qword [rbp - 0x10], rsi
mov qword [rbp - 0x18], r14
mov byte [rbp - 0x28], r14b
cmp qword [rbp + 0x18], 0x10
jb 0x14008babf
mov rcx, qword [rbp]
call fcn.14009f17c
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x10], r14
mov byte [rbp], r14b
lea rcx, [rbp - 0x70]
call fcn.140080fa4
nop
mov r8, qword [rbp - 0x50]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x58]
call fcn.14007e120
nop
mov rcx, qword [rbp - 0x50]
call fcn.14009f17c
nop
mov r8, qword [rsp + 0x78]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.14007e120
nop
mov rcx, qword [rsp + 0x78]
call fcn.14009f17c
nop
jmp 0x14008bd8d
xor r14d, r14d
cmp dword [rbp + 0x50], 0xc8
jne 0x14008bcdc
mov r8, qword [rbp - 0x68]
test r8, r8
je 0x14008bcdc
mov dword [r13], 4
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x38], r14
mov byte [rbp + 0x28], r14b
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp + 0x28]
call fcn.14007df84
nop
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x80]
call fcn.14008d8bc
nop
cmp qword [rbp + 0x40], 0x10
jb 0x14008bb83
mov rcx, qword [rbp + 0x28]
call fcn.14009f17c
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x38], r14
mov byte [rbp + 0x28], r14b
lea r8, [rbp + 0x80]
mov rdx, qword [rsp + 0x60]
lea rcx, [rbp + 0xd0]
call fcn.14008cca8
nop
mov rdx, rax
lea rcx, [r13 + 0x80]
call fcn.14008d234
mov r8, rax
lea rdx, [rsp + 0x60]
lea rcx, [r13 + 0x80]
call fcn.140080134
nop
cmp qword [rbp + 0x110], 0x10
jb 0x14008bbe2
mov rcx, qword [rbp + 0xf8]
call fcn.14009f17c
mov qword [rbp + 0x110], rsi
mov qword [rbp + 0x108], r14
mov byte [rbp + 0xf8], r14b
cmp qword [rbp + 0xe8], 0x10
jb 0x14008bc0d
mov rcx, qword [rbp + 0xd0]
call fcn.14009f17c
lea rdx, [rbp + 0x80]
mov rcx, rbx
call fcn.14007ffc0
mov dword [rsp + 0x50], r12d
cmp qword [rbp + 0x98], 0x10
jb 0x14008bc37
mov rcx, qword [rbp + 0x80]
call fcn.14009f17c
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0x90], r14
mov byte [rbp + 0x80], r14b
cmp qword [rbp - 0x10], 0x10
jb 0x14008bc5c
mov rcx, qword [rbp - 0x28]
call fcn.14009f17c
mov qword [rbp - 0x10], rsi
mov qword [rbp - 0x18], r14
mov byte [rbp - 0x28], r14b
cmp qword [rbp + 0x18], 0x10
jb 0x14008bc78
mov rcx, qword [rbp]
call fcn.14009f17c
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x10], r14
mov byte [rbp], r14b
lea rcx, [rbp - 0x70]
call fcn.140080fa4
nop
mov r8, qword [rbp - 0x50]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x58]
call fcn.14007e120
nop
mov rcx, qword [rbp - 0x50]
call fcn.14009f17c
nop
mov r8, qword [rsp + 0x78]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.14007e120
nop
mov rcx, qword [rsp + 0x78]
call fcn.14009f17c
nop
jmp 0x14008bd8d
mov dword [r13], r14d
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x10], r14
mov byte [rbx], r14b
xor r8d, r8d
lea rdx, [0x1400c4580]
mov rcx, rbx
call fcn.14007df84
mov dword [rsp + 0x50], r12d
cmp qword [rbp - 0x10], 0x10
jb 0x14008bd12
mov rcx, qword [rbp - 0x28]
call fcn.14009f17c
mov qword [rbp - 0x10], rsi
mov qword [rbp - 0x18], r14
mov byte [rbp - 0x28], r14b
cmp qword [rbp + 0x18], 0x10
jb 0x14008bd2e
mov rcx, qword [rbp]
call fcn.14009f17c
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x10], r14
mov byte [rbp], r14b
lea rcx, [rbp - 0x70]
call fcn.140080fa4
nop
mov r8, qword [rbp - 0x50]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x58]
call fcn.14007e120
nop
mov rcx, qword [rbp - 0x50]
call fcn.14009f17c
nop
mov r8, qword [rsp + 0x78]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.14007e120
nop
mov rcx, qword [rsp + 0x78]
call fcn.14009f17c
nop
lea rcx, [rsp + 0x58]
call fcn.140080094
mov rax, rbx
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.14009e400
mov rbx, qword [rsp + 0x298]
add rsp, 0x240
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret