Function at 0x14001ba20
Capabilities:
Set console window title

Disassembly:
push rbp
lea rbp, [rsp - 0x470]
sub rsp, 0x570
mov rax, qword [0x14004b040]
xor rax, rsp
mov qword [rbp + 0x460], rax
lea rcx, [0x14003c8e8]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
xor edx, edx
mov r8d, 0x430
lea rcx, [rbp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x30]
call fcn.140014010
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
lea rax, vtable.std::_Func_impl_no_alloc_class__int___cdecl_main_void_::_2::_lambda_1___void__struct_httplib::Request_const____ptr64__struct_Request::Response____ptr64_.0
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, recv
lea rdx, str._injectgosth
lea rcx, [rsp + 0x30]
call fcn.140001fa0
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.140014550
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14001bb17
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bb12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001bb12
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140034d84
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
lea rax, vtable.std::_Func_impl_no_alloc_class__int___cdecl_main_void_::_2::_lambda_2___void__struct_httplib::Request_const____ptr64__struct_Request::Response____ptr64_.0
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str._injectskript
lea rcx, [rsp + 0x30]
call fcn.140001fa0
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.140014550
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14001bbb3
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bbae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001bbae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140034d84
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
lea rax, vtable.std::_Func_impl_no_alloc_class__int___cdecl_main_void_::_2::_lambda_3___void__struct_httplib::Request_const____ptr64__struct_Request::Response____ptr64_.0
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, recv
lea rdx, str._destructgosth
lea rcx, [rsp + 0x30]
call fcn.140001fa0
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.140014550
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14001bc4f
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bc4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001bc4a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140034d84
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
lea rax, vtable.std::_Func_impl_no_alloc_class__int___cdecl_main_void_::_2::_lambda_4___void__struct_httplib::Request_const____ptr64__struct_Request::Response____ptr64_.0
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str._destructskript
lea rcx, [rsp + 0x30]
call fcn.140001fa0
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.140014550
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14001bceb
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bce6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001bce6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140034d84
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
lea rax, vtable.std::_Func_impl_no_alloc_class__int___cdecl_main_void_::_2::_lambda_5___void__struct_httplib::Request_const____ptr64__struct_Request::Response____ptr64_.0
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, recv
lea rdx, str._closeskript
lea rcx, [rsp + 0x30]
call fcn.140001fa0
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.140014550
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14001bd87
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bd82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001bd82
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140034d84
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
lea rax, vtable.std::_Func_impl_no_alloc_class__int___cdecl_main_void_::_2::_lambda_6___void__struct_httplib::Request_const____ptr64__struct_Request::Response____ptr64_.0
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, recv
lea rdx, str._closegosth
lea rcx, [rsp + 0x30]
call fcn.140001fa0
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.140014550
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14001be23
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001be1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001be1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140034d84
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
lea rax, vtable.std::_Func_impl_no_alloc_class__int___cdecl_main_void_::_2::_lambda_7___void__struct_httplib::Request_const____ptr64__struct_Request::Response____ptr64_.0
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 1
lea rdx, [0x14003b08c]
lea rcx, [rsp + 0x30]
call fcn.140001fa0
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.140014550
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14001bebf
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001beba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001beba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140034d84
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
lea rax, vtable.std::_Func_impl_no_alloc_class__int___cdecl_main_void_::_2::_lambda_8___void__struct_httplib::Request_const____ptr64__struct_Request::Response____ptr64_.0
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, recv
lea rdx, str._styles.css
lea rcx, [rsp + 0x30]
call fcn.140001fa0
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.140014550
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14001bf5b
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bf56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001bf56
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140034d84
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 7
lea rdx, str.0.0.0.0
lea rcx, [rsp + 0x30]
call fcn.140001fa0
nop
lea rax, vtable.std::_Func_impl_no_alloc_class__public:_bool___cdecl_httplib::Server::listen_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__int__int____ptr64::_2::_lambda_1___void___.0
mov qword [rbp - 0x60], rax
lea rax, [rbp + 0x30]
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x60]
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x20]
call fcn.14001fca0
mov byte [rbp + 0x20], 1
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14001bfd1
mov rax, qword [rcx]
lea rdx, [rbp - 0x60]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp - 0x28], 0
lea rcx, [rbp + 0x30]
mov rax, qword [rbp + 0x30]
call qword [rax + 8]
test al, al
je 0x14001c03c
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov qword [rbp - 0x70], 0
mov rcx, qword [rbp + 0x408]
test rcx, rcx
je 0x14001c00c
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
call qword [rax]
mov qword [rbp - 0x70], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.140017ab0
xchg qword [rbp + 0x78], rax
mov rcx, qword [rbp + 0x78]
cmp rcx, 0xffffffffffffffff
je 0x14001c03c
lea rcx, [rbp + 0x30]
call fcn.140017c00
nop
cmp byte [rbp + 0x20], 0
je 0x14001c058
mov rcx, qword [rbp + 0x18]
test rcx, rcx
jne 0x14001c052
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x14001c072
mov rax, qword [rcx]
lea rdx, [rbp - 0x20]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14001c0b3
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c0ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c0ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140034d84
nop
lea rcx, [rbp + 0x30]
call fcn.1400142e0
xor eax, eax
mov rcx, qword [rbp + 0x460]
xor rcx, rsp
call fcn.140034d20
add rsp, 0x570
pop rbp
ret