Function at 0x140054d00
Capabilities:
Encode data using xor
Execute command

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
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 [0x1401eb7c0]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov r15, rdx
mov rsi, rcx
mov eax, dword [str.swyx7]
mov dword [rsp + 0x20], eax
movzx eax, word [0x1401d80dc]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x20], 0x41
xor byte [rsp + 0x21], 0x33
xor byte [rsp + 0x22], 0x34
xor byte [rsp + 0x23], 0x35
xor al, 0x36
mov byte [rsp + 0x24], al
xor byte [rsp + 0x25], 0x37
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140054da4
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x38]
call fcn.14006d460
lea rdx, [rbp - 0x38]
mov rbx, qword [rbp - 0x38]
mov rdi, qword [rbp - 0x20]
cmp rdi, 0xf
cmova rdx, rbx
mov r8, qword [rsi + 0x10]
mov rcx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140054de1
mov rcx, qword [rsi]
cmp r8, qword [rbp - 0x28]
jne 0x140054df5
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140054df5
mov r14b, 1
jmp 0x140054df8
xor r14b, r14b
cmp rdi, 0xf
jbe 0x140054e32
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140054e2a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054e2a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400e6550
xor edi, edi
movabs r13, 0x7fffffffc46535ff
movabs r12, 0x7fffffffffffffff
mov ebx, dword [reloc.WS2_32.dll_accept]
movdqa xmm8, xmmword [0x1401d9da0]
movdqa xmm10, xmmword [0x1401d9e10]
movdqa xmm9, xmmword [0x1401d9d40]
movdqa xmm7, xmmword [0x1401d9f10]
movdqa xmm6, xmmword [0x1401d9d20]
movdqa xmm11, xmmword [0x1401d9d30]
mov eax, dword [str.Q_G5]
mov dword [rsp + 0x28], eax
cmp byte [0x140104dcb], 0
je 0x140054f43
cmp ebx, 2
jl 0x140054f00
movdqa xmm1, xmm6
punpckldq xmm1, xmm6
pmuldq xmm1, xmm7
movdqa xmm0, xmm6
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm7
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm6
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
movdqa xmm1, xmm6
psubd xmm1, xmm0
andps xmm1, xmm8
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm10
movd xmm0, eax
xorps xmm1, xmm0
movd dword [rsp + 0x28], xmm1
jmp 0x140054f43
lea r9, [rsp + 0x28]
mov r8d, edi
nop dword [rax + rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x140054f10
lea rcx, [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
test r14b, r14b
je 0x1400563de
movups xmm0, xmmword [0x1401d7730]
movups xmmword [rsp + 0x48], xmm0
mov eax, dword [0x1401d7740]
mov dword [rsp + 0x58], eax
movzx eax, word [0x1401d7744]
mov word [rsp + 0x5c], ax
movzx eax, byte [str.HbdqSAQZ_rx]
mov byte [rsp + 0x5e], al
mov ecx, edi
cmp ebx, 2
jl 0x140055090
movdqa xmmword [rsp + 0x70], xmm10
lea rdx, [rsp + 0x4c]
mov r8d, dword [rsp + 0x70]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm6
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm7
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm7
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, xmm6
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm7
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm7
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, 0x10
jl 0x140054fa0
cmp ecx, 0x17
jge 0x1400550ce
movsxd rax, ecx
lea r8, [rsp + 0x48]
add r8, rax
nop dword [rax + 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, 0x32
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x17
jl 0x1400550a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], rdi
lea rax, [rsp + 0x48]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400550f0
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x38]
call fcn.14006d460
nop
movzx eax, word [0x1401d6f40]
mov word [rsp + 0x40], ax
movzx eax, byte [0x1401d6f42]
mov byte [rsp + 0x40], 0xa
xor byte [rsp + 0x41], 0x33
xor al, 0x34
mov byte [rsp + 0x42], al
lea rdx, [rsp + 0x40]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14006bc50
movzx eax, word [0x1401d6ca8]
mov word [rsp + 0x28], ax
cmp byte [0x1401d6ca9], 0
je 0x14005515c
mov byte [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
xor byte [rsp + 0x29], 0x33
lea rdx, [rsp + 0x28]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14006bc50
lea rcx, [rbp - 0x38]
call fcn.140026d30
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movzx eax, word [0x1401d6f24]
mov word [rsp + 0x28], ax
lea rdx, [rsp + 0x28]
cmp byte [0x1401d6f25], 0
je 0x1400551c4
mov byte [rsp + 0x28], 0xa
xor byte [rsp + 0x29], 0x33
call fcn.14006bc50
lea rdx, str.e_36m
mov rcx, rax
call fcn.14006bc50
mov r8, rax
mov eax, dword [0x1401d7eac]
mov dword [rsp + 0x30], eax
jmp 0x1400551e5
call fcn.14006bc50
mov rcx, rax
lea rdx, str.e_36m
call fcn.14006bc50
mov r8, rax
mov ecx, dword [0x1401d7eac]
mov dword [rsp + 0x30], ecx
movzx eax, byte [0x1401d7eb0]
mov byte [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_32
xor byte [rsp + 0x31], 0x33
xor byte [rsp + 0x32], 0x34
xor byte [rsp + 0x33], 0x35
xor al, 0x36
mov byte [rsp + 0x34], al
lea rdx, [rsp + 0x30]
mov rcx, r8
call fcn.14006bc50
mov rcx, rax
lea rdx, str.e_97m
call fcn.14006bc50
mov r10, rax
movsd xmm0, qword [0x1401d7628]
movsd qword [rbp - 0x80], xmm0
mov eax, dword [str.wTXX4_]
mov dword [rbp - 0x78], eax
movzx eax, word [0x1401d7634]
mov word [rbp - 0x74], ax
cmp byte [0x1401d7635], 0
je 0x140055383
mov r8d, edi
cmp ebx, 2
jl 0x140055339
movdqa xmm1, xmm6
punpckldq xmm1, xmm6
pmuldq xmm1, xmm7
movdqa xmm0, xmm6
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm7
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm6
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
movdqa xmm1, xmm6
psubd xmm1, xmm0
andps xmm1, xmm8
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd eax, xmm10
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x1401d7628]
xorps xmm1, xmm0
movd dword [rbp - 0x80], xmm1
movdqa xmm1, xmm11
punpckldq xmm1, xmm11
pmuldq xmm1, xmm7
movdqa xmm0, xmm11
punpckhdq xmm0, xmm11
pmuldq xmm0, xmm7
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm11
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
movdqa xmm2, xmm11
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x7c]
xorps xmm2, xmm1
movd dword [rbp - 0x7c], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x80]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x140055350
lea rdx, [rbp - 0x80]
mov rcx, r10
call fcn.14006bc50
lea rdx, str.e_36m
mov rcx, rax
call fcn.14006bc50
mov rcx, rax
mov eax, dword [0x1401d6d30]
mov dword [rsp + 0x38], eax
movzx eax, byte [0x1401d6d34]
mov byte [rsp + 0x38], reloc.WLDAP32.dll_Ordinal_32
xor byte [rsp + 0x39], 0x33
xor byte [rsp + 0x3a], 0x34
xor byte [rsp + 0x3b], 0x35
xor al, 0x36
mov byte [rsp + 0x3c], al
lea rdx, [rsp + 0x38]
call fcn.14006bc50
lea rdx, str.e_97m
mov rcx, rax
call fcn.14006bc50
mov r10, rax
movsd xmm0, qword [0x1401d8ed8]
movsd qword [rbp - 0x70], xmm0
mov eax, dword [0x1401d8ee0]
mov dword [rbp - 0x68], eax
movzx eax, byte [0x1401d8ee4]
mov byte [rbp - 0x64], al
mov r8d, edi
cmp ebx, 2
jl 0x1400554ee
movdqa xmm1, xmm6
punpckldq xmm1, xmm6
pmuldq xmm1, xmm7
movdqa xmm0, xmm6
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm7
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm6
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
movdqa xmm1, xmm6
psubd xmm1, xmm0
andps xmm1, xmm8
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd eax, xmm10
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x1401d8ed8]
xorps xmm1, xmm0
movd dword [rbp - 0x70], xmm1
movdqa xmm1, xmm11
punpckldq xmm1, xmm11
pmuldq xmm1, xmm7
movdqa xmm0, xmm11
punpckhdq xmm0, xmm11
pmuldq xmm0, xmm7
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm11
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
movdqa xmm2, xmm11
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x6c]
xorps xmm2, xmm1
movd dword [rbp - 0x6c], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x70]
add r9, rax
nop dword [rax + rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x140055500
lea rdx, [rbp - 0x70]
mov rcx, r10
call fcn.14006bc50
lea rdx, str.e_36m
mov rcx, rax
call fcn.14006bc50
mov rcx, rax
mov eax, dword [0x1401d7448]
mov dword [rsp + 0x20], eax
movzx eax, byte [0x1401d744c]
mov byte [rsp + reloc.WLDAP32.dll_Ordinal_32], 0x20
xor byte [rsp + 0x21], 0x33
xor byte [rsp + 0x22], 0x34
xor byte [rsp + 0x23], 0x35
xor al, 0x36
mov byte [rsp + 0x24], al
lea rdx, [rsp + 0x20]
call fcn.14006bc50
mov rcx, rax
lea rdx, str.e_97m
call fcn.14006bc50
mov r10, rax
mov rax, qword [0x1401d6e18]
mov qword [rsp + 0x68], rax
cmp byte [reloc.WS2_32.dll_gethostname], 0
je 0x1400556f5
cmp ebx, 2
jl 0x1400556ac
movdqa xmm1, xmm6
punpckldq xmm1, xmm6
pmuldq xmm1, xmm7
movdqa xmm0, xmm6
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm7
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm6
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
movdqa xmm2, xmm6
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd eax, xmm10
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x68]
xorps xmm2, xmm1
movd dword [rsp + 0x68], xmm2
movdqa xmm1, xmm11
punpckldq xmm1, xmm11
pmuldq xmm1, xmm7
movdqa xmm0, xmm11
punpckhdq xmm0, xmm11
pmuldq xmm0, xmm7
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm11
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
movdqa xmm2, xmm11
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x6c]
xorps xmm2, xmm1
movd dword [rsp + 0x6c], xmm2
lea rdx, [rsp + 0x68]
mov rcx, r10
call fcn.14006bc50
mov r10, rax
movzx eax, byte [0x1401d7018]
mov byte [rsp + 0x58], al
jmp 0x140055710
lea r9, [rsp + 0x68]
mov r8d, edi
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x1400556c0
jmp 0x14005568f
lea rdx, [rsp + 0x68]
mov rcx, r10
call fcn.14006bc50
mov r10, rax
movzx ecx, byte [0x1401d7018]
mov byte [rsp + 0x58], cl
movups xmm0, xmmword [0x1401d7008]
movups xmmword [rsp + 0x48], xmm0
mov r8d, edi
cmp ebx, 2
jl 0x140055833
movdqa xmmword [rsp + 0x70], xmm10
lea rcx, [rsp + 0x4c]
mov edx, dword [rsp + 0x70]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm6
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm7
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm7
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, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm6
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm7
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm7
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 r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x140055740
cmp r8d, 0x11
jge 0x140055873
movsxd rax, r8d
lea r9, [rsp + 0x48]
add r9, rax
nop
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x11
jl 0x140055840
lea rdx, [rsp + 0x48]
mov rcx, r10
call fcn.14006bc50
mov rcx, rax
lea rdx, str.e_36m
call fcn.14006bc50
lea rdx, [rbp - 0x40]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
cmp dword [rbp - 0x40], 2
ja 0x140055b70
mov eax, dword [str.Q_G5]
mov dword [rsp + 0x28], eax
cmp byte [0x140104dcb], 0
je 0x140055963
cmp ebx, 2
jl 0x140055928
movdqa xmm1, xmm6
punpckldq xmm1, xmm6
pmuldq xmm1, xmm7
movdqa xmm0, xmm6
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm7
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm6
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
movdqa xmm1, xmm6
psubd xmm1, xmm0
andps xmm1, xmm8
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm10
movd xmm0, eax
xorps xmm1, xmm0
movd dword [rsp + 0x28], xmm1
jmp 0x140055963
lea r9, [rsp + 0x28]
mov r8d, edi
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x140055930
lea rcx, [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str.e_33m
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14006bc50
mov r10, rax
movups xmm0, xmmword [0x1401d7340]
movups xmmword [rsp + 0x48], xmm0
mov eax, dword [0x1401d7350]
mov dword [rsp + 0x58], eax
cmp byte [0x1401d7353], 0
je 0x140055b1f
mov r8d, edi
cmp ebx, 2
jl 0x140055ac3
movdqa xmmword [rsp + 0x70], xmm10
lea rcx, [rsp + 0x4c]
mov edx, dword [rsp + 0x70]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm6
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm7
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm7
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, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm6
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm7
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm7
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 r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x1400559d0
cmp r8d, 0x14
jge 0x140055b1f
movsxd rax, r8d
lea r9, [rsp + 0x48]
add r9, rax
nop
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x14
jl 0x140055ad0
lea rdx, [rsp + 0x48]
mov rcx, r10
call fcn.14006bc50
lea rcx, [rbp - 0x50]
call fcn.14000ff30
mov rax, qword [rbp - 0x50]
jmp 0x140055b3e
lea rdx, [rsp + 0x48]
mov rcx, r10
call fcn.14006bc50
lea rcx, [rbp - 0x50]
call fcn.14000ff30
mov rax, qword [rbp - 0x50]
mov qword [rsp + 0x28], rax
cmp rax, r13
je 0x140055b61
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x140055b61
add rax, 0x3b9aca00
mov qword [rsp + 0x28], rax
jmp 0x140055b66
mov qword [rsp + 0x28], r12
lea rcx, [rsp + 0x28]
call fcn.1400740d0
mov eax, dword [str.Q_G5]
mov dword [rsp + 0x28], eax
cmp byte [0x140104dcb], 0
je 0x140055c33
cmp ebx, 2
jl 0x140055bee
movdqa xmm1, xmm6
punpckldq xmm1, xmm6
pmuldq xmm1, xmm7
movdqa xmm0, xmm6
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm7
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm6
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
movdqa xmm1, xmm6
psubd xmm1, xmm0
andps xmm1, xmm8
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm10
movd xmm0, eax
xorps xmm1, xmm0
movd dword [rsp + 0x28], xmm1
jmp 0x140055c33
lea r9, [rsp + 0x28]
mov r8d, edi
nop word [rax + rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x140055c00
lea rcx, [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, dword [rbp - 0x40]
test ecx, ecx
je 0x14005638d
sub ecx, 1
je 0x1400561da
cmp ecx, 1
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
je 0x140056027
lea rdx, str.e_31m
call fcn.14006bc50
mov r10, rax
movsd xmm0, qword [0x1401d7060]
movsd qword [rbp - 0x60], xmm0
mov ecx, dword [0x1401d7068]
mov dword [rbp - 0x58], ecx
movzx ecx, byte [0x1401d706c]
mov byte [rbp - 0x54], cl
mov r8d, edi
cmp ebx, 2
jl 0x140055d77
movdqa xmm1, xmm6
punpckldq xmm1, xmm6
pmuldq xmm1, xmm7
movdqa xmm0, xmm6
punpckhdq xmm0, xmm6
pmuldq xmm0, xmm7
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm6
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
movdqa xmm1, xmm6
psubd xmm1, xmm0
andps xmm1, xmm8
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd eax, xmm10
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x1401d7060]
xorps xmm1, xmm0
movd dword [rbp - 0x60], xmm1
movdqa xmm1, xmm11
punpckldq xmm1, xmm11
pmuldq xmm1, xmm7
movdqa xmm0, xmm11
punpckhdq xmm0, xmm11
pmuldq xmm0, xmm7
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm11
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
movdqa xmm2, xmm11
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x5c]
xorps xmm2, xmm1
movd dword [rbp - 0x5c], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x60]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x140055d90
lea rdx, [rbp - 0x60]
mov rcx, r10
call fcn.14006bc50
mov rcx, rax
lea rdx, str.e_97m
call fcn.14006bc50
mov r10, rax
movups xmm0, xmmword [str._BTZ_]
movups xmmword [rsp + 0x48], xmm0
movzx ecx, word [0x1401d70c0]
mov word [rsp + 0x58], cx
cmp byte [0x1401d70c1], 0
je 0x140055f53
mov r8d, edi
cmp ebx, 2
jl 0x140055f15
movdqa xmmword [rsp + 0x70], xmm10
lea rcx, [rsp + 0x4c]
mov edx, dword [rsp + 0x70]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm6
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm7
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm7
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, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm6
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm7
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm7
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 r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x140055e22
cmp r8d, 0x12
jge 0x140055f53
movsxd rax, r8d
lea r9, [rsp + 0x48]
add r9, rax
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x12
jl 0x140055f20
lea rdx, [rsp + 0x48]
mov rcx, r10
call fcn.14006bc50
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
mov rax, qword [rcx]
movsxd r9, dword [rax + 4]
add rcx, r9
xor r8d, r8d
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
mov edx, 0x7fffffff
mov r8d, 0xa
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::ignore_long_long___int64___int____ptr64]
lea rcx, [rbp - 0x48]
call fcn.14000ff30
mov rax, qword [rbp - 0x48]
mov qword [rsp + 0x28], rax
movabs rdx, 0x7fffffffa697d0ff
cmp rax, rdx
je 0x140055fd3
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x140055fd3
add rax, 0x59682f00
mov qword [rsp + 0x28], rax
jmp 0x140055fd8
mov qword [rsp + 0x28], r12
lea rcx, [rsp + 0x28]
call fcn.1400740d0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140054e82
inc rdx
mov rcx, qword [rbp - 0x38]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14005601d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400563d0
call fcn.1400e6550
jmp 0x140054e82
lea rdx, str.e_32m
call fcn.14006bc50
mov r10, rax
movups xmm0, xmmword [0x1401d8110]
movups xmmword [rsp + 0x48], xmm0
movsd xmm0, qword [0x1401d8120]
movsd qword [rsp + 0x58], xmm0
mov ecx, dword [0x1401d8128]
mov dword [rsp + 0x60], ecx
movzx ecx, word [0x1401d812c]
mov word [rsp + 0x64], cx
movzx ecx, byte [0x1401d812e]
mov byte [rsp + 0x66], cl
mov r8d, edi
cmp ebx, 2
jl 0x140056183
movdqa xmmword [rsp + 0x70], xmm10
lea rcx, [rsp + 0x4c]
mov edx, dword [rsp + 0x70]
nop dword [rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm6
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm7
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm7
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, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm6
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm7
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm7
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 r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x140056090
cmp r8d, 0x1f
jge 0x1400561c3
movsxd rax, r8d
lea r9, [rsp + 0x48]
add r9, rax
nop
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1f
jl 0x140056190
lea rdx, [rsp + 0x48]
mov rcx, r10
call fcn.14006bc50
call fcn.140033720
jmp 0x140055fe3
lea rdx, str.e_32m
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14006bc50
mov r10, rax
movups xmm0, xmmword [0x1401d7170]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [0x1401d7180]
movups xmmword [rsp + 0x58], xmm1
psrldq xmm1, 0xf
movd ecx, xmm1
test cl, cl
je 0x140056373
cmp ebx, 2
jl 0x14005632d
mov edx, edi
movdqa xmmword [rsp + 0x70], xmm10
lea rcx, [rsp + 0x4c]
mov r8d, dword [rsp + 0x70]
nop word [rax + rax]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm6
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm7
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm7
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 [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm6
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm7
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm7
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 [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x20
jl 0x140056240
jmp 0x140056373
lea r9, [rsp + 0x48]
mov r8d, edi
nop word [rax + rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x20
jl 0x140056340
lea rdx, [rsp + 0x48]
mov rcx, r10
call fcn.14006bc50
mov rcx, r15
call fcn.14004be10
jmp 0x140055fe3
mov qword [rsi + 0x10], rdi
cmp qword [rsi + 0x18], 0xf
jbe 0x14005639b
mov rsi, qword [rsi]
mov byte [rsi], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x1400563f7
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400563d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400563d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6550
jmp 0x1400563f7
mov rcx, r15
call fcn.14004be10
mov qword [rsi + 0x10], rdi
cmp qword [rsi + 0x18], 0xf
jbe 0x1400563f4
mov rsi, qword [rsi]
mov byte [rsi], 0
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.1400e6530
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x50]
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