Function at 0x1400b5790
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x580
mov rax, qword [0x1401f22c8]
xor rax, rsp
mov qword [rsp + 0x570], rax
mov rbp, rcx
lea rcx, [rsp + 0x190]
mov rbx, r9
mov rsi, r8
mov rdi, rdx
call fcn.1401617b0
lea rcx, [rsp + 0x70]
call fcn.1401617b0
lea rcx, [rsp + 0x2b0]
call fcn.1401617b0
lea r11, [rsp + 0x2b0]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], r11
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x190]
mov r9d, reloc.WS2_32.dll_setsockopt
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140164eb0
mov ecx, 0x240
call fcn.1400be650
xor edx, edx
mov r8d, 0x240
mov rcx, rax
mov rbx, rax
call fcn.140193570
lea rcx, [rbx + 0x1e8]
call fcn.140001250
lea rcx, [rbx + 0x210]
call fcn.1400d3480
mov qword [rbx], 0xffffffffffffffff
mov rcx, qword [rsp + 0x198]
call fcn.140158580
mov qword [rbx + 0x140], rax
mov eax, dword [rsp + 0x60]
mov dword [rbx + 0x158], eax
mov rcx, qword [rsp + 0x2b8]
call fcn.140158580
mov qword [rbx + 0x150], rax
mov rcx, qword [rsp + 0x78]
call fcn.140158580
xor r12d, r12d
lea rcx, [0x14019aef2]
mov qword [rbx + 0x148], rax
mov eax, dword [rsp + 0x5c0]
mov dword [rbx + 0x12c], r12d
mov qword [rbx + 0xd8], rdi
mov qword [rbx + 0xe0], rsi
mov qword [rbx], 0xffffffffffffffff
mov dword [rbx + 0x15c], eax
mov qword [rbx + 0x58], 0xffffffffffffffff
mov qword [rbx + 0x60], 0xffffffffffffffff
mov qword [rbx + 0x68], 0xffffffffffffffff
mov qword [rbx + 0x50], 0xffffffffffffffff
mov dword [rbx + 0x70], r12d
mov dword [rbx + 0x2c], 0xffffffff
call fcn.140158580
lea rcx, [0x14019aef2]
mov qword [rbx + 0x180], rax
call fcn.140158580
lea r8, [0x1400b5460]
lea rdx, str.EVERYTHING_ETP_CLIENT
xor r9d, r9d
xor ecx, ecx
mov qword [rsp + 0x28], r12
mov qword [rbx + 0x188], rax
mov dword [rbx + 0x194], r12d
mov dword [rbx + 0x19c], 0xffffffff
mov qword [rsp + 0x20], r12
call fcn.1400c4e60
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x58], r12
xor r9d, r9d
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
lea r8, str.EVERYTHING_ETP_CLIENT
lea rdx, str.EVERYTHING_ETP_CLIENT
xor ecx, ecx
call fcn.1400c4fc0
mov rdx, rbx
mov rcx, rax
mov qword [rbx + 0x130], rax
call fcn.1400c7780
lea rdx, [rsp + 0x3d0]
mov cx, 0x101
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400b5aa2
mov dword [rbx + 0xe8], 1
movzx edx, word [rsp + 0x3d0]
cmp dl, 1
je 0x1400b5a01
movzx eax, dx
shr ax, 8
cmp al, 1
je 0x1400b5a01
movzx r8d, dl
mov rdx, qword [0x1401e5d78]
movzx r9d, al
mov rdx, qword [rdx + 0x2308]
mov rcx, rbp
call fcn.1400b3510
jmp 0x1400b5abb
mov rcx, qword [rbx + 0x1c0]
mov dword [rbx + 0x12c], 3
mov rax, qword [0x1401e5d78]
mov rdx, qword [rax + 0x1f0]
test rdx, rdx
je 0x1400b5a67
test rcx, rcx
je 0x1400b5a59
movzx eax, byte [rcx]
mov r8, rcx
mov r9, rdx
cmp al, byte [rdx]
jne 0x1400b5a4c
test al, al
je 0x1400b5a8a
mov al, byte [r8 + 1]
add r8, 1
add r9, 1
cmp al, byte [r9]
je 0x1400b5a37
movzx eax, byte [r9]
movzx r8d, byte [r8]
cmp r8d, eax
je 0x1400b5a8a
call fcn.140160de0
mov qword [rbx + 0x1c0], rax
jmp 0x1400b5a78
test rcx, rcx
je 0x1400b5a8a
call fcn.1400be6d0
mov qword [rbx + 0x1c0], r12
mov rcx, qword [rbx + 0xe0]
mov edx, 3
call qword [rbx + 0xd8]
lea rcx, [0x1400b35b0]
mov rdx, rbx
call fcn.1400ceb20
mov qword [rbx + 0x1c8], rax
jmp 0x1400b5ac6
mov rdx, qword [0x1401e5d78]
mov r8d, eax
mov rcx, rbp
mov rdx, qword [rdx + 0x2300]
call fcn.1400b3510
mov rcx, rbx
call fcn.1400b41f0
mov rbx, r12
lea rcx, [rsp + 0x2b0]
call fcn.140001150
lea rcx, [rsp + 0x70]
call fcn.140001150
lea rcx, [rsp + 0x190]
call fcn.140001150
mov rax, rbx
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.1401931f0
lea r11, [rsp + 0x580]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret