Function at 0x1400bd1e0
Capabilities:
Initialize winsock library

Disassembly:
push rdi
sub rsp, 0x450
mov rax, qword [0x14020cc58]
xor rax, rsp
mov qword [rsp + 0x440], rax
cmp byte [reloc.WS2_32.dll_accept], 0
mov rdi, rcx
je 0x1400bd478
lea rcx, [rsp + 0x60]
call fcn.140177280
lea rcx, [rsp + 0x60]
call fcn.140178250
cmp qword [0x14020e120], 0
jne 0x1400bd441
lea rdx, [rsp + 0x2a0]
mov cx, 0x101
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400bd426
lea ecx, [rax + 0x38]
mov qword [rsp + 0x468], rbx
call fcn.1400cf700
xor ecx, ecx
mov qword [0x14020e120], 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 [0x14020df60]
call fcn.14016dcf0
mov rcx, qword [0x14020e120]
xor ebx, ebx
mov qword [rcx + 0x30], rax
mov rcx, qword [0x14020e120]
mov eax, dword [reloc.WS2_32.dll_setsockopt]
mov dword [rcx + 0x28], eax
lea r8, [0x1400bcd00]
lea rdx, str.EVERYTHING_ETP_SERVER
xor ecx, ecx
xor r9d, r9d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call fcn.1400d5f20
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.1400d6080
mov rcx, qword [0x14020e120]
mov qword [rcx + 0x20], rax
movzx ecx, word [rsp + 0x2a0]
cmp cl, 1
je 0x1400bd352
movzx eax, cx
shr ax, 8
cmp al, 1
je 0x1400bd352
mov rdx, qword [0x140200708]
movzx r8d, cl
lea rcx, [rsp + 0x60]
mov rdx, qword [rdx + 0x2308]
movzx r9d, al
call fcn.1401789a0
jmp 0x1400bd3de
mov rax, qword [0x14020df60]
cmp byte [rax], bl
je 0x1400bd3d2
lea rcx, [rsp + 0x180]
call fcn.140177280
mov rdx, qword [0x14020df60]
lea rcx, [rsp + 0x180]
call fcn.14017a160
test rax, rax
mov rbx, rax
je 0x1400bd3c3
nop
nop
nop
mov rdx, qword [rsp + 0x188]
cmp byte [rdx], 0
je 0x1400bd3ab
lea rcx, [rsp + 0x60]
call fcn.1400b7f60
test eax, eax
je 0x1400bd3c3
lea rcx, [rsp + 0x180]
mov rdx, rbx
call fcn.14017a160
test rax, rax
mov rbx, rax
jne 0x1400bd390
lea rcx, [rsp + 0x180]
call fcn.14017d580
jmp 0x1400bd3de
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.1400b7f60
mov rax, qword [0x14020e120]
mov rbx, qword [rsp + 0x468]
cmp qword [rax], 0
je 0x1400bd41f
mov r8, qword [rsp + 0x68]
cmp byte [r8], 0
je 0x1400bd40f
lea rdx, str.ETP_server_started__but_with_errors:__s_n
mov ecx, 0xffff0000
call fcn.1400b3fe0
lea rdx, str.ETP_server_online._r_n
xor ecx, ecx
call fcn.1400b81e0
jmp 0x1400bd46e
call fcn.1400bb5f0
jmp 0x1400bd441
mov rdx, qword [0x140200708]
lea rcx, [rsp + 0x60]
mov r8d, eax
mov rdx, qword [rdx + 0x2300]
call fcn.1401789a0
mov rax, qword [rsp + 0x68]
cmp byte [rax], 0
je 0x1400bd46e
mov r8, qword [0x140200708]
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.1400d5b60
lea rcx, [rsp + 0x60]
call fcn.14017d580
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1401a8fb0
add rsp, 0x450
pop rdi
ret