Function at 0x14005e4f0
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 - 0x60]
sub rsp, 0x160
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 - 0x10], rax
mov r12, 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 0x14005e594
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 0x14005e5d1
mov rcx, qword [rsi]
cmp r8, qword [rbp - 0x28]
jne 0x14005e5e5
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14005e5e5
mov r14b, 1
jmp 0x14005e5e8
xor r14b, r14b
cmp rdi, 0xf
jbe 0x14005e61f
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14005e617
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005e6ff
mov rcx, rbx
call fcn.1400e6550
movsd xmm0, qword [0x1401d8130]
movsd qword [rsp + 0x30], xmm0
movzx eax, byte [0x1401d8138]
mov byte [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_79
xor byte [rsp + 0x31], 0x33
xor byte [rsp + 0x32], 0x34
xor byte [rsp + 0x33], 0x35
xor byte [rsp + 0x34], 0x36
xor byte [rsp + 0x35], 0x37
xor byte [rsp + 0x36], 0x38
xor byte [rsp + 0x37], 0x39
xor al, 0x3a
mov byte [rsp + 0x38], al
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14005e680
lea rdx, [rsp + 0x30]
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 0x14005e6bd
mov rcx, qword [rsi]
cmp r8, qword [rbp - 0x28]
jne 0x14005e6d1
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14005e6d1
mov r15b, 1
jmp 0x14005e6d4
xor r15b, r15b
cmp rdi, 0xf
jbe 0x14005e70e
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14005e706
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005e706
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, 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 0x14005e813
cmp ebx, 2
jl 0x14005e7d2
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 0x14005e813
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 0x14005e7e0
lea rcx, [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
test r14b, r14b
je 0x14005fc76
movups xmm0, xmmword [str.swyx]
movups xmmword [rsp + 0x58], xmm0
movzx eax, word [0x1401d8668]
mov word [rsp + 0x68], ax
movzx eax, byte [0x1401d866a]
mov byte [rsp + 0x6a], al
mov ecx, edi
cmp ebx, 2
jl 0x14005e960
movdqa xmmword [rbp - 0x80], xmm10
lea rdx, [rsp + 0x5c]
mov r8d, dword [rbp - 0x80]
nop dword [rax]
nop dword [rax + rax]
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 0x14005e870
cmp ecx, 0x13
jge 0x14005e99e
movsxd rax, ecx
lea r8, [rsp + 0x58]
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, 0x13
jl 0x14005e970
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], rdi
lea rax, [rsp + 0x58]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14005e9c0
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x38]
call fcn.14006d460
nop
movzx eax, word [0x1401d6f40]
mov word [rsp + 0x50], ax
movzx eax, byte [0x1401d6f42]
mov byte [rsp + 0x50], 0xa
xor byte [rsp + 0x51], 0x33
xor al, 0x34
mov byte [rsp + 0x52], al
lea rdx, [rsp + 0x50]
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 0x14005ea2c
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 0x14005ea94
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 + 0x40], eax
jmp 0x14005eab5
call fcn.14006bc50
mov rcx, rax
lea rdx, str.e_36m
call fcn.14006bc50
mov r8, rax
mov ecx, dword [0x1401d7eac]
mov dword [rsp + 0x40], ecx
movzx eax, byte [0x1401d7eb0]
mov byte [rsp + 0x40], reloc.WLDAP32.dll_Ordinal_32
xor byte [rsp + 0x41], 0x33
xor byte [rsp + 0x42], 0x34
xor byte [rsp + 0x43], 0x35
xor al, 0x36
mov byte [rsp + 0x44], al
lea rdx, [rsp + 0x40]
mov rcx, r8
call fcn.14006bc50
mov rcx, rax
lea rdx, str.e_97m
call fcn.14006bc50
mov r9, rax
movsd xmm0, qword [0x1401d7628]
movsd qword [rbp - 0x70], xmm0
mov eax, dword [str.wTXX4_]
mov dword [rbp - 0x68], eax
movzx eax, word [0x1401d7634]
mov word [rbp - 0x64], ax
cmp byte [0x1401d7635], 0
je 0x14005ec3f
mov ecx, edi
cmp ebx, 2
jl 0x14005ec07
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 - 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 ecx, 8
movsxd rax, ecx
lea r8, [rbp - 0x70]
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, 0x32
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xe
jl 0x14005ec11
lea rdx, [rbp - 0x70]
mov rcx, r9
call fcn.14006bc50
lea rdx, str.e_36m
mov rcx, rax
call fcn.14006bc50
mov rcx, rax
mov eax, dword [0x1401d6d30]
mov dword [rsp + 0x48], eax
movzx eax, byte [0x1401d6d34]
mov byte [rsp + 0x48], reloc.WLDAP32.dll_Ordinal_32
xor byte [rsp + 0x49], 0x33
xor byte [rsp + 0x4a], 0x34
xor byte [rsp + 0x4b], 0x35
xor al, 0x36
mov byte [rsp + 0x4c], al
lea rdx, [rsp + 0x48]
call fcn.14006bc50
lea rdx, str.e_97m
mov rcx, rax
call fcn.14006bc50
mov r9, rax
movsd xmm0, qword [0x1401d8ed8]
movsd qword [rbp - 0x60], xmm0
mov eax, dword [0x1401d8ee0]
mov dword [rbp - 0x58], eax
movzx eax, byte [0x1401d8ee4]
mov byte [rbp - 0x54], al
mov ecx, edi
cmp ebx, 2
jl 0x14005eda8
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 - 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 ecx, 8
movsxd rax, ecx
lea r8, [rbp - 0x60]
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, 0x32
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xd
jl 0x14005edb2
lea rdx, [rbp - 0x60]
mov rcx, r9
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 + 0x78], rax
cmp byte [reloc.WS2_32.dll_gethostname], 0
je 0x14005efa5
cmp ebx, 2
jl 0x14005ef59
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 + 0x78]
xorps xmm2, xmm1
movd dword [rsp + 0x78], 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 + 0x7c]
xorps xmm2, xmm1
movd dword [rsp + 0x7c], xmm2
lea rdx, [rsp + 0x78]
mov rcx, r10
call fcn.14006bc50
mov r10, rax
movzx eax, byte [0x1401d7018]
mov byte [rsp + 0x68], al
jmp 0x14005efc0
lea r9, [rsp + 0x78]
mov r8d, edi
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, 8
jl 0x14005ef70
jmp 0x14005ef3c
lea rdx, [rsp + 0x78]
mov rcx, r10
call fcn.14006bc50
mov r10, rax
movzx ecx, byte [0x1401d7018]
mov byte [rsp + 0x68], cl
movups xmm0, xmmword [0x1401d7008]
movups xmmword [rsp + 0x58], xmm0
mov r8d, edi
cmp ebx, 2
jl 0x14005f0e3
movdqa xmmword [rbp - 0x80], xmm10
lea rcx, [rsp + 0x5c]
mov edx, dword [rbp - 0x80]
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 0x14005eff0
cmp r8d, 0x11
jge 0x14005f123
movsxd rax, r8d
lea r9, [rsp + 0x58]
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 0x14005f0f0
lea rdx, [rsp + 0x58]
mov rcx, r10
call fcn.14006bc50
mov rcx, rax
lea rdx, str.e_36m
call fcn.14006bc50
lea rdx, [rbp - 0x18]
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 - 0x18], 2
ja 0x14005f415
mov eax, dword [str.Q_G5]
mov dword [rsp + 0x28], eax
cmp byte [0x140104dcb], 0
je 0x14005f213
cmp ebx, 2
jl 0x14005f1d8
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 0x14005f213
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 0x14005f1e0
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 r9, rax
movups xmm0, xmmword [0x1401d7340]
movups xmmword [rsp + 0x58], xmm0
mov eax, dword [0x1401d7350]
mov dword [rsp + 0x68], eax
cmp byte [0x1401d7353], 0
je 0x14005f3ba
mov ecx, edi
cmp ebx, 2
jl 0x14005f361
movdqa xmmword [rbp - 0x80], xmm10
lea rdx, [rsp + 0x5c]
mov r8d, dword [rbp - 0x80]
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 0x14005f271
cmp ecx, 0x14
jge 0x14005f3ba
movsxd rax, ecx
lea r8, [rsp + 0x58]
add r8, rax
nop dword [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, 0x14
jl 0x14005f370
lea rdx, [rsp + 0x58]
mov rcx, r9
call fcn.14006bc50
lea rcx, [rbp - 0x40]
call fcn.14000ff30
mov rax, qword [rbp - 0x40]
jmp 0x14005f3d9
lea rdx, [rsp + 0x58]
mov rcx, r9
call fcn.14006bc50
lea rcx, [rbp - 0x40]
call fcn.14000ff30
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x28], rax
movabs rdx, 0x7fffffffc46535ff
cmp rax, rdx
je 0x14005f406
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x14005f406
add rax, 0x3b9aca00
mov qword [rsp + 0x28], rax
jmp 0x14005f40b
mov qword [rsp + 0x28], r13
lea rcx, [rsp + 0x28]
call fcn.1400740d0
mov eax, dword [str.Q_G5]
mov dword [rsp + 0x28], eax
cmp byte [0x140104dcb], 0
je 0x14005f4d3
cmp ebx, 2
jl 0x14005f493
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 0x14005f4d3
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 0x14005f4a0
lea rcx, [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, dword [rbp - 0x18]
test ecx, ecx
je 0x14005fc25
sub ecx, 1
je 0x14005fa7a
cmp ecx, 1
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
je 0x14005f8c9
lea rdx, str.e_31m
call fcn.14006bc50
mov r10, rax
movsd xmm0, qword [0x1401d7060]
movsd qword [rbp - 0x50], xmm0
mov ecx, dword [0x1401d7068]
mov dword [rbp - 0x48], ecx
movzx ecx, byte [0x1401d706c]
mov byte [rbp - 0x44], cl
mov r8d, edi
cmp ebx, 2
jl 0x14005f617
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 - 0x50], 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 - 0x4c]
xorps xmm2, xmm1
movd dword [rbp - 0x4c], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x50]
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 0x14005f630
lea rdx, [rbp - 0x50]
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 + 0x58], xmm0
movzx ecx, word [0x1401d70c0]
mov word [rsp + 0x68], cx
cmp byte [0x1401d70c1], 0
je 0x14005f7f3
mov r8d, edi
cmp ebx, 2
jl 0x14005f7b3
movdqa xmmword [rbp - 0x80], xmm10
lea rcx, [rsp + 0x5c]
mov edx, dword [rbp - 0x80]
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 0x14005f6c0
cmp r8d, 0x12
jge 0x14005f7f3
movsxd rax, r8d
lea r9, [rsp + 0x58]
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, 0x12
jl 0x14005f7c0
lea rdx, [rsp + 0x58]
mov rcx, r10
call fcn.14006bc50
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
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, [rsp + 0x30]
call fcn.14000ff30
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
movabs rdx, 0x7fffffffa697d0ff
cmp rax, rdx
je 0x14005f875
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x14005f875
add rax, 0x59682f00
mov qword [rsp + 0x28], rax
jmp 0x14005f87a
mov qword [rsp + 0x28], r13
lea rcx, [rsp + 0x28]
call fcn.1400740d0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x14005e754
inc rdx
mov rcx, qword [rbp - 0x38]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14005f8bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005fc68
call fcn.1400e6550
jmp 0x14005e754
lea rdx, str.e_32m
call fcn.14006bc50
mov r10, rax
movups xmm0, xmmword [0x1401d8110]
movups xmmword [rsp + 0x58], xmm0
movsd xmm0, qword [0x1401d8120]
movsd qword [rsp + 0x68], xmm0
mov ecx, dword [0x1401d8128]
mov dword [rsp + 0x70], ecx
movzx ecx, word [0x1401d812c]
mov word [rsp + 0x74], cx
movzx ecx, byte [0x1401d812e]
mov byte [rsp + 0x76], cl
mov r8d, edi
cmp ebx, 2
jl 0x14005fa23
movdqa xmmword [rbp - 0x80], xmm10
lea rcx, [rsp + 0x5c]
mov edx, dword [rbp - 0x80]
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 0x14005f930
cmp r8d, 0x1f
jge 0x14005fa63
movsxd rax, r8d
lea r9, [rsp + 0x58]
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 0x14005fa30
lea rdx, [rsp + 0x58]
mov rcx, r10
call fcn.14006bc50
call fcn.140058750
jmp 0x14005f885
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 + 0x58], xmm0
movups xmm1, xmmword [0x1401d7180]
movups xmmword [rsp + 0x68], xmm1
psrldq xmm1, 0xf
movd ecx, xmm1
test cl, cl
je 0x14005fc03
cmp ebx, 2
jl 0x14005fbc0
mov edx, edi
movdqa xmmword [rbp - 0x80], xmm10
lea rcx, [rsp + 0x5c]
mov r8d, dword [rbp - 0x80]
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 0x14005fad3
jmp 0x14005fc03
lea r9, [rsp + 0x58]
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, 0x20
jl 0x14005fbd0
lea rdx, [rsp + 0x58]
mov rcx, r10
call fcn.14006bc50
mov r8, r12
movzx edx, r14b
movzx ecx, r15b
call fcn.140058ac0
jmp 0x14005f885
mov qword [rsi + 0x10], rdi
cmp qword [rsi + 0x18], 0xf
jbe 0x14005fc33
mov rsi, qword [rsi]
mov byte [rsi], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x14005fc95
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005fc6f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005fc6f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6550
jmp 0x14005fc95
mov r8, r12
xor edx, edx
movzx ecx, r15b
call fcn.140058ac0
mov qword [rsi + 0x10], rdi
cmp qword [rsi + 0x18], 0xf
jbe 0x14005fc92
mov rsi, qword [rsi]
mov byte [rsi], 0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400e6530
lea r11, [rsp + 0x160]
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