Function at 0x14019ff10
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
movaps xmmword [rsp + 0x2d0], xmm6
mov rax, qword [0x144269058]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r12, rdx
movsxd r13, ecx
mov ecx, 1
lea rdx, [rbp + 0x20]
call sub.WS2_32.dll_WSAStartup
mov ebx, eax
test eax, eax
je 0x14019ff8e
lea rdx, str.WSAStartup_failed_with_error:
lea rcx, [0x144290cc0]
call fcn.14001b290
mov rcx, rax
mov edx, ebx
call fcn.140004290
mov rcx, rax
call fcn.140020600
xor eax, eax
jmp 0x1401a0396
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
mov ecx, 0x80000041
call qword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
lea rdx, [0x14428d001]
lea rcx, [0x14428d000]
call fcn.1401b40e0
lea rbx, [r13*8 - 8]
mov rdx, qword [rbx + r12]
xor esi, esi
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], sil
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rdx + r8], sil
jne 0x14019ffe3
lea rcx, [rbp - 0x60]
call fcn.140002080
nop
lea rcx, [rsp + 0x28]
call fcn.14002fd50
nop
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x40], 0
mov ecx, 0x20
call fcn.140306950
mov qword [rbp - 0x30], 0x18
mov qword [rbp - 0x28], 0x1f
movups xmm0, xmmword [str.__watchdog_child_process]
movups xmmword [rax], xmm0
movsd xmm1, qword [0x1403ee720]
movsd qword [rax + 0x10], xmm1
mov byte [rax + 0x18], 0
mov qword [rbp - 0x40], rax
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.1401ba2d0
movzx r15d, al
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1401a009d
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401a0098
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401a03ce
call fcn.14030698c
test r15b, r15b
je 0x1401a00db
mov qword [rsp + 0x40], rsi
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rcx, qword [rbp - 0x60]
add rcx, 0x18
mov r8d, 0xa
lea rdx, [rsp + 0x40]
call fcn.1403129b0
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0x30c], eax
dec r13d
mov qword [r12 + rbx], rsi
movzx r8d, r15b
mov rdx, r12
mov ecx, r13d
call fcn.140199ac0
test al, al
jne 0x1401a00f8
mov rbx, qword [rsp + 0x30]
jmp 0x1401a0329
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x24]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
lea rcx, [rsp + 0x68]
call fcn.14002fd50
mov rcx, qword [rax]
movzx eax, byte [rcx + 0x379]
mov byte [rsp + 0x20], al
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x1401a0161
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1401a0161
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1401a0161
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov ecx, dword [rsp + 0x24]
mov eax, ecx
or eax, 0xc0
mov r14d, ecx
and r14d, 0xffffffbf
bts r14d, 7
cmp byte [rsp + 0x20], 0
cmovne r14d, eax
cmp r14d, ecx
je 0x1401a0194
mov edx, r14d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov ecx, dword [0x144291130]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x14428cff8], ecx
jg 0x1401a03d4
mov rax, qword [0x14428cff0]
test rax, rax
je 0x1401a01cb
lock inc dword [rax + 8]
movdqu xmm6, xmmword [0x14428cfe8]
movups xmmword [rsp + 0x58], xmm6
mov rax, qword [rsp + 0x28]
movzx r8d, byte [rax + 0x2a8]
movzx edx, r15b
movq rcx, xmm6
call fcn.140162a10
nop
psrldq xmm6, 8
movq rcx, xmm6
test rcx, rcx
je 0x1401a0233
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401a0233
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1401a0233
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
test r15b, r15b
jne 0x1401a025d
mov rax, qword [rsp + 0x28]
cmp byte [rax + 0x2f0], r15b
je 0x1401a025d
mov rdx, r12
mov ecx, r13d
call fcn.1401ccd50
mov esi, eax
mov rbx, qword [rsp + 0x30]
jmp 0x1401a0309
lea rcx, [rsp + 0x78]
call fcn.140061cf0
nop
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov rcx, qword [rax]
call fcn.140152d00
nop
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x1401a02aa
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1401a02aa
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1401a02aa
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x1401a02bd
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x30]
lea rax, [0x1403ee758]
mov qword [rbp - 0x20], rax
mov byte [rbp - 0x18], r15b
mov rax, qword [rsp + 0x28]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rbx
lea rax, [rbp - 0x20]
mov qword [rbp + 0x18], rax
lea rdx, [rbp - 0x20]
movzx ecx, r15b
call fcn.14014fd00
mov esi, eax
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x1401a0309
mov rax, qword [rcx]
lea rdx, [rbp - 0x20]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov edx, dword [rsp + 0x24]
cmp r14d, edx
je 0x1401a031d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov ecx, 0x80000000
call qword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
nop
test rbx, rbx
je 0x1401a035d
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1401a035d
mov rbx, qword [rsp + 0x30]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1401a035d
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x1401a0394
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401a038f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401a03c8
call fcn.14030698c
mov eax, esi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140306aa0
mov rbx, qword [rsp + 0x330]
movaps xmm6, xmmword [rsp + 0x2d0]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14030d68c
nop
call fcn.14030d68c
nop
lea rcx, [0x14428cff8]
call fcn.140306ec4
cmp dword [0x14428cff8], 0xffffffff
jne 0x1401a01bb
mov ecx, 2
call fcn.140306950
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1401a040e
mov rcx, rax
call fcn.140162a00
mov rbx, rax
jmp 0x1401a0411
mov rbx, rsi
xorps xmm0, xmm0
movdqu xmmword [0x14428cfe8], xmm0
mov qword [rsp + 0x48], rbx
mov ecx, 0x18
call fcn.140306950
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1401a0459
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, [0x1403ec498]
mov qword [rax], rcx
mov qword [rax + 0x10], rbx
jmp 0x1401a045c
mov rax, rsi
mov qword [0x14428cfe8], rbx
mov qword [0x14428cff0], rax
mov edx, 2
xor ecx, ecx
call fcn.14030698c
lea rcx, [0x140348f30]
call fcn.140306d24
nop
lea rcx, [0x14428cff8]
call fcn.140306e64
jmp 0x1401a01bb