Function at 0x140032b10
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x14004b040]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rbp - 0x20], rcx
xor ebx, ebx
mov byte [rcx], bl
mov ecx, 0x202
lea rdx, [rbp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov edx, eax
test eax, eax
jne 0x140033438
movzx eax, word [rbp + 0x30]
cmp al, 2
jne 0x140033418
shr ax, 8
cmp al, 2
jne 0x140033418
mov word [rdi], 1
xorps xmm0, xmm0
movups xmmword [rdi + 8], xmm0
mov qword [rdi + 0x18], rbx
mov r13d, recv
mov qword [rdi + 0x20], r13
mov byte [rdi + 8], dl
movups xmmword [rdi + 0x28], xmm0
mov qword [rdi + 0x38], rbx
mov qword [rdi + 0x40], r13
mov byte [rdi + 0x28], dl
movups xmmword [rdi + 0x48], xmm0
mov qword [rdi + 0x58], rbx
mov qword [rdi + 0x60], r13
mov byte [rdi + 0x48], dl
movups xmmword [rdi + 0x68], xmm0
mov qword [rdi + 0x78], rbx
mov qword [rdi + 0x80], r13
mov byte [rdi + 0x68], dl
mov r12, qword [rsi + 0x10]
mov r15, rsi
mov rax, qword [rsi + 0x18]
cmp rax, r13
jbe 0x140032bdf
mov r15, qword [rsi]
cmp r12, 3
jb 0x140032c4a
lea r14, [r12 + r15]
lea r8, [r14 - 2]
sub r8, r15
mov edx, 0x3a
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140032c46
cmp byte [rbx], 0x3a
jne 0x140032c1a
cmp byte [rbx + 1], 0x2f
jne 0x140032c1a
cmp byte [rbx + 2], 0x2f
jne 0x140032c1a
xor eax, eax
jmp 0x140032c1f
sbb eax, eax
or eax, 1
test eax, eax
je 0x140032cfd
inc rbx
lea r8, [r14 - 2]
sub r8, rbx
mov edx, 0x3a
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140032c05
mov rax, qword [rsi + 0x18]
mov rbx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
je 0x140032e48
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8, rbx
cmp r12, rbx
cmovb r8, r12
mov rdx, rsi
cmp rax, 0xf
jbe 0x140032c82
mov rdx, qword [rsi]
lea rcx, [rsp + 0x30]
call fcn.1400370c0
lea r14, [rdi + 8]
lea rax, [rsp + 0x30]
cmp r14, rax
je 0x140032d09
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x140032cd4
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x140032ccf
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140033330
mov rcx, r8
call fcn.14003a700
mov qword [r14 + 0x10], 0
mov byte [r14], 0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [r14 + 0x10], xmm1
mov rdx, r13
mov byte [rsp + 0x30], 0
jmp 0x140032d0e
sub rbx, r15
mov rax, qword [rsi + 0x18]
jmp 0x140032c51
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140032d46
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032d41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140033330
call fcn.14003a700
add rbx, 3
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov rax, qword [rsi + 0x10]
cmp rax, rbx
jb 0x140033412
sub rax, rbx
mov r12, 0xffffffffffffffff
mov r8, r12
cmp rax, r12
cmovb r8, rax
cmp qword [rsi + 0x18], 0xf
jbe 0x140032d86
mov rsi, qword [rsi]
lea rdx, [rsi + rbx]
lea rcx, [rsp + 0x50]
call fcn.1400370c0
lea rbx, [rdi + 0x68]
lea rax, [rsp + 0x50]
cmp rbx, rax
je 0x140032e02
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140032ddc
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140032dd7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140033330
mov rcx, r8
call fcn.14003a700
mov qword [rbx + 0x10], 0
mov byte [rbx], 0
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x10], xmm1
mov rdx, r13
mov byte [rsp + 0x50], 0
jmp 0x140032e07
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140032ede
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032e3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140033330
call fcn.14003a700
jmp 0x140032ede
lea rcx, [rdi + 8]
mov rdx, qword [rcx + 0x18]
cmp rdx, 4
jb 0x140032e76
mov rax, rcx
cmp rdx, 0xf
jbe 0x140032e62
mov rax, qword [rcx]
mov qword [rcx + 0x10], 4
mov dword [rax], 0x70747468
mov byte [rax + 4], 0
jmp 0x140032e87
lea r9, str.http
mov edx, 4
call fcn.140037250
lea rcx, [rdi + 0x68]
cmp rcx, rsi
je 0x140032ed7
mov rbx, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x140032e9e
mov rsi, qword [rsi]
mov rax, qword [rcx + 0x18]
cmp rbx, rax
ja 0x140032ecc
mov r14, rcx
cmp rax, 0xf
jbe 0x140032eb3
mov r14, qword [rcx]
mov qword [rcx + 0x10], rbx
mov r8, rbx
mov rdx, rsi
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + r14], 0
jmp 0x140032ed7
mov r9, rsi
mov rdx, rbx
call fcn.140037250
mov r12, 0xffffffffffffffff
lea rbx, [rdi + 0x68]
mov r14, qword [rbx + 0x10]
mov r15, qword [rbx + 0x18]
cmp r15, 0xf
jbe 0x140032ef3
mov rbx, qword [rbx]
test r14, r14
je 0x140032f79
mov r8, r14
mov edx, 0x23
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rdx, rax
test rax, rax
je 0x140032f79
sub rdx, rbx
cmp rdx, 0xffffffffffffffff
je 0x140032f79
lea rcx, [rdi + 0x68]
cmp rdx, r14
ja 0x140032f39
mov qword [rcx + 0x10], rdx
cmp r15, 0xf
jbe 0x140032f33
mov rcx, qword [rcx]
mov byte [rcx + rdx], 0
jmp 0x140032f79
mov rsi, rdx
sub rsi, r14
mov rax, r15
sub rax, r14
cmp rsi, rax
ja 0x140032f6e
mov qword [rcx + 0x10], rdx
cmp r15, 0xf
jbe 0x140032f57
mov rcx, qword [rcx]
lea rbx, [rcx + r14]
mov r8, rsi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + rsi], 0
jmp 0x140032f79
mov r9, rsi
mov rdx, rsi
call fcn.140037390
lea rsi, [rdi + 0x68]
mov rbx, qword [rsi + 0x10]
mov r15, qword [rsi + 0x18]
cmp r15, 0xf
jbe 0x140032f8e
mov rsi, qword [rsi]
test rbx, rbx
je 0x14003318d
mov r8, rbx
mov edx, 0x2f
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
mov r14, rax
test rax, rax
je 0x14003318d
sub r14, rsi
cmp r14, 0xffffffffffffffff
je 0x14003318d
lea rdx, [rdi + 0x68]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8, r14
cmp rbx, r14
cmovb r8, rbx
cmp r15, 0xf
jbe 0x140032fe7
mov rdx, qword [rdx]
lea rcx, [rsp + 0x70]
call fcn.1400370c0
lea rbx, [rdi + 0x28]
lea rax, [rsp + 0x70]
cmp rbx, rax
je 0x14003305e
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140033039
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140033034
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140033330
mov rcx, r8
call fcn.14003a700
mov qword [rbx + 0x10], 0
mov byte [rbx], 0
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [rbx + 0x10], xmm1
mov rdx, r13
mov byte [rsp + 0x70], 0
jmp 0x140033062
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14003309a
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140033095
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140033330
call fcn.14003a700
lea rax, [rdi + 0x68]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
mov rcx, qword [rax + 0x10]
cmp rcx, r14
jb 0x140033412
sub rcx, r14
mov r8, r12
cmp rcx, 0xffffffffffffffff
cmovb r8, rcx
cmp qword [rax + 0x18], 0xf
jbe 0x1400330d2
mov rax, qword [rax]
lea rdx, [rax + r14]
lea rcx, [rbp - 0x70]
call fcn.1400370c0
lea rbx, [rdi + 0x68]
lea rax, [rbp - 0x70]
cmp rbx, rax
je 0x140033149
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140033126
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140033121
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140033330
mov rcx, r8
call fcn.14003a700
mov qword [rbx + 0x10], 0
mov byte [rbx], 0
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x60]
movups xmmword [rbx + 0x10], xmm1
mov rdx, r13
mov byte [rbp - 0x70], 0
jmp 0x14003314d
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140033212
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140033183
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140033330
call fcn.14003a700
jmp 0x140033212
lea r9, [rdi + 0x68]
lea rcx, [rdi + 0x28]
cmp rcx, r9
je 0x1400331d8
cmp r15, 0xf
jbe 0x1400331a3
mov r9, qword [r9]
mov rax, qword [rcx + 0x18]
cmp rbx, rax
ja 0x1400331d0
mov rsi, rcx
cmp rax, 0xf
jbe 0x1400331b8
mov rsi, qword [rcx]
mov qword [rcx + 0x10], rbx
mov r8, rbx
mov rdx, r9
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x1400331d8
mov rdx, rbx
call fcn.140037250
lea rcx, [rdi + 0x68]
mov rdx, qword [rcx + 0x18]
cmp rdx, 1
jb 0x140033201
mov rax, rcx
cmp rdx, 0xf
jbe 0x1400331f2
mov rax, qword [rcx]
mov qword [rcx + 0x10], 1
mov word [rax], 0x2f
jmp 0x140033212
lea r9, [0x1400425f0]
mov edx, 1
call fcn.140037250
lea rsi, [rdi + 0x28]
mov r14, qword [rsi + 0x10]
mov r15, qword [rsi + 0x18]
cmp r15, 0xf
jbe 0x140033227
mov rsi, qword [rsi]
test r14, r14
je 0x140033249
mov r8, r14
mov edx, 0x3a
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140033249
sub rbx, rsi
jmp 0x14003324c
mov rbx, r12
cmp rbx, 0xffffffffffffffff
je 0x1400333a6
lea rax, [rdi + 0x28]
lea rcx, [rbx + 1]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
cmp r14, rcx
jb 0x140033412
sub r14, rcx
cmp r14, 0xffffffffffffffff
cmovb r12, r14
cmp r15, 0xf
jbe 0x14003328a
mov rax, qword [rax]
lea rdx, [rcx + rax]
mov r8, r12
lea rcx, [rbp - 0x50]
call fcn.1400370c0
lea rsi, [rdi + 0x48]
lea rax, [rbp - 0x50]
cmp rsi, rax
je 0x1400332fd
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x1400332dd
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x1400332d8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140033330
mov rcx, r8
call fcn.14003a700
mov qword [rsi + 0x10], 0
mov byte [rsi], 0
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [rsi + 0x10], xmm1
mov byte [rbp - 0x50], 0
jmp 0x140033301
mov r13, qword [rbp - 0x38]
cmp r13, 0xf
jbe 0x14003333c
lea rdx, [r13 + 1]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140033337
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140033337
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003a700
lea rcx, [rdi + 0x28]
mov rdx, qword [rcx + 0x10]
cmp rbx, rdx
ja 0x140033360
mov qword [rcx + 0x10], rbx
cmp qword [rcx + 0x18], 0xf
jbe 0x140033357
mov rcx, qword [rcx]
mov byte [rbx + rcx], 0
jmp 0x1400333e5
mov rsi, rbx
sub rsi, rdx
mov r8, qword [rcx + 0x18]
mov rax, r8
sub rax, rdx
cmp rsi, rax
ja 0x140033399
mov qword [rcx + 0x10], rbx
cmp r8, 0xf
jbe 0x140033382
mov rcx, qword [rcx]
lea rbx, [rcx + rdx]
mov r8, rsi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + rsi], 0
jmp 0x1400333e5
mov r9, rsi
mov rdx, rsi
call fcn.140037390
jmp 0x1400333e5
lea rcx, [rdi + 0x48]
mov rdx, qword [rcx + 0x18]
cmp rdx, 2
jb 0x1400333d3
mov rax, rcx
cmp rdx, 0xf
jbe 0x1400333c0
mov rax, qword [rcx]
mov qword [rcx + 0x10], 2
mov word [rax], 0x3038
mov byte [rax + 2], 0
jmp 0x1400333e5
lea r9, [0x1400425f4]
mov edx, 2
call fcn.140037250
nop
mov rax, rdi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14003a610
mov rbx, qword [rsp + 0x330]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140036800
nop
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rcx, [rbp - 0x10]
call fcn.140032290
lea rdx, [0x140048b20]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.140032960
mov r8, rax
lea r9, str.WSAStartup_failed
lea rcx, [rbp + 8]
call fcn.140032620
lea rdx, [0x140048b00]
lea rcx, [rbp + 8]
call sub.VCRUNTIME140.dll__CxxThrowException
int3