Function at 0x140026d90
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
push r14
push r15
sub rsp, 0x560
mov rax, qword [0x1400c9438]
xor rax, rsp
mov qword [rsp + 0x558], rax
movsxd rdi, edx
xor r14d, r14d
mov byte [rsp + 0x140], r14b
xor edx, edx
lea rcx, [rsp + 0x148]
call fcn.14002da90
nop
lea rsi, [rsp + 0x30]
mov qword [rsp + 0x70], rsi
lea rcx, [rsp + 0x40]
call fcn.14001b2c0
mov rbx, rax
mov byte [rsp + 0x30], r14b
xor eax, eax
mov qword [rsp + 0x38], rax
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.14002cfe0
mov byte [rsp + 0x30], 3
lea ecx, [r14 + 0x20]
call fcn.1400790f0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], select
mov byte [rbx], r14b
mov qword [rsi + 8], rax
movabs r12, 0x3cd9550c47ad983b
mov qword [rsp + 0x4d0], r12
movabs r15, 0x58d0558d5f4a8ca4
mov qword [rsp + 0x4d8], r15
movabs rax, 0x3cd9550c23c4ef53
mov qword [rsp + 0x4c0], rax
mov qword [rsp + 0x4c8], r15
movaps xmm0, xmmword [rsp + 0x4c0]
xorps xmm0, xmmword [rsp + 0x4d0]
movdqa xmmword [rsp + 0x4d0], xmm0
lea rdx, [rsp + 0x4d0]
lea rcx, [rsp + 0x140]
call fcn.14002eec0
nop
movzx r9d, byte [rax]
movzx r8d, byte [rsi]
mov byte [rax], r8b
mov byte [rsi], r9b
mov r8, qword [rax + 8]
mov r9, qword [rsi + 8]
mov qword [rax + 8], r9
mov qword [rsi + 8], r8
movzx edx, byte [rsi]
lea rcx, [rsi + 8]
call fcn.14002cfe0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140026f20
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026f1b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026f1b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140079384
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x30], 0
xor eax, eax
mov qword [rsp + 0x38], rax
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.14002cfe0
mov byte [rsp + 0x30], 5
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x4c0], r12
mov qword [rsp + 0x4c8], r15
movabs rax, 0x3cd9550c29c7f357
mov qword [rsp + 0x4d0], rax
mov qword [rsp + 0x4d8], r15
movaps xmm0, xmmword [rsp + 0x4d0]
xorps xmm0, xmmword [rsp + 0x4c0]
movdqa xmmword [rsp + 0x4d0], xmm0
lea rdx, [rsp + 0x4d0]
lea rcx, [rsp + 0x140]
call fcn.14002eec0
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov byte [rsp + 0x30], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x38]
mov qword [rax + 8], rdx
mov qword [rsp + 0x38], rcx
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14002cfe0
nop
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x140]
call fcn.14002be30
nop
lea rcx, [rsp + 0x1f0]
call fcn.140019c90
nop
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0xd8]
call fcn.140022010
mov rbx, rax
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0xf8]
call fcn.140022010
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.14001a1a0
nop
mov qword [rsp + 0x520], r12
mov qword [rsp + 0x528], r15
movabs rax, 0x4e9fb0cec7abfe85
mov qword [rsp + 0x530], rax
movabs rax, 0x4d7edfd743ab33fe
mov qword [rsp + 0x538], rax
movabs rax, 0x834d2ef0713e8acf
mov qword [rsp + 0x540], rax
movabs rax, 0x7036dac1cc653ab8
mov qword [rsp + 0x548], rax
movabs rax, 0x5f67a3637d9ec53
mov qword [rsp + 0x40], rax
movabs rax, 0x6ee17bb5677ba297
mov qword [rsp + 0x48], rax
movabs rax, 0x7dac8afbf49ad0b6
mov qword [rsp + 0x50], rax
movabs rax, 0x3e51b6a7228400cd
mov qword [rsp + 0x58], rax
movabs rax, 0xe862409f184df9aa
mov qword [rsp + 0x60], rax
movabs rax, 0x7036dac1cc0d57d6
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movups xmm2, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rsp + 0x520]
movdqa xmmword [rsp + 0x4d0], xmm0
xorps xmm1, xmmword [rsp + 0x530]
movdqa xmmword [rsp + 0x4e0], xmm1
xorps xmm2, xmmword [rsp + 0x540]
movdqa xmmword [rsp + 0x4f0], xmm2
xorps xmm0, xmm0
movups xmmword [rsp + 0x500], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x510], xmm1
lea rax, [rsp + 0x4d0]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140027165
lea rdx, [rsp + 0x4d0]
lea rcx, [rsp + 0x500]
call fcn.140011e00
nop
mov byte [rsp + 0x210], 0
mov ecx, 0x202
lea rdx, [rsp + 0x320]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400277f5
movzx eax, word [rsp + 0x320]
cmp al, 2
jne 0x14002781f
shr ax, 8
cmp al, 2
jne 0x14002781f
mov word [rsp + 0x210], 1
lea r8, [rsp + 0x500]
cmp qword [rsp + 0x518], 0x10
cmovae r8, qword [rsp + 0x500]
add r8, qword [rsp + 0x510]
lea rdx, [rsp + 0x500]
cmp qword [rsp + 0x518], 0x10
cmovae rdx, qword [rsp + 0x500]
lea rcx, [rsp + 0x218]
call fcn.14002df60
nop
mov rdx, qword [rsp + 0x518]
cmp rdx, 0x10
jb 0x14002725e
inc rdx
mov rcx, qword [rsp + 0x500]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027259
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140027259
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140079384
movdqa xmm0, xmmword [0x1400bcc90]
movdqu xmmword [rsp + 0x510], xmm0
mov byte [rsp + 0x500], 0
mov qword [rsp + 0x4c0], r12
mov qword [rsp + 0x4c8], r15
movabs rax, 0x11ad3b6933c3f778
mov qword [rsp + 0x4d0], rax
movabs rax, 0x58d0558d3a3af5f0
mov qword [rsp + 0x4d8], rax
movaps xmm0, xmmword [rsp + 0x4d0]
xorps xmm0, xmmword [rsp + 0x4c0]
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x4c0], r12
mov qword [rsp + 0x4c8], r15
movabs rax, 0x5db5252333d5fd4f
mov qword [rsp + 0x4d0], rax
movabs rax, 0x58d0558d5f4ae2cd
mov qword [rsp + 0x4d8], rax
movaps xmm0, xmmword [rsp + 0x4d0]
xorps xmm0, xmmword [rsp + 0x4c0]
movdqa xmmword [rsp + 0x4d0], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x90], xmm1
lea rax, [rsp + 0x30]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140027330
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x80]
call fcn.140011e00
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xb0], xmm1
lea rax, [rsp + 0x4d0]
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140027370
lea rdx, [rsp + 0x4d0]
lea rcx, [rsp + 0xa0]
call fcn.140011e00
nop
lea rax, [rsp + 0x80]
mov qword [rsp + 0x4d0], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x4d8], rax
lea rdx, [rsp + 0x4d0]
lea rcx, [rsp + 0x520]
call fcn.14002c120
nop
mov qword [rsp + 0x4c0], r12
mov qword [rsp + 0x4c8], r15
movabs rax, 0x3cd9550c13fed76b
mov qword [rsp + 0x4d0], rax
mov qword [rsp + 0x4d8], r15
movaps xmm0, xmmword [rsp + 0x4d0]
xorps xmm0, xmmword [rsp + 0x4c0]
movdqa xmmword [rsp + 0x4d0], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rsp + 0x4d0]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140027422
mov r8, rbx
lea rdx, [rsp + 0x4d0]
lea rcx, [rsp + 0x40]
call fcn.140011e00
nop
lea rdx, [rsp + 0x150]
cmp qword [rsp + 0x168], 0x10
cmovae rdx, qword [rsp + 0x150]
mov rdi, qword [rsp + 0x160]
add rdi, rdx
lea rsi, [rsp + 0x150]
cmp qword [rsp + 0x168], 0x10
cmovae rsi, qword [rsp + 0x150]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x4d0], xmm0
mov qword [rsp + 0x4e0], r14
sub rdi, rsi
je 0x1400274cb
mov rdx, rdi
lea rcx, [rsp + 0x4d0]
call fcn.140023830
mov rbx, qword [rsp + 0x4d0]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rbx]
mov qword [rsp + 0x4d8], rax
mov qword [rsp + 0x28], 0x1388
lea rax, [rsp + 0x520]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4d0]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x210]
call fcn.140013df0
nop
mov rcx, qword [rsp + 0x4d0]
test rcx, rcx
je 0x14002754a
mov rdx, qword [rsp + 0x4e0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027544
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140027544
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140079384
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14002758a
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027585
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140027585
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140079384
movdqa xmm0, xmmword [0x1400bcc90]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0x520]
call fcn.1400223b0
nop
lea r9, [fcn.140013d40]
mov edx, 0x40
lea r8d, [rdx - 0x3f]
lea rcx, [rsp + 0x80]
call fcn.140079654
nop
mov rcx, qword [rsp + 0x1d0]
test rcx, rcx
je 0x14002761f
mov rdx, qword [rsp + 0x1e0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027602
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140027666
call fcn.140079384
mov qword [rsp + 0x1d0], r14
mov qword [rsp + 0x1d8], r14
mov qword [rsp + 0x1e0], r14
lea rcx, [rsp + 0x1b8]
call fcn.1400223b0
mov rdx, qword [rsp + 0x1b0]
cmp rdx, 0x10
jb 0x140027672
inc rdx
mov rcx, qword [rsp + 0x198]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002766d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002766d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140079384
mov qword [rsp + 0x1a8], r14
mov qword [rsp + 0x1b0], select
mov byte [rsp + 0x198], 0
lea rcx, [rsp + 0x218]
call fcn.140024c70
cmp byte [rsp + 0x210], 0
je 0x1400276ac
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
mov rdx, qword [rsp + 0x168]
cmp rdx, 0x10
jb 0x1400276f2
inc rdx
mov rcx, qword [rsp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400276ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400276ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140079384
movdqa xmm0, xmmword [0x1400bcc90]
movdqu xmmword [rsp + 0x160], xmm0
mov byte [rsp + 0x150], 0
mov rdx, qword [rsp + 0x208]
cmp rdx, 0x10
jb 0x140027752
inc rdx
mov rcx, qword [rsp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002774c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002774c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140079384
nop
mov rdx, qword [rsp + 0x188]
cmp rdx, 0x10
jb 0x140027798
inc rdx
mov rcx, qword [rsp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027793
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140027793
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140079384
movdqa xmm0, xmmword [0x1400bcc90]
movdqu xmmword [rsp + 0x180], xmm0
mov byte [rsp + 0x170], 0
movzx edx, byte [rsp + 0x140]
lea rcx, [rsp + 0x148]
call fcn.14002cfe0
nop
mov rcx, qword [rsp + 0x558]
xor rcx, rsp
call fcn.1400790d0
lea r11, [rsp + 0x560]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
ret
lea r9, str.WSAStartup_failed
mov edx, eax
lea rcx, [rsp + 0x118]
call fcn.140012b10
lea rdx, [0x1400c6078]
lea rcx, [rsp + 0x118]
call sub.VCRUNTIME140.dll__CxxThrowException
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdx, str.Invalid_WinSock_version
lea rcx, [rsp + 0xc0]
call fcn.140012760
lea rdx, [0x1400c62f0]
lea rcx, [rsp + 0xc0]
call sub.VCRUNTIME140.dll__CxxThrowException
int3