Function at 0x14001183e
Capabilities:
Initialize winsock library
Resolve dns
Terminate process

Disassembly:
jmp 0x140015a20
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x468
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xb2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x488]
mov rax, qword [0x140030058]
xor rax, rbp
mov qword [rbp + 0x438], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.140011861
mov qword [rbp + 0x218], 0xffffffffffffffff
mov qword [rbp + 0x238], 0xffffffffffffffff
mov qword [rbp + 0x258], 0
lea rdx, [rbp + 0x10]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rbp + 0x1c4], eax
cmp dword [rbp + 0x1c4], 0
je 0x140015ac4
mov edx, dword [rbp + 0x1c4]
lea rcx, str.WSAStartup_failed_with_error:__d_n
call fcn.1400113ac
mov ecx, 0xffffffff
call qword [sym.imp.ucrtbased.dll_exit]
mov r8d, 0x30
xor edx, edx
lea rcx, [rbp + 0x278]
call fcn.14001164a
mov dword [rbp + 0x27c], 2
mov dword [rbp + 0x280], 1
mov dword [rbp + 0x284], 6
mov dword [rbp + 0x278], 1
mov r8d, listen
xor edx, edx
lea rcx, [rbp + 0x1e8]
call fcn.14001164a
mov r8d, listen
mov rdx, qword [rbp + 0x460]
lea rcx, [rbp + 0x1e8]
call qword [sym.imp.ucrtbased.dll_wcstombs]
lea r9, [rbp + 0x258]
lea r8, [rbp + 0x278]
lea rdx, [rbp + 0x1e8]
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [rbp + 0x1c4], eax
cmp dword [rbp + 0x1c4], 0
je 0x140015b7d
mov edx, dword [rbp + 0x1c4]
lea rcx, str.getaddrinfo_failed_with_error:__d_n
call fcn.1400113ac
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, 0xffffffff
call qword [sym.imp.ucrtbased.dll_exit]
mov rax, qword [rbp + 0x258]
mov r8d, dword [rax + 0xc]
mov rax, qword [rbp + 0x258]
mov edx, dword [rax + 8]
mov rax, qword [rbp + 0x258]
mov ecx, dword [rax + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbp + 0x218], rax
cmp qword [rbp + 0x218], 0xffffffffffffffff
jne 0x140015be5
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.socket_failed_with_error:__ld_n
call fcn.1400113ac
mov rcx, qword [rbp + 0x258]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, 0xffffffff
call qword [sym.imp.ucrtbased.dll_exit]
mov rax, qword [rbp + 0x258]
mov r8d, dword [rax + 0x10]
mov rax, qword [rbp + 0x258]
mov rdx, qword [rax + 0x20]
mov rcx, qword [rbp + 0x218]
call qword [sym.imp.WS2_32.dll_bind]
mov dword [rbp + 0x1c4], eax
cmp dword [rbp + 0x1c4], 0xffffffff
jne 0x140015c56
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.bind_failed_with_error:__d_n
call fcn.1400113ac
mov rcx, qword [rbp + 0x258]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rcx, qword [rbp + 0x218]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, 0xffffffff
call qword [sym.imp.ucrtbased.dll_exit]
mov rcx, qword [rbp + 0x258]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rdx, qword [rbp + 0x460]
lea rcx, str.___RPC_relay_server_listening_on_port__S_..._n
call fcn.1400113ac
mov edx, 0x7fffffff
mov rcx, qword [rbp + 0x218]
call qword [sym.imp.WS2_32.dll_listen]
mov dword [rbp + 0x1c4], eax
cmp dword [rbp + 0x1c4], 0xffffffff
jne 0x140015cc9
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.listen_failed_with_error:__d_n
call fcn.1400113ac
mov rcx, qword [rbp + 0x218]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, 0xffffffff
call qword [sym.imp.ucrtbased.dll_exit]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x218]
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rbp + 0x238], rax
cmp qword [rbp + 0x238], 0xffffffffffffffff
jne 0x140015d1e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.accept_failed_with_error:__d_n
call fcn.1400113ac
mov rcx, qword [rbp + 0x218]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, 0xffffffff
call qword [sym.imp.ucrtbased.dll_exit]
mov rdx, qword [rbp + 0x460]
lea rcx, str.___Received_the_relayed_authentication_on_the_RPC_relay_server_on_port__S_n
call fcn.1400113ac
mov rcx, qword [rbp + 0x218]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, qword [rbp + 0x238]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_connect
call fcn.1400116f9
mov rax, rdi
mov rcx, qword [rbp + 0x438]
xor rcx, rbp
call fcn.1400113d4
lea rsp, [rbp + 0x448]
pop rdi
pop rbp
ret