Function at 0x14012efc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [0x1402da2b0]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_long_long___int64____cdecl_std::ios_base::width_void_const___ptr64]
test rax, rax
jle 0x14012f04b
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_long_long___int64____cdecl_std::ios_base::width_void_const___ptr64]
cmp rax, qword [rsp + 0xe0]
ja 0x14012f056
mov qword [rsp + 0x28], 0
jmp 0x14012f089
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_long_long___int64____cdecl_std::ios_base::width_void_const___ptr64]
sub rax, qword [rsp + 0xe0]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0xa8]
call fcn.140124130
nop
lea rcx, [rsp + 0xa8]
call fcn.1401240c0
movzx eax, al
test eax, eax
jne 0x14012f0c3
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x14012f358
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::ios_base::flags_void_const___ptr64]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
and eax, 0x1c0
cmp eax, 0x40
je 0x14012f1cf
jmp 0x14012f10e
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jbe 0x14012f1cf
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ios_char__struct_std::char_traits_char__::rdbuf_void_const___ptr64]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::fill_void_const___ptr64]
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x25], al
movzx edx, byte [rsp + 0x25]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sputc_char____ptr64]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
call fcn.140127070
mov dword [rsp + 0x3c], eax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x3c]
call fcn.1401270d0
movzx eax, al
test eax, eax
je 0x14012f1ca
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x14012f1cf
jmp 0x14012f101
cmp dword [rsp + 0x20], 0
jne 0x14012f24a
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ios_char__struct_std::char_traits_char__::rdbuf_void_const___ptr64]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov r8, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_public:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sputn_char_const____ptr64__long_long___int64_____ptr64]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xe0]
cmp qword [rsp + 0x70], rax
je 0x14012f24a
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x14012f320
jmp 0x14012f259
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jbe 0x14012f320
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ios_char__struct_std::char_traits_char__::rdbuf_void_const___ptr64]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::fill_void_const___ptr64]
mov byte [rsp + 0x26], al
movzx eax, byte [rsp + 0x26]
mov byte [rsp + 0x27], al
movzx edx, byte [rsp + 0x27]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sputc_char____ptr64]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
call fcn.140127070
mov dword [rsp + 0x48], eax
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0x48]
call fcn.1401270d0
movzx eax, al
test eax, eax
je 0x14012f31b
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x14012f320
jmp 0x14012f24c
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.MSVCP140.dll_public:_long_long___int64____cdecl_std::ios_base::width_long_long___int64_____ptr64]
nop
jmp 0x14012f358
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
xor r8d, r8d
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0xa8]
call fcn.1401240d0
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140217b10
add rsp, 0xc8
ret