Function at 0x140051890
Capabilities:
Access peb ldr_data
Encode data using xor
Execute command
Get ntdll base address
Schedule task via at
Set console window title
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1400e1080]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor ebx, ebx
lea rcx, str.DemonWare__Main
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rdx, qword [rcx + 0x10]
mov eax, dword [rdx + 0x30]
add eax, 0x100000
mov dword [rdx + 0x40], eax
lea rcx, [0x1400c981e]
call fcn.1400517f0
movsd xmm0, qword [str.zUURX_K___mjOF]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [0x1400cfdb8]
mov dword [rsp + 0x68], eax
movzx eax, word [0x1400cfdbc]
mov word [rsp + 0x6c], ax
cmp byte [0x1400cfdbd], bl
je 0x140051a7b
mov ecx, ebx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140051a44
movdqa xmm4, xmmword [0x1400d0130]
mov eax, 1
movd xmm6, eax
mov eax, Ordinal_33
movd xmm5, eax
movdqa xmm2, xmmword [0x1400d00f0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400d0110]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400d0120]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400d0150]
movd xmm0, dword [str.zUURX_K___mjOF]
xorps xmm2, xmm0
movd dword [rsp + 0x60], xmm2
movdqa xmm3, xmmword [0x1400d0100]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400d0110]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400d0120]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400d0150]
movd xmm0, dword [rsp + 0x64]
xorps xmm2, xmm0
movd dword [rsp + 0x64], xmm2
mov ecx, 8
movsxd rax, ecx
lea r8, [rsp + 0x60]
add r8, rax
nop
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xe
jl 0x140051a50
lea rdx, [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400538a0
lea rcx, [0x1400ced0c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x14015c160]
call fcn.140061520
cmp byte [0x14015c370], bl
jne 0x140051b0c
mov r8, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp - 0x70]
call fcn.140052200
movzx ecx, byte [rax + 5]
test cl, cl
je 0x140051ade
xor byte [rax], 0x39
xor byte [rax + 1], 0x3a
xor byte [rax + 2], 0x3b
xor byte [rax + 3], 0x3c
xor byte [rax + 4], 0x3d
xor cl, 0x3e
mov byte [rax + 5], cl
mov rdx, rax
mov rcx, r8
call fcn.1400538a0
mov rcx, rax
lea rdx, [0x14015c378]
call fcn.140053a70
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], bl
movups xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x1400d00a0]
movdqu xmmword [rbp + 0x10], xmm1
mov byte [rbp], 0
lea rcx, [0x1400c981e]
call fcn.1400517f0
movsd xmm0, qword [str.lINS_R_bC]
movsd qword [rsp + 0x20], xmm0
movzx ecx, word [0x1400cfd78]
mov word [rsp + 0x28], cx
movzx eax, byte [0x1400cfd7a]
mov byte [rsp + 0x20], 0x55
xor byte [rsp + 0x21], 0x3a
xor byte [rsp + 0x22], 0x3b
xor byte [rsp + 0x23], 0x3c
xor byte [rsp + 0x24], 0x3d
xor byte [rsp + 0x25], 0x3e
xor byte [rsp + 0x26], 0x3f
xor byte [rsp + 0x27], 0x40
xor cl, 0x41
mov byte [rsp + 0x28], cl
xor byte [rsp + 0x29], 0x42
xor al, 0x43
mov byte [rsp + 0x2a], al
lea rdx, [rsp + 0x20]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400538a0
lea rdx, [rbp - 0x20]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140053a90
lea rcx, [0x1400c981e]
call fcn.1400517f0
movsd xmm0, qword [str.i_HOJQM_bC]
movsd qword [rsp + 0x30], xmm0
movzx ecx, word [0x1400cfdc8]
mov word [rsp + 0x38], cx
movzx eax, byte [0x1400cfdca]
mov byte [rsp + 0x30], 0x50
xor byte [rsp + 0x31], 0x3a
xor byte [rsp + 0x32], 0x3b
xor byte [rsp + 0x33], 0x3c
xor byte [rsp + 0x34], 0x3d
xor byte [rsp + 0x35], 0x3e
xor byte [rsp + 0x36], 0x3f
xor byte [rsp + 0x37], 0x40
xor cl, 0x41
mov byte [rsp + 0x38], cl
xor byte [rsp + 0x39], 0x42
xor al, 0x43
mov byte [rsp + 0x3a], al
lea rdx, [rsp + 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400538a0
lea rdx, [rbp]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140053a90
lea rax, [rsp + 0x40]
mov qword [rbp - 0x28], rax
lea rdx, [rbp]
lea rcx, [rsp + 0x40]
call fcn.140003610
mov rbx, rax
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x70]
call fcn.140003610
nop
mov r8, rbx
mov rdx, rax
lea rcx, [0x14015c160]
call fcn.140063cc0
cmp byte [0x14015c370], 0
jne 0x140051cea
mov r8, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp - 0x70]
call fcn.140052200
movzx ecx, byte [rax + 5]
test cl, cl
je 0x140051cbc
xor byte [rax], 0x39
xor byte [rax + 1], 0x3a
xor byte [rax + 2], 0x3b
xor byte [rax + 3], 0x3c
xor byte [rax + 4], 0x3d
xor cl, 0x3e
mov byte [rax + 5], cl
mov rdx, rax
mov rcx, r8
call fcn.1400538a0
mov rcx, rax
lea rdx, [0x14015c378]
call fcn.140053a70
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [0x14015c160]
call fcn.14005e240
cmp byte [0x14015c370], 0
jne 0x140051d68
lea rdx, str.BlackListedUser
lea rcx, [rsp + 0x40]
call fcn.1400035d0
mov rdx, rax
lea rcx, [0x14015c160]
call fcn.140063460
lea rcx, [0x1400c981e]
call fcn.1400517f0
movups xmm0, xmmword [0x14015c378]
movaps xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x14015c388]
movaps xmmword [rsp + 0x50], xmm1
lea rdx, [rsp + 0x40]
lea rcx, str.Error:
call fcn.140046ce0
mov ecx, 0x1194
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea rdx, [rbp]
lea rcx, [rsp + 0x40]
call fcn.140003610
mov rbx, rax
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x70]
call fcn.140003610
nop
mov r8, rbx
mov rdx, rax
lea rcx, [0x14015c160]
call fcn.140063cc0
cmp byte [0x14015c370], 0
jne 0x140051e01
lea rcx, [0x1400c981e]
call fcn.1400517f0
movups xmm0, xmmword [0x14015c378]
movaps xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x14015c388]
movaps xmmword [rsp + 0x50], xmm1
lea rdx, [rsp + 0x40]
lea rcx, str.Error:
call fcn.140046ce0
mov ecx, 0x1194
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [0x14015c160]
call fcn.14005d470
cmp byte [0x14015c370], 0
jne 0x140051e7f
lea rcx, [0x1400c981e]
call fcn.1400517f0
movups xmm0, xmmword [0x14015c378]
movaps xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x14015c388]
movaps xmmword [rsp + 0x50], xmm1
lea rdx, [rsp + 0x40]
lea rcx, str.Error:
call fcn.140046ce0
lea rdx, str.Error_fn_user_cant_bypass_check
lea rcx, [rsp + 0x40]
call fcn.1400035d0
mov rdx, rax
lea rcx, [0x14015c160]
call fcn.140063460
mov ecx, 0x1194
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov r13, qword [rbp - 0x10]
sub rax, r13
cmp rax, 5
jb 0x1400521f6
lea r12, [rbp - 0x20]
mov rsi, qword [rbp - 0x20]
mov r15, qword [rbp - 8]
cmp r15, 0x10
cmovae r12, rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea r14, [r13 + 5]
mov ebx, reloc.WS2_32.dll_ntohs
lea rdi, [rsp + 0x70]
cmp r14, rbx
jbe 0x140051f51
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x140051ee5
mov rbx, rcx
jmp 0x140051ef1
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x140051f3b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400521f0
mov rcx, rax
call fcn.1400b7b70
test rax, rax
je 0x140051f34
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140051f4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140051f4a
call fcn.1400b7b70
mov rdi, rax
jmp 0x140051f4c
xor edi, edi
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], rbx
mov eax, dword [str.User:]
mov dword [rdi], eax
movzx eax, byte [0x1400ced70]
mov byte [rdi + 4], al
lea rcx, [rdi + 5]
mov r8, r13
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r14], 0
mov r8d, reloc.WLDAP32.dll_Ordinal_26
lea rdx, str._has_logged_in_at_15:49:26
lea rcx, [rsp + 0x70]
call fcn.140003730
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
lea r8d, [rbx + 4]
lea rdx, str._on
lea rcx, [rbp - 0x48]
call fcn.140003730
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
lea r8d, [rbx + 0xb]
lea rdx, str.Sep_23_2023
lea rcx, [rbp - 0x68]
call fcn.140003730
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
lea rdx, [rsp + 0x40]
lea rcx, [0x14015c160]
call fcn.140063460
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140052099
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052094
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052094
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7bac
movdqa xmm0, xmmword [0x1400d00a0]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x1400520e8
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400520e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400520e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7bac
movdqa xmm0, xmmword [0x1400d00a0]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140052138
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052133
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052133
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7bac
lea rcx, [0x14015c160]
call fcn.14005e240
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x140052184
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005217e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005217e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7bac
nop
cmp r15, 0x10
jb 0x1400521be
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400521b6
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400521b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400b7bac
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400b7b50
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001af0
nop
call fcn.140001b90
int3