Function at 0x140047420
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x1400dc100]
xor rax, rsp
mov qword [rbp + 0x17], rax
cmp word [0x1400c8462], 0
mov rbx, rcx
movsd xmm0, qword [0x1400c8458]
mov eax, dword [0x1400c8460]
movsd qword [rbp - 0x29], xmm0
mov dword [rbp - 0x21], eax
je 0x14004748a
xor word [rbp - 0x27], 0x33
mov eax, 0x72
xor word [rbp - 0x25], 0x34
xor word [rbp - 0x23], 0x35
xor word [rbp - 0x21], 0x36
xor word [rbp - 0x1f], 0x37
mov word [rbp - 0x29], ax
mov qword [rsp + 0xb8], rdi
lea rdx, [rbp - 0x29]
movaps xmmword [rsp + 0x80], xmm7
movaps xmmword [rsp + 0x70], xmm8
call fcn.14006eca0
xor esi, esi
cmp rax, 0xffffffffffffffff
jne 0x140047c9d
mov ecx, dword [0x1400c8080]
mov edx, 0x70
movzx eax, word [0x1400c8084]
movsd xmm0, qword [str.BZGAY_8]
xor ax, 0x38
mov dword [rbp - 0x21], ecx
xor cx, 0x36
xor word [rbp - 0x1f], 0x37
movsd qword [rbp - 0x29], xmm0
xor word [rbp - 0x27], 0x33
xor word [rbp - 0x25], 0x34
xor word [rbp - 0x23], 0x35
mov word [rbp - 0x21], cx
mov rcx, rbx
mov word [rbp - 0x29], dx
lea rdx, [rbp - 0x29]
mov word [rbp - 0x1d], ax
call fcn.14006eca0
cmp rax, 0xffffffffffffffff
jne 0x140047c9d
cmp word [0x1400c83de], si
mov rax, qword [str.PC5]
movdqa xmm8, xmmword [str.22222222]
movdqa xmm7, xmmword [0x1400c9640]
movdqa xmm5, xmmword [0x1400c9ad0]
movdqa xmm4, xmmword [0x1400c9610]
mov edi, dword [0x1400dc150]
mov qword [rbp - 0x29], rax
je 0x140047608
cmp edi, 2
jl 0x1400475bd
movdqa xmm2, xmm4
movdqa xmm0, xmm4
punpckldq xmm2, xmm4
pmuldq xmm2, xmm5
punpckhdq xmm0, xmm4
pmuldq xmm0, xmm5
shufps xmm2, xmm0, 0xdd
movdqa xmm0, xmm4
paddd xmm2, xmm4
psrad xmm2, 5
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
pmulld xmm1, xmm7
psubd xmm0, xmm1
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp - 0x29]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm8
xorps xmm2, xmm0
movq qword [rbp - 0x29], xmm2
jmp 0x140047608
lea r9, [rbp - 0x29]
mov r8d, esi
nop dword [rax]
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x32
xor word [r9 - 2], ax
cmp r8d, 4
jl 0x1400475d0
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.14006eca0
cmp rax, 0xffffffffffffffff
jne 0x140047c9d
cmp word [0x1400c82ee], si
mov rax, qword [0x1400c82e8]
mov qword [rbp - 0x29], rax
je 0x1400476e8
cmp edi, 2
jl 0x14004769f
movdqa xmm2, xmm4
movdqa xmm0, xmm4
punpckldq xmm2, xmm4
pmuldq xmm2, xmm5
punpckhdq xmm0, xmm4
pmuldq xmm0, xmm5
shufps xmm2, xmm0, 0xdd
movdqa xmm0, xmm4
paddd xmm2, xmm4
psrad xmm2, 5
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
pmulld xmm1, xmm7
psubd xmm0, xmm1
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp - 0x29]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm8
xorps xmm2, xmm0
movq qword [rbp - 0x29], xmm2
jmp 0x1400476e8
lea r9, [rbp - 0x29]
mov r8d, esi
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x32
xor word [r9 - 2], ax
cmp r8d, 4
jl 0x1400476b0
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.14006eca0
cmp rax, 0xffffffffffffffff
jne 0x140047c9d
cmp word [0x1400c7c1a], si
movsd xmm0, qword [str.ZXXQ7]
mov eax, dword [0x1400c7c18]
movsd qword [rbp - 0x29], xmm0
mov dword [rbp - 0x21], eax
je 0x14004773f
xor word [rbp - 0x27], 0x33
mov eax, 0x68
xor word [rbp - 0x25], 0x34
xor word [rbp - 0x23], 0x35
xor word [rbp - 0x21], 0x36
xor word [rbp - 0x1f], 0x37
mov word [rbp - 0x29], ax
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.14006eca0
cmp rax, 0xffffffffffffffff
jne 0x140047c9d
movups xmm3, xmmword [str.A__AQBV9SYZ]
pextrw eax, xmm3, 7
movups xmmword [rbp - 0x29], xmm3
test ax, ax
je 0x140047888
cmp edi, 2
jl 0x140047840
movdqa xmm2, xmm4
movdqa xmm0, xmm4
punpckhdq xmm0, xmm4
pmuldq xmm0, xmm5
punpckldq xmm2, xmm4
pmuldq xmm2, xmm5
shufps xmm2, xmm0, 0xdd
movdqa xmm0, xmm4
paddd xmm2, xmm4
psrad xmm2, 5
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
pmulld xmm1, xmm7
psubd xmm0, xmm1
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movq xmm1, xmm3
movdqa xmm3, xmmword [0x1400c9620]
paddw xmm2, xmm8
xorps xmm2, xmm1
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
movdqa xmm1, xmm3
pmuldq xmm0, xmm5
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movq qword [rbp - 0x29], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp - 0x21]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm8
xorps xmm2, xmm0
movq qword [rbp - 0x21], xmm2
jmp 0x140047888
lea r9, [rbp - 0x29]
mov r8d, esi
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x32
xor word [r9 - 2], ax
cmp r8d, 8
jl 0x140047850
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.14006eca0
cmp rax, 0xffffffffffffffff
jne 0x140047c9d
cmp word [0x1400c7bf6], si
mov rax, qword [str.AS5]
mov qword [rbp - 0x29], rax
je 0x140047968
cmp edi, 2
jl 0x14004791f
movdqa xmm2, xmm4
movdqa xmm0, xmm4
punpckldq xmm2, xmm4
pmuldq xmm2, xmm5
punpckhdq xmm0, xmm4
pmuldq xmm0, xmm5
shufps xmm2, xmm0, 0xdd
movdqa xmm0, xmm4
paddd xmm2, xmm4
psrad xmm2, 5
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
pmulld xmm1, xmm7
psubd xmm0, xmm1
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp - 0x29]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm8
xorps xmm2, xmm0
movq qword [rbp - 0x29], xmm2
jmp 0x140047968
lea r9, [rbp - 0x29]
mov r8d, esi
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x32
xor word [r9 - 2], ax
cmp r8d, 4
jl 0x140047930
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.14006eca0
cmp rax, 0xffffffffffffffff
jne 0x140047c9d
movaps xmmword [rsp + 0x90], xmm6
movups xmm6, xmmword [str._ZZQBV9]
pextrw eax, xmm6, 7
movups xmmword [rbp - 0x29], xmm6
test ax, ax
je 0x140047ab8
cmp edi, 2
jl 0x140047a79
movdqa xmm2, xmm4
movdqa xmm0, xmm4
punpckhdq xmm0, xmm4
pmuldq xmm0, xmm5
punpckldq xmm2, xmm4
pmuldq xmm2, xmm5
shufps xmm2, xmm0, 0xdd
movdqa xmm0, xmm4
paddd xmm2, xmm4
psrad xmm2, 5
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
movq xmm2, xmm8
pmulld xmm1, xmm7
psubd xmm0, xmm1
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm1, xmm6
paddw xmm3, xmm2
movdqa xmm2, xmmword [0x1400c9620]
xorps xmm3, xmm1
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
movq qword [rbp - 0x29], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp - 0x21]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rbp - 0x21], xmm3
jmp 0x140047ab8
lea r9, [rbp - 0x29]
mov r8d, esi
mov eax, 0xa0a0a0a1
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x32
xor word [r9 - 2], ax
cmp r8d, 8
jl 0x140047a80
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.14006eca0
movaps xmm6, xmmword [rsp + 0x90]
cmp rax, 0xffffffffffffffff
jne 0x140047c9d
movups xmm0, xmmword [str._FXA_GT_IYS____6._:I]
movups xmm1, xmmword [0x1400c7e40]
movups xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [0x1400c7e50]
movups xmmword [rbp - 9], xmm1
movups xmmword [rbp + 7], xmm0
cmp edi, 2
jl 0x140047c03
mov edx, esi
lea rcx, [rbp - 0x19]
nop word [rax + rax]
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm4
add edx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp edx, 0x18
jl 0x140047b10
jmp 0x140047c48
lea r9, [rbp - 0x19]
mov r8d, esi
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x32
xor word [r9 - 2], ax
cmp r8d, 0x18
jl 0x140047c10
lea rdx, [rbp - 0x19]
mov rcx, rbx
call fcn.14006eca0
cmp rax, 0xffffffffffffffff
jne 0x140047c9d
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x140047c99
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140047c94
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140047d20
mov rcx, r8
call fcn.140083dfc
xor al, al
jmp 0x140047cda
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x140047cd8
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140047cd3
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140047d20
mov rcx, r8
call fcn.140083dfc
mov al, 1
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
mov rdi, qword [rsp + 0xb8]
mov word [rbx], si
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140083b60
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14008cef0
int3