Function at 0x140074f00
Capabilities:
Initialize winsock library

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x1f0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1400b89e8]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov rsi, r9
mov rax, r8
mov r12, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov rbp, qword [rsp + 0x250]
mov r14, qword [rsp + 0x258]
mov r15, qword [rsp + 0x270]
xor edi, edi
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], setsockopt
mov byte [rcx], dil
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], dil
jne 0x140074f70
mov rdx, rax
call fcn.14003db40
nop
lea rcx, [rbx + 0x20]
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], setsockopt
mov byte [rcx], 0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rsi + r8], 0
jne 0x140074fa0
mov rdx, rsi
call fcn.14003db40
nop
lea rcx, [rbx + 0x40]
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], setsockopt
mov byte [rcx], 0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [r8 + rbp], 0
jne 0x140074fd0
mov rdx, rbp
call fcn.14003db40
nop
lea rcx, [rbx + 0x60]
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], setsockopt
mov byte [rcx], 0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [r14 + r8], 0
jne 0x140075000
mov rdx, r14
call fcn.14003db40
nop
lea rcx, [rbx + 0x80]
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], setsockopt
mov byte [rcx], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r15 + r8], 0
jne 0x140075030
mov rdx, r15
call fcn.14003db40
nop
mov qword [rbx + 0xa0], r12
movsd xmm0, qword [rsp + 0x260]
movsd qword [rbx + 0xa8], xmm0
movzx eax, byte [rsp + 0x278]
mov byte [rbx + 0xb0], al
mov dword [rbx + 0xb1], 0
mov qword [rbx + 0xc8], rdi
mov qword [rbx + 0xd0], socket
mov byte [rbx + 0xb8], 0
lea rcx, [rbx + 0xd8]
mov edx, 2
call sub.MSVCP140.dll__Mtx_init_in_situ
nop
mov qword [rbx + 0x128], rdi
mov qword [rbx + 0x130], rdi
mov qword [rbx + 0x138], rdi
mov byte [rbx + 0x142], 0
mov qword [rbx + 0x1b8], rdi
mov qword [rbx + 0x1c0], socket
mov byte [rbx + 0x1a8], 0
lea rcx, [rbx + 0x1d0]
mov edx, 2
call sub.MSVCP140.dll__Mtx_init_in_situ
nop
lea rcx, [rbx + 0x220]
call sub.MSVCP140.dll__Cnd_init_in_situ
nop
lea rcx, [rbx + 0x270]
mov edx, 2
call sub.MSVCP140.dll__Mtx_init_in_situ
nop
lea rsi, [rbx + 0x2c0]
mov qword [rsi + 0xc8], rdi
mov qword [rsi + 0xd0], 0xffffffffffffffff
xor eax, eax
mov qword [rsi + 0xd8], rax
mov qword [rsi + 0xe0], rax
mov qword [rsi + 0xe8], rax
mov qword [rsi + 0xf0], rax
mov qword [rbx + 0x3c8], rdi
mov qword [rbx + 0x3d0], rdi
cmp byte [0x1400be3b4], al
jne 0x140075168
mov ecx, 0x202
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov byte [0x1400be3b4], 1
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx + 0x158], rax
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx + 0x148], rax
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx + 0x150], rax
mov ecx, 0x128
call fcn.14008c584
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1400751d1
mov r9, qword [rbx + 0x150]
mov r8, qword [rbx + 0x148]
mov rdx, qword [rbx + 0x158]
mov rcx, rax
call fcn.140075290
jmp 0x1400751d4
mov rax, rdi
mov qword [rbx + 0x3b8], rax
mov ecx, 0x30
call fcn.14008c584
mov qword [rsp + 0x20], rax
cmp byte [rsp + 0x268], 0
je 0x14007521a
test rax, rax
je 0x140075215
lea rcx, vtable.tls_socket_t_class_jpsock_.0
mov qword [rax], rcx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], rdi
mov qword [rax + 0x28], rdi
jmp 0x14007522f
mov rax, rdi
jmp 0x14007522f
test rax, rax
je 0x14007522c
mov rdx, rbx
mov rcx, rax
call fcn.140079360
jmp 0x14007522f
mov rax, rdi
mov qword [rbx + 0x3c0], rax
mov qword [rbx + 0x268], rdi
mov edx, edi
xchg byte [rbx + 0x140], dl
mov edx, edi
xchg byte [rbx + 0x141], dl
xchg qword [rbx + 0x1a0], rdi
xor edx, edx
mov r8d, 0xf8
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
nop
mov rax, rbx
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.14008ccd0
add rsp, 0x1f0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret