Function at 0x14001e36c
Capabilities:
Initialize winsock library

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r14
mov qword [rax + 0x20], r15
push rbp
lea rbp, [rax - 0x1b8]
sub rsp, 0x2b0
mov rax, qword [0x14007c080]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor r8d, r8d
lea rbx, str.C:UsersmrnooDownloadscs2_webradar_maincs2_webradar_mainusermode_srcdllmain.cpp
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140003f84
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.140015304
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140003fc8
nop
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rax, qword [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140004078
nop
lea rcx, [rbp - 0x80]
call fcn.14001557c
nop
lea rcx, [rsp + 0x60]
call fcn.14001557c
lea rdx, [rbp - 0x60]
mov r14d, recv
cmp qword [rbp - 0x48], r14
cmova rdx, qword [rbp - 0x60]
lea rcx, str.__s__usermode_started__n_n
call fcn.14001ea70
mov r15d, 0x1000
mov rdx, qword [rbp - 0x48]
cmp rdx, r14
jbe 0x14001e4aa
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, r15
jb 0x14001e4a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e9fa
call fcn.14001f934
call fcn.14001ce5c
test al, al
jne 0x14001e5f6
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140003f84
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.140015304
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140003fc8
nop
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rax, qword [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x50]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140004078
nop
lea rcx, [rbp - 0x60]
call fcn.14001557c
nop
lea rcx, [rsp + 0x60]
call fcn.14001557c
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], r14
cmova rdx, qword [rbp - 0x80]
mov r8d, 0xa
lea rcx, str.__s:_d__failed_to_setup_cs2_n
call fcn.14001ea70
mov rdx, qword [rbp - 0x68]
cmp rdx, r14
jbe 0x14001e5b5
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, r15
jb 0x14001e5b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ea00
call fcn.14001f934
mov qword [rsp + 0x40], 5
lea rcx, [rsp + 0x40]
call fcn.140010130
mov al, 1
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14001fe10
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
xor edx, edx
mov r8d, 0x198
lea rcx, [rbp]
call fcn.140044630
mov ecx, 0x202
lea rdx, [rbp]
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x14001e723
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140003f84
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.140015304
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140003fc8
nop
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rax, qword [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x50]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140004078
nop
lea rcx, [rbp - 0x60]
call fcn.14001557c
nop
lea rcx, [rsp + 0x60]
call fcn.14001557c
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], r14
cmova rdx, qword [rbp - 0x80]
mov r8d, setsockopt
lea rcx, str.__s:_d__failed_to_initialize_winsock_n
call fcn.14001ea70
mov rdx, qword [rbp - 0x68]
cmp rdx, r14
jbe 0x14001e5b5
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, r15
jb 0x14001e5b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e9ee
jmp 0x14001e5b0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], 9
mov qword [rbp - 0x48], r14
movsd xmm2, qword [str.localhost]
movsd qword [rbp - 0x60], xmm2
mov al, byte [0x14004b448]
mov byte [rbp - 0x58], al
mov byte [rbp - 0x57], 0
movups xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x14004d000]
movdqu xmmword [rbp - 0x30], xmm1
movsd qword [rbp - 0x40], xmm2
mov byte [rbp - 0x38], al
mov byte [rbp - 0x37], 0
lea rax, str.ws:__:22006_cs2_webradar
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x1a
lea r8, [rbp - 0x40]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x20]
call fcn.14000fcd8
nop
mov r8, qword [rbp - 0x28]
cmp r8, r14
jbe 0x14001e7ab
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.14001487c
movdqa xmm0, xmmword [0x140046900]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rcx, qword gs:[0x58]
mov eax, dword [0x14007e570]
mov edx, 4
mov rax, qword [rcx + rax*8]
mov eax, dword [rdx + rax]
cmp dword [0x14007dc60], eax
jg 0x14001ea06
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x80]
cmp qword [0x14007dc58], r8
jne 0x14001e88d
call fcn.140003f84
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.1400186c0
nop
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.14001e230
nop
lea rcx, [rsp + 0x40]
call fcn.14001557c
nop
lea rcx, [rbp - 0x80]
call fcn.14001557c
lea r9, [rbp - 0x20]
cmp qword [rbp - 8], r14
cmova r9, qword [rbp - 0x20]
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], r14
cmova rdx, qword [rsp + 0x60]
mov r8d, 0x25
lea rcx, str.__s:_d__failed_to_connect_to_the_web_socket___s__n
call fcn.14001ea70
lea rcx, [rsp + 0x60]
call fcn.140001a5c
mov qword [rsp + 0x40], 5
lea rcx, [rsp + 0x40]
call fcn.140010130
nop
lea rcx, [rbp - 0x20]
call fcn.140001a5c
nop
jmp 0x14001e5c8
call fcn.140003f84
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.1400186c0
nop
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.14001e230
nop
lea rcx, [rsp + 0x40]
call fcn.14001557c
nop
lea rcx, [rbp - 0x80]
call fcn.14001557c
lea r8, [rbp - 0x20]
cmp qword [rbp - 8], r14
cmova r8, qword [rbp - 0x20]
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], r14
cmova rdx, qword [rsp + 0x60]
lea rcx, str.__s__connected_to_the_web_socket___s__n
call fcn.14001ea70
lea rcx, [rsp + 0x60]
call fcn.140001a5c
call fcn.14001f0f0
mov rbx, rax
call fcn.14001f0f0
mov rcx, rax
sub rcx, rbx
cmp rcx, 0xf4240
je 0x14001e919
jl 0x14001e9c9
mov rbx, rax
lea rcx, [0x14007dc18]
call fcn.14001cd04
mov rax, qword [0x14007dc58]
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x10]
lea rdx, [0x14007dc18]
lea rcx, [rsp + 0x40]
call fcn.14001066c
nop
and dword [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9b, 0x20
or r8d, 0xffffffff
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400175a4
nop
mov rdx, rax
mov rcx, qword [0x14007dc58]
call rdi
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, r14
jbe 0x14001e9aa
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, r15
jb 0x14001e9a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e9f4
call fcn.14001f934
and qword [rsp + 0x70], 0
mov qword [rsp + 0x78], r14
mov byte [rsp + 0x60], 0
mov dl, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.140017158
nop
mov rcx, qword [0x14007dc58]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + ioctlsocket]
jmp 0x14001e8ff
lea rcx, [0x14007dc60]
call fcn.14001fc14
jmp 0x14001e7e3
call fcn.14002674c
nop
call fcn.14002674c
nop
call fcn.14002674c
int3
call fcn.14002674c
nop
lea rcx, [0x14007dc60]
call fcn.14001fc80
cmp dword [0x14007dc60], 0xffffffff
jne 0x14001e7e3
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140046900]
movdqu xmmword [rsp + 0x50], xmm1
mov byte [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x20]
call fcn.140002bf4
mov qword [0x14007dc58], rax
mov r8, qword [rsp + 0x58]
cmp r8, r14
jbe 0x14001e9dd
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14001487c
nop
jmp 0x14001e9dd