Function at 0x140038340
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov rax, qword [0x140370f08]
xor rax, rsp
mov qword [rbp + 0x150], rax
lea rcx, [0x1400382d0]
call fcn.14006cf40
call fcn.14006cc10
test eax, eax
jne 0x1400383eb
movdqa xmm0, xmmword [0x14033b6c0]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x10098b0
xor edi, edi
nop word [rax + rax]
lea eax, [rdi - 0x7f]
xor byte [rsp + rdi + 0x40], al
inc rdi
cmp rdi, 0x12
jb 0x1400383c0
mov byte [rsp + 0x53], 0
lea rdx, [rsp + 0x40]
mov rcx, qword [0x14007e340]
call fcn.140044840
jmp 0x140038c91
call fcn.14006eb90
mov rbx, rax
test rax, rax
jne 0x140038452
movdqa xmm0, xmmword [0x14033b6e0]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xfbe7fbff
mov dword [rsp + 0x54], 0x9db7e7
mov byte [rsp + 0x58], 1
xor edi, edi
nop dword [rax]
lea eax, [rdi - 0x7f]
xor byte [rsp + rdi + 0x40], al
inc rdi
cmp rdi, 0x17
jb 0x140038420
mov byte [rsp + 0x58], 0
mov ecx, 2
call qword [0x14007ea48]
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14002a1b0
jmp 0x140038c91
mov rcx, rbx
call fcn.14006f160
mov ecx, dword [rax]
mov dword [0x14037ab68], ecx
mov rcx, rbx
call fcn.14006f160
mov ecx, dword [rax + 4]
mov dword [0x14037ab84], ecx
mov r12d, 1
mov edx, r12d
mov ecx, 0x20007
call fcn.140064080
xor edx, edx
mov ecx, 0x20003
call fcn.140064080
xor edx, edx
mov ecx, 0x20008
call fcn.140064080
mov edx, r12d
mov ecx, 0x2000a
call fcn.140064080
mov dword [rbp + 0x90], 0xe8efe3e3
mov word [rbp + 0x94], 0xf6
mov byte [rbp + 0x96], r12b
xor edi, edi
mov ecx, edi
nop dword [rax]
lea eax, [rcx - 0x7f]
xor byte [rbp + rcx + 0x90], al
inc rcx
cmp rcx, 5
jb 0x1400384d0
mov byte [rbp + 0x96], dil
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rbp + 0x90]
mov edx, dword [0x14037ab84]
mov ecx, dword [0x14037ab68]
call fcn.140064850
mov qword [0x14037abf0], rax
test rax, rax
jne 0x140038572
mov dword [rbp + 0x90], 0x5741556d
mov dword [rbp + 0x94], 0x5118071c
mov dword [rbp + 0x98], 0x260a18
mov byte [rbp + 0x9c], r12b
nop dword [rax + rax]
lea eax, [rdi + 0x22]
xor byte [rbp + rdi + 0x90], al
inc rdi
cmp rdi, 0xb
jb 0x140038540
mov byte [rbp + 0x9c], 0
lea rdx, [rbp + 0x90]
mov rcx, qword [0x14007e340]
call fcn.140044840
jmp 0x140038c91
xor r8d, r8d
mov edx, 0x20005
mov rcx, rax
call fcn.140066110
mov r8d, r12d
mov edx, 0x2000d
mov rcx, qword [0x14037abf0]
call fcn.140066110
mov r8d, r12d
mov edx, 0x2000a
mov rcx, qword [0x14037abf0]
call fcn.140066110
mov eax, dword [0x14037ab84]
inc eax
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], eax
mov eax, dword [0x14037ab68]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14037abf0]
call fcn.140065cc0
mov rcx, qword [0x14037abf0]
call fcn.14006d650
mov ecx, r12d
call fcn.14006d7e0
call fcn.14005fac0
test eax, eax
je 0x140038659
mov dword [rbp + 0x90], 0x5741556d
mov dword [rbp + 0x94], 0x5118071c
mov dword [rbp + 0x98], 0x260a1b
mov byte [rbp + 0x9c], r12b
nop word [rax + rax]
lea eax, [rdi + 0x22]
xor byte [rbp + rdi + 0x90], al
inc rdi
cmp rdi, 0xb
jb 0x140038620
mov byte [rbp + 0x9c], 0
mov ecx, 2
call qword [0x14007ea48]
lea rdx, [rbp + 0x90]
mov rcx, rax
call fcn.14002a1b0
jmp 0x140038c91
mov rax, qword [0x14037ab30]
test rax, rax
je 0x14003866b
inc dword [rax + 0x3b4]
mov rdx, qword [0x14037ab20]
mov ecx, 0x3f18
call fcn.140005ed0
mov qword [rbp + 0x90], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0xb0], rcx
mov qword [rbp + 0xa8], rax
test rax, rax
je 0x1400386aa
xor edx, edx
mov rcx, rax
call fcn.140005300
mov rcx, rax
jmp 0x1400386ad
mov rcx, rdi
mov rax, qword [0x14037ab30]
test rax, rax
cmove rax, rcx
mov qword [0x14037ab30], rax
call fcn.14000a980
mov rbx, qword [0x14037ab30]
or dword [rbx + 8], 0x400
xorps xmm6, xmm6
xor eax, eax
movups xmmword [rbp + 0xc0], xmm6
movups xmmword [rbp + 0xd0], xmm6
movups xmmword [rbp + 0xe0], xmm6
movups xmmword [rbp + 0x100], xmm6
movups xmmword [rbp + 0x110], xmm6
mov qword [rbp + 0x140], rax
mov byte [rbp + 0xcc], 1
mov dword [rbp + 0x104], 0x7f7fffff
mov dword [rbp + 0x110], 0x3f800000
mov r13d, 0xffff
mov word [rbp + 0x114], r13w
mov qword [rbx + 0x20], rdi
mov qword [rbx + 0x28], rdi
mov byte [rbp + 0x108], 1
mov byte [rbp + 0xe0], 1
mov dword [rbp + 0xd8], 3
mov dword [rbp + 0xdc], 3
xorps xmm2, xmm2
movups xmmword [rsp + 0x70], xmm2
movups xmmword [rbp - 0x80], xmm2
movups xmmword [rbp - 0x50], xmm2
movups xmmword [rbp - 0x40], xmm2
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x78], 3
mov dword [rbp - 0x74], r12d
mov dword [rbp - 0x4c], 0x7f7fffff
mov dword [rbp - 0x40], 0x3f800000
mov word [rbp - 0x3c], r13w
mov byte [rsp + 0x7c], al
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rbp], xmm0
movaps xmm1, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x10], xmm1
movaps xmmword [rbp + 0x20], xmm2
movaps xmmword [rbp + 0x30], xmm2
movaps xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0x40], xmm0
movaps xmm1, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x50], xmm1
movaps xmmword [rbp + 0x60], xmm2
movaps xmmword [rbp + 0x70], xmm2
movsd xmm0, qword [rbp - 0x10]
movsd qword [rbp + 0x80], xmm0
lea rax, [0x1403174c0]
mov qword [rbp], rax
mov dword [rbp + 8], 0x225bc
movss xmm0, dword [0x14033afd0]
movss dword [rbp + 0x14], xmm0
lea rdx, [rbp]
mov rcx, qword [rbx + 0xa8]
call fcn.140024ef0
mov r15, qword [rbx + 0xa8]
mov rax, qword [0x14037ab30]
test rax, rax
je 0x140038817
inc dword [rax + 0x3b4]
mov rdx, qword [0x14037ab20]
mov ecx, 0x286ac
call fcn.140005ed0
mov r14, rax
lea rax, [0x1402f8e20]
mov qword [0x14037ad38], rax
lea rsi, [r14 + 0x286ac]
mov qword [0x14037ad40], rsi
mov qword [0x14037ad48], r14
mov qword [0x14037ad50], r14
lea rbx, [0x1402f8e30]
mov rcx, rbx
call fcn.140028e00
cmp rax, rbx
je 0x140038889
nop dword [rax]
cmp qword [0x14037ad50], rsi
ja 0x140038889
mov rbx, rax
mov rcx, rax
call fcn.140028e00
cmp rax, rbx
jne 0x140038870
movaps xmm0, xmmword [rbp + 0xc0]
movaps xmmword [rbp], xmm0
movaps xmm2, xmmword [rbp + 0xd0]
movaps xmm3, xmmword [rbp + 0xe0]
movaps xmm4, xmmword [rbp + 0x100]
movaps xmm5, xmmword [rbp + 0x110]
movsd xmm1, qword [rbp + 0x140]
mov byte [rbp + 0xc], 1
movaps xmm0, xmmword [rbp]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rbp - 0x80], xmm2
movaps xmmword [rbp - 0x70], xmm3
movaps xmmword [rbp - 0x60], xmm6
movaps xmmword [rbp - 0x50], xmm4
movaps xmmword [rbp - 0x40], xmm5
movaps xmmword [rbp - 0x30], xmm6
movaps xmmword [rbp - 0x20], xmm6
movsd qword [rbp - 0x10], xmm1
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x78], 0x286ac
movss xmm0, dword [0x14033afc4]
movss dword [rbp - 0x7c], xmm0
lea rax, [0x14033ae00]
mov qword [rbp - 0x58], rax
lea rdx, [rsp + 0x70]
mov rcx, r15
call fcn.140024ef0
mov rax, qword [0x14037ab30]
mov rsi, qword [rax + 0xa8]
mov qword [rbp + 0x90], rdi
lea r8, [rbp + 0x90]
lea r14, [0x14033ab10]
mov rcx, r14
call fcn.140006780
mov rbx, rax
test rax, rax
je 0x140038adf
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rsp + 0x70], xmm1
movups xmmword [rbp - 0x80], xmm1
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x40], xmm1
mov qword [rbp - 0x10], rax
mov byte [rsp + 0x7c], 1
mov dword [rbp - 0x78], 3
mov dword [rbp - 0x74], r12d
mov dword [rbp - 0x4c], 0x7f7fffff
mov dword [rbp - 0x40], 0x3f800000
mov word [rbp - 0x3c], r13w
movaps xmm3, xmmword [rsp + 0x70]
movaps xmmword [rbp + 0xc0], xmm3
movaps xmm4, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0xd0], xmm4
movaps xmmword [rbp + 0xe0], xmm1
xorps xmm5, xmm5
movaps xmmword [rbp + 0xf0], xmm5
movaps xmm6, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0x100], xmm6
movaps xmm2, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x110], xmm2
xorps xmm7, xmm7
movaps xmmword [rbp + 0x120], xmm7
xorps xmm8, xmm8
movaps xmmword [rbp + 0x130], xmm8
movsd xmm9, qword [rbp - 0x10]
movsd qword [rbp + 0x140], xmm9
movdqa xmm0, xmm2
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x140038a8f
lea r9, [0x14033ab2b]
nop dword [rax + rax]
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x140038a27
cmp al, 0x5c
je 0x140038a27
mov r9, rcx
cmp rcx, r14
ja 0x140038a10
movsd xmm0, qword [0x14033af08]
movsd qword [rsp + 0x20], xmm0
lea r8, [0x140339d98]
mov edx, 0x28
lea rcx, [rbp + 0x116]
call fcn.140006490
movsd xmm9, qword [rbp + 0x140]
movaps xmm8, xmmword [rbp + 0x130]
movaps xmm7, xmmword [rbp + 0x120]
movaps xmm2, xmmword [rbp + 0x110]
movaps xmm6, xmmword [rbp + 0x100]
movaps xmm5, xmmword [rbp + 0xf0]
movaps xmm1, xmmword [rbp + 0xe0]
movaps xmm4, xmmword [rbp + 0xd0]
movaps xmm3, xmmword [rbp + 0xc0]
movaps xmmword [rbp], xmm3
movaps xmmword [rbp + 0x10], xmm4
movaps xmmword [rbp + 0x20], xmm1
movaps xmmword [rbp + 0x30], xmm5
movaps xmmword [rbp + 0x40], xmm6
movaps xmmword [rbp + 0x50], xmm2
movaps xmmword [rbp + 0x60], xmm7
movaps xmmword [rbp + 0x70], xmm8
movsd qword [rbp + 0x80], xmm9
mov qword [rbp], rbx
mov eax, dword [rbp + 0x90]
mov dword [rbp + 8], eax
movss xmm0, dword [0x14033afb8]
movss dword [rbp + 0x14], xmm0
lea rdx, [rbp]
mov rcx, rsi
call fcn.140024ef0
mov rcx, qword [0x14037abf0]
call fcn.140029a20
mov dword [rsp + 0x40], 0xf6e6f4a2
mov dword [rsp + 0x44], 0xe6e8eff6
mov dword [rsp + 0x48], 0xbcb8bba9
mov word [rsp + 0x4c], pe_nt_image_headers64
mov rcx, rdi
nop dword [rax]
lea eax, [rcx - 0x7f]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0xc
jb 0x140038b10
mov byte [rsp + 0x4d], 0
mov dword [rbp + 0xa0], edi
mov dword [rbp + 0xa8], edi
lea rdx, [rbp + 0xa0]
mov ecx, 0x821b
call qword [0x14007e450]
lea rdx, [rbp + 0xa8]
mov ecx, 0x821c
call qword [0x14007e450]
mov eax, dword [rbp + 0xa0]
test eax, eax
jne 0x140038b95
cmp dword [rbp + 0xa8], eax
jne 0x140038b95
mov ecx, 0x1f02
call qword [0x14007e458]
lea r9, [rbp + 0xa8]
lea r8, [rbp + 0xa0]
lea rdx, [0x140339dc0]
mov rcx, rax
call fcn.140005210
mov eax, dword [rbp + 0xa0]
lea ecx, [rax + rax*4]
mov eax, dword [rbp + 0xa8]
lea ecx, [rax + rcx*2]
lea eax, [rcx + rcx*4]
add eax, eax
mov dword [0x14037adf4], eax
mov rcx, qword [0x14037ab30]
lea rdx, [0x140339dc8]
mov qword [rcx + 0xe0], rdx
cmp eax, 0x140
jb 0x140038bcc
or dword [rcx + 0xc], 8
mov rdx, rdi
lea rcx, [0x14037ae08]
nop word [rax + rax]
movzx eax, byte [rsp + rdx + 0x40]
mov byte [rdx + rcx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140038be0
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x140038bf3
movzx eax, word [0x140339c90]
mov word [rcx], ax
lea rdx, [rbp + 0x90]
mov ecx, 0x8069
call qword [0x14007e450]
cmp dword [0x14037adf4], 0x1c2
setae byte [0x14037ad69]
mov dword [rbp + 0xb0], edi
lea rdx, [rbp + 0xb0]
mov ecx, 0x821d
call qword [0x14007e450]
cmp dword [rbp + 0xb0], 0
jle 0x140038c91
nop word [rax + rax]
mov rax, qword [0x1403727d8]
mov edx, edi
mov ecx, 0x1f03
call rax
test rax, rax
je 0x140038c87
lea rdx, [0x140339de0]
mov rcx, rax
call fcn.14007c400
movzx ecx, byte [0x14037ad69]
test eax, eax
cmove ecx, r12d
mov byte [0x14037ad69], cl
inc edi
cmp edi, dword [rbp + 0xb0]
jl 0x140038c50
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.14007a900
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret