Function at 0x14005f400
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x140
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
mov rax, qword [0x140138040]
xor rax, rsp
mov qword [rbp - 0x28], rax
mov rsi, r8
mov qword [rsp + 0x68], rdx
mov rdi, rcx
mov r14, qword [0x1401765d0]
mov rax, qword [r14 + 0x40c8]
mov byte [rax + 0xcc], 1
mov r12, qword [r14 + 0x40c8]
movsxd r8, dword [r12 + 0x108]
mov rax, qword [r12 + 0x110]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
call fcn.140006560
mov r15d, eax
movss xmm4, dword [r14 + 0x3968]
addss xmm4, xmm4
addss xmm4, dword [r14 + 0x3dd0]
movss xmm9, dword [r12 + 0x11c]
movaps xmm10, xmm4
addss xmm10, xmm9
movss xmm8, dword [r12 + 0x118]
movaps xmm7, xmm8
addss xmm7, dword [0x14012124c]
movss dword [rbp - 0x48], xmm8
movss dword [rbp - 0x44], xmm9
movss dword [rbp - 0x40], xmm7
movss dword [rbp - 0x3c], xmm10
movaps xmm3, xmm4
movss xmm11, dword [0x140121148]
subss xmm3, xmm11
addss xmm3, xmm9
movaps xmm2, xmm8
movss xmm6, dword [0x140121248]
addss xmm2, xmm6
movaps xmm1, xmm9
addss xmm1, xmm11
movaps xmm0, xmm6
subss xmm0, xmm4
addss xmm0, dword [0x140121178]
addss xmm0, xmm8
movss dword [rbp - 0x58], xmm0
movss dword [rbp - 0x54], xmm1
movss dword [rbp - 0x50], xmm2
movss dword [rbp - 0x4c], xmm3
movss xmm5, dword [r14 + 0x3968]
addss xmm5, xmm5
addss xmm5, dword [r14 + 0x3dd0]
movaps xmm0, xmm5
subss xmm0, xmm11
movss xmm2, dword [r12 + 0x11c]
movaps xmm3, xmm2
addss xmm3, xmm0
movss xmm1, dword [r12 + 0x118]
movaps xmm0, xmm6
subss xmm0, xmm5
subss xmm0, dword [0x140121178]
addss xmm0, xmm1
addss xmm2, xmm11
addss xmm5, xmm5
subss xmm6, xmm5
addss xmm6, xmm1
movss dword [rbp - 0x68], xmm6
movss dword [rbp - 0x64], xmm2
movss dword [rbp - 0x60], xmm0
movss dword [rbp - 0x5c], xmm3
subss xmm10, xmm9
subss xmm7, xmm8
movss dword [rsp + 0x50], xmm7
movss dword [rsp + 0x54], xmm10
movss xmm9, dword [0x1401212c0]
movaps xmm1, xmm9
lea rcx, [rsp + 0x50]
call fcn.140019460
xor r9d, r9d
lea r8, [rbp - 0x58]
mov edx, r15d
lea rcx, [rbp - 0x48]
call fcn.140019210
test al, al
je 0x14005fffe
mov r13, qword [r12 + 0x2b0]
mov rax, qword [0x1401765d0]
movss xmm6, dword [rax + 0x3968]
movss xmm2, dword [rax + 0x3dd0]
addss xmm6, xmm6
addss xmm6, xmm2
mov rbx, 0xffffffffffffffff
xorps xmm8, xmm8
xor edx, edx
movss xmm7, dword [0x140121104]
test rdi, rdi
je 0x14005f6f8
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdi
movss dword [rsp + 0x20], xmm9
movss xmm3, dword [0x140121298]
lea rdx, [rsp + 0x50]
mov rcx, qword [rax + 0x3dc8]
call fcn.14002b510
movss xmm1, dword [rsp + 0x54]
movss xmm0, dword [rbp - 0x48]
movss dword [rsp + 0x50], xmm0
mulss xmm6, xmm7
addss xmm6, dword [rbp - 0x44]
mulss xmm1, xmm7
subss xmm6, xmm1
movss dword [rsp + 0x54], xmm6
cmp byte [rdi], 0
je 0x14005f6f8
mov rcx, rbx
nop
inc rcx
cmp byte [rdi + rcx], 0
jne 0x14005f6a0
add rcx, rdi
mov rax, qword [r13 + 0x38]
movups xmm0, xmmword [r13 + 0x60]
movups xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm8
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0xffffffff
lea r9, [rsp + 0x50]
movss xmm2, dword [rax + 0x10]
mov rdx, r13
mov rcx, qword [rax + 8]
call fcn.14002b770
lea edx, [r15 + 1]
xor r9d, r9d
lea r8, [rbp - 0x68]
lea rcx, [rbp - 0x48]
call fcn.140019210
test al, al
je 0x14005fffe
movss xmm6, dword [r14 + 0x4184]
mov dword [rsp + 0x20], 0
lea r9, [rbp - 0x6f]
lea r8, [rbp - 0x6e]
mov edx, r15d
lea rcx, [rbp - 0x58]
call fcn.140034d60
test al, al
je 0x14005f785
mov rdx, qword [rsp + 0x68]
cmp byte [rdx], 0
sete cl
mov byte [rdx], cl
mov rcx, qword [0x1401765d0]
cmp word [rcx + 0x523e], 0
jg 0x14005f77a
mov edx, dword [rcx + 0x413c]
cmp edx, r15d
je 0x14005f76a
test edx, edx
jne 0x14005f773
mov word [rcx + 0x414c], 0x101
or dword [rcx + 0x4aa0], 4
mov dword [r14 + 0x4184], 0
movss xmm0, dword [r14 + 0x4184]
ucomiss xmm0, xmm8
jp 0x14005f7ac
jne 0x14005f7ac
cmp dword [r14 + 0x4180], r15d
jne 0x14005f7ac
test al, al
jne 0x14005f7ac
movss dword [r14 + 0x4184], xmm6
mov ecx, r15d
call fcn.140016810
lea edx, [r15 + 1]
mov dword [rsp + 0x20], 0
lea r9, [rbp - 0x70]
lea r8, [rbp - 0x6d]
lea rcx, [rbp - 0x68]
call fcn.140034d60
mov ecx, dword [0x140138098]
test al, al
jne 0x14005f7e4
cmp byte [rbp - 0x70], al
je 0x14005f9df
mov rax, qword [0x14011edf0]
mov qword [rsp + 0x50], rax
cmp byte [0x14011edf7], 0
je 0x14005f920
cmp ecx, 2
jl 0x14005f8e6
movdqa xmm4, xmmword [0x1401217c0]
movdqa xmm2, xmmword [0x140121360]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401213b0]
psubd xmm2, xmm0
andps xmm2, xmmword [0x140121430]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140121490]
movd xmm0, dword [rsp + 0x50]
xorps xmm2, xmm0
movd dword [rsp + 0x50], xmm2
movdqa xmm2, xmmword [0x140121380]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401213b0]
psubd xmm2, xmm0
andps xmm2, xmmword [0x140121430]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140121490]
movd xmm0, dword [rsp + 0x54]
xorps xmm2, xmm0
movd dword [rsp + 0x54], xmm2
jmp 0x14005f920
lea r9, [rsp + 0x50]
xor r8d, r8d
nop
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x14005f8f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rsp + 0x50]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14005f940
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140001450
nop
lea rcx, [rsp + 0x70]
mov rdi, qword [rsp + 0x70]
mov r13, qword [rbp - 0x78]
cmp r13, 0xf
cmova rcx, rdi
mov rax, qword [0x1401765d0]
mov rax, qword [rax + 0x40c8]
movsxd r8, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
call fcn.140006560
xor edx, edx
mov ecx, eax
call fcn.14001a770
nop
cmp r13, 0xf
jbe 0x14005f9d9
lea rdx, [r13 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14005f9d1
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005fc00
mov rcx, rdi
call fcn.1400f6564
mov ecx, dword [0x140138098]
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x38], xmm0
mov rax, qword [0x14011edf0]
mov qword [rsp + 0x50], rax
cmp byte [0x14011edf7], 0
je 0x14005fb30
cmp ecx, 2
jl 0x14005faee
movdqa xmm5, xmmword [0x1401217c0]
movdqa xmm3, xmmword [0x140121360]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401213b0]
psubd xmm3, xmm0
andps xmm3, xmmword [0x140121430]
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [0x140121490]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm1, dword [rsp + 0x50]
xorps xmm3, xmm1
movd dword [rsp + 0x50], xmm3
movdqa xmm2, xmmword [0x140121380]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401213b0]
psubd xmm2, xmm0
andps xmm2, xmmword [0x140121430]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x54]
xorps xmm2, xmm1
movd dword [rsp + 0x54], xmm2
jmp 0x14005fb30
lea r9, [rsp + 0x50]
xor r8d, r8d
nop word [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x14005fb00
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rsp + 0x50]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14005fb50
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140001450
nop
lea r9, [rsp + 0x70]
mov rdi, qword [rsp + 0x70]
mov r13, qword [rbp - 0x78]
cmp r13, 0xf
cmova r9, rdi
mov rcx, qword [0x1401765d0]
mov eax, dword [rcx + 0x4bd0]
xor edx, edx
cmp dword [rcx + 0x4bc0], eax
jg 0x14005fba3
mov dword [rcx + 0x4ae8], edx
mov byte [rsp + 0x60], dl
jmp 0x14005fbd5
mov rax, qword [rcx + 0x40c8]
movsxd r8, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + r8*4 - 4]
mov rcx, r9
call fcn.140006560
mov edx, 0x141
mov ecx, eax
call fcn.14001ac80
mov byte [rsp + 0x60], al
cmp r13, 0xf
jbe 0x14005fc0f
lea rdx, [r13 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14005fc07
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005fc07
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400f6564
cmp byte [rsp + 0x60], 0
je 0x14005fd60
movsd xmm0, qword [0x14011edd0]
movsd qword [rsp + 0x50], xmm0
movzx eax, byte [0x14011edd8]
mov byte [rsp + 0x50], 0x23
xor byte [rsp + 0x51], 0x31
xor byte [rsp + 0x52], 0x32
xor byte [rsp + 0x53], 0x33
xor byte [rsp + 0x54], 0x34
xor byte [rsp + 0x55], 0x35
xor byte [rsp + 0x56], 0x36
xor byte [rsp + 0x57], 0x37
xor al, 0x38
mov byte [rsp + 0x58], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rsp + 0x50]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14005fc72
mov r8, rbx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140001450
nop
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rcx, qword [rsp + 0x70]
xor r9d, r9d
mov r8d, 0x450100
lea rdx, [rbp - 0x38]
call fcn.140040d60
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14005fcf0
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005fceb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005fceb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f6564
movdqa xmm0, xmmword [0x140121320]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rsi], xmm0
mov rbx, qword [0x1401765d0]
mov rcx, qword [rbx + 0x40c8]
cmp qword [rbx + 0x4c00], rcx
jne 0x14005fd44
cmp byte [rbx + 0x4c99], 0
je 0x14005fd44
cmp dword [rbx + 0x4c10], 0
jne 0x14005fd44
mov eax, dword [rbx + 0x4c9c]
and eax, 0xfffffff2
or eax, 2
mov dword [rbx + 0x4c9c], eax
test dword [rcx + 0x14], 0x1000000
je 0x14005fd54
mov byte [rbx + 0x401e], 1
call fcn.140015330
mov byte [rbx + 0x401e], 0
mov rax, qword [0x1401765d0]
mov rcx, qword [rax + 0x40c8]
dec dword [rcx + 0x108]
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax]
test al, al
je 0x14005fd86
movaps xmm5, xmm11
jmp 0x14005fd8a
movaps xmm5, xmm8
cmp dword [r14 + 0x4180], r15d
jne 0x14005fdc5
movss xmm0, dword [r14 + 0x4184]
divss xmm0, dword [0x1401210cc]
comiss xmm8, xmm0
jbe 0x14005fdb0
movaps xmm5, xmm8
jmp 0x14005fdb8
movaps xmm5, xmm11
minss xmm5, xmm0
test al, al
jne 0x14005fdc5
subss xmm11, xmm5
movaps xmm5, xmm11
mov rax, qword [0x140175558]
movss xmm2, dword [rax + 0x4e0]
movss xmm3, dword [rax + 0x4dc]
movss xmm4, dword [rax + 0x4d8]
movaps xmm0, xmm2
movss xmm1, dword [0x14012120c]
mulss xmm0, xmm1
cvttss2si ebx, xmm0
or ebx, 0xff00
shl ebx, 8
movaps xmm0, xmm3
mulss xmm0, xmm1
cvttss2si eax, xmm0
or ebx, eax
shl ebx, 8
movaps xmm0, xmm4
mulss xmm0, xmm1
cvttss2si eax, xmm0
or ebx, eax
movss xmm1, dword [0x140121244]
mulss xmm2, xmm1
mulss xmm2, xmm5
cvttss2si edi, xmm2
movaps xmm0, xmm5
mulss xmm0, xmm1
cvttss2si eax, xmm0
shl eax, 8
or edi, eax
shl edi, 8
mulss xmm3, xmm1
mulss xmm3, xmm5
cvttss2si eax, xmm3
or edi, eax
shl edi, 8
mulss xmm4, xmm1
mulss xmm4, xmm5
cvttss2si eax, xmm4
or edi, eax
mov r14, qword [r12 + 0x2b0]
movss xmm6, dword [0x140121100]
movss xmm0, dword [rbp - 0x60]
movss xmm1, dword [rbp - 0x5c]
xor r15d, r15d
movaps xmm3, xmm8
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x50]
mov rcx, r14
mov dword [rsp + 0x20], r15d
test byte [r14 + 0x30], 1
je 0x14005fea7
subss xmm0, xmm7
subss xmm1, xmm7
jmp 0x14005feaf
subss xmm0, xmm6
subss xmm1, xmm6
movss dword [rsp + 0x68], xmm0
movss dword [rsp + 0x6c], xmm1
movss xmm0, dword [rbp - 0x68]
movss xmm1, dword [rbp - 0x64]
addss xmm0, xmm7
addss xmm1, xmm7
movss dword [rsp + 0x50], xmm0
movss dword [rsp + 0x54], xmm1
call fcn.1400259c0
movss xmm9, dword [0x140121158]
movss dword [rsp + 0x28], xmm9
mov dword [rsp + 0x20], 1
mov r9d, ebx
mov r8d, dword [r14 + 0x50]
mov rdx, qword [r14 + 0x58]
mov rcx, r14
call fcn.140023d20
mov dword [r14 + 0x50], r15d
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x48], xmm0
lea rcx, [rbp - 0x48]
call fcn.1400069b0
mov r9d, eax
mov dword [rsp + 0x28], r15d
movss dword [rsp + 0x20], xmm8
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x68]
mov rcx, qword [r12 + 0x2b0]
call fcn.140025e90
mov rsi, qword [r12 + 0x2b0]
movss xmm0, dword [rbp - 0x50]
movss xmm1, dword [rbp - 0x4c]
mov dword [rsp + 0x20], r15d
movaps xmm3, xmm8
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x50]
mov rcx, rsi
test byte [rsi + 0x30], 1
je 0x14005ff79
subss xmm0, xmm7
subss xmm1, xmm7
jmp 0x14005ff81
subss xmm0, xmm6
subss xmm1, xmm6
movss dword [rsp + 0x68], xmm0
movss dword [rsp + 0x6c], xmm1
movss xmm0, dword [rbp - 0x58]
movss xmm1, dword [rbp - 0x54]
addss xmm0, xmm7
addss xmm1, xmm7
movss dword [rsp + 0x50], xmm0
movss dword [rsp + 0x54], xmm1
call fcn.1400259c0
movss dword [rsp + 0x28], xmm9
mov dword [rsp + 0x20], 1
mov r9d, ebx
mov r8d, dword [rsi + 0x50]
mov rdx, qword [rsi + 0x58]
mov rcx, rsi
call fcn.140023d20
mov dword [rsi + 0x50], r15d
mov dword [rsp + 0x28], r15d
movss dword [rsp + 0x20], xmm8
mov r9d, edi
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x58]
mov rcx, qword [r12 + 0x2b0]
call fcn.140025e90
mov al, 1
jmp 0x140060000
xor al, al
mov rcx, qword [rbp - 0x28]
xor rcx, rsp
call fcn.1400f62c0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x58]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret