Function at 0x140031378
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1d0
mov ebx, 0x208
mov ecx, ebx
call fcn.14000a170
mov ecx, ebx
mov r12, rax
call fcn.14000a170
mov rdx, qword [0x14007c6f8]
xor ecx, ecx
mov rbx, qword [0x14007c718]
mov rdi, rax
call rdx
mov rcx, rax
mov r8d, 0x104
mov rdx, r12
call rbx
mov rdx, rdi
mov rcx, r12
sub rdx, r12
xor r13d, r13d
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400313e3
mov edx, 0x5c
mov rcx, rdi
call fcn.14000b2c0
or rsi, 0xffffffffffffffff
mov rbx, rax
mov rcx, rsi
lea r14, [rax + 2]
inc rcx
cmp word [r14 + rcx*2], r13w
jne 0x14003140e
inc rcx
mov eax, 2
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.14000a170
mov rdx, r14
sub rax, r14
movzx ecx, word [rdx]
mov word [rax + rdx], cx
lea rdx, [rdx + 2]
test cx, cx
jne 0x140031435
xorps xmm0, xmm0
mov qword [rbp - 0x20], r13
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x18], r13
mov r8, rsi
inc r8
cmp word [r14 + r8*2], r13w
jne 0x140031457
mov rdx, r14
lea rcx, [rbp - 0x30]
call fcn.140006914
mov rax, qword [rbp - 0x20]
mov ecx, 0x18
mov word [rbx + rax*2 - 6], r13w
call fcn.14000a124
mov r8, rax
lea rcx, [0x14007a74c]
mov edx, 5
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
call fcn.140030c88
xorps xmm0, xmm0
mov qword [rbp - 0x40], r13
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x38], r13
mov r8, rsi
inc r8
cmp byte [rax + r8], r13b
jne 0x1400314b2
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140001858
cmp qword [rbp - 0x38], 0x10
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x60], r13
cmovae r8, qword [rbp - 0x50]
xorps xmm0, xmm0
add r8, qword [rbp - 0x40]
cmp qword [rbp - 0x38], 0x10
movups xmmword [rsp + 0x50], xmm0
cmovae rdx, qword [rbp - 0x50]
mov qword [rsp + 0x68], r13
cmp rdx, r8
jne 0x140031510
mov eax, 7
mov word [rsp + 0x50], r13w
mov qword [rsp + 0x68], rax
jmp 0x140031525
mov r9, r8
lea rcx, [rsp + 0x50]
sub r9, rdx
call fcn.140006e0c
mov rax, qword [rsp + 0x68]
cmp rax, 8
mov qword [rbp + 0x20], r13
lea rdx, [rsp + 0x50]
mov qword [rbp + 0x28], r13
cmovae rdx, qword [rsp + 0x50]
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov r8, rsi
inc r8
cmp word [rdx + r8*2], r13w
jne 0x140031546
lea rcx, [rbp + 0x10]
call fcn.140006914
mov rdx, qword [rsp + 0x68]
mov r15d, 0x1000
cmp rdx, 8
jb 0x14003159d
mov rcx, qword [rsp + 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, r15
jb 0x140031598
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031d64
call fcn.14000a168
mov rdx, rsi
inc rdx
cmp word [r14 + rdx*2], r13w
jne 0x1400315a0
cmp rdx, qword [rbp - 0x18]
ja 0x1400315db
cmp qword [rbp - 0x18], 8
lea rbx, [rdx + rdx]
mov qword [rbp - 0x20], rdx
lea rdi, [rbp - 0x30]
cmovae rdi, qword [rbp - 0x30]
mov r8, rbx
mov rcx, rdi
mov rdx, r14
call fcn.14000c3d0
mov word [rdi + rbx], r13w
jmp 0x1400315e7
mov r9, r14
lea rcx, [rbp - 0x30]
call fcn.140006a1c
cmp qword [rbp + 0x28], 8
lea rdx, [rbp + 0x10]
mov r8, qword [rbp + 0x20]
lea rcx, [rbp - 0x30]
cmovae rdx, qword [rbp + 0x10]
call fcn.140006898
mov ecx, 0x18
call fcn.14000a124
mov r8, rax
lea rcx, [0x14007a758]
mov edx, 0x19
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
call fcn.140030c88
xorps xmm0, xmm0
mov qword [rbp - 0x80], r13
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x78], r13
mov r8, rsi
inc r8
cmp byte [rax + r8], r13b
jne 0x14003163e
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140001858
lea rcx, [rbp + 0x100]
mov word [rbp + 0x100], 0x680e
call fcn.14000428c
mov r9, qword [rbp - 0x78]
lea rdx, [rsp + 0x70]
mov r8, qword [rsp + 0x70]
cmp r9, 0x10
mov rax, qword [rax]
cmovae rdx, r8
mov cl, byte [rax]
cmp byte [rdx], cl
jne 0x140031b26
mov eax, 0x70
mov dword [rsp + 0x50], 0x50019
lea rcx, [rsp + 0x50]
mov word [rsp + 0x60], ax
mov dword [rsp + 0x54], 0x790034
mov dword [rsp + 0x58], 0x50078
mov dword [rsp + 0x5c], 0x7a0074
call fcn.140006610
xorps xmm0, xmm0
mov r8, rsi
mov rdx, qword [rax]
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], r13
mov qword [rbp + 8], r13
inc r8
cmp word [rdx + r8*2], r13w
jne 0x1400316d5
lea rcx, [rbp - 0x10]
call fcn.140006914
mov ecx, 0x200
call fcn.14000a170
mov rbx, qword [0x14007c710]
lea rcx, [rsp + 0x50]
mov r14d, 0x57
mov dword [rsp + 0x50], 0x2d002e
mov word [rsp + 0x58], r14w
mov rdi, rax
mov dword [rsp + 0x54], 0x9001d
call fcn.140006588
mov r8d, 0x100
mov rdx, rdi
mov rcx, qword [rax]
call rbx
xorps xmm0, xmm0
mov qword [rbp + 0x40], r13
movdqu xmmword [rbp + 0x30], xmm0
mov qword [rsp + 0x60], r13
mov r8, rsi
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x68], r13
inc r8
cmp word [rdi + r8*2], r13w
jne 0x14003174e
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.140006914
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14002c1a8
mov rdi, qword [rbp + 0x30]
mov r15, qword [rbp + 0x38]
cmp rdi, r15
je 0x1400318e3
mov dword [rbp + 0x100], 0x680054
mov dword [rsp + 0x50], 0x180054
mov dword [rsp + 0x54], 0x3f0034
mov word [rsp + 0x58], r14w
lea rcx, [rbp + 0x100]
call fcn.1400067ac
cmp qword [rdi + 0x18], 8
mov rcx, qword [rax]
movzx edx, word [rcx]
mov rcx, rdi
jb 0x1400317c3
mov rcx, qword [rdi]
call fcn.14000b2c0
lea rcx, [rsp + 0x50]
mov rbx, rax
call fcn.140006588
mov rdx, qword [rax]
sub rdx, rbx
movzx ecx, word [rbx]
movzx eax, word [rbx + rdx]
sub ecx, eax
jne 0x1400317ee
add rbx, 2
test eax, eax
jne 0x1400317db
test ecx, ecx
jne 0x140031830
cmp qword [rdi + 0x18], 8
mov rcx, rdi
mov rax, qword [0x14007c708]
jb 0x140031806
mov rcx, qword [rdi]
mov qword [rsp + 0x30], r13
xor r9d, r9d
mov dword [rsp + 0x28], pe_nt_image_headers64
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
call rax
mov r14, rax
cmp rax, rsi
jne 0x140031842
add rdi, 0x20
cmp rdi, r15
je 0x1400318e3
jmp 0x1400317a4
mov r9, r13
lea r15, [0x140049c30]
movabs rax, 0x135c81135c81135d
lea r10, [0x1400427f0]
mul r9
mov rax, r9
mov rcx, r9
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xee
sub rcx, rax
mov al, byte [r9 + r15]
xor al, byte [rcx + r10]
mov byte [r9 + r15], al
inc r9
cmp r9, 0x30aff
jb 0x14003184c
mov rbx, qword [0x14007c720]
mov ecx, 4
call fcn.14000a124
mov r9, rax
mov qword [rsp + 0x20], r13
mov r8d, 0x30aff
mov rdx, r15
mov rcx, r14
call rbx
test eax, eax
je 0x1400318da
cmp qword [rdi + 0x18], 8
mov r8, qword [rdi + 0x10]
jb 0x1400318ce
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp - 0x10]
call fcn.140006898
mov rcx, r14
call qword [0x14007c690]
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x50019
mov dword [rsp + 0x54], 0x790034
mov dword [rsp + 0x58], 0x50078
mov dword [rsp + 0x5c], 0x580074
call fcn.140006500
xorps xmm0, xmm0
mov r8, rsi
mov rdx, qword [rax]
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], r13
inc r8
cmp word [rdx + r8*2], r13w
jne 0x140031922
lea rcx, [rbp - 0x70]
call fcn.140006914
cmp qword [rbp - 0x78], 0x10
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x60], r13
cmovae r8, qword [rsp + 0x70]
xorps xmm0, xmm0
add r8, qword [rbp - 0x80]
cmp qword [rbp - 0x78], 0x10
movups xmmword [rsp + 0x50], xmm0
cmovae rdx, qword [rsp + 0x70]
mov qword [rsp + 0x68], r13
cmp rdx, r8
jne 0x140031982
mov eax, 7
mov word [rsp + 0x50], r13w
mov qword [rsp + 0x68], rax
jmp 0x140031997
mov r9, r8
lea rcx, [rsp + 0x50]
sub r9, rdx
call fcn.140006e0c
mov rax, qword [rsp + 0x68]
cmp rax, 8
lea rdx, [rsp + 0x50]
mov r8, rsi
cmovae rdx, qword [rsp + 0x50]
inc r8
cmp word [rdx + r8*2], r13w
jne 0x1400319a9
lea rcx, [rbp - 0x70]
call fcn.140006898
lea rcx, [rsp + 0x50]
call fcn.140006834
mov r8, rsi
inc r8
cmp word [r12 + r8*2], r13w
jne 0x1400319c9
mov rdx, r12
lea rcx, [rbp - 0x70]
call fcn.140006898
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x480058
mov dword [rsp + 0x54], 0x79002c
mov dword [rsp + 0x58], 0x120031
mov dword [rsp + 0x5c], 0x580024
call fcn.140006500
mov r8, rsi
mov rdx, qword [rax]
inc r8
cmp word [rdx + r8*2], r13w
jne 0x140031a0f
lea rcx, [rbp - 0x70]
call fcn.140006898
lea rcx, [rbp + 0x100]
mov dword [rbp + 0x100], 0x680058
mov r14d, 0x68
call fcn.1400067ac
mov rdx, qword [rax]
inc rsi
cmp word [rdx + rsi*2], r13w
jne 0x140031a41
mov r8, rsi
lea rcx, [rbp - 0x10]
call fcn.140006898
mov ecx, 0x3e8
call qword [0x14007c6b8]
mov edi, 0x64
lea rcx, [rbp + 0x64]
mov r8d, edi
xor edx, edx
call fcn.14000cbe0
xorps xmm0, xmm0
mov dword [rbp + 0x60], r14d
xor eax, eax
mov word [rbp + 0x100], 0x680e
lea rcx, [rbp + 0x100]
mov qword [rbp + 0x58], rax
movups xmmword [rbp + 0x48], xmm0
call fcn.14000428c
cmp qword [rbp - 0x78], 0x10
lea rdx, [rsp + 0x70]
cmovae rdx, qword [rsp + 0x70]
mov rax, qword [rax]
mov cl, byte [rax]
cmp byte [rdx], cl
je 0x140031b8d
mov rdx, qword [rbp - 0x58]
mov r15d, 0x1000
cmp rdx, 8
jb 0x140031afa
mov rcx, qword [rbp - 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, r15
jb 0x140031af5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031d64
call fcn.14000a168
lea rcx, [rbp + 0x30]
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r13w
call fcn.140006698
lea rcx, [rbp - 0x10]
call fcn.140006834
mov r9, qword [rbp - 0x78]
mov r8, qword [rsp + 0x70]
cmp r9, 0x10
jb 0x140031b59
lea rdx, [r9 + 1]
mov rax, r8
cmp rdx, r15
jb 0x140031b51
mov r8, qword [r8 - 8]
add rdx, 0x27
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031d64
mov rcx, r8
call fcn.14000a168
mov ebx, 0xf
mov qword [rbp - 0x80], r13
lea rcx, [rbp + 0x10]
mov qword [rbp - 0x78], rbx
mov byte [rsp + 0x70], r13b
call fcn.140006834
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140031d2e
inc rdx
cmp rdx, r15
jmp 0x140031d0b
cmp qword [rbp + 8], 8
lea rcx, [rbp + 0x48]
mov rax, qword [0x14007c700]
lea rdx, [rbp - 0x10]
cmovae rdx, qword [rbp - 0x10]
mov ebx, 0x8000000
mov qword [rsp + 0x48], rcx
xor r9d, r9d
lea rcx, [rbp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x40], rcx
xor ecx, ecx
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], r13d
call rax
mov ecx, 0x1388
call qword [0x14007c6b8]
mov r8, rdi
lea rcx, [rbp + 0x64]
xor edx, edx
call fcn.14000cbe0
xor eax, eax
mov dword [rbp + 0x60], r14d
cmp qword [rbp - 0x58], 8
lea rcx, [rbp + 0x48]
mov qword [rsp + 0x48], rcx
lea rdx, [rbp - 0x70]
cmovae rdx, qword [rbp - 0x70]
lea rcx, [rbp + 0x60]
mov qword [rsp + 0x40], rcx
xorps xmm0, xmm0
mov qword [rsp + 0x38], r13
xor r9d, r9d
mov qword [rsp + 0x30], r13
xor r8d, r8d
mov qword [rbp + 0x58], rax
xor ecx, ecx
mov rax, qword [0x14007c700]
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], r13d
movups xmmword [rbp + 0x48], xmm0
call rax
mov rdx, qword [rbp - 0x58]
mov edi, 0x1000
cmp rdx, 8
jb 0x140031c85
mov rcx, qword [rbp - 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, rdi
jb 0x140031c80
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031d64
call fcn.14000a168
lea rcx, [rbp + 0x30]
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r13w
call fcn.140006698
lea rcx, [rbp - 0x10]
call fcn.140006834
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140031ce0
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, rdi
jb 0x140031cdb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031d64
call fcn.14000a168
mov ebx, 0xf
mov qword [rbp - 0x80], r13
lea rcx, [rbp + 0x10]
mov qword [rbp - 0x78], rbx
mov byte [rsp + 0x70], r13b
call fcn.140006834
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140031d2e
inc rdx
cmp rdx, rdi
mov rcx, qword [rbp - 0x50]
mov rax, rcx
jb 0x140031d29
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031d64
call fcn.14000a168
lea rcx, [rbp - 0x30]
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], rbx
mov byte [rbp - 0x50], r13b
call fcn.140006834
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140010c44
int3