Function at 0x14000ce30
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
push rbp
mov eax, 0x1948
call fcn.140017d80
sub rsp, 0x1948
xor edi, edi
movaps xmmword [rsp + 0x1910], xmm8
mov rbp, r8
mov word [rsp + 0xa0], di
mov ebx, edx
mov byte [rsp + 0xa2], dil
mov esi, ecx
mov eax, dword [0x14002be40]
mov dword [rsp + 0xa3], eax
movzx r9d, word [0x14002be44]
mov word [rsp + 0xa7], r9w
mov word [rsp + 0x1940], di
mov byte [rsp + 0x1942], dil
xor eax, eax
mov qword [0x140044140], rax
mov dword [0x140044148], eax
mov byte [0x14004414c], al
mov rcx, rbp
call fcn.14000b2a0
mov r14, rax
test r14, r14
je 0x14000d0e7
mov rdx, r14
lea rax, [rsp + 0xa0]
mov r8d, 2
test r8d, r8d
je 0x14000cf0f
test dl, 3
je 0x14000cef9
mov cl, byte [rdx]
inc rdx
test cl, cl
je 0x14000cefe
mov byte [rax], cl
inc rax
dec r8d
je 0x14000cf0f
test dl, 3
jne 0x14000cee1
call fcn.1400140f0
test r8, r8
je 0x14000cf0f
xor cl, cl
mov byte [rax], cl
inc rax
dec r8
jne 0x14000cf05
lea rcx, [rsp + 0xa0]
call fcn.14001843c
mov r10d, eax
mov r15d, edi
lea eax, [r10*8 - 8]
lea r9d, [r10*4 - 4]
add r9d, eax
test r9d, r9d
jle 0x14000d068
lea eax, [r10*8]
lea r12d, [rax + r10*4 - 0xc]
movsxd r13, r15d
lea rcx, [rsp + 0x1940]
xor edx, edx
mov r8d, 0x10
mov al, byte [r13 + r14 + 0xe]
mov r9b, byte [r13 + r14 + 0xf]
mov byte [rcx], al
mov byte [rcx + 1], r9b
call fcn.14001872c
mov r9b, byte [r13 + r14 + 0x10]
lea rcx, [rsp + 0x1940]
mov r10b, byte [r13 + r14 + 0x11]
xor edx, edx
mov r8d, 0x10
xor byte [rsp + 0xa3], al
mov byte [rcx], r9b
mov byte [rcx + 1], r10b
call fcn.14001872c
mov r9b, byte [r13 + r14 + 0x12]
lea rcx, [rsp + 0x1940]
mov r10b, byte [r13 + r14 + 0x13]
xor edx, edx
mov r8d, 0x10
xor byte [rsp + 0xa4], al
mov byte [rcx], r9b
mov byte [rcx + 1], r10b
call fcn.14001872c
mov r9b, byte [r13 + r14 + 0x14]
lea rcx, [rsp + 0x1940]
mov r10b, byte [r13 + r14 + 0x15]
xor edx, edx
mov r8d, 0x10
xor byte [rsp + 0xa5], al
mov byte [rcx], r9b
mov byte [rcx + 1], r10b
call fcn.14001872c
mov r9b, byte [r13 + r14 + 0x16]
lea rcx, [rsp + 0x1940]
mov r10b, byte [r13 + r14 + 0x17]
xor edx, edx
mov r8d, 0x10
xor byte [rsp + 0xa6], al
mov byte [rcx], r9b
mov byte [rcx + 1], r10b
call fcn.14001872c
mov r9b, byte [r13 + r14 + 0x18]
lea rcx, [rsp + 0x1940]
mov r10b, byte [r13 + r14 + 0x19]
xor edx, edx
mov r8d, 0x10
add r15d, 0xc
xor byte [rsp + 0xa7], al
mov byte [rcx], r9b
mov byte [rcx + 1], r10b
call fcn.14001872c
xor byte [rsp + 0xa8], al
cmp r15d, r12d
jl 0x14000cf4b
mov edx, 0x171
lea rcx, [rsp + 0x14a0]
lea r8, [0x14002bef8]
mov r9d, 0x18
call fcn.14000b040
mov r8, rax
mov r14, rsp
lea rcx, [0x140044140]
movzx eax, byte [rsp + 0xa4]
mov edx, 0xd
movzx r10d, byte [rsp + 0xa5]
movzx r11d, byte [rsp + 0xa6]
movzx r12d, byte [rsp + 0xa7]
movzx r13d, byte [rsp + 0xa8]
movzx r9d, byte [rsp + 0xa3]
mov dword [r14 + 0x20], eax
mov dword [r14 + 0x28], r10d
mov dword [r14 + 0x30], r11d
mov dword [r14 + 0x38], r12d
mov dword [r14 + 0x40], r13d
call fcn.140017dd0
lea rax, [0x140044140]
cmp byte [rax], 0
jne 0x14000d1d1
test ebx, ebx
je 0x14000d1b2
mov edx, 0xf3
lea rcx, [rsp + 0xca0]
lea r8, [0x14002bec4]
mov r9d, 0x18
call fcn.14000b040
mov qword [rsp + 0xa0], rax
mov ecx, pe_nt_image_headers64
call fcn.14000b150
mov dword [rsp + 0xa8], eax
mov ecx, pe_nt_image_headers64
call fcn.14000b150
mov r15d, eax
mov ecx, pe_nt_image_headers64
call fcn.14000b150
mov r14d, eax
mov ecx, pe_nt_image_headers64
call fcn.14000b150
mov r13d, eax
mov ecx, pe_nt_image_headers64
call fcn.14000b150
mov r12d, eax
mov ecx, pe_nt_image_headers64
call fcn.14000b150
mov r10, rsp
lea rcx, [0x140044140]
mov edx, 0xd
mov dword [r10 + 0x20], r15d
mov dword [r10 + 0x28], r14d
mov dword [r10 + 0x30], r13d
mov dword [r10 + 0x38], r12d
mov dword [r10 + 0x40], eax
mov r8, qword [rsp + 0xa0]
mov r9d, dword [rsp + 0xa8]
call fcn.140017dd0
or esi, 8
jmp 0x14000d1d1
movaps xmm8, xmmword [rsp + 0x1910]
xor eax, eax
add rsp, 0x1948
pop rbp
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
pxor xmm8, xmm8
movaps xmmword [rsp + 0x18f0], xmm8
mov word [rsp + 0x1900], di
mov byte [rsp + 0x1902], dil
lea rcx, [0x140044140]
mov edx, 0xc
mov r8d, 4
call fcn.14000e160
mov rax, rsp
lea rcx, [rsp + 0x18f0]
lea rdx, [0x140044140]
xor r8d, r8d
mov r9d, 0xc
mov dword [rax + 0x20], 0
call fcn.14000e6c0
mov edx, 0xca
lea rcx, [rsp + 0x10a0]
lea r8, [0x14002bea0]
mov r9d, 0x23
call fcn.14000b040
mov r8, rax
mov rax, rsp
lea rcx, [rsp + 0x18d3]
movzx r10d, byte [rcx + 0x1e]
mov edx, 0x14
movzx r11d, byte [rcx + 0x1f]
movzx r12d, byte [rcx + 0x20]
mov dword [rax + 0x20], r10d
movzx r10d, byte [rcx + 0x24]
mov dword [rax + 0x50], r10d
movzx r10d, byte [rcx + 0x2a]
mov dword [rax + 0x80], r10d
movzx r13d, byte [rcx + 0x21]
movzx r14d, byte [rcx + 0x22]
movzx r15d, byte [rcx + 0x23]
movzx r10d, byte [rcx + 0x2b]
mov dword [rax + 0x28], r11d
mov dword [rax + 0x30], r12d
mov dword [rax + 0x38], r13d
mov dword [rax + 0x40], r14d
mov dword [rax + 0x48], r15d
mov dword [rax + 0x88], r10d
movzx r11d, byte [rcx + 0x25]
movzx r12d, byte [rcx + 0x26]
movzx r13d, byte [rcx + 0x27]
movzx r14d, byte [rcx + 0x28]
movzx r15d, byte [rcx + 0x29]
movzx r10d, byte [rcx + 0x2c]
movzx r9d, byte [rcx + 0x1d]
mov dword [rax + 0x58], r11d
mov dword [rax + 0x60], r12d
mov dword [rax + 0x68], r13d
mov dword [rax + 0x70], r14d
mov dword [rax + 0x78], r15d
mov dword [rax + 0x90], r10d
call fcn.140017dd0
test ebx, ebx
je 0x14000d58c
mov word [rsp + 0xa0], di
mov byte [rsp + 0xa2], dil
mov eax, dword [0x14002be40]
mov dword [rsp + 0xa3], eax
movzx ebx, word [0x14002be44]
mov word [rsp + 0xa7], bx
mov word [rsp + 0x1920], di
mov byte [rsp + 0x1922], dil
xor eax, eax
mov qword [0x140044140], rax
mov dword [0x140044148], eax
mov byte [0x14004414c], al
xor ecx, ecx
mov rdx, rbp
call fcn.14000daa0
mov r13, rax
test r13, r13
je 0x14000d584
mov rdx, r13
lea rax, [rsp + 0xa0]
mov r8d, 2
test r8d, r8d
je 0x14000d3b1
test dl, 3
je 0x14000d39b
mov cl, byte [rdx]
inc rdx
test cl, cl
je 0x14000d3a0
mov byte [rax], cl
inc rax
dec r8d
je 0x14000d3b1
test dl, 3
jne 0x14000d383
call fcn.1400140f0
test r8, r8
je 0x14000d3b1
xor cl, cl
mov byte [rax], cl
inc rax
dec r8
jne 0x14000d3a7
lea rcx, [rsp + 0xa0]
call fcn.14001843c
mov ebx, eax
mov r12d, edi
lea eax, [rbx*8 - 8]
lea ecx, [rbx*4 - 4]
add ecx, eax
test ecx, ecx
jle 0x14000d502
lea eax, [rbx*8]
lea ebp, [rax + rbx*4 - 0xc]
movsxd rbx, r12d
lea rcx, [rsp + 0x1920]
xor edx, edx
mov r8d, 0x10
mov al, byte [rbx + r13 + 0xe]
mov r9b, byte [rbx + r13 + 0xf]
mov byte [rcx], al
mov byte [rcx + 1], r9b
call fcn.14001872c
mov r9b, byte [rbx + r13 + 0x10]
lea rcx, [rsp + 0x1920]
mov r10b, byte [rbx + r13 + 0x11]
xor edx, edx
mov r8d, 0x10
xor byte [rsp + 0xa3], al
mov byte [rcx], r9b
mov byte [rcx + 1], r10b
call fcn.14001872c
mov r9b, byte [rbx + r13 + 0x12]
lea rcx, [rsp + 0x1920]
mov r10b, byte [rbx + r13 + 0x13]
xor edx, edx
mov r8d, 0x10
xor byte [rsp + 0xa4], al
mov byte [rcx], r9b
mov byte [rcx + 1], r10b
call fcn.14001872c
mov r9b, byte [rbx + r13 + 0x14]
lea rcx, [rsp + 0x1920]
mov r10b, byte [rbx + r13 + 0x15]
xor edx, edx
mov r8d, 0x10
xor byte [rsp + 0xa5], al
mov byte [rcx], r9b
mov byte [rcx + 1], r10b
call fcn.14001872c
mov r9b, byte [rbx + r13 + 0x16]
lea rcx, [rsp + 0x1920]
mov r10b, byte [rbx + r13 + 0x17]
xor edx, edx
mov r8d, 0x10
xor byte [rsp + 0xa6], al
mov byte [rcx], r9b
mov byte [rcx + 1], r10b
call fcn.14001872c
mov r9b, byte [rbx + r13 + 0x18]
lea rcx, [rsp + 0x1920]
mov bl, byte [rbx + r13 + 0x19]
xor edx, edx
mov r8d, 0x10
add r12d, 0xc
xor byte [rsp + 0xa7], al
mov byte [rcx], r9b
mov byte [rcx + 1], bl
call fcn.14001872c
xor byte [rsp + 0xa8], al
cmp r12d, ebp
jl 0x14000d3e6
mov edx, 0x171
lea rcx, [rsp + 0x4a0]
lea r8, [0x14002bef8]
mov r9d, 0x18
call fcn.14000b040
mov r8, rax
mov r12, rsp
lea rcx, [0x140044140]
movzx eax, byte [rsp + 0xa4]
mov edx, 0xd
movzx ebx, byte [rsp + 0xa5]
movzx ebp, byte [rsp + 0xa6]
movzx r10d, byte [rsp + 0xa7]
movzx r11d, byte [rsp + 0xa8]
movzx r9d, byte [rsp + 0xa3]
mov dword [r12 + 0x20], eax
mov dword [r12 + 0x28], ebx
mov dword [r12 + 0x30], ebp
mov dword [r12 + 0x38], r10d
mov dword [r12 + 0x40], r11d
call fcn.140017dd0
or esi, 4
jmp 0x14000d810
mov word [rsp + 0xa0], di
mov byte [rsp + 0xa2], dil
mov eax, dword [0x14002be40]
mov dword [rsp + 0xa3], eax
movzx ebx, word [0x14002be44]
mov word [rsp + 0xa7], bx
mov word [rsp + 0x1930], di
mov byte [rsp + 0x1932], dil
xor eax, eax
mov qword [0x140044140], rax
mov dword [0x140044148], eax
mov byte [0x14004414c], al
mov rcx, rbp
call fcn.14000be80
mov r13, rax
test r13, r13
je 0x14000d80d
mov rdx, r13
lea rax, [rsp + 0xa0]
mov r8d, 2
test r8d, r8d
je 0x14000d63a
test dl, 3
je 0x14000d624
mov cl, byte [rdx]
inc rdx
test cl, cl
je 0x14000d629
mov byte [rax], cl
inc rax
dec r8d
je 0x14000d63a
test dl, 3
jne 0x14000d60c
call fcn.1400140f0
test r8, r8
je 0x14000d63a
xor cl, cl
mov byte [rax], cl
inc rax
dec r8
jne 0x14000d630
lea rcx, [rsp + 0xa0]
call fcn.14001843c
mov ebx, eax
mov r12d, edi
lea eax, [rbx*8 - 8]
lea ecx, [rbx*4 - 4]
add ecx, eax
test ecx, ecx
jle 0x14000d78b
lea eax, [rbx*8]
lea ebp, [rax + rbx*4 - 0xc]
movsxd rbx, r12d
lea rcx, [rsp + 0x1930]
xor edx, edx
mov r8d, 0x10
mov al, byte [rbx + r13 + 0xe]
mov r9b, byte [rbx + r13 + 0xf]
mov byte [rcx], al
mov byte [rcx + 1], r9b
call fcn.14001872c
mov r9b, byte [rbx + r13 + 0x10]
lea rcx, [rsp + 0x1930]
mov r10b, byte [rbx + r13 + 0x11]
xor edx, edx
mov r8d, 0x10
xor byte [rsp + 0xa3], al
mov byte [rcx], r9b
mov byte [rcx + 1], r10b
call fcn.14001872c
mov r9b, byte [rbx + r13 + 0x12]
lea rcx, [rsp + 0x1930]
mov r10b, byte [rbx + r13 + 0x13]
xor edx, edx
mov r8d, 0x10
xor byte [rsp + 0xa4], al
mov byte [rcx], r9b
mov byte [rcx + 1], r10b
call fcn.14001872c
mov r9b, byte [rbx + r13 + 0x14]
lea rcx, [rsp + 0x1930]
mov r10b, byte [rbx + r13 + 0x15]
xor edx, edx
mov r8d, 0x10
xor byte [rsp + 0xa5], al
mov byte [rcx], r9b
mov byte [rcx + 1], r10b
call fcn.14001872c
mov r9b, byte [rbx + r13 + 0x16]
lea rcx, [rsp + 0x1930]
mov r10b, byte [rbx + r13 + 0x17]
xor edx, edx
mov r8d, 0x10
xor byte [rsp + 0xa6], al
mov byte [rcx], r9b
mov byte [rcx + 1], r10b
call fcn.14001872c
mov r9b, byte [rbx + r13 + 0x18]
lea rcx, [rsp + 0x1930]
mov bl, byte [rbx + r13 + 0x19]
xor edx, edx
mov r8d, 0x10
add r12d, 0xc
xor byte [rsp + 0xa7], al
mov byte [rcx], r9b
mov byte [rcx + 1], bl
call fcn.14001872c
xor byte [rsp + 0xa8], al
cmp r12d, ebp
jl 0x14000d66f
mov edx, 0x171
lea rcx, [rsp + 0x8a0]
lea r8, [0x14002bef8]
mov r9d, 0x18
call fcn.14000b040
mov r8, rax
mov r12, rsp
lea rcx, [0x140044140]
movzx eax, byte [rsp + 0xa4]
mov edx, 0xd
movzx ebx, byte [rsp + 0xa5]
movzx ebp, byte [rsp + 0xa6]
movzx r10d, byte [rsp + 0xa7]
movzx r11d, byte [rsp + 0xa8]
movzx r9d, byte [rsp + 0xa3]
mov dword [r12 + 0x20], eax
mov dword [r12 + 0x28], ebx
mov dword [r12 + 0x30], ebp
mov dword [r12 + 0x38], r10d
mov dword [r12 + 0x40], r11d
call fcn.140017dd0
or esi, 2
lea rax, [0x140044140]
cmp byte [rax], 0
je 0x14000d1b2
movaps xmmword [rsp + 0x18c0], xmm8
mov word [rsp + 0x18d0], di
mov byte [rsp + 0x18d2], dil
lea rcx, [0x140044140]
mov edx, 0xc
mov r8d, 4
call fcn.14000e160
mov rax, rsp
lea rcx, [rsp + 0x18c0]
lea rdx, [0x140044140]
xor r8d, r8d
mov r9d, 0xc
mov dword [rax + 0x20], 0
call fcn.14000e6c0
mov edx, 0xca
lea rcx, [rsp + 0xa0]
lea r8, [0x14002bea0]
mov r9d, 0x23
call fcn.14000b040
mov r8, rax
mov rax, rsp
lea rbx, [rsp + 0x18a0]
movzx ebp, byte [rbx + 0x21]
mov rcx, rbx
movzx r10d, byte [rbx + 0x22]
movzx r11d, byte [rbx + 0x23]
movzx r12d, byte [rbx + 0x24]
movzx r13d, byte [rbx + 0x25]
movzx r14d, byte [rbx + 0x26]
movzx r15d, byte [rbx + 0x27]
movzx edx, byte [rbx + 0x28]
mov dword [rax + 0x20], ebp
mov dword [rax + 0x28], r10d
mov dword [rax + 0x30], r11d
mov dword [rax + 0x38], r12d
mov dword [rax + 0x40], r13d
mov dword [rax + 0x48], r14d
mov dword [rax + 0x50], r15d
mov dword [rax + 0x58], edx
mov edx, 0x14
movzx ebp, byte [rbx + 0x29]
movzx r10d, byte [rbx + 0x2a]
movzx r11d, byte [rbx + 0x2b]
movzx r12d, byte [rbx + 0x2c]
movzx r13d, byte [rbx + 0x2d]
movzx r14d, byte [rbx + 0x2e]
movzx r15d, byte [rbx + 0x2f]
movzx r9d, byte [rbx + 0x20]
mov dword [rax + 0x60], ebp
mov dword [rax + 0x68], r10d
mov dword [rax + 0x70], r11d
mov dword [rax + 0x78], r12d
mov dword [rax + 0x80], r13d
mov dword [rax + 0x88], r14d
mov dword [rax + 0x90], r15d
call fcn.140017dd0
lea rdx, str._03x
lea rcx, [rsp + 0x18e7]
mov r8d, esi
call fcn.1400190b4
mov rax, rsp
lea rbp, [rsp + 0x18b4]
mov rcx, rbp
lea rdx, [rsp + 0x18e7]
xor r8d, r8d
mov r9d, 3
mov dword [rax + 0x20], 0
call fcn.14000e6c0
mov edx, 0x115
lea rcx, [rsp + 0xca0]
lea r8, [0x14002bee8]
mov r9d, 8
call fcn.14000b040
mov r8, rax
mov rax, rsp
lea rcx, [0x14004415c]
mov edx, 0x34
lea r9, [rsp + 0x18d3]
mov qword [rax + 0x20], rbx
mov qword [rax + 0x28], rbp
call fcn.140017dd0
mov ebx, eax
movsx eax, byte [0x14004415c]
lea rdx, [0x14004415d]
test eax, eax
je 0x14000d9e8
add edi, eax
movsx eax, byte [rdx]
inc rdx
test eax, eax
jne 0x14000d9dc
lea rdx, str._03x
lea rcx, [rsp + 0x18eb]
mov r8d, edi
call fcn.1400190b4
mov rax, rsp
lea rcx, [rsp + 0x18b9]
xor r8d, r8d
lea rdx, [rsp + 0x18eb]
mov r9d, 3
mov dword [rax + 0x20], 0
call fcn.14000e6c0
mov edx, 0x120
lea rcx, [rsp + 0xca0]
lea r8, [0x14002bef4]
mov r9d, 3
call fcn.14000b040
mov r8, rax
movsxd rbx, ebx
lea rax, [0x14004415c]
lea r9, [rsp + 0x18b9]
lea rcx, [rax + rbx]
neg rbx
add rbx, 0x34
mov rdx, rbx
call fcn.140017dd0
movaps xmm8, xmmword [rsp + 0x1910]
lea rax, [0x14004415c]
add rsp, 0x1948
pop rbp
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret