Function at 0x1400ca840
Capabilities:
Create thread
Execute command
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x1401cf080]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
mov r13, rcx
xor ebx, ebx
mov dword [rsp + 0x44], ebx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [0x1400ccb00]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp qword [r13 + 0x30], 0xa
jne 0x1400cb3e3
cmp qword [r13 + 0x50], 0x40
jne 0x1400cb3e3
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b0], xmm0
mov qword [rbp + 0x190], rbx
mov edi, ebx
mov qword [rbp + 0x1a0], rbx
mov esi, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x1a8], rsi
mov byte [rbp + 0x190], bl
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.RPCRT4.dll_UuidCreate]
mov qword [rbp + 0xa8], rbx
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.RPCRT4.dll_UuidToStringA]
lea r15, [rbx - 1]
test eax, eax
jne 0x1400ca951
mov rdx, qword [rbp + 0xa8]
mov r8, r15
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400ca920
lea rcx, [rbp + 0x190]
call fcn.140039d30
lea rcx, [rbp + 0xa8]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeA]
mov rsi, qword [rbp + 0x1a8]
mov rdi, qword [rbp + 0x1a0]
mov qword [rbp + 0xc0], rbx
mov qword [rbp + 0xd0], rbx
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xc0], 0
mov qword [rbp - 0x68], rbx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
mov r8d, reloc.WS2_32.dll_recv
cmp rdi, r8
cmovb r8, rdi
lea rdx, [rbp + 0x190]
cmp rsi, 0x10
cmovae rdx, qword [rbp + 0x190]
lea rcx, [rbp - 0x68]
call fcn.14003a530
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0xc0]
call fcn.140039ad0
lea rcx, [rbp - 0x68]
call fcn.140039a70
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp + 0xd0]
sub rax, rcx
cmp rax, 1
jb 0x1400cb460
lea r9, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
cmovae r9, qword [rbp + 0xc0]
mov qword [rsp + 0x30], 1
lea rax, [0x1401b12a0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0xc0]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x150]
call fcn.14003a860
nop
lea rsi, [r13 + 0x40]
mov r8, rsi
lea rdx, [rbp + 0x150]
lea rcx, [rbp - 0x68]
call fcn.1400c0780
lea rcx, [r13 + 0x260]
mov rdx, rax
call fcn.140039ad0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x1400caa8b
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400caa86
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400caa86
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401206b4
movdqa xmm0, xmmword [0x1401b6ed0]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
mov rdx, qword [rbp + 0x168]
cmp rdx, 0x10
jb 0x1400caae0
inc rdx
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400caadb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400caadb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401206b4
mov qword [rbp + 0x150], rbx
mov qword [rbp + 0x160], 3
mov qword [rbp + 0x168], reloc.WS2_32.dll_ntohs
movzx eax, word [0x140141444]
mov word [rbp + 0x150], ax
movzx eax, byte [0x140141446]
mov byte [rbp + 0x152], al
mov byte [rbp + 0x153], 0
mov dword [rsp + 0x60], 0xe0fae3ad
mov dword [rsp + 0x64], 0xf6f8e2ea
mov word [rsp + 0x68], 0xae
mov byte [rsp + 0x6a], 1
mov dword [rsp + 0x58], 0xe3ece2ad
mov dword [rsp + 0x5c], 0x100adea
mov dword [rsp + 0x78], 0xede3e9ad
mov dword [rsp + 0x7c], 0xafe8f5e4
mov word [rbp - 0x80], 0x100
mov dword [rsp + 0x50], 0xfdece4ad
mov dword [rsp + 0x54], 0x100ade7
mov dword [rsp + 0x44], 0xfce8faad
mov word [rsp + 0x48], 0xb2
mov byte [rsp + 0x4a], 1
mov dword [rbp - 0x78], 0xebfdf5ff
mov dword [rbp - 0x74], 0xfbfff9b2
mov word [rbp - 0x70], 0xe7
mov byte [rbp - 0x6e], 1
lea r8, [rsp + 0x44]
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x100]
call fcn.1400c0b00
nop
lea rdx, [r13 + 0x60]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400cabc5
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140039ea0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x88]
call fcn.1400c0940
nop
mov r8d, 3
lea rdx, [rbp + 0x150]
mov rcx, rax
call fcn.140039ea0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x68]
call fcn.1400c0a20
nop
lea rdx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
cmovae rdx, qword [rbp + 0xc0]
mov r8, qword [rbp + 0xd0]
mov rcx, rax
call fcn.140039ea0
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], 0
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x48]
call fcn.1400c0940
nop
mov r8, r13
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.1400c0780
nop
lea r8, [rsp + 0x60]
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.1400c0ca0
nop
lea r8, [r13 + 0x20]
mov rdx, rax
lea rcx, [rbp + 0x1c0]
call fcn.1400c0780
nop
lea rcx, [rbp + 8]
call fcn.140039a70
nop
lea rcx, [rbp + 0x28]
call fcn.140039a70
nop
lea rcx, [rbp + 0x48]
call fcn.140039a70
nop
lea rcx, [rbp - 0x68]
call fcn.140039a70
nop
lea rcx, [rbp + 0x68]
call fcn.140039a70
nop
lea rcx, [rbp - 0x40]
call fcn.140039a70
nop
lea rcx, [rbp + 0x88]
call fcn.140039a70
nop
lea rcx, [rbp - 0x20]
call fcn.140039a70
nop
lea rcx, [rbp + 0x100]
call fcn.140039a70
lea rax, [rbp - 0x20]
mov qword [rbp], rax
lea rdx, [r13 + 0x80]
lea rcx, [rbp - 0x20]
call fcn.140055610
mov rdi, rax
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp - 0x40]
call fcn.140055610
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rbp + 0x170]
call fcn.1400cedb0
nop
lea rcx, [rbp + 0x170]
cmp qword [rbp + 0x188], 0x10
cmovae rcx, qword [rbp + 0x170]
mov r8, qword [rbp + 0x180]
cmp r8, 0xf
jne 0x1400cae24
lea rdx, str.KeyAuth_Invalid
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400cae24
movdqa xmm0, xmmword [0x140142370]
movdqa xmmword [rbp + 0x100], xmm0
movdqa xmm1, xmmword [0x140142380]
movdqa xmmword [rbp + 0x110], xmm1
movdqa xmm0, xmmword [0x1401423a0]
movdqa xmmword [rbp + 0x120], xmm0
movdqa xmm1, xmmword [0x140142350]
movdqa xmmword [rbp + 0x130], xmm1
mov dword [rbp + 0x140], 0xe3a8b9
mov byte [rbp + 0x144], 1
lea rcx, [rbp + 0x100]
call fcn.1400c8620
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rbp + 0x138], rbx
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x100]
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0xb0]
call fcn.1400c4320
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
mov edx, 1
lea rcx, [rbp + 0x1e0]
call fcn.1400c67d0
nop
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe0], xmm1
mov qword [rbp + 0xf0], rbx
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140120368
mov qword [rbp + 0xe0], rax
lea rcx, [rax + 0x20]
mov qword [rbp + 0xf0], rcx
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rbp + 0xe8], rcx
mov rax, qword [rbp + 0xe0]
sub rcx, rax
lea r8, [rbp + 0x170]
cmp qword [rbp + 0x188], 0x10
cmovae r8, qword [rbp + 0x170]
cmp qword [rsi + 0x18], 0x10
jb 0x1400caede
mov rsi, qword [rsi]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x180]
mov rdx, qword [r13 + 0x50]
mov rcx, rsi
call fcn.1400d5b30
mov r12, qword [rbp + 0xe8]
mov r14, qword [rbp + 0xe0]
cmp r14, r12
je 0x1400caf6d
nop
movzx esi, byte [r14]
lea rdx, [0x1400ca820]
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdi, rax
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov byte [rdx + rax + 0x58], Ordinal_50
mov edx, 2
lea rcx, [rsp + 0x60]
call sub.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__
mov r8, qword [rax]
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov rdx, qword [rax + 8]
call r8
mov edx, esi
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
inc r14
cmp r14, r12
jne 0x1400caf10
mov qword [rbp - 0x68], rbx
movdqa xmm0, xmmword [0x1401b6ed0]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
mov dword [rsp + 0x44], 0xfe
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
mov rcx, qword [rbp + 0x268]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400cafd5
mov rax, qword [rbp + 0x238]
mov r8, qword [rax]
test r8, r8
je 0x1400cafd5
mov rax, qword [rbp + 0x218]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x260]
cmovb r8, qword [rbp + 0x260]
sub r8, rdx
jmp 0x1400cb00f
test cl, 4
jne 0x1400cb005
mov rax, qword [rbp + 0x230]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400cb005
mov rax, qword [rbp + 0x210]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x248]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x1400cb00f
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x1400cb01e
lea rcx, [rbp - 0x68]
call fcn.140039d30
nop
lea rdx, [rbp - 0x68]
mov rsi, qword [rbp - 0x50]
cmp rsi, 0x10
setae r12b
mov rdi, qword [rbp - 0x68]
cmovae rdx, rdi
inc r15
cmp byte [rdx + r15], 0
jne 0x1400cb036
lea rcx, [section..data]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rcx, qword [section..data]
mov r8, qword [0x1401cf010]
cmp r8, r15
jne 0x1400cb071
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400cb071
xor r14b, r14b
jmp 0x1400cb074
mov r14b, 1
test r12b, r12b
je 0x1400cb0ad
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400cb0a5
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400cb0a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1401206b4
test r14b, r14b
je 0x1400cb0b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x60]
call fcn.1400c6490
mov rdx, rax
mov rcx, r13
call fcn.1400cb890
lea rdx, str.success
lea rcx, [rbp + 0xb0]
call fcn.1400c04d0
lea rcx, [rax + 8]
cmp byte [rax], 4
cmovne rcx, rbx
cmp byte [rcx], 0
lea rcx, [rbp + 0xb0]
je 0x1400cb32a
lea rdx, str.sessionid
call fcn.1400c04d0
cmp byte [rax], 3
jne 0x1400cb11a
mov r8, qword [rax + 8]
jmp 0x1400cb11d
mov r8, rbx
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x1400cb12a
mov rdx, qword [r8]
lea rcx, [r13 + 0x240]
mov r8, qword [r8 + 0x10]
call fcn.140039d30
lea rdx, str.appinfo
lea rcx, [rbp + 0xb0]
call fcn.1400c04d0
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400c6490
mov rdi, rax
mov qword [rbp - 0x48], rax
lea rdx, str.numUsers
mov rcx, rax
call fcn.1400c04d0
cmp byte [rax], 3
jne 0x1400cb17b
mov r8, qword [rax + 8]
jmp 0x1400cb17e
mov r8, rbx
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x1400cb18b
mov rdx, qword [r8]
lea rcx, [r13 + 0xa0]
mov r8, qword [r8 + 0x10]
call fcn.140039d30
lea rdx, str.numOnlineUsers
mov rcx, rdi
call fcn.1400c04d0
cmp byte [rax], 3
jne 0x1400cb1b5
mov r8, qword [rax + 8]
jmp 0x1400cb1b8
mov r8, rbx
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x1400cb1c5
mov rdx, qword [r8]
lea rcx, [r13 + 0xc0]
mov r8, qword [r8 + 0x10]
call fcn.140039d30
lea rdx, str.numKeys
mov rcx, rdi
call fcn.1400c04d0
cmp byte [rax], 3
jne 0x1400cb1ef
mov r8, qword [rax + 8]
jmp 0x1400cb1f2
mov r8, rbx
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x1400cb1ff
mov rdx, qword [r8]
lea rcx, [r13 + 0xe0]
mov r8, qword [r8 + 0x10]
call fcn.140039d30
lea rdx, str.version
mov rcx, rdi
call fcn.1400c04d0
cmp byte [rax], 3
jne 0x1400cb229
mov r8, qword [rax + 8]
jmp 0x1400cb22c
mov r8, rbx
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x1400cb239
mov rdx, qword [r8]
lea rcx, [r13 + 0x100]
mov r8, qword [r8 + 0x10]
call fcn.140039d30
lea rdx, str.customerPanelLink
mov rcx, rdi
call fcn.1400c04d0
cmp byte [rax], 3
jne 0x1400cb261
mov rbx, qword [rax + 8]
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400cb26e
mov rdx, qword [rbx]
lea rcx, [r13 + 0x120]
mov r8, qword [rbx + 0x10]
call fcn.140039d30
nop
lea rcx, [rdi + 8]
movzx edx, byte [rdi]
call fcn.1400c8dd0
nop
lea rcx, [rbp + 0xe0]
call fcn.1400553f0
nop
lea rcx, [rbp + 0x1e0]
call fcn.140054b60
nop
movzx edx, byte [rbp + 0xb0]
lea rcx, [rbp + 0xb8]
call fcn.1400c8dd0
nop
lea rcx, [rbp + 0x170]
call fcn.140039a70
nop
lea rcx, [rbp + 0x1c0]
call fcn.140039a70
nop
lea rcx, [rbp + 0x150]
call fcn.140039a70
nop
lea rcx, [rbp + 0xc0]
call fcn.140039a70
nop
lea rcx, [rbp + 0x190]
call fcn.140039a70
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.140120eb0
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rdx, str.message
call fcn.1400c04d0
mov rsi, rax
mov byte [rsp + 0x60], 3
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140120368
mov rdi, rax
mov qword [rax], rbx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbx
mov r8d, 0xa
lea rdx, str.invalidver
mov rcx, rax
call fcn.14003a530
mov qword [rsp + 0x68], rdi
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1400c72f0
movzx ebx, al
movzx edx, byte [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.1400c8dd0
nop
test bl, bl
je 0x1400cb28c
lea rdx, str.download
lea rcx, [rbp + 0xb0]
call fcn.1400c04d0
lea rdx, [rbp + 0x100]
mov rcx, rax
call fcn.1400c0720
lea rdx, [0x14014fc2a]
lea rcx, [rbp + 0x100]
call fcn.1400c0480
lea rcx, str.start_cmd__C__COLOR_C__echo._Outdated_version__contact_fael2081__TIMEOUT_10___nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
movdqa xmm0, xmmword [0x140142360]
movdqa xmmword [rbp + 0x100], xmm0
movdqa xmm1, xmmword [0x140142330]
movdqa xmmword [rbp + 0x110], xmm1
movdqa xmm0, xmmword [0x140142390]
movdqa xmmword [rbp + 0x120], xmm0
movdqa xmm1, xmmword [0x140142340]
movdqa xmmword [rbp + 0x130], xmm1
mov dword [rbp + 0x140], 0xade3a2a2
mov dword [rbp + 0x144], 0x100a0bf
lea rcx, [rbp + 0x100]
call fcn.1400c8650
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call fcn.14002d470
int3