Function at 0x140023d40
Capabilities:
Terminate process

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x100
mov rax, qword [0x1400f6ec8]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
xor r12d, r12d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r14, rax
mov rbp, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140023d95
mov rbp, qword [rbx]
mov dword [rax], r12d
mov r8d, 0xa
lea rdx, [rsp + 0x48]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoll]
mov r15, rax
cmp rbp, qword [rsp + 0x48]
je 0x1400240ae
cmp dword [r14], 0x22
je 0x1400240bb
call sub.MSVCP140.dll__Xtime_get_ticks
mov rcx, rax
movabs rax, 0xd6bf94d5e57a42bd
imul rcx
add rdx, rcx
sar rdx, 0x17
mov rax, rdx
shr rax, 0x3f
add rdx, rax
sub rdx, r15
cmp rdx, 0xf
jle 0x140023dff
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.14003b660
test eax, eax
jns 0x140023e14
mov ecx, 4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rdi + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, rdx
jb 0x1400240a8
mov r9, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140023e3f
mov r9, qword [rbx]
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140023e4c
mov rax, qword [rdi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r8, rbx
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.140010510
mov r8, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140023e7a
mov r8, qword [rsi]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov r9, qword [rsi + 0x10]
mov edx, 0x40
lea rcx, [rsp + 0xb0]
call fcn.14003b8d0
test eax, eax
je 0x140023eaf
mov ecx, 5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea r8, [0x1400f7ad8]
cmp qword [0x1400f7af0], 0x10
cmovae r8, qword [0x1400f7ad8]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov r9, qword [0x1400f7ae8]
mov edx, 0x20
lea rcx, [rsp + 0x88]
call fcn.14003b8d0
test eax, eax
je 0x140023efe
mov ecx, 6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, [rsp + 0x68]
cmp qword [rsp + 0x80], 0x10
cmovae rdx, qword [rsp + 0x68]
lea r9, [rsp + 0x88]
mov r8, qword [rsp + 0x78]
lea rcx, [rsp + 0xb0]
call fcn.14003b8b0
test eax, eax
je 0x140023f3c
mov ecx, 7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rdx, qword [rsp + 0x80]
cmp rdx, 0x10
jb 0x140023f7f
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023f7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140023f7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bf1bc
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x80], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x68], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140023fcf
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140023fca
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140024093
mov rcx, r8
call fcn.1400bf1bc
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140024018
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140024013
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002409a
mov rcx, r8
call fcn.1400bf1bc
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14002405d
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140024058
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400240a1
mov rcx, r8
call fcn.1400bf1bc
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov eax, 0xa58f
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1400bef10
add rsp, 0x100
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140001ea0
int3
lea rcx, str.invalid_stoll_argument
call sub.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_
int3
lea rcx, str.stoll_argument_out_of_range
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3