Function at 0x1400414a0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140284010]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rsi, rcx
mov ecx, 0x202
lea rdx, [rbp - 0x10]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1400414f5
xor al, al
jmp 0x140041b45
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov rax, qword [rsi]
mov rbx, qword [rax + 0x50]
lea rdx, [rsi + 0x28]
lea rcx, [rsp + 0x30]
call fcn.14004f0c0
mov r8, rax
lea rdx, [rbp - 0x40]
mov rcx, rsi
call rbx
nop
mov rax, qword [rsi]
mov rbx, qword [rax + 0x58]
lea rdx, [rsi + 0x28]
lea rcx, [rsp + 0x20]
call fcn.14004f0c0
mov r8, rax
lea rdx, [rbp - 0x30]
mov rcx, rsi
call rbx
nop
xor r8d, r8d
mov qword [rbp - 0x60], r8
mov qword [rbp - 0x50], r8
mov qword [rbp - 0x48], send
mov byte [rbp - 0x60], r8b
lea r15, [rsi + 8]
mov rdx, qword [0x140284280]
mov qword [rsp + 0x20], rdx
mov rcx, qword [r15 + 0x10]
mov qword [rsp + 0x30], rcx
movabs r9, 0x7fffffffffffffff
mov rax, r9
sub rax, rdx
cmp rax, rcx
jb 0x140041b7b
lea r13, [0x140284270]
cmp qword [0x140284288], 0x10
cmovae r13, qword [0x140284270]
cmp qword [r15 + 0x18], 0x10
jb 0x1400415aa
mov r15, qword [r15]
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r8
lea r12, [rcx + rdx]
mov edi, send
lea r14, [rsp + 0x40]
lea rbx, [rdi - 0x10]
cmp r12, rdi
jbe 0x14004164e
mov rdi, r12
or rdi, 0xf
cmp rdi, r9
jbe 0x1400415e1
mov rdi, r9
jmp 0x1400415ed
mov eax, socket
cmp rdi, rax
cmovb rdi, rax
mov rcx, rdi
add rcx, 1
cmovb rcx, rbx
cmp rcx, 0x1000
jb 0x140041632
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140041b75
mov rcx, rax
call fcn.140059ec0
test rax, rax
je 0x140041834
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
mov rdx, qword [rsp + 0x20]
jmp 0x140041649
test rcx, rcx
je 0x140041646
call fcn.140059ec0
mov r14, rax
mov rdx, qword [rsp + 0x20]
jmp 0x140041649
mov r14, r8
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], rdi
mov r8, rdx
mov rdx, r13
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0x20]
add rcx, r14
mov r8, qword [rsp + 0x30]
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [r14 + r12], 0
mov r8d, 1
lea rdx, [0x14027848c]
lea rcx, [rsp + 0x40]
call fcn.14004f1a0
xor r12d, r12d
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], send
mov byte [rax], r12b
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rdx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x20]
lea rcx, [rsp + 0x60]
call fcn.14004f1a0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], send
mov byte [rax], r12b
lea rdi, [rsi + 0xa0]
lea rax, [rbp - 0x80]
cmp rdi, rax
je 0x14004176e
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14004175d
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14004174e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400417a0
mov rcx, r8
call fcn.14005a21c
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
mov qword [rdi + 0x18], send
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm1
jmp 0x1400417ad
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x1400417ad
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400417a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400417a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005a21c
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1400417ed
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400417e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400417e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005a21c
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], send
mov byte [rsp + 0x60], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140041840
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004183b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004183b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005a21c
xor r15b, r15b
lea rdx, [rsi + 0x80]
call fcn.140057250
test al, al
je 0x140041901
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x20], rbx
lea r9, [rsi + 0x80]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
call fcn.140057e10
test al, al
jne 0x140041885
mov rcx, qword [rsp + 0x20]
jmp 0x1400418c0
lea r8, [rsi + 0x118]
lea rdx, [rsp + 0x20]
call fcn.140058180
test al, al
jne 0x1400418a1
mov rcx, qword [rsp + 0x20]
jmp 0x1400418c0
lea r9, [rbp - 0x60]
lea r8, [rsi + 0x118]
lea rdx, [rsp + 0x20]
call fcn.140058620
nop
mov rcx, qword [rsp + 0x20]
test al, al
jne 0x1400418ce
cmp rcx, 0xffffffffffffffff
je 0x140041901
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x140041901
cmp rcx, 0xffffffffffffffff
je 0x1400418da
call qword [sym.imp.WS2_32.dll_closesocket]
lea rcx, [rsi + 0x58]
lea rax, [rbp - 0x60]
cmp rcx, rax
je 0x1400418fe
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
call fcn.14003ccb0
mov r15b, 1
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdi, [rsi + 0x58]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14004f2b0
mov r8, rax
lea rdx, [rbp - 0x80]
call fcn.1400599a0
mov r14, rax
cmp rdi, rax
je 0x140041991
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140041962
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14004195d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400419c3
mov rcx, r8
call fcn.14005a21c
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], send
mov byte [rdi], 0
movups xmm0, xmmword [r14]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], send
mov byte [r14], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x1400419cf
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400419ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400419ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005a21c
mov rax, qword [rsi]
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [rax + 0x18]
nop
cmp qword [rax + 0x18], 0x10
jb 0x1400419e7
mov rax, qword [rax]
test rax, rax
jne 0x1400419f1
mov rax, r12
jmp 0x140041a0d
lea rbx, [rbx + 1]
cmp byte [rax + rbx], 0
jne 0x1400419f1
lea rdx, [rbx + 1]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call sym.COD19_TOP.exe_cJSON_ParseWithLengthOpts
mov qword [rsi + 0x140], rax
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140041a53
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041a4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041a4d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005a21c
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x140041a91
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041a8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041a8c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005a21c
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], send
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140041adf
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041ada
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041ada
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005a21c
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], send
mov byte [rbp - 0x30], 0
mov rcx, qword [rbp - 0x40]
mov rdi, qword [rcx + 8]
cmp byte [rdi + 0x19], 0
jne 0x140041b37
nop dword [rax]
mov r8, qword [rdi + 0x10]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.1400509a0
mov rbx, rdi
mov rdi, qword [rdi]
lea rcx, [rbx + 0x20]
call fcn.1400442f0
mov edx, 0x60
mov rcx, rbx
call fcn.14005a21c
cmp byte [rdi + 0x19], 0
je 0x140041b00
mov rcx, qword [rbp - 0x40]
mov edx, 0x60
call fcn.14005a21c
movzx eax, r15b
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140059ea0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400179b0
nop
call fcn.140038540
int3