Function at 0x14003d7cc
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x2590
call fcn.140062a30
sub rsp, rax
mov qword [rsp + 0x170], 0xfffffffffffffffe
mov qword [rsp + 0x25e0], rbx
mov rax, qword [0x140072fc0]
xor rax, rsp
mov qword [rsp + 0x2580], rax
mov qword [rsp + 0x78], rdx
mov rsi, rcx
lea r8, [rsp + 0x40]
call fcn.14003b1bc
cmp eax, 3
jne 0x14003e2cf
mov qword [rsp + 0x150], rsi
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
mov qword [rsp + 0x158], rax
lea rdx, [0x140065ed8]
mov rcx, rsi
call fcn.14000e760
xor ebp, ebp
lea r12d, [rbp + 1]
cmp rax, rbp
je 0x14003d8f1
cmp byte [rsi + 0xc5a0], bpl
jne 0x14003d8f1
xor edx, edx
lea rcx, [rsp + 0xe0]
call fcn.1400363c4
nop
mov r8, qword [rsi + 0xae70]
mov rdx, qword [rsi + 0xae68]
lea rcx, [rsp + 0xe0]
call fcn.14003615c
lea r8d, [rbp + 8]
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0xe0]
call fcn.1400362e0
lea rcx, [rsp + 0xe0]
call fcn.140036200
mov r13d, eax
lea rcx, [rsp + 0xe0]
call fcn.140036248
mov r15, rax
mov qword [rsp + 0x58], rax
mov r14b, r12b
mov rcx, qword [rsp + 0xe0]
cmp rcx, rbp
je 0x14003dbe0
call fcn.140055470
jmp 0x14003dbe0
mov rax, qword [rsi]
xor r8d, r8d
mov rdx, qword [rsi + 0xc598]
mov rcx, rsi
call qword [rax + 0x18]
mov edx, 0x78
mov rcx, rsi
call fcn.14000e6e8
cmp rax, rbp
je 0x14003d93b
cmp byte [rsi + 0xc5a0], bpl
jne 0x14003d93b
movzx r13d, word [rsi + 0xc196]
mov r15d, dword [rsi + 0xc198]
mov qword [rsp + 0x58], r15
mov r14b, bpl
jmp 0x14003dbe0
cmp byte [rsp + 0x40], bpl
je 0x14003d95f
cmp byte [rsi + 0xc594], bpl
je 0x14003d95f
lea r8, [rsi + 0x26]
mov dl, r12b
xor ecx, ecx
call fcn.14003b5b0
nop
jmp 0x14003e2b8
mov qword [rsp + 0x50], rbp
mov qword [rsi + 0xc578], rbp
mov rax, qword [rsi]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [rax + 0x18]
mov r11, qword [rsi]
mov r8d, 0x2000
lea rdx, [rsp + 0x580]
mov rcx, rsi
call qword [r11 + 0x10]
cmp eax, ebp
je 0x14003db86
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 0x14003db40
lea rdi, [rsp + 0x582]
mov ecx, eax
cmp byte [rdi], 0x7a
jne 0x14003da0f
mov rax, qword [rdi + 0x20]
cmp rax, qword [str.Protect]
jne 0x14003da0f
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.140017698
cmp bx, ax
je 0x14003da6e
mov ecx, dword [rsp + 0x44]
jmp 0x14003da53
cmp byte [rdi], 0x78
jne 0x14003da53
mov rax, qword [rdi + 0x10]
cmp rax, qword [str.Protect_]
jne 0x14003da53
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.140017698
movzx ecx, ax
cmp ebx, ecx
je 0x14003daf6
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 0x14003db40
jmp 0x14003d9ca
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 + 0xc578], rax
mov r14b, r12b
jmp 0x14003db40
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 + 0xc578], 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 + 0x18]
mov r11, qword [rsi]
mov r8d, 0x2000
lea rdx, [rsp + 0x580]
mov rcx, rsi
call qword [r11 + 0x10]
cmp eax, ebp
jne 0x14003d9ad
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x58], r15
jmp 0x14003db9a
mov r13d, dword [rsp + 0x58]
mov r15, qword [rsp + 0x70]
mov qword [rsp + 0x58], r15
mov r14b, byte [rsp + 0x40]
cmp qword [rsi + 0xc578], rbp
jne 0x14003dbe0
mov rax, qword [rsi]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [rax + 0x18]
mov dword [rsp + 0x140], ebp
mov dword [rsp + 0x144], ebp
mov dword [rsp + 0x148], 0x61
lea rcx, [rsp + 0xe0]
call fcn.1400471e0
nop
mov ebp, r12d
jmp 0x14003e2b8
mov dword [rsp + 0x140], ebp
mov dword [rsp + 0x144], ebp
mov dword [rsp + 0x148], 0x60
lea rcx, [rsp + 0xe0]
call fcn.1400471e0
or dword [0x1400873d0], 0xffffffff
lea rcx, [0x1400668a0]
call fcn.140016a54
mov rbx, qword [rsi + 0xc578]
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 + 0xc594], bpl
je 0x14003dc51
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.14003c3f0
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.1400076c4
nop
mov r8, qword [rsp + 0xa0]
xor edx, edx
mov rcx, qword [rsp + 0x98]
call fcn.140055c00
mov r11, qword [rsi]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [r11 + 0x18]
mov dword [rsp + 0x44], ebp
cmp rbx, rbp
jle 0x14003de11
mov r14, qword [rsp + 0xe0]
mov r15, qword [rsp + 0xb8]
call fcn.140045b98
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.14003b278
mov r11d, dword [rsp + 0x44]
cmp r11, qword [rsp + 0xc0]
jae 0x14003ddaa
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
cmp rax, qword [r15]
jl 0x14003ddaa
mov rax, qword [rsi]
movsxd rdx, dword [r14]
mov r8d, r12d
mov rcx, rsi
call qword [rax + 0x18]
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 + 0x180]
mov rcx, rsi
call fcn.14003afc8
mov ecx, edi
shl ecx, 9
add rcx, qword [rsp + 0x98]
lea rdx, [rsp + 0x180]
sub rdx, rcx
mov r8, rbx
mov al, byte [rdx + rcx]
xor byte [rcx], al
add rcx, r12
sub r8, r12
jne 0x14003dde7
add edi, r12d
cmp edi, r13d
sbb eax, eax
and edi, eax
mov rbx, qword [rsp + 0x50]
cmp rbx, rbp
jg 0x14003dd3d
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.14003b278
mov r11, qword [rsi]
mov rax, qword [rsp + 0x68]
lea rdx, [rax + r15*2]
xor r8d, r8d
mov rcx, rsi
call qword [r11 + 0x18]
cmp r13d, ebp
jbe 0x14003de8e
mov rbx, qword [rsp + 0x98]
lea rdi, [rsp + 0x180]
sub rdi, rbx
mov r14d, r13d
mov r15d, 0x200
mov rax, qword [rsi]
mov r8, r15
lea rdx, [rsp + 0x180]
mov rcx, rsi
call qword [rax + 0x10]
mov rcx, r15
mov al, byte [rdi + rbx]
xor byte [rbx], al
add rbx, r12
sub rcx, r12
jne 0x14003de79
sub rdi, r15
sub r14, r12
jne 0x14003de62
mov rax, qword [rsi]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [rax + 0x18]
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 0x14003e228
mov qword [rsp + 0x160], rsi
mov rdi, qword [rsp + 0xe0]
mov qword [rsp + 0x70], rdi
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x88], rax
jmp 0x14003defb
mov rdi, qword [rsp + 0x70]
call fcn.140045b98
mov r11d, dword [rsp + 0x60]
cmp r11, qword [rsp + 0xc0]
jae 0x14003df56
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x88]
cmp rax, qword [rcx]
jl 0x14003df56
mov rax, qword [rsi]
movsxd rdx, dword [rdi]
mov r8d, r12d
mov rcx, rsi
call qword [rax + 0x18]
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 + 0x180]
mov rcx, rsi
call fcn.14003afc8
mov eax, eax
mov qword [rsp + 0x178], rax
mov r8, rax
lea rdx, [rsp + 0x180]
mov rcx, qword [rsp + 0x78]
call fcn.1400206c4
mov r8, rbx
lea rdx, [rsp + 0x180]
or ecx, 0xffffffff
call fcn.140017698
movzx edi, ax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
mov rbx, rax
mov qword [rsp + 0x168], rax
mov r9, qword [rsi]
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, rsi
call qword [r9 + 0x18]
mov rcx, rsi
call fcn.140020914
movzx eax, al
mov dword [rsp + 0x48], eax
mov rcx, rsi
call fcn.140020914
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 + 0x18]
mov ebx, dword [rsp + 0x48]
cmp ebx, edi
jne 0x14003e035
mov r9b, r12b
lea r8, [rsp + 0x4c]
mov edx, r15d
mov ecx, r14d
call fcn.14003c380
mov r14d, dword [rsp + 0x4c]
mov edi, dword [rsp + 0x44]
jmp 0x14003e205
lea rcx, [rsp + 0x380]
lea rdx, [rsp + 0x180]
mov r8d, 0x200
call fcn.140054fe0
mov edi, dword [rsp + 0x58]
shl edi, 9
add rdi, qword [rsp + 0x98]
lea rcx, [rsp + 0x180]
lea rax, [rsp + 0x180]
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 0x14003e07b
lea rdx, [rsp + 0x180]
or ecx, 0xffffffff
call fcn.140017698
movzx ecx, ax
cmp ebx, ecx
je 0x14003e19d
mov ebx, 0x40
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x180]
lea rdx, [rsp + 0x380]
mov r8d, 0x200
call fcn.140054fe0
cmp ebx, ebp
jle 0x14003e0ee
lea rcx, [rsp + 0x180]
mov edx, ebx
mov al, byte [rcx + rdi]
xor byte [rcx], al
add rcx, r12
sub rdx, r12
jne 0x14003e0e1
mov r8d, 0x200
lea rdx, [rsp + 0x180]
or ecx, 0xffffffff
call fcn.140017698
movzx ecx, ax
cmp dword [rsp + 0x48], ecx
je 0x14003e19d
lea rcx, [rsp + 0x180]
lea rdx, [rsp + 0x380]
mov r8d, 0x200
call fcn.140054fe0
mov r8d, 0x200
cmp ebx, r8d
jae 0x14003e151
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 0x14003e144
lea rdx, [rsp + 0x180]
or ecx, 0xffffffff
call fcn.140017698
movzx ecx, ax
cmp dword [rsp + 0x48], ecx
je 0x14003e19d
add ebx, 0x40
add qword [rsp + 0x80], 0x40
mov eax, 0x100
cmp ebx, eax
jl 0x14003e0b8
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 0x14003e205
mov r9b, r12b
lea r8, [rsp + 0x4c]
mov edx, r15d
mov ecx, r14d
call fcn.14003c380
lea edx, [r15 + 1]
xor r9d, r9d
lea r8, [rsp + 0x4c]
mov ecx, r15d
call fcn.14003c380
mov r14, qword [rsp + 0x78]
mov rbx, qword [r14]
mov rcx, r14
call qword [rbx + 0x20]
mov rdi, qword [rsp + 0x178]
sub rax, rdi
xor r8d, r8d
mov rdx, rax
mov rcx, r14
call qword [rbx + 0x18]
mov r8, rdi
lea rdx, [rsp + 0x180]
mov rcx, r14
call fcn.1400206c4
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 0x14003def6
mov r9b, r12b
lea r8, [rsp + 0x4c]
mov edx, r15d
mov ecx, r14d
call fcn.14003c380
mov r11, qword [rsi]
xor r8d, r8d
mov rdx, qword [rsp + 0x90]
mov rcx, rsi
call qword [r11 + 0x18]
movabs r8, 0x7fffffff7fffffff
mov rdx, qword [rsp + 0x78]
mov rcx, rsi
call fcn.140020e44
neg edi
sbb ebx, ebx
and ebx, 2
cmp qword [rsp + 0x98], rbp
je 0x14003e286
mov rcx, qword [rsp + 0x98]
call fcn.140055470
nop
cmp qword [rsp + 0xe0], rbp
je 0x14003e29e
mov rcx, qword [rsp + 0xe0]
call fcn.140055470
nop
cmp qword [rsp + 0xb8], rbp
je 0x14003e2b6
mov rcx, qword [rsp + 0xb8]
call fcn.140055470
nop
mov ebp, ebx
mov r9, qword [rsi]
xor r8d, r8d
mov rdx, qword [rsp + 0x158]
mov rcx, rsi
call qword [r9 + 0x18]
mov eax, ebp
mov rcx, qword [rsp + 0x2580]
xor rcx, rsp
call fcn.140054e00
mov rbx, qword [rsp + 0x25e0]
add rsp, 0x2590
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret