Function at 0x1400bc7c0
Capabilities:
Initialize winsock library

Disassembly:
push rdi
sub rsp, 0x450
mov rax, qword [0x140209b48]
xor rax, rsp
mov qword [rsp + 0x440], rax
cmp byte [reloc.WS2_32.dll_accept], 0
mov rdi, rcx
je 0x1400bca58
lea rcx, [rsp + 0x60]
call fcn.1400012c0
lea rcx, [rsp + 0x60]
call fcn.140175fb0
cmp qword [0x14020b010], 0
jne 0x1400bca21
lea rdx, [rsp + 0x2a0]
mov cx, 0x101
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400bca06
lea ecx, [rax + 0x38]
mov qword [rsp + 0x468], rbx
call fcn.1400ce030
xor ecx, ecx
mov qword [0x14020b010], rax
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rcx
mov qword [rax + 0x30], rcx
mov rcx, qword [0x14020ae60]
call fcn.14016bb20
mov rcx, qword [0x14020b010]
xor ebx, ebx
mov qword [rcx + 0x30], rax
mov rcx, qword [0x14020b010]
mov eax, dword [reloc.WS2_32.dll_setsockopt]
mov dword [rcx + 0x28], eax
lea r8, [0x1400bc2e0]
lea rdx, str.EVERYTHING_ETP_SERVER
xor ecx, ecx
xor r9d, r9d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call fcn.1400d4b90
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x58], rbx
lea r8, str.EVERYTHING_ETP_SERVER
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
lea rdx, str.EVERYTHING_ETP_SERVER
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call fcn.1400d4cf0
mov rcx, qword [0x14020b010]
mov qword [rcx + 0x20], rax
movzx ecx, word [rsp + 0x2a0]
cmp cl, 1
je 0x1400bc932
movzx eax, cx
shr ax, 8
cmp al, 1
je 0x1400bc932
mov rdx, qword [0x1401fd5f8]
movzx r8d, cl
lea rcx, [rsp + 0x60]
mov rdx, qword [rdx + 0x2308]
movzx r9d, al
call fcn.140176700
jmp 0x1400bc9be
mov rax, qword [0x14020ae60]
cmp byte [rax], bl
je 0x1400bc9b2
lea rcx, [rsp + 0x180]
call fcn.1400012c0
mov rdx, qword [0x14020ae60]
lea rcx, [rsp + 0x180]
call fcn.140177ec0
test rax, rax
mov rbx, rax
je 0x1400bc9a3
nop
nop
nop
mov rdx, qword [rsp + 0x188]
cmp byte [rdx], 0
je 0x1400bc98b
lea rcx, [rsp + 0x60]
call fcn.1400b7540
test eax, eax
je 0x1400bc9a3
lea rcx, [rsp + 0x180]
mov rdx, rbx
call fcn.140177ec0
test rax, rax
mov rbx, rax
jne 0x1400bc970
lea rcx, [rsp + 0x180]
call fcn.140175010
jmp 0x1400bc9be
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.1400b7540
mov rax, qword [0x14020b010]
mov rbx, qword [rsp + 0x468]
cmp qword [rax], 0
je 0x1400bc9ff
mov r8, qword [rsp + 0x68]
cmp byte [r8], 0
je 0x1400bc9ef
lea rdx, str.ETP_server_started__but_with_errors:__s_n
mov ecx, 0xffff0000
call fcn.1400b3610
lea rdx, str.ETP_server_online._r_n
xor ecx, ecx
call fcn.1400b77c0
jmp 0x1400bca4e
call fcn.1400babd0
jmp 0x1400bca21
mov rdx, qword [0x1401fd5f8]
lea rcx, [rsp + 0x60]
mov r8d, eax
mov rdx, qword [rdx + 0x2300]
call fcn.140176700
mov rax, qword [rsp + 0x68]
cmp byte [rax], 0
je 0x1400bca4e
mov r8, qword [0x1401fd5f8]
mov edx, reloc.WS2_32.dll_recv
mov rcx, rdi
mov r9, qword [r8 + 0x2260]
mov r8, qword [r8]
mov qword [rsp + 0x20], rax
call fcn.1400d47d0
lea rcx, [rsp + 0x60]
call fcn.140175010
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1401a6ae0
add rsp, 0x450
pop rdi
ret