Function at 0x140139f00
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x14025e2c0]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov r14, rdx
movsxd r15, ecx
xor r12d, r12d
mov rdi, r15
lea rsi, [rdx + r15*8]
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
test ecx, ecx
je 0x14013a043
movabs rax, 0x7ffffffffffffff
cmp r15, rax
ja 0x14013a6d8
shl rdi, 5
test rdi, rdi
jne 0x140139f78
mov ebx, r12d
jmp 0x140139fb5
cmp rdi, 0x1000
jb 0x140139faa
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x14013a6d2
call fcn.1401d19cc
test rax, rax
je 0x14013a66a
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140139fb5
mov rcx, rdi
call fcn.1401d19cc
mov rbx, rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
lea rcx, [rdi + rbx]
mov qword [rsp + 0x70], rcx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov rdi, r14
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
cmp r14, rsi
je 0x14013a034
nop
mov rdx, qword [rdi]
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14013a010
mov rcx, rbx
call fcn.14000dd80
add rbx, 0x20
mov qword [rsp + 0x48], rbx
add rdi, 8
cmp rdi, rsi
jne 0x140139ff0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x30], r12
cmp r15d, 1
jle 0x14013a05b
lea rcx, [rsp + 0x60]
call fcn.14013c0b0
test al, al
je 0x14013a5ca
lea rcx, [0x140139ed0]
call qword [sym.imp.MSVCP140.dll_void____cdecl___void____cdecl_std::set_new_handler_void____cdecl___void__]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x30], xmm0
mov eax, dword [rsp + 0x30]
mov dword [rbp - 0x40], eax
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
mov ecx, 0x28
call fcn.1401d19cc
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp - 0x38], rax
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], 7
mov qword [rbp - 8], 8
vmovss xmm0, dword [0x140217594]
vmovss dword [rbp - 0x40], xmm0
mov r8, rax
mov edx, 0x10
lea rcx, [rbp - 0x28]
call fcn.140028e00
nop
lea rcx, [rbp]
call fcn.1401419e0
nop
lea rax, [rbp + 0x18]
mov qword [rsp + 0x40], rax
lea rdx, [rbp]
mov rcx, qword [rbp]
call fcn.14017e810
mov qword [rbp + 0x18], rax
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rbp + 0x20], xmm0
lea rax, [rbp]
mov qword [rsp + 0x38], rax
lea rax, [0x1401f7e70]
mov qword [rbp + 0x60], rax
lea rax, fcn.140011f50
mov qword [rbp + 0x50], rax
lea rax, [rbp]
mov qword [rbp + 0x40], rax
lea rax, [rbp + 0x38]
mov qword [rbp + 0x58], rax
lea rax, [0x1401f82d0]
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x30], r12
mov edx, 2
lea rcx, [rbp + 0x18]
call fcn.14017e740
mov edx, 0xf
lea rcx, [rbp + 0x18]
call fcn.14017e740
lea rdx, [fcn.14017e3c0]
mov ecx, reloc.WS2_32.dll_setsockopt
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_signal]
lea rcx, [rbp + 0x18]
call fcn.14017e640
nop
lea rdx, [rbp]
lea rcx, [rbp + 0x70]
call fcn.140028fe0
mov byte [rbp + 0xe8], 0
mov dword [reloc.WS2_32.dll_bind], r12d
mov ecx, 0x10
call fcn.1401d19cc
lea rcx, reloc.WS2_32.dll_bind
mov qword [rax], rcx
lea rcx, [0x14018a080]
mov qword [rax + 8], rcx
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x1400422a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14013a6c1
mov qword [rsp + 0x30], r12
cmp dword [0x14025e750], 0
jne 0x14013a6ba
vpxor xmm1, xmm1, xmm1
vmovups xmmword [rsp + 0x30], xmm1
vmovups xmm0, xmmword [rsp + 0x40]
vmovups xmmword [rsp + 0x40], xmm0
vmovdqa xmmword [rsp + 0x40], xmm1
vmovups xmmword [0x14025e748], xmm0
mov dword [reloc.WS2_32.dll_bind], r12d
mov ecx, 0x10
call fcn.1401d19cc
lea rcx, reloc.WS2_32.dll_bind
mov qword [rax], rcx
lea rcx, [0x140139610]
mov qword [rax + 8], rcx
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x1400422a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14013a6a9
mov qword [rsp + 0x30], r12
cmp dword [0x14025e820], 0
jne 0x14013a6a2
vpxor xmm1, xmm1, xmm1
vmovups xmmword [rsp + 0x30], xmm1
vmovups xmm0, xmmword [rsp + 0x40]
vmovups xmmword [rsp + 0x40], xmm0
vmovdqa xmmword [rsp + 0x40], xmm1
vmovups xmmword [0x14025e818], xmm0
mov dword [0x14026da60], r12d
mov rbx, qword [0x14026da68]
mov rdi, qword [0x14026da70]
cmp rbx, rdi
je 0x14013a34e
lea rsi, [0x14026da60]
lea r13, [0x140116a70]
nop
mov ecx, 0x10
call fcn.1401d19cc
mov qword [rax], rsi
mov qword [rax + 8], r13
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x1400422a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14013a3ef
cmp dword [rbx + 8], 0
jne 0x14013a3e8
vpxor xmm0, xmm0, xmm0
vmovups xmm1, xmmword [rsp + 0x30]
vmovdqa xmmword [rsp + 0x30], xmm0
vmovups xmmword [rbx], xmm1
add rbx, 0x10
cmp rbx, rdi
jne 0x14013a2e0
lea rax, [rbp - 0x40]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], r14
lea rax, vtable.std::_Func_impl_no_alloc_class_std::_Binder_struct_std::_Unforced__void____cdecl___int__char____ptr64__const___ptr64__class_ServiceManager____ptr64___int____ptr64__char____ptr64__const___ptr64____ptr64__class_ServiceManager____ptr64___void___.0
mov qword [rbp - 0x80], rax
lea rax, [0x14013a8b0]
mov qword [rbp - 0x78], rax
vmovdqu xmm0, xmmword [rsp + 0x48]
vmovdqu xmmword [rbp - 0x70], xmm0
mov dword [rbp - 0x60], r15d
lea rax, [rbp - 0x80]
mov qword [rbp - 0x48], rax
mov ecx, 0x50
call fcn.1401d19cc
mov rbx, rax
mov qword [rsp + 0x40], rax
lea rax, vtable.Task.0
mov qword [rbx], rax
mov qword [rbx + 8], r12
mov qword [rbx + 0x48], r12
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14013a408
lea rax, [rbp - 0x80]
cmp rcx, rax
jne 0x14013a400
mov rax, qword [rcx]
lea rdx, [rbx + 0x10]
call qword [rax + reloc.WS2_32.dll_htonl]
mov qword [rbx + 0x48], rax
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14013a408
mov rax, qword [rcx]
lea rdx, [rbp - 0x80]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp 0x14013a404
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rsp + 0x38], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov qword [rbx + 0x48], rcx
mov qword [rbp - 0x48], r12
mov rdx, rbx
call fcn.14018a270
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14013a42a
mov rax, qword [rcx]
lea rdx, [rbp - 0x80]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rdx, qword [0x14025e728]
lea rcx, [0x14026e520]
call qword [sym.imp.MSVCP140.dll__Cnd_wait]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
cmp qword [rbp - 0x30], 0
je 0x14013a4bf
lea rdx, [0x14020ff90]
call fcn.14000d520
lea rdx, [0x14026e190]
cmp qword [0x14026e1a8], 0xf
cmova rdx, qword [0x14026e190]
mov r8, qword [0x14026e1a0]
mov rcx, rax
call fcn.14000f490
lea rdx, str._Server_Online_
mov rcx, rax
call fcn.14000d520
lea rdx, [0x14000b3f0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x14000b3f0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov byte [rbp + 0xe8], 1
lea rcx, [rbp]
call fcn.140141b60
jmp 0x14013a4ef
lea rdx, str.___No_services_running._The_server_is_NOT_online.
call fcn.14000d520
lea rdx, [0x14000b3f0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call fcn.140175030
call fcn.140041f50
call fcn.14018a360
call fcn.140116c10
call fcn.14013d280
call fcn.14013d1e0
call fcn.14013d370
call fcn.140139620
nop
lea rcx, [rbp - 0x40]
call fcn.14017abe0
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x78]
mov rcx, qword [rbp + 0x70]
call fcn.1400288f0
nop
cmp qword [rbp + 0xd0], 0
je 0x14013a53e
mov rax, qword [rbp + 0xc8]
mov rdx, qword [rax]
lea rcx, [rbp + 0xb0]
call rdx
nop
lea rcx, [rbp + 0x88]
call fcn.14002f5f0
lea rcx, [rbp + 0x18]
call fcn.14013d990
lea rcx, [rbp]
call fcn.140141460
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14013a5b2
mov rax, qword [rbp - 0x18]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14013a5a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14013a5a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d177c
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r12
mov rdx, qword [rbp - 0x38]
call fcn.1401090a0
mov edx, 0x28
mov rcx, qword [rbp - 0x38]
call fcn.1401d177c
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14013a676
mov rsi, qword [rsp + 0x68]
cmp rcx, rsi
je 0x14013a63d
lea rbx, [rcx + 0x18]
mov rdx, qword [rbx]
cmp rdx, 0xf
jbe 0x14013a61c
inc rdx
mov rcx, qword [rbx - 0x18]
cmp rdx, 0x1000
jb 0x14013a617
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14013a66a
mov rcx, r8
call fcn.1401d177c
mov qword [rbx - 8], r12
mov qword [rbx], setsockopt
mov byte [rbx - 0x18], 0
add rbx, 0x20
lea rax, [rbx - 0x18]
cmp rax, rsi
jne 0x14013a5e6
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14013a671
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14013a671
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d177c
xor eax, eax
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1401d1730
mov rbx, qword [rsp + 0x250]
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rsp + 0x48], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rsp + 0x48], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.14000dff0
int3
call fcn.14000b270
int3