Function at 0x1400b9a80
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, 0x108
mov rax, qword [0x1400c4040]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x110]
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 0x1400b9b0b
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x110]
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 + 0x120]
ja 0x1400b9b16
mov qword [rsp + 0x30], 0
jmp 0x1400b9b49
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x110]
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 + 0x120]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0xe0]
call fcn.1400b36c0
nop
movzx eax, byte [rsp + 0xe8]
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x24]
movzx eax, al
test eax, eax
jne 0x1400b9b87
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x1400b9e9f
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x110]
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 0x1400b9cb7
jmp 0x1400b9bca
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jbe 0x1400b9cb7
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x110]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x110]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x58]
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x25]
mov byte [rsp + 0x26], al
movzx edx, byte [rsp + 0x26]
mov rcx, qword [rsp + 0x78]
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 + 0x48], eax
mov dword [rsp + 0x44], 0xffffffff
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x4c], eax
jne 0x1400b9c88
mov dword [rsp + 0x38], 1
jmp 0x1400b9c90
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x27], al
movzx eax, byte [rsp + 0x27]
movzx eax, al
test eax, eax
je 0x1400b9cb2
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x1400b9cb7
jmp 0x1400b9bbd
cmp dword [rsp + 0x20], 0
jne 0x1400b9d53
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x110]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov r8, qword [rsp + 0x120]
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x90]
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 + 0x98], rax
mov rax, qword [rsp + 0x120]
cmp qword [rsp + 0x98], rax
je 0x1400b9d53
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x1400b9e67
jmp 0x1400b9d62
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jbe 0x1400b9e67
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x110]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x110]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x58]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x29], al
movzx edx, byte [rsp + 0x29]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sputc_char____ptr64]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x54], 0xffffffff
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x5c], eax
jne 0x1400b9e38
mov dword [rsp + 0x3c], 1
jmp 0x1400b9e40
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x2a], al
movzx eax, byte [rsp + 0x2a]
movzx eax, al
test eax, eax
je 0x1400b9e62
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x1400b9e67
jmp 0x1400b9d55
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x110]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc0], rax
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.MSVCP140.dll_public:_long_long___int64____cdecl_std::ios_base::width_long_long___int64_____ptr64]
nop
jmp 0x1400b9e9f
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x110]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd0], rax
xor r8d, r8d
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0xe0]
call fcn.1400b3660
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1400bb630
add rsp, 0x108
ret