Function at 0x1400bd0a0
Capabilities:
Initialize winsock library

Disassembly:
push rdi
sub rsp, 0x450
mov rax, qword [0x14020cc08]
xor rax, rsp
mov qword [rsp + 0x440], rax
cmp byte [reloc.WS2_32.dll_accept], 0
mov rdi, rcx
je 0x1400bd338
lea rcx, [rsp + 0x60]
call fcn.1400012c0
lea rcx, [rsp + 0x60]
call fcn.1401784f0
cmp qword [0x14020e0e8], 0
jne 0x1400bd301
lea rdx, [rsp + 0x2a0]
mov cx, 0x101
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400bd2e6
lea ecx, [rax + 0x38]
mov qword [rsp + 0x468], rbx
call fcn.1400cf3f0
xor ecx, ecx
mov qword [0x14020e0e8], 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 [0x14020df20]
call fcn.14016e020
mov rcx, qword [0x14020e0e8]
xor ebx, ebx
mov qword [rcx + 0x30], rax
mov rcx, qword [0x14020e0e8]
mov eax, dword [reloc.WS2_32.dll_setsockopt]
mov dword [rcx + 0x28], eax
lea r8, [0x1400bcbc0]
lea rdx, str.EVERYTHING_ETP_SERVER
xor ecx, ecx
xor r9d, r9d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call fcn.1400d60a0
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.1400d6200
mov rcx, qword [0x14020e0e8]
mov qword [rcx + 0x20], rax
movzx ecx, word [rsp + 0x2a0]
cmp cl, 1
je 0x1400bd212
movzx eax, cx
shr ax, 8
cmp al, 1
je 0x1400bd212
mov rdx, qword [0x1402006b8]
movzx r8d, cl
lea rcx, [rsp + 0x60]
mov rdx, qword [rdx + 0x2308]
movzx r9d, al
call fcn.140178c40
jmp 0x1400bd29e
mov rax, qword [0x14020df20]
cmp byte [rax], bl
je 0x1400bd292
lea rcx, [rsp + 0x180]
call fcn.1400012c0
mov rdx, qword [0x14020df20]
lea rcx, [rsp + 0x180]
call fcn.14017a400
test rax, rax
mov rbx, rax
je 0x1400bd283
nop
nop
nop
mov rdx, qword [rsp + 0x188]
cmp byte [rdx], 0
je 0x1400bd26b
lea rcx, [rsp + 0x60]
call fcn.1400b7e20
test eax, eax
je 0x1400bd283
lea rcx, [rsp + 0x180]
mov rdx, rbx
call fcn.14017a400
test rax, rax
mov rbx, rax
jne 0x1400bd250
lea rcx, [rsp + 0x180]
call fcn.140177510
jmp 0x1400bd29e
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.1400b7e20
mov rax, qword [0x14020e0e8]
mov rbx, qword [rsp + 0x468]
cmp qword [rax], 0
je 0x1400bd2df
mov r8, qword [rsp + 0x68]
cmp byte [r8], 0
je 0x1400bd2cf
lea rdx, str.ETP_server_started__but_with_errors:__s_n
mov ecx, 0xffff0000
call fcn.1400b3ec0
lea rdx, str.ETP_server_online._r_n
xor ecx, ecx
call fcn.1400b80a0
jmp 0x1400bd32e
call fcn.1400bb4b0
jmp 0x1400bd301
mov rdx, qword [0x1402006b8]
lea rcx, [rsp + 0x60]
mov r8d, eax
mov rdx, qword [rdx + 0x2300]
call fcn.140178c40
mov rax, qword [rsp + 0x68]
cmp byte [rax], 0
je 0x1400bd32e
mov r8, qword [0x1402006b8]
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.1400d5ce0
lea rcx, [rsp + 0x60]
call fcn.140177510
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1401a8fd0
add rsp, 0x450
pop rdi
ret