Function at 0x140013ce8
Capabilities:
Initialize winsock library

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x248]
sub rsp, 0x330
mov rax, qword [0x14011f980]
xor rax, rsp
mov qword [rbp + 0x220], rax
xor esi, esi
call fcn.140031f7c
test al, al
jne 0x140013d54
xor al, al
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.140099a50
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
xor eax, eax
mov qword [rbp - 0x10], rax
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], rsi
lea r14d, [rax + 0xf]
mov qword [rbp + 0x10], r14
mov byte [rbp - 8], sil
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], r14
mov byte [rbp + 0x18], sil
lea rcx, [rbp - 0x10]
call fcn.1400279f0
test al, al
je 0x140013e22
lea rcx, str.__info__config_system_initialization_completed_n
call fcn.1400142e0
call fcn.140028d8c
test al, al
je 0x140013e22
lea rcx, str.__info__exception_handler_initialization_completed_n
call fcn.1400142e0
mov rcx, qword [0x140121948]
call fcn.140029750
test al, al
je 0x140013e22
lea rcx, str.__info__memory_initialization_completed_n
call fcn.1400142e0
call fcn.140003394
test al, al
je 0x140013e22
lea rcx, str.__info__interfaces_initialization_completed_n
call fcn.1400142e0
call fcn.14001a7c4
test al, al
je 0x140013e22
lea rcx, str.__info__schema_initialization_completed_n
call fcn.1400142e0
xor edx, edx
mov r8d, 0x198
lea rcx, [rbp + 0x80]
call fcn.1400c9320
mov ecx, 0x202
lea rdx, [rbp + 0x80]
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x140013e3a
mov qword [rsp + 0x30], 5
lea rcx, [rsp + 0x30]
call fcn.14000dc88
jmp 0x140014134
lea rcx, str.__info__winsock_initialization_completed_n
call fcn.1400142e0
lea rcx, [rsp + 0x70]
call fcn.1400133f0
nop
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], r14
cmova rcx, qword [rsp + 0x70]
mov qword [rsp + 0x20], 8
lea r9, str.13:56:27
xor r8d, r8d
mov rdx, qword [rbp - 0x80]
call fcn.140008ff8
cmp rax, 0xffffffffffffffff
jne 0x140013e9f
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], r14
cmova rdx, qword [rsp + 0x70]
lea rcx, str.__warning__version_mismatch__current_cs2_version_is__s_n
call fcn.1400142e0
jmp 0x140013eab
lea rcx, str.__info__version_match__current_cs2_version_is_up_to_date_n
call fcn.1400142e0
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x50]
call fcn.140031a40
nop
cmp qword [rbp - 0x40], rsi
jne 0x140013ee2
movups xmm0, xmmword [rbp - 8]
movaps xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rbp + 8]
movaps xmmword [rsp + 0x60], xmm1
lea rdx, [rsp + 0x50]
lea rcx, str.__warning__failed_to_automatically_get_your_ipv4_address__n_________________we_will_use__s_from_config.json._if_the_local_ip_is_wrong__please_set_it_n
call fcn.1400142e0
lea rax, str.ws:__:22006_cs2_webradar
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], reloc.WLDAP32.dll_Ordinal_26
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.14000d96c
nop
mov rcx, qword gs:[0x58]
mov eax, dword [0x1401224a0]
mov edx, 4
mov rax, qword [rcx + rax*8]
mov r15d, 0x1000
mov eax, dword [rdx + rax]
cmp dword [0x140121988], eax
jg 0x14001423d
cmp qword [0x140121980], rsi
jne 0x140014142
mov r8b, sil
lea rdx, str.C:UsersBatuDesktopcs2_radarcs2_webradarusermode_srcdllmain.cpp
lea rcx, [rbp + 0x60]
call fcn.1400039d8
nop
lea rax, [rbp + 0x60]
cmp qword [rbp + 0x78], 7
cmova rax, qword [rbp + 0x60]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x70]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x30]
call fcn.1400102f4
mov r8b, sil
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.140003a1c
nop
lea rax, [rbp + 0x40]
cmp qword [rbp + 0x58], 7
cmova rax, qword [rbp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x50]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140003acc
nop
lea rcx, [rbp + 0x40]
call fcn.1400104bc
nop
lea rcx, [rbp + 0x60]
call fcn.1400104bc
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], r14
cmova r9, qword [rbp - 0x70]
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], r14
cmova rdx, qword [rsp + 0x50]
mov r8d, 0x43
lea rcx, str.__error____s:_d__failed_to_connect_to_the_web_socket___s__n
call fcn.1400142e0
mov qword [rsp + 0x30], 5
lea rcx, [rsp + 0x30]
call fcn.14000dc88
mov rdx, qword [rsp + 0x68]
cmp rdx, r14
jbe 0x140014067
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, r15
jb 0x140014061
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400142cc
call fcn.14009957c
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, r14
jbe 0x14001409d
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, r15
jb 0x140014098
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400142d2
call fcn.14009957c
movdqa xmm0, xmmword [0x1400ccca0]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], sil
mov rdx, qword [rbp - 0x38]
cmp rdx, r14
jbe 0x1400140e4
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, r15
jb 0x1400140df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400142d8
call fcn.14009957c
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], r14
mov byte [rbp - 0x50], sil
mov rdx, qword [rbp - 0x78]
cmp rdx, r14
jbe 0x140014127
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, r15
jb 0x140014122
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014231
call fcn.14009957c
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], r14
mov byte [rsp + 0x70], sil
lea rcx, [rbp - 0x10]
call fcn.14000eae4
jmp 0x140013d26
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], r14
cmova rdx, qword [rbp - 0x70]
lea rcx, str.__info__connected_to_the_web_socket___s__n
call fcn.1400142e0
call fcn.140097f60
mov rbx, rax
call fcn.140097f60
mov rcx, rax
sub rcx, rbx
cmp rcx, 0xf4240
je 0x14001417d
jl 0x14001420a
mov rbx, rax
call fcn.140003578
call fcn.140016c70
mov rax, qword [0x140121980]
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x10]
mov dword [rsp + 0x28], esi
mov byte [rsp + 0x20], sil
mov r9b, reloc.WLDAP32.dll_Ordinal_32
or r8d, 0xffffffff
lea rdx, [rsp + 0x50]
lea rcx, [0x140121970]
call fcn.14001219c
nop
mov rdx, rax
mov rcx, qword [0x140121980]
call rdi
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, r14
jbe 0x1400141fb
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, r15
jb 0x1400141f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014237
call fcn.14009957c
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x50], sil
mov rcx, qword [0x140121980]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + reloc.WS2_32.dll_htonl]
mov qword [rsp + 0x30], 1
lea rcx, [rsp + 0x30]
call fcn.14000dca8
jmp 0x140014163
call fcn.14009f854
nop
call fcn.14009f854
int3
lea rcx, [0x140121988]
call fcn.1400998cc
cmp dword [0x140121988], 0xffffffff
jne 0x140013f37
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x1400ccca0]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], sil
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x70]
call fcn.140002c40
mov qword [0x140121980], rax
mov rdx, qword [rbp - 0x18]
cmp rdx, r14
jbe 0x1400142bb
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, r15
jb 0x1400142b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400142b5
call fcn.14009f854
int3
call fcn.14009957c
nop
lea rcx, [0x140121988]
call fcn.140099860
jmp 0x140013f37
call fcn.14009f854
nop
call fcn.14009f854
nop
call fcn.14009f854
int3