Function at 0x140027e60
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, 0x98
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xa0]
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 0x140027ed9
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xa0]
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 + 0xb0]
ja 0x140027ee4
mov qword [rsp + 0x28], 0
jmp 0x140027f17
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xa0]
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 + 0xb0]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x80]
call fcn.14003e9b0
movzx eax, byte [rsp + 0x88]
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x140027f51
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x1400281a4
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xa0]
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 0x140028048
jmp 0x140027f94
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jbe 0x140028048
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xa0]
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 + 0x48], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xa0]
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
movzx edx, byte [rsp + 0x25]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sputc_char____ptr64]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x3c], 0xffffffff
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x3c], eax
jne 0x140028025
mov dword [rsp + 0x30], 1
jmp 0x14002802d
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x140028043
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x140028048
jmp 0x140027f87
cmp dword [rsp + 0x20], 0
jne 0x1400280af
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xa0]
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 r8, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x50]
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]
cmp rax, qword [rsp + 0xb0]
je 0x1400280af
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x140028172
jmp 0x1400280be
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jbe 0x140028172
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xa0]
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 + 0x58], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xa0]
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 edx, byte [rsp + 0x26]
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 + 0x40], eax
mov dword [rsp + 0x44], 0xffffffff
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jne 0x14002814f
mov dword [rsp + 0x34], 1
jmp 0x140028157
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
test eax, eax
je 0x14002816d
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x140028172
jmp 0x1400280b1
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_long_long___int64____cdecl_std::ios_base::width_long_long___int64_____ptr64]
nop
jmp 0x1400281a4
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
xor r8d, r8d
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
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 + 0xa0]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x80]
call fcn.14003f7d0
mov rax, qword [rsp + 0x78]
add rsp, 0x98
ret