Function at 0x140009510
Capabilities:
Encode data using xor
Parse pe header

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc8
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov rax, qword [0x140353c70]
xor rax, rsp
mov qword [rbp - 0x11], rax
mov eax, 0x5a4d
mov qword [rbp - 0x69], rcx
movzx r15d, r9b
mov rsi, r8
mov r12, rdx
mov rbx, rcx
cmp word [r8], ax
je 0x140009732
mov eax, dword [0x1402f93c8]
xor edi, edi
cmp dword [0x140353c80], 2
movups xmm0, xmmword [0x1402f93b8]
mov dword [rbp - 0x41], eax
movzx eax, word [0x1402f93cc]
mov word [rbp - 0x3d], ax
movzx eax, byte [0x1402f93ce]
mov byte [rbp - 0x3b], al
movups xmmword [rbp - 0x51], xmm0
jl 0x1400096e6
movdqa xmm0, xmmword [0x140304230]
lea rcx, [rbp - 0x4d]
movdqa xmm5, xmmword [0x140304160]
mov eax, 4
movdqa xmm4, xmmword [0x140304280]
movdqa xmm7, xmmword [0x1403041b0]
movdqa xmmword [rbp - 0x69], xmm0
mov edx, dword [rbp - 0x69]
movd xmm6, eax
mov eax, 0x1f
movd xmm8, eax
nop dword [rax + rax]
movd xmm2, edi
lea eax, [rdi + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add edi, 8
pmuldq xmm1, xmm4
mov eax, edi
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edi, 0x10
jl 0x1400095e0
cmp eax, 0x17
jge 0x14000971e
movsxd rax, edi
lea r8, [rbp - 0x51]
add r8, rax
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, dil
inc edi
sub al, cl
add al, 0x31
xor byte [r8 - 1], al
cmp edi, 0x17
jl 0x1400096f0
lea rcx, [rbp - 0x51]
call fcn.1400081f0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
jmp 0x140009a8f
mov qword [rsp + 0x100], r13
movsxd r13, dword [r8 + 0x3c]
add r13, rsi
cmp dword [r13], 0x4550
je 0x140009922
cmp byte [0x1402f948d], 0
mov eax, dword [0x1402f9488]
movups xmm0, xmmword [str.XEUY_S]
mov dword [rbp - 0x41], eax
movzx eax, word [0x1402f948c]
movups xmmword [rbp - 0x51], xmm0
mov word [rbp - 0x3d], ax
je 0x14000990e
xor edi, edi
cmp dword [0x140353c80], 2
jl 0x1400098d6
movdqa xmm0, xmmword [0x140304230]
lea rcx, [rbp - 0x4d]
movdqa xmm5, xmmword [0x140304160]
mov eax, 4
movdqa xmm4, xmmword [0x140304280]
movdqa xmm7, xmmword [0x1403041b0]
movdqa xmmword [rbp - 0x69], xmm0
mov edx, dword [rbp - 0x69]
movd xmm6, eax
mov eax, 0x1f
movd xmm8, eax
nop dword [rax]
movd xmm2, edi
lea eax, [rdi + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add edi, 8
pmuldq xmm1, xmm4
mov eax, edi
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edi, 0x10
jl 0x1400097d0
cmp eax, 0x16
jge 0x14000990e
movsxd rax, edi
lea r8, [rbp - 0x51]
add r8, rax
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, dil
inc edi
sub al, cl
add al, 0x31
xor byte [r8 - 1], al
cmp edi, 0x16
jl 0x1400098e0
lea rcx, [rbp - 0x51]
call fcn.1400081f0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
jmp 0x140009a87
xor edi, edi
mov qword [rsp + 0xc0], r14
mov word [r8], di
xor r9d, r9d
mov dword [r13], edi
lea r8, [rbp - 0x19]
mov eax, dword [rdx]
xor ecx, ecx
mov dword [rbp - 0x31], eax
lea rdx, [rbp - 0x39]
lea rax, [rbp - 0x59]
mov qword [rbp - 0x59], rdi
mov qword [rbp - 0x29], rax
mov eax, dword [r13 + 0x50]
add eax, 0x150
mov dword [rbp - 0x2d], edi
mov dword [rbp - 0x21], eax
mov eax, 4
mov dword [rbp - 0x4d], eax
lea rax, [rbp - 0x31]
mov qword [rbp - 0x49], rax
lea rax, [rbp - 0x51]
mov qword [rbp - 0x39], rax
mov dword [rbp - 0x1d], 0x40
mov dword [rbp - 0x51], 0x13387676
mov qword [rbp - 0x19], rdi
call qword [0x14035a9d0]
mov r14, qword [rbp - 0x59]
add r14, 0x150
mov qword [rbp - 0x79], r14
jne 0x1400099ad
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
jmp 0x140009a7f
mov r8, r13
mov rdx, rsi
mov rcx, r12
call fcn.1400082e0
test al, al
je 0x1400099a2
mov r8, r13
mov rdx, rsi
mov rcx, r14
call fcn.140009300
mov r9d, 0x1000
mov r8, rsi
mov rdx, r14
mov rcx, r12
call fcn.140007a30
test eax, eax
jne 0x1400099a2
mov r9, r13
mov r8, rsi
mov rdx, r14
mov rcx, r12
call fcn.140009490
test al, al
je 0x1400099a2
test r15b, r15b
je 0x140009a71
movzx r15d, word [r13 + 0x14]
mov edx, edi
add r15, 0x20
mov dword [rbp - 0x59], edx
cmp di, word [r13 + 6]
jae 0x140009a71
add r15, r13
nop word [rax + rax]
mov ecx, dword [r15 + 8]
cmp ecx, dword [r15]
cmovae ecx, dword [r15]
test ecx, ecx
je 0x140009a5b
mov esi, dword [r15 + 4]
mov rbx, rdi
add rsi, r14
mov r14d, ecx
test ecx, ecx
je 0x140009a57
lea rdx, [rbx + rsi]
mov rcx, r12
call fcn.140007e80
inc rbx
cmp rbx, r14
jb 0x140009a40
mov edx, dword [rbp - 0x59]
mov r14, qword [rbp - 0x79]
movzx eax, word [r13 + 6]
inc edx
add r15, 0x28
mov dword [rbp - 0x59], edx
cmp edx, eax
jl 0x140009a20
mov rbx, qword [rbp - 0x69]
mov eax, dword [r13 + 0x28]
add rax, r14
mov qword [rbx + 8], r14
mov qword [rbx], rax
mov r14, qword [rsp + 0xc0]
mov r13, qword [rsp + 0x100]
mov rax, rbx
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.1402474e0
lea r11, [rsp + 0xc8]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
mov rsp, r11
pop r15
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret