Function at 0x140042870
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rsi
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0x90
mov rax, qword [0x140370f08]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rdi
movaps xmmword [rsp + 0x70], xmm7
call fcn.140066930
cmp dword [0x14037adf8], 0
jne 0x1400428b1
call fcn.14002abf0
call fcn.140029f10
call fcn.140009730
xorps xmm0, xmm0
mov dword [rbp - 9], 0xf0f1edc7
xor esi, esi
mov dword [rbp - 5], 0xedf3efeb
movups xmmword [rbp + 0x1f], xmm0
mov ecx, esi
mov dword [rbp - 1], 0x100aaa9
nop dword [rax + rax]
lea eax, [rcx - 0x7f]
xor byte [rbp + rcx - 9], al
inc rcx
cmp rcx, 0xa
jb 0x1400428e0
mov byte [rbp + 2], sil
mov rcx, rsi
mov dword [rbp + 7], 0xe1f1ecd4
mov dword [rbp + 0xb], 0xe1d0eae4
mov dword [rbp + 0xf], 0xfbe4eee7
mov word [rbp + 0x13], pe_nt_image_headers64
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x7f]
xor byte [rbp + rcx + 7], al
inc rcx
cmp rcx, 0xc
jb 0x140042920
lea rdx, [rbp - 9]
mov byte [rbp + 0x14], sil
lea rcx, [rbp + 7]
call qword [0x14007e780]
mov rdi, rax
call qword [0x14007e798]
mov rcx, qword [0x14037abf0]
mov rbx, rax
call fcn.14006cbd0
movss xmm7, dword [0x14033ae70]
cmp rbx, rdi
je 0x140042975
cmp rbx, rax
je 0x140042975
mov byte [0x140370f9b], sil
jmp 0x1400429e6
lea rdx, [rbp + 0x1f]
mov byte [0x140370f9b], 1
mov rcx, rdi
call qword [0x14007e6b0]
test eax, eax
je 0x1400429b9
mov eax, dword [rbp + 0x27]
sub eax, dword [rbp + 0x1f]
movd xmm0, eax
mov eax, dword [rbp + 0x2b]
sub eax, dword [rbp + 0x23]
cvtdq2ps xmm0, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [0x14037ad30], xmm0
movss dword [0x14037ad34], xmm1
jmp 0x1400429c9
movss xmm0, dword [0x14037ad30]
movss xmm1, dword [0x14037ad34]
mulss xmm0, xmm7
mulss xmm1, xmm7
movss dword [0x14037ab50], xmm0
movss dword [0x14037ab2c], xmm1
call fcn.14003a3e0
cmp qword [0x14037ab58], rsi
je 0x140042edd
cmp byte [0x14037ab97], sil
lea rdi, [0x140371190]
je 0x140042d38
movss xmm2, dword [0x140370f9c]
movss xmm0, dword [0x14037ad34]
movss xmm1, dword [0x14037ad30]
mulss xmm0, xmm7
mov dword [rsp + 0x28], 2
mulss xmm1, xmm7
mov qword [rsp + 0x20], rdi
subss xmm0, xmm2
cvttss2si edx, xmm0
movaps xmm0, xmm1
subss xmm1, xmm2
addss xmm0, xmm2
mov r9d, edx
cvttss2si ecx, xmm1
cvttss2si r8d, xmm0
call fcn.1400372d0
movss xmm2, dword [0x140370f9c]
movss xmm0, dword [0x14037ad34]
movss xmm1, dword [0x14037ad30]
mulss xmm0, xmm7
mov dword [rsp + 0x28], 2
mulss xmm1, xmm7
mov qword [rsp + 0x20], rdi
addss xmm0, xmm2
cvttss2si edx, xmm0
movaps xmm0, xmm1
subss xmm1, xmm2
addss xmm0, xmm2
mov r9d, edx
cvttss2si ecx, xmm1
cvttss2si r8d, xmm0
call fcn.1400372d0
movss xmm1, dword [0x140370f9c]
movss xmm0, dword [0x14037ad30]
movss xmm2, dword [0x14037ad34]
mulss xmm0, xmm7
mov dword [rsp + 0x28], 2
mulss xmm2, xmm7
mov qword [rsp + 0x20], rdi
addss xmm0, xmm1
cvttss2si ecx, xmm0
movaps xmm0, xmm2
subss xmm2, xmm1
addss xmm0, xmm1
mov r8d, ecx
cvttss2si edx, xmm2
cvttss2si r9d, xmm0
call fcn.1400372d0
movss xmm1, dword [0x140370f9c]
movss xmm0, dword [0x14037ad30]
movss xmm2, dword [0x14037ad34]
mulss xmm0, xmm7
mov dword [rsp + 0x28], 2
mulss xmm2, xmm7
mov qword [rsp + 0x20], rdi
subss xmm0, xmm1
cvttss2si ecx, xmm0
movaps xmm0, xmm2
subss xmm2, xmm1
addss xmm0, xmm1
mov r8d, ecx
cvttss2si edx, xmm2
cvttss2si r9d, xmm0
call fcn.1400372d0
movss xmm2, dword [0x140370f9c]
movss xmm0, dword [0x14037ad34]
movss xmm1, dword [0x14037ad30]
mulss xmm0, xmm7
mov dword [rsp + 0x28], 3
mulss xmm1, xmm7
mov qword [rsp + 0x20], rdi
subss xmm0, xmm2
cvttss2si edx, xmm0
movaps xmm0, xmm1
subss xmm1, xmm2
addss xmm0, xmm2
mov r9d, edx
cvttss2si ecx, xmm1
cvttss2si r8d, xmm0
call fcn.1400372d0
movss xmm0, dword [0x14037ad34]
movss xmm2, dword [0x140370f9c]
movss xmm1, dword [0x14037ad30]
mulss xmm0, xmm7
mov dword [rsp + 0x28], 3
mulss xmm1, xmm7
mov qword [rsp + 0x20], rdi
addss xmm0, xmm2
cvttss2si edx, xmm0
movaps xmm0, xmm1
subss xmm1, xmm2
addss xmm0, xmm2
mov r9d, edx
cvttss2si ecx, xmm1
cvttss2si r8d, xmm0
call fcn.1400372d0
movss xmm2, dword [0x140370f9c]
lea rbx, [0x1403711f0]
movss xmm0, dword [0x14037ad34]
movss xmm1, dword [0x14037ad30]
mulss xmm0, xmm7
mov dword [rsp + 0x28], 1
mulss xmm1, xmm7
mov qword [rsp + 0x20], rbx
subss xmm0, xmm2
cvttss2si edx, xmm0
movaps xmm0, xmm1
subss xmm1, xmm2
addss xmm0, xmm2
mov r9d, edx
cvttss2si ecx, xmm1
cvttss2si r8d, xmm0
call fcn.1400372d0
movss xmm2, dword [0x140370f9c]
movss xmm0, dword [0x14037ad34]
movss xmm1, dword [0x14037ad30]
mulss xmm0, xmm7
mov dword [rsp + 0x28], 1
mulss xmm1, xmm7
mov qword [rsp + 0x20], rbx
addss xmm0, xmm2
cvttss2si edx, xmm0
movaps xmm0, xmm1
subss xmm1, xmm2
addss xmm0, xmm2
mov r9d, edx
cvttss2si ecx, xmm1
cvttss2si r8d, xmm0
call fcn.1400372d0
movss xmm1, dword [0x140370f9c]
movss xmm0, dword [0x14037ad30]
movss xmm2, dword [0x14037ad34]
mulss xmm0, xmm7
mov dword [rsp + 0x28], 1
mulss xmm2, xmm7
mov qword [rsp + 0x20], rbx
addss xmm0, xmm1
cvttss2si ecx, xmm0
movaps xmm0, xmm2
subss xmm2, xmm1
addss xmm0, xmm1
mov r8d, ecx
cvttss2si edx, xmm2
cvttss2si r9d, xmm0
call fcn.1400372d0
movss xmm1, dword [0x140370f9c]
movss xmm0, dword [0x14037ad30]
movss xmm2, dword [0x14037ad34]
mulss xmm0, xmm7
mov dword [rsp + 0x28], 1
mulss xmm2, xmm7
mov qword [rsp + 0x20], rbx
subss xmm0, xmm1
cvttss2si ecx, xmm0
movaps xmm0, xmm2
subss xmm2, xmm1
addss xmm0, xmm1
mov r8d, ecx
cvttss2si edx, xmm2
cvttss2si r9d, xmm0
call fcn.1400372d0
cmp byte [0x140370f9a], sil
je 0x140042de7
movss xmm2, dword [0x14037ad34]
movss xmm0, dword [0x14037ad30]
mulss xmm2, xmm7
mov dword [rsp + 0x28], 1
mulss xmm0, xmm7
mov qword [rsp + 0x20], rdi
movaps xmm1, xmm2
movaps xmmword [rsp + 0x80], xmm6
movss xmm6, dword [0x14033afac]
addss xmm1, xmm6
subss xmm2, xmm6
cvttss2si ecx, xmm0
cvttss2si r9d, xmm1
mov r8d, ecx
cvttss2si edx, xmm2
call fcn.1400372d0
movss xmm0, dword [0x14037ad34]
movss xmm1, dword [0x14037ad30]
mulss xmm0, xmm7
mov dword [rsp + 0x28], 1
mulss xmm1, xmm7
mov qword [rsp + 0x20], rdi
cvttss2si edx, xmm0
movaps xmm0, xmm1
subss xmm1, xmm6
addss xmm0, xmm6
mov r9d, edx
cvttss2si ecx, xmm1
cvttss2si r8d, xmm0
call fcn.1400372d0
movaps xmm6, xmmword [rsp + 0x80]
cmp byte [0x140370f91], sil
je 0x140042edd
mov rax, qword [0x14037ab30]
lea r8, [0x140339ae8]
mov edx, 1
mov rcx, qword [rax + 0x1dc0]
mov rcx, qword [rcx]
call fcn.140008440
movsd xmm2, qword [0x14033af88]
xorps xmm1, xmm1
mov ecx, dword [0x140370fa0]
xorps xmm0, xmm0
mov r10, rax
mov eax, dword [0x140370fac]
cvtsi2sd xmm0, rcx
mov ecx, dword [0x140370fa4]
cvtsi2sd xmm1, rcx
mov ecx, dword [0x140370fa8]
divsd xmm0, xmm2
divsd xmm1, xmm2
cvtpd2ps xmm0, xmm0
movss dword [rbp + 7], xmm0
cvtpd2ps xmm0, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, rcx
lea rcx, [rbp + 7]
movss dword [rbp + 0xb], xmm0
divsd xmm1, xmm2
cvtpd2ps xmm0, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
movss dword [rbp + 0xf], xmm0
divsd xmm1, xmm2
cvtpd2ps xmm0, xmm1
movss xmm1, dword [0x14037ab50]
movss dword [rbp + 0x13], xmm0
movss xmm0, dword [0x14037ab2c]
movss dword [rbp - 5], xmm0
movss dword [rbp - 9], xmm1
call fcn.140006bc0
movss xmm0, dword [0x14033aea4]
lea rdx, [rbp - 9]
movss xmm2, dword [0x140370f9c]
mov r9d, eax
movss dword [rsp + 0x28], xmm0
mov rcx, r10
mov dword [rsp + 0x20], 0x64
call fcn.140024130
lea r9, [0x1403711b0]
call fcn.1400374d0
cmp byte [0x14037ab95], sil
movaps xmm7, xmmword [rsp + 0x70]
mov rdi, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
je 0x140043289
mov rax, qword [0x14037ab30]
lea r8, [0x140339ae8]
mov edx, 1
mov rcx, qword [rax + 0x1dc0]
mov rcx, qword [rcx]
call fcn.140008440
mov rcx, qword [0x14037ab30]
mov r11, rax
movaps xmm0, xmmword [0x14033b280]
movups xmmword [rbp + 7], xmm0
lea r10, [rcx + 0x128]
movss xmm0, dword [r10]
addss xmm0, dword [0x14033af9c]
movss dword [rbp - 9], xmm0
movss xmm0, dword [rcx + 0x12c]
lea rcx, [rbp + 7]
addss xmm0, dword [0x14033af9c]
movss dword [rbp - 5], xmm0
call fcn.140006bc0
xorps xmm0, xmm0
mov dword [rsp + 0x28], esi
mov r9d, eax
movss dword [rsp + 0x20], xmm0
lea r8, [rbp - 9]
mov rdx, r10
mov rcx, r11
call fcn.140023e40
mov rax, qword [0x14037ab30]
movaps xmm0, xmmword [0x14033b480]
movaps xmm1, xmmword [0x14033b3e0]
mov qword [rax + 0x156c], rsi
mov dword [rax + 0x158c], 0x3f800000
mov qword [rax + 0x1590], rsi
mov qword [rax + 0x15a0], rsi
mov dword [rax + 0x15e8], esi
mov dword [rax + 0x1588], esi
mov dword [rax + 0x15d4], 0x41100000
movups xmmword [rax + 0x1634], xmm1
movups xmmword [rax + 0x1624], xmm0
movaps xmm0, xmmword [0x14033b300]
movaps xmm1, xmm0
movaps xmm1, xmmword [0x14033b3d0]
movups xmmword [rax + 0x1644], xmm0
movups xmmword [rax + 0x1654], xmm0
movups xmmword [rax + 0x1664], xmm0
movaps xmm0, xmmword [0x14033b270]
movups xmmword [rax + 0x1674], xmm1
movaps xmm1, xmmword [0x14033b310]
movups xmmword [rax + 0x1684], xmm0
movaps xmm0, xmm1
movaps xmm0, xmmword [0x14033b2f0]
movups xmmword [rax + 0x1694], xmm1
movups xmmword [rax + 0x16a4], xmm1
movups xmmword [rax + 0x16b4], xmm1
movaps xmm1, xmm0
movaps xmm1, xmmword [0x14033b330]
movups xmmword [rax + 0x16c4], xmm0
movups xmmword [rax + 0x16d4], xmm0
movups xmmword [rax + 0x16e4], xmm0
movaps xmm0, xmmword [0x14033b2e0]
movups xmmword [rax + 0x16f4], xmm1
movaps xmm1, xmmword [0x14033b370]
movups xmmword [rax + 0x1704], xmm0
movaps xmm0, xmmword [0x14033b3a0]
movups xmmword [rax + 0x1714], xmm1
movaps xmm1, xmmword [0x14033b3f0]
movups xmmword [rax + 0x1724], xmm0
movaps xmm0, xmmword [0x14033b290]
movups xmmword [rax + 0x1734], xmm1
movaps xmm1, xmm0
movaps xmm1, xmmword [0x14033b310]
movups xmmword [rax + 0x1744], xmm0
movups xmmword [rax + 0x1754], xmm0
movups xmmword [rax + 0x1764], xmm0
movaps xmm0, xmmword [0x14033b320]
movups xmmword [rax + 0x1774], xmm1
movaps xmm1, xmm0
movups xmmword [rax + 0x1784], xmm0
movups xmmword [rax + 0x1794], xmm0
movaps xmm0, xmmword [0x14033b150]
movups xmmword [rax + 0x17a4], xmm0
movaps xmm1, xmmword [0x14033b200]
lea rcx, [0x14033ada0]
movaps xmm0, xmmword [0x14033b450]
xor edx, edx
movups xmmword [rax + 0x17b4], xmm1
movaps xmm1, xmmword [0x14033b190]
movups xmmword [rax + 0x17d4], xmm1
lea r8d, [rdx + 0x23]
movaps xmm1, xmmword [0x14033b420]
movups xmmword [rax + 0x17c4], xmm0
movaps xmm0, xmmword [0x14033b1f0]
movups xmmword [rax + 0x17f4], xmm1
movaps xmm1, xmmword [0x14033b1d0]
movups xmmword [rax + 0x17e4], xmm0
movaps xmm0, xmmword [0x14033b140]
movups xmmword [rax + 0x1814], xmm1
movaps xmm1, xmmword [0x14033b210]
movups xmmword [rax + 0x1804], xmm0
movaps xmm0, xmmword [0x14033b250]
movups xmmword [rax + 0x1834], xmm1
movaps xmm1, xmmword [0x14033b410]
movups xmmword [rax + 0x1824], xmm0
movaps xmm0, xmmword [0x14033b200]
movups xmmword [rax + 0x1854], xmm1
movaps xmm1, xmmword [0x14033b3b0]
movups xmmword [rax + 0x1844], xmm0
movaps xmm0, xmmword [0x14033b260]
movups xmmword [rax + 0x1874], xmm1
movaps xmm1, xmmword [0x14033b390]
movups xmmword [rax + 0x1864], xmm0
movaps xmm0, xmmword [0x14033b400]
movups xmmword [rax + 0x1894], xmm1
movaps xmm1, xmmword [0x14033b2a0]
movups xmmword [rax + 0x1884], xmm0
movaps xmm0, xmmword [0x14033b2b0]
movups xmmword [rax + 0x18b4], xmm1
movaps xmm1, xmmword [0x14033b220]
movups xmmword [rax + 0x18a4], xmm0
movaps xmm0, xmmword [0x14033b170]
movups xmmword [rax + 0x1924], xmm1
movaps xmm1, xmmword [0x14033b1e0]
movups xmmword [rax + 0x1914], xmm0
movaps xmm0, xmmword [0x14033b450]
movups xmmword [rax + 0x1944], xmm1
movaps xmm1, xmmword [0x14033b160]
movups xmmword [rax + 0x1934], xmm0
movaps xmm0, xmmword [0x14033b130]
movups xmmword [rax + 0x1964], xmm1
movups xmmword [rax + 0x1954], xmm0
or dword [rax + 0x1cb0], 2
mov dword [rax + 0x1cd0], 0x44160000
mov dword [rax + 0x1cd4], 0x43fa0000
mov dword [rax + 0x1cb8], 1
call fcn.14000f330
test al, al
je 0x140043289
call fcn.140041ac0
call fcn.140011660
call fcn.14000bc90
mov rcx, qword [0x14037abf0]
lea r8, [rbp + 0x17]
lea rdx, [rbp + 0x1b]
call fcn.140065520
mov r9d, dword [rbp + 0x17]
xor edx, edx
mov r8d, dword [rbp + 0x1b]
xor ecx, ecx
call qword [0x14007e4c0]
mov ecx, 0x4000
call qword [0x14007e448]
mov rax, qword [0x14037ab30]
mov rcx, qword [rax + 0x1dc0]
mov rcx, qword [rcx]
add rcx, 0x40
cmp byte [rcx], sil
cmove rcx, rsi
call fcn.14002a4e0
mov rcx, qword [0x14037abf0]
call fcn.14006d750
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14007a900
mov rsi, qword [rsp + 0xb0]
add rsp, 0x90
pop rbp
ret