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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0x68]
sub rsp, 0x160
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1400e10c0]
xor rax, rsp
mov qword [rbp + 0x40], rax
movups xmm0, xmmword [0x1400cfa70]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [0x1400cfa80]
movups xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [0x1400cfa90]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x1400cfaa0]
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [0x1400cfab0]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x1400cfac0]
movups xmmword [rbp - 0x80], xmm1
movsd xmm0, qword [0x1400cfad0]
movsd qword [rbp - 0x70], xmm0
mov eax, dword [0x1400cfad8]
mov dword [rbp - 0x68], eax
movzx eax, word [0x1400cfadc]
mov word [rbp - 0x64], ax
movzx eax, byte [reloc.WS2_32.dll_WSAGetLastError]
mov byte [rbp - 0x62], al
xor ebx, ebx
mov r8d, ebx
movdqa xmm6, xmmword [0x1400d0010]
mov edi, dword [reloc.WS2_32.dll_accept]
cmp edi, 2
jl 0x14004266f
movdqa xmm4, xmmword [0x1400cffd0]
movdqa xmm3, xmmword [0x1400d0330]
movdqa xmm5, xmmword [0x1400d0000]
movdqa xmm0, xmmword [0x1400d0070]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x34]
mov edx, dword [rsp + 0x20]
nop word [rax + rax]
movd xmm2, r8d
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, [r8 + 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 r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x68
jl 0x140042580
cmp r8d, 0x6f
jge 0x1400426b3
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, 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, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x6f
jl 0x140042680
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movups xmm0, xmmword [0x1400cf900]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [0x1400cf910]
movups xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [0x1400cf920]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x1400cf930]
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [0x1400cf940]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x1400cf950]
movups xmmword [rbp - 0x80], xmm1
movsd xmm0, qword [str.1_J_a_a]
movsd qword [rbp - 0x70], xmm0
mov eax, dword [0x1400cf968]
mov dword [rbp - 0x68], eax
movzx eax, byte [0x1400cf96c]
mov byte [rbp - 0x64], al
mov r8d, ebx
cmp edi, 2
jl 0x14004284f
movdqa xmm4, xmmword [0x1400cffd0]
movdqa xmm3, xmmword [0x1400d0330]
movdqa xmm5, xmmword [0x1400d0000]
movdqa xmm0, xmmword [0x1400d0070]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x34]
mov edx, dword [rsp + 0x20]
movd xmm2, r8d
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, [r8 + 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 r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x68
jl 0x140042760
cmp r8d, 0x6d
jge 0x140042893
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, 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, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x6d
jl 0x140042860
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movups xmm0, xmmword [0x1400cf820]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [0x1400cf830]
movups xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [0x1400cf840]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x1400cf850]
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [0x1400cf860]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x1400cf870]
movups xmmword [rbp - 0x80], xmm1
movsd xmm0, qword [0x1400cf880]
movsd qword [rbp - 0x70], xmm0
mov r8d, ebx
cmp edi, 2
jl 0x140042a19
movdqa xmm4, xmmword [0x1400cffd0]
mov edx, ebx
movdqa xmm3, xmmword [0x1400d0330]
movdqa xmm5, xmmword [0x1400d0000]
movdqa xmm0, xmmword [0x1400d0070]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x34]
mov r8d, dword [rsp + 0x20]
movd xmm2, edx
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, 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, 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, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x68
jl 0x140042930
jmp 0x140042a52
lea r9, [rsp + 0x30]
nop
mov eax, 0x24924925
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x68
jl 0x140042a20
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movups xmm0, xmmword [0x1400cf890]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [0x1400cf8a0]
movups xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [0x1400cf8b0]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x1400cf8c0]
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [0x1400cf8d0]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x1400cf8e0]
movups xmmword [rbp - 0x80], xmm1
mov eax, dword [0x1400cf8f0]
mov dword [rbp - 0x70], eax
cmp edi, 2
jl 0x140042bda
movdqa xmm4, xmmword [0x1400cffd0]
movdqa xmm3, xmmword [0x1400d0330]
movdqa xmm5, xmmword [0x1400d0000]
movdqa xmm0, xmmword [0x1400d0070]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x34]
mov edx, dword [rsp + 0x20]
nop word [rax + 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 0x140042af0
cmp ebx, 0x64
jge 0x140042c1e
movsxd rax, ebx
lea r8, [rsp + 0x30]
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 ecx, eax, 0x38
movzx eax, bl
sub al, cl
add al, 0x39
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x64
jl 0x140042bf0
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
mov r8d, 0x52
lea rdx, str.cd_C:WindowsSystem32__AsDeviceCheck__BS___RANDOM__RANDOM__RANDOM_____NUL_2_1
lea rcx, [rbp + 0x20]
call fcn.140037410
nop
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
mov r8d, 0x52
lea rdx, str.cd_C:WindowsSystem32__AsDeviceCheck__SS___RANDOM__RANDOM__RANDOM_____NUL_2_1
lea rcx, [rbp]
call fcn.140037410
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
mov r8d, reloc.WLDAP32.dll_Ordinal_60
lea rdx, str.cd_C:WindowsSystem32__AsDeviceCheck__SU_auto___NUL_2_1
lea rcx, [rbp - 0x20]
call fcn.140037410
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r8d, 0x52
lea rdx, str.cd_C:WindowsSystem32__AsDeviceCheck__SK___RANDOM__RANDOM__RANDOM_____NUL_2_1
lea rcx, [rbp - 0x40]
call fcn.140037410
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov r8d, 0x53
lea rdx, str.cd_C:WindowsSystem32__AsDeviceCheck__PSN___RANDOM__RANDOM__RANDOM_____NUL_2_1
lea rcx, [rbp - 0x60]
call fcn.140037410
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rcx, qword [rbp + 0x20]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rcx, qword [rbp]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rcx, qword [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rcx, qword [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rcx, qword [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.net_stop_winmgmt__y___nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.timeout__t_2__nobreak___nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.net_start_winmgmt__y___nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140042dba
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042db5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042db5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3994
movdqa xmm0, xmmword [0x1400cffa0]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140042e11
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042e04
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042e04
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3994
movdqa xmm0, xmmword [0x1400cffa0]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x140042e60
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042e53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042e53
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3994
movdqa xmm0, xmmword [0x1400cffa0]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x140042eaf
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042ea2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042ea2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3994
movdqa xmm0, xmmword [0x1400cffa0]
movdqu xmmword [rbp + 0x10], xmm0
mov byte [rbp], 0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x140042ef6
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042ef1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042ef1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b3994
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400b3260
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret