Function at 0x14003d358
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x2560
call fcn.1400614d0
sub rsp, rax
mov qword [rsp + 0x140], 0xfffffffffffffffe
mov qword [rsp + 0x25b0], rbx
mov rax, qword [0x140071fd0]
xor rax, rsp
mov qword [rsp + 0x2550], rax
mov qword [rsp + 0x78], rdx
mov rsi, rcx
lea r8, [rsp + 0x40]
call fcn.14003ae24
cmp eax, 3
jne 0x14003de45
mov qword [rsp + 0x120], rsi
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
mov qword [rsp + 0x128], rax
lea rdx, [0x140064e48]
mov rcx, rsi
call fcn.14000e5e4
xor ebp, ebp
lea r12d, [rbp + 1]
cmp rax, rbp
je 0x14003d47d
cmp byte [rsi + 0xb2b0], bpl
jne 0x14003d47d
xor edx, edx
lea rcx, [rsp + 0xe0]
call fcn.140035fbc
nop
mov r8, qword [rsi + 0x9b80]
mov rdx, qword [rsi + 0x9b78]
lea rcx, [rsp + 0xe0]
call fcn.140035d54
lea r8d, [rbp + 8]
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0xe0]
call fcn.140035ed8
lea rcx, [rsp + 0xe0]
call fcn.140035df8
mov r13d, eax
lea rcx, [rsp + 0xe0]
call fcn.140035e40
mov r15, rax
mov qword [rsp + 0x58], rax
mov r14b, r12b
mov rcx, qword [rsp + 0xe0]
cmp rcx, rbp
je 0x14003d758
call fcn.140053fa0
jmp 0x14003d758
mov rax, qword [rsi]
xor r8d, r8d
mov rdx, qword [rsi + 0xb2a8]
mov rcx, rsi
call qword [rax + 0x10]
mov edx, 0x78
mov rcx, rsi
call fcn.14000e56c
cmp rax, rbp
je 0x14003d4c7
cmp byte [rsi + 0xb2b0], bpl
jne 0x14003d4c7
movzx r13d, word [rsi + 0xaea6]
mov r15d, dword [rsi + 0xaea8]
mov qword [rsp + 0x58], r15
mov r14b, bpl
jmp 0x14003d758
cmp byte [rsp + 0x40], bpl
je 0x14003d4eb
cmp byte [rsi + 0xb2a4], bpl
je 0x14003d4eb
lea r8, [rsi + 0x26]
mov dl, r12b
xor ecx, ecx
call fcn.14003a940
nop
jmp 0x14003de2e
mov qword [rsp + 0x50], rbp
mov qword [rsi + 0xb288], rbp
mov rax, qword [rsi]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [rax + 0x10]
mov r11, qword [rsi]
mov r8d, 0x2000
lea rdx, [rsp + 0x550]
mov rcx, rsi
call qword [r11 + 8]
cmp eax, ebp
je 0x14003d712
mov r13d, dword [rsp + 0x58]
mov r15, qword [rsp + 0x70]
mov qword [rsp + 0x58], r15
mov r14b, byte [rsp + 0x40]
mov dword [rsp + 0x48], ebp
add eax, 0xffffffce
mov dword [rsp + 0x44], eax
cmp eax, ebp
jle 0x14003d6cc
lea rdi, [rsp + 0x552]
mov ecx, eax
cmp byte [rdi], 0x7a
jne 0x14003d59b
mov rax, qword [rdi + 0x20]
cmp rax, qword [str.Protect]
jne 0x14003d59b
movzx ebx, byte [rdi - 1]
mov eax, 0x100
imul bx, ax
movzx eax, byte [rdi - 2]
add bx, ax
not bx
mov r8d, 0x34
mov rdx, rdi
or ecx, 0xffffffff
call fcn.140017944
cmp bx, ax
je 0x14003d5fa
mov ecx, dword [rsp + 0x44]
jmp 0x14003d5df
cmp byte [rdi], 0x78
jne 0x14003d5df
mov rax, qword [rdi + 0x10]
cmp rax, qword [str.Protect_]
jne 0x14003d5df
movzx ecx, byte [rdi - 1]
shl ecx, 8
movzx eax, byte [rdi - 2]
add ecx, eax
not ecx
movzx ebx, cx
mov r8d, 0x18
mov rdx, rdi
or ecx, 0xffffffff
call fcn.140017944
movzx ecx, ax
cmp ebx, ecx
je 0x14003d682
mov ecx, dword [rsp + 0x44]
mov eax, dword [rsp + 0x48]
add eax, r12d
mov dword [rsp + 0x48], eax
add rdi, r12
cmp eax, ecx
jge 0x14003d6cc
jmp 0x14003d556
movzx r13d, byte [rdi + 0x2b]
shl r13d, 8
movzx eax, byte [rdi + 0x2a]
add r13d, eax
shl r13d, 8
movzx eax, byte [rdi + 0x29]
add r13d, eax
shl r13d, 8
movzx eax, byte [rdi + 0x28]
add r13d, eax
movzx edx, byte [rdi + 0x33]
shl edx, 8
movzx eax, byte [rdi + 0x32]
add edx, eax
shl edx, 8
movzx eax, byte [rdi + 0x31]
add edx, eax
shl edx, 8
movzx eax, byte [rdi + 0x30]
add edx, eax
movzx r15d, byte [rdi + 0x2f]
shl r15d, 8
movzx eax, byte [rdi + 0x2e]
add r15d, eax
shl r15d, 8
movzx eax, byte [rdi + 0x2d]
add r15d, eax
shl r15d, 8
movzx eax, byte [rdi + 0x2c]
add r15d, eax
shl rdx, 0x20
add r15, rdx
movsxd rax, dword [rsp + 0x48]
add rax, qword [rsp + 0x50]
mov qword [rsi + 0xb288], rax
mov r14b, r12b
jmp 0x14003d6cc
movzx r13d, byte [rdi + 0xb]
shl r13d, 8
movzx eax, byte [rdi + 0xa]
add r13d, eax
movzx r15d, byte [rdi + 0xf]
shl r15d, 8
movzx eax, byte [rdi + 0xe]
add r15d, eax
shl r15d, 8
movzx eax, byte [rdi + 0xd]
add r15d, eax
shl r15d, 8
movzx eax, byte [rdi + 0xc]
add r15d, eax
movsxd rax, dword [rsp + 0x48]
add rax, qword [rsp + 0x50]
mov qword [rsi + 0xb288], rax
mov r14b, bpl
add qword [rsp + 0x50], 0x1fce
mov rax, qword [rsi]
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, rsi
call qword [rax + 0x10]
mov r11, qword [rsi]
mov r8d, 0x2000
lea rdx, [rsp + 0x550]
mov rcx, rsi
call qword [r11 + 8]
cmp eax, ebp
jne 0x14003d539
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x58], r15
jmp 0x14003d726
mov r13d, dword [rsp + 0x58]
mov r15, qword [rsp + 0x70]
mov qword [rsp + 0x58], r15
mov r14b, byte [rsp + 0x40]
cmp qword [rsi + 0xb288], rbp
jne 0x14003d758
mov rax, qword [rsi]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [rax + 0x10]
mov ecx, 0xe0e
call fcn.14003f40c
mov rcx, rax
call fcn.140016d08
nop
mov ebp, r12d
jmp 0x14003de2e
mov ecx, 0xe10
call fcn.14003f40c
mov rcx, rax
call fcn.140016d08
mov ecx, 0xe9e
call fcn.14003f40c
mov rcx, rax
call fcn.140016d08
or dword [0x1400868b0], 0xffffffff
lea rcx, [0x140065ad0]
call fcn.140016d08
mov rbx, qword [rsi + 0xb288]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x90], rbx
mov edi, ebp
neg r14b
sbb ecx, ecx
and ecx, 0x1c
add ecx, 0x1a
cmp byte [rsi + 0xb2a4], bpl
je 0x14003d7c7
mov eax, ecx
not eax
add eax, r12d
and eax, 0xf
lea ecx, [rcx + rax + 8]
movsxd rax, ecx
add rax, rbx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0xb8], rbp
mov qword [rsp + 0xc0], rbp
mov qword [rsp + 0xc8], rbp
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0xe0], rbp
mov qword [rsp + 0xe8], rbp
mov qword [rsp + 0xf0], rbp
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0xb8]
mov rcx, rsi
call fcn.14003c7ac
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], rbp
mov edx, r13d
shl edx, 9
lea rcx, [rsp + 0x98]
call fcn.1400075b8
nop
mov r8, qword [rsp + 0xa0]
xor edx, edx
mov rcx, qword [rsp + 0x98]
call fcn.1400540d0
mov r11, qword [rsi]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [r11 + 0x10]
mov dword [rsp + 0x44], ebp
cmp rbx, rbp
jle 0x14003d987
mov r14, qword [rsp + 0xe0]
mov r15, qword [rsp + 0xb8]
call fcn.140045378
mov rax, qword [rsp + 0x90]
mov r9, rax
sub r9, rbx
mov qword [rsp + 0x20], rax
mov r8d, 2
mov edx, r12d
mov rcx, rsi
call fcn.14003aec4
mov r11d, dword [rsp + 0x44]
cmp r11, qword [rsp + 0xc0]
jae 0x14003d920
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
cmp rax, qword [r15]
jl 0x14003d920
mov rax, qword [rsi]
movsxd rdx, dword [r14]
mov r8d, r12d
mov rcx, rsi
call qword [rax + 0x10]
movsxd r11, dword [r14]
sub rbx, r11
mov qword [rsp + 0x50], rbx
add dword [rsp + 0x44], r12d
add r15, 8
add r14, 4
mov byte [rsp + 0x20], r12b
lea r9, [rsp + 0x50]
mov ebx, 0x200
mov r8d, ebx
lea rdx, [rsp + 0x150]
mov rcx, rsi
call fcn.14003aca8
mov ecx, edi
shl ecx, 9
add rcx, qword [rsp + 0x98]
lea rdx, [rsp + 0x150]
sub rdx, rcx
mov r8, rbx
mov al, byte [rdx + rcx]
xor byte [rcx], al
add rcx, r12
sub r8, r12
jne 0x14003d95d
add edi, r12d
cmp edi, r13d
sbb eax, eax
and edi, eax
mov rbx, qword [rsp + 0x50]
cmp rbx, rbp
jg 0x14003d8b3
mov r15, qword [rsp + 0x58]
mov r9d, 0x64
mov qword [rsp + 0x20], r9
lea r8d, [r9 - 0x62]
mov edx, r12d
mov rcx, rsi
call fcn.14003aec4
mov r11, qword [rsi]
mov rax, qword [rsp + 0x68]
lea rdx, [rax + r15*2]
xor r8d, r8d
mov rcx, rsi
call qword [r11 + 0x10]
cmp r13d, ebp
jbe 0x14003da04
mov rbx, qword [rsp + 0x98]
lea rdi, [rsp + 0x150]
sub rdi, rbx
mov r14d, r13d
mov r15d, 0x200
mov rax, qword [rsi]
mov r8, r15
lea rdx, [rsp + 0x150]
mov rcx, rsi
call qword [rax + 8]
mov rcx, r15
mov al, byte [rdi + rbx]
xor byte [rbx], al
add rbx, r12
sub rcx, r12
jne 0x14003d9ef
sub rdi, r15
sub r14, r12
jne 0x14003d9d8
mov rax, qword [rsi]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [rax + 0x10]
mov rax, qword [rsp + 0x90]
mov rbx, rax
mov qword [rsp + 0x50], rax
mov r15d, ebp
mov edi, ebp
mov dword [rsp + 0x44], ebp
or r14d, 0xffffffff
mov dword [rsp + 0x4c], r14d
mov dword [rsp + 0x58], ebp
mov dword [rsp + 0x60], ebp
cmp rax, rbp
jle 0x14003dd9e
mov qword [rsp + 0x130], rsi
mov rdi, qword [rsp + 0xe0]
mov qword [rsp + 0x70], rdi
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x88], rax
jmp 0x14003da71
mov rdi, qword [rsp + 0x70]
call fcn.140045378
mov r11d, dword [rsp + 0x60]
cmp r11, qword [rsp + 0xc0]
jae 0x14003dacc
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x88]
cmp rax, qword [rcx]
jl 0x14003dacc
mov rax, qword [rsi]
movsxd rdx, dword [rdi]
mov r8d, r12d
mov rcx, rsi
call qword [rax + 0x10]
movsxd r11, dword [rdi]
sub rbx, r11
mov qword [rsp + 0x50], rbx
add dword [rsp + 0x60], r12d
add qword [rsp + 0x88], 8
add rdi, 4
mov qword [rsp + 0x70], rdi
mov byte [rsp + 0x20], r12b
lea r9, [rsp + 0x50]
mov ebx, 0x200
mov r8d, ebx
lea rdx, [rsp + 0x150]
mov rcx, rsi
call fcn.14003aca8
mov eax, eax
mov qword [rsp + 0x148], rax
mov r8, rax
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0x78]
call fcn.14002081c
mov r8, rbx
lea rdx, [rsp + 0x150]
or ecx, 0xffffffff
call fcn.140017944
movzx edi, ax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
mov rbx, rax
mov qword [rsp + 0x138], rax
mov r9, qword [rsi]
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, rsi
call qword [r9 + 0x10]
mov rcx, rsi
call fcn.140020a60
movzx eax, al
mov dword [rsp + 0x48], eax
mov rcx, rsi
call fcn.140020a60
movzx r11d, al
shl r11d, 8
add dword [rsp + 0x48], r11d
add qword [rsp + 0x68], 2
mov rax, qword [rsi]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [rax + 0x10]
mov ebx, dword [rsp + 0x48]
cmp ebx, edi
jne 0x14003dbab
mov r9b, r12b
lea r8, [rsp + 0x4c]
mov edx, r15d
mov ecx, r14d
call fcn.14003ac24
mov r14d, dword [rsp + 0x4c]
mov edi, dword [rsp + 0x44]
jmp 0x14003dd7b
lea rcx, [rsp + 0x350]
lea rdx, [rsp + 0x150]
mov r8d, 0x200
call fcn.140053b10
mov edi, dword [rsp + 0x58]
shl edi, 9
add rdi, qword [rsp + 0x98]
lea rcx, [rsp + 0x150]
lea rax, [rsp + 0x150]
sub rdi, rax
mov r8d, 0x200
mov rdx, r8
mov al, byte [rdi + rcx]
xor byte [rcx], al
add rcx, r12
sub rdx, r12
jne 0x14003dbf1
lea rdx, [rsp + 0x150]
or ecx, 0xffffffff
call fcn.140017944
movzx ecx, ax
cmp ebx, ecx
je 0x14003dd13
mov ebx, 0x40
lea rax, [rsp + 0x190]
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x150]
lea rdx, [rsp + 0x350]
mov r8d, 0x200
call fcn.140053b10
cmp ebx, ebp
jle 0x14003dc64
lea rcx, [rsp + 0x150]
mov edx, ebx
mov al, byte [rcx + rdi]
xor byte [rcx], al
add rcx, r12
sub rdx, r12
jne 0x14003dc57
mov r8d, 0x200
lea rdx, [rsp + 0x150]
or ecx, 0xffffffff
call fcn.140017944
movzx ecx, ax
cmp dword [rsp + 0x48], ecx
je 0x14003dd13
lea rcx, [rsp + 0x150]
lea rdx, [rsp + 0x350]
mov r8d, 0x200
call fcn.140053b10
mov r8d, 0x200
cmp ebx, r8d
jae 0x14003dcc7
mov rcx, qword [rsp + 0x80]
mov edx, r8d
sub edx, ebx
mov al, byte [rcx + rdi]
xor byte [rcx], al
add rcx, r12
sub rdx, r12
jne 0x14003dcba
lea rdx, [rsp + 0x150]
or ecx, 0xffffffff
call fcn.140017944
movzx ecx, ax
cmp dword [rsp + 0x48], ecx
je 0x14003dd13
add ebx, 0x40
add qword [rsp + 0x80], 0x40
mov eax, 0x100
cmp ebx, eax
jl 0x14003dc2e
mov edi, dword [rsp + 0x44]
add edi, r12d
mov dword [rsp + 0x44], edi
cmp r14d, 0xffffffff
cmove r14d, r15d
mov dword [rsp + 0x4c], r14d
jmp 0x14003dd7b
mov r9b, r12b
lea r8, [rsp + 0x4c]
mov edx, r15d
mov ecx, r14d
call fcn.14003ac24
lea edx, [r15 + 1]
xor r9d, r9d
lea r8, [rsp + 0x4c]
mov ecx, r15d
call fcn.14003ac24
mov r14, qword [rsp + 0x78]
mov rbx, qword [r14]
mov rcx, r14
call qword [rbx + 0x18]
mov rdi, qword [rsp + 0x148]
sub rax, rdi
xor r8d, r8d
mov rdx, rax
mov rcx, r14
call qword [rbx + 0x10]
mov r8, rdi
lea rdx, [rsp + 0x150]
mov rcx, r14
call fcn.14002081c
mov r14d, dword [rsp + 0x4c]
mov edi, dword [rsp + 0x44]
add r15d, r12d
mov ecx, dword [rsp + 0x58]
add ecx, r12d
cmp ecx, r13d
sbb eax, eax
and eax, ecx
mov dword [rsp + 0x58], eax
mov rbx, qword [rsp + 0x50]
cmp rbx, rbp
jg 0x14003da6c
mov r9b, r12b
lea r8, [rsp + 0x4c]
mov edx, r15d
mov ecx, r14d
call fcn.14003ac24
mov r11, qword [rsi]
xor r8d, r8d
mov rdx, qword [rsp + 0x90]
mov rcx, rsi
call qword [r11 + 0x10]
movabs r8, 0x7fffffff7fffffff
mov rdx, qword [rsp + 0x78]
mov rcx, rsi
call fcn.140020f9c
neg edi
sbb ebx, ebx
and ebx, 2
cmp qword [rsp + 0x98], rbp
je 0x14003ddfc
mov rcx, qword [rsp + 0x98]
call fcn.140053fa0
nop
cmp qword [rsp + 0xe0], rbp
je 0x14003de14
mov rcx, qword [rsp + 0xe0]
call fcn.140053fa0
nop
cmp qword [rsp + 0xb8], rbp
je 0x14003de2c
mov rcx, qword [rsp + 0xb8]
call fcn.140053fa0
nop
mov ebp, ebx
mov r9, qword [rsi]
xor r8d, r8d
mov rdx, qword [rsp + 0x128]
mov rcx, rsi
call qword [r9 + 0x10]
mov eax, ebp
mov rcx, qword [rsp + 0x2550]
xor rcx, rsp
call fcn.140053930
mov rbx, qword [rsp + 0x25b0]
add rsp, 0x2560
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret