Function at 0x180024b80
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1800a73c0]
xor rax, rsp
mov qword [rbp + 0x78], rax
mov r12, rdx
mov r15, rcx
mov qword [rbp + 0x50], rdx
xor r13d, r13d
mov dword [rsp + 0x28], r13d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov esi, r13d
mov qword [rsp + 0x40], r13
lea rax, [0x180075240]
mov qword [rsp + 0x50], rax
lea rax, [0x180075248]
mov qword [rsp + 0x60], rax
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x28], 1
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x50], r14
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x4c], edx
lea r8d, [r13 + 3]
mov rdx, r12
lea rcx, [rsp + 0x68]
call fcn.180024000
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], r13
mov qword [rbp + 0x70], 0xf
mov byte [rbp + 0x58], r13b
mov r8b, 0x20
lea rdx, [rbp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.180023e20
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
mov rdi, qword [rsp + 0x38]
test al, al
je 0x180024d34
nop dword [rax + rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r14, rax
lea rbx, [rbp + 0x58]
cmp qword [rbp + 0x70], 0xf
cmova rbx, qword [rbp + 0x58]
mov dword [rax], r13d
mov r8d, 0x10
lea rdx, [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
cmp rbx, qword [rsp + 0x28]
je 0x180024f50
cmp dword [r14], 0x22
je 0x180024f5d
mov byte [rsp + 0x20], al
cmp rdi, rsi
je 0x180024ce8
mov byte [rdi], al
inc rdi
mov qword [rsp + 0x38], rdi
jmp 0x180024d04
lea r8, [rsp + 0x20]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.18000ca80
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov r8b, 0x20
lea rdx, [rbp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.180023e20
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
jne 0x180024c90
lea r14, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov rbx, qword [rsp + 0x30]
sub rdi, rbx
lea r9, [rsp + 0x24]
mov r8d, 0x40
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180024e54
mov r8, rdi
mov rdx, rbx
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 0xf
jbe 0x180024dbb
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180024db6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180024e86
call fcn.180069980
mov qword [rbp + 0x68], r13
mov qword [rbp + 0x70], 0xf
mov byte [rbp + 0x58], 0
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], r14
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x68]
call fcn.180022390
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
test rbx, rbx
je 0x180024e45
sub rsi, rbx
mov rax, rbx
cmp rsi, 0x1000
jb 0x180024e39
add rsi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180024f0c
mov rdx, rsi
mov rcx, rbx
call fcn.180069980
nop
mov rcx, r12
call fcn.180006c80
mov al, 1
jmp 0x180024f29
mov rdx, qword [rbp + 0x70]
cmp rdx, 0xf
jbe 0x180024e92
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180024e8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180024e8d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180069980
mov qword [rbp + 0x68], r13
mov qword [rbp + 0x70], 0xf
mov byte [rbp + 0x58], 0
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], r14
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x68]
call fcn.180022390
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
test rbx, rbx
je 0x180024f1f
sub rsi, rbx
mov rax, rbx
cmp rsi, 0x1000
jb 0x180024f13
add rsi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180024f13
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rsi
mov rcx, rbx
call fcn.180069980
nop
mov rcx, r12
call fcn.180006c80
xor al, al
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.180069aa0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.invalid_stoul_argument
call sub.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_
int3
lea rcx, str.stoul_argument_out_of_range
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3