Function at 0x14000f490
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, 0x78
mov rax, qword [0x14001f010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x80]
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 0x14000f515
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x80]
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 + 0x90]
ja 0x14000f520
mov qword [rsp + 0x28], 0
jmp 0x14000f553
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x80]
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 + 0x90]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.14000e5f0
nop
lea rcx, [rsp + 0x58]
call fcn.14000e580
movzx eax, al
test eax, eax
jne 0x14000f587
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x14000f7bc
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x80]
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]
and eax, 0x1c0
cmp eax, 0x40
je 0x14000f671
jmp 0x14000f5ca
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jbe 0x14000f671
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x80]
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
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
movsxd rcx, dword [rcx + 4]
mov rdx, qword [rsp + 0x80]
add rdx, rcx
mov rcx, rdx
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]
movzx ecx, byte [rsp + 0x24]
movzx edx, cl
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sputc_char____ptr64]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
call fcn.14000cb20
mov dword [rsp + 0x38], eax
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x38]
call fcn.14000cb30
movzx eax, al
test eax, eax
je 0x14000f66c
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x14000f671
jmp 0x14000f5bd
cmp dword [rsp + 0x20], 0
jne 0x14000f6db
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x80]
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 r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, rax
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 + 0x48], rax
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0x48], rax
je 0x14000f6db
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x14000f791
jmp 0x14000f6ea
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jbe 0x14000f791
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x80]
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 + 0x25], al
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
movsxd rcx, dword [rcx + 4]
mov rdx, qword [rsp + 0x80]
add rdx, rcx
mov rcx, rdx
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]
movzx ecx, byte [rsp + 0x25]
movzx edx, cl
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sputc_char____ptr64]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x40], eax
call fcn.14000cb20
mov dword [rsp + 0x44], eax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x44]
call fcn.14000cb30
movzx eax, al
test eax, eax
je 0x14000f78c
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x14000f791
jmp 0x14000f6dd
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
xor edx, edx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_long_long___int64____cdecl_std::ios_base::width_long_long___int64_____ptr64]
nop
jmp 0x14000f7bc
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
xor r8d, r8d
mov edx, dword [rsp + 0x20]
mov rcx, rax
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 + 0x80]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x58]
call fcn.14000e590
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140017400
add rsp, 0x78
ret