Function at 0x14001bd60
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rdi
sub rsp, 0x358
lea rax, [sym.__gxx_personality_sj0]
mov qword [rsp + 0xc0], rax
lea rax, [0x140035210]
mov qword [rsp + 0xc8], rax
lea rax, [0x14001c384]
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x370], rcx
mov rcx, rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x378], rdx
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0xe0], rsp
call dbg._Unwind_SjLj_Register
movzx eax, word [rsp + 0x378]
cmp qword [rsp + 0x378], 0
mov dword [rsp + 0x58], eax
je 0x14001c200
xor r9d, r9d
xor edx, edx
mov r8d, dword [rsp + 0x58]
mov ecx, 0x1300
lea rax, [rsp + 0x108]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x158]
mov qword [rsp + 0x108], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x98], 0xffffffff
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
xor eax, eax
mov ecx, 0x3f
mov r9d, dword [rsp + 0x58]
rep stosq qword [rdi], rax
mov rax, qword [rsp + 0x108]
lea rdi, [rsp + 0x150]
mov qword [rsp + 0x150], 0
mov r8, qword [rsp + 0x370]
lea rdx, [0x14002d25e]
mov rcx, rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x20], rax
call sym.sprintf_char__char_const__::_
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x60]
call sym.strlen
cmp byte [rsp + rax + 0x14f], 0xa
jne 0x14001beb3
xor edx, edx
mov word [rsp + rax + 0x14e], dx
mov r9d, 4
mov r8d, 0x1000
mov edx, 0x40
mov dword [rsp + 0x98], 0xffffffff
lea rdi, [rsp + 0x130]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rcx, rdi
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [rsp + 0x13e]
lea rdx, str.__04d__02d__02d__02d:_02d:_02d._03d_
movzx r9d, word [rsp + 0x132]
movzx r8d, word [rsp + 0x130]
mov rcx, qword [rsp + 0x58]
mov dword [rsp + 0x40], eax
movzx eax, word [rsp + 0x13c]
mov dword [rsp + 0x38], eax
movzx eax, word [rsp + 0x13a]
mov dword [rsp + 0x30], eax
movzx eax, word [rsp + 0x138]
mov dword [rsp + 0x28], eax
movzx eax, word [rsp + 0x136]
mov dword [rsp + 0x20], eax
call sym.sprintf_char__char_const__::_
lea rax, [rsp + 0x110]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x110], rax
mov rax, qword [0x140038320]
mov qword [rsp + 0x88], rax
mov rax, qword [0x140038328]
cmp rax, 0xf
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x130], rax
ja 0x14001c220
cmp qword [rsp + 0x68], 1
jne 0x14001c1e0
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax]
mov byte [rsp + 0x120], al
mov rax, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x118], rdi
mov byte [rax + rdi], 0
call sym.strlen
mov dword [rsp + 0x98], 2
mov r8, rax
movabs rax, 0x3fffffffffffffff
sub rax, qword [rsp + 0x118]
cmp rax, r8
jb 0x14001c36e
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x70]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_append_char_const__unsigned_long_long_
mov rcx, qword [rsp + 0x60]
call sym.strlen
mov dword [rsp + 0x98], 1
mov r8, rax
movabs rax, 0x3fffffffffffffff
sub rax, qword [rsp + 0x118]
cmp rax, r8
jb 0x14001c34b
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_append_char_const__unsigned_long_long_
lea rdi, [rsp + 0x140]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x130], rdi
mov rdx, qword [rax]
mov qword [rsp + 0x58], rdi
lea rdi, [rax + 0x10]
mov rax, qword [rax + 8]
mov qword [rsp + 0x68], rdi
cmp rdx, rdi
je 0x14001c280
mov qword [rsp + 0x130], rdx
mov rdx, qword [rsp + 0x60]
mov rdx, qword [rdx + 0x10]
mov qword [rsp + 0x140], rdx
mov qword [rsp + 0x138], rax
mov rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
mov qword [rax], rdx
mov rdx, qword [rsp + 0x58]
mov qword [rax + 8], 0
mov rcx, qword [0x140038320]
mov byte [rax + 0x10], 0
mov rax, qword [rsp + 0x130]
cmp rax, rdx
je 0x14001c2b0
lea rdx, [0x140038330]
cmp rcx, rdx
je 0x14001c2f0
movdqu xmm0, xmmword [rsp + 0x138]
test rcx, rcx
mov qword [0x140038320], rax
mov rdx, qword [0x140038330]
movups xmmword [0x140038328], xmm0
je 0x14001c307
mov qword [rsp + 0x130], rcx
mov qword [rsp + 0x140], rdx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x138], 0
mov byte [rcx], 0
mov rcx, qword [rsp + 0x130]
cmp rcx, rax
je 0x14001c15e
mov rax, qword [rsp + 0x140]
lea rdx, [rax + 1]
call sym.operator_delete_void__unsigned_long_long_
mov rcx, qword [rsp + 0x110]
mov rax, qword [rsp + 0x78]
cmp rcx, rax
je 0x14001c181
mov rax, qword [rsp + 0x120]
lea rdx, [rax + 1]
call sym.operator_delete_void__unsigned_long_long_
movabs rax, 0x3fffffffffffffff
sub rax, qword [0x140038328]
cmp rax, 1
jbe 0x14001c357
lea rdx, [0x14002d2a3]
mov r8d, 2
mov dword [rsp + 0x98], 0xffffffff
lea rcx, [0x140038320]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_append_char_const__unsigned_long_long_
mov rcx, qword [rsp + 0x80]
call sym._Unwind_SjLj_Unregister
nop
add rsp, 0x358
pop rdi
pop rbp
ret
cmp qword [rsp + 0x68], 0
jne 0x14001c37a
mov rax, qword [rsp + 0x78]
jmp 0x14001bfc6
mov dword [rsp + 0x98], 0xffffffff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
jmp 0x14001bde9
mov rcx, qword [rsp + 0x70]
xor r8d, r8d
mov rdx, qword [rsp + 0xf8]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_create_unsigned_long_long__unsigned_long_long_
mov rcx, rax
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x120], rax
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x88]
call sym.memcpy
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x110]
jmp 0x14001bfc6
lea r8, [rax + 1]
mov rax, 0xffffffffffffffff
test r8, r8
je 0x14001c0a7
mov rcx, qword [rsp + 0x58]
mov rdx, rdi
call sym.memcpy
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
jmp 0x14001c0a7
mov r8, qword [rsp + 0x138]
test r8, r8
je 0x14001c2d7
cmp r8, 1
je 0x14001c330
call sym.memcpy
mov r8, qword [rsp + 0x138]
mov rcx, qword [0x140038320]
mov qword [0x140038328], r8
mov byte [rcx + r8], 0
mov rcx, qword [rsp + 0x130]
jmp 0x14001c12c
movdqu xmm1, xmmword [rsp + 0x138]
mov qword [0x140038320], rax
movups xmmword [0x140038328], xmm1
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x130], rax
lea rax, [rsp + 0x140]
mov qword [rsp + 0x58], rax
mov rcx, rax
jmp 0x14001c12c
movzx eax, byte [rsp + 0x140]
mov byte [rcx], al
mov r8, qword [rsp + 0x138]
mov rcx, qword [0x140038320]
jmp 0x14001c2d7
lea rcx, [0x14002d28e]
call method.std.__throw_length_error_char_const_
lea rcx, [0x14002d28e]
mov dword [rsp + 0x98], 0xffffffff
call method.std.__throw_length_error_char_const_
lea rcx, [0x14002d28e]
call method.std.__throw_length_error_char_const_
mov rcx, qword [rsp + 0x78]
jmp 0x14001c250