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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1d0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14021f740]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rbx, rcx
xor r12d, r12d
mov edi, r12d
mov dword [rsp + 0x48], r12d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov r13d, r12d
lea r15, [0x1401845c0]
lea r14, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
movss xmm6, dword [0x140184db8]
mov eax, dword [rbx + 0x38]
lea esi, [rax + r13*4]
cmp byte [rbx + 0xe8], 0
je 0x1401148a1
mov r14, qword [rbx + 0xd0]
cmp esi, dword [r14 + 0x10]
jb 0x140114886
lea eax, [rsi + 4]
cmp eax, dword [r14 + 0x14]
jbe 0x140114890
mov edx, esi
mov rcx, r14
call fcn.140121da0
sub esi, dword [r14 + 0x10]
mov rdx, qword [r14 + 8]
lea r14, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
jmp 0x1401148ae
sub esi, dword [rbx + 0x90]
mov rdx, qword [rbx + 0x88]
mov r8d, esi
lea eax, [rsi + 3]
movzx esi, byte [rax + rdx]
lea eax, [r8 + 2]
movzx eax, byte [rax + rdx]
shl esi, 8
or esi, eax
lea eax, [r8 + 1]
movzx eax, byte [rax + rdx]
shl esi, 8
or esi, eax
movzx eax, byte [r8 + rdx]
shl esi, 8
or esi, eax
lea edx, [rsi + 0x800]
mov ecx, dword [rbx + 0x3c]
cmp edx, ecx
jae 0x140114bca
mov r8d, dword [rbx + 0x38]
add r8d, ecx
lea r9, [rsp + 0x40]
mov rcx, qword [rbx + 0xd0]
call fcn.14011e910
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], esi
mov rdx, qword [rsp + 0x60]
cmp rdx, qword [rsp + 0x68]
je 0x140114929
mov rax, qword [rsp + 0x50]
mov qword [rdx], rax
add qword [rsp + 0x60], 8
jmp 0x140114938
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.140006b30
mov qword [rbp - 0x70], r15
lea rax, [0x1401845c8]
mov qword [rbp - 0x60], rax
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or edi, 2
mov dword [rsp + 0x48], edi
xor r8d, r8d
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], r14
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x58], rax
mov qword [rbp + 0x10], r12
mov dword [rbp + 0x18], r12d
lea rdx, [0x140182c08]
lea rcx, [rbp - 0x60]
call fcn.14001a5f0
mov edx, r13d
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
mov ecx, 0xc0
call fcn.14016cc68
mov r15, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140114b06
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r12
mov qword [rbp + 0xa8], 0xf
mov byte [rbp + 0x90], 0
or edi, 8
mov dword [rsp + 0x48], edi
movups xmmword [rsp + 0x78], xmm0
mov ecx, dword [rbp + 0x18]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140114a5c
lea rcx, [rbp - 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x140114a59
lea rcx, [rbp - 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbase_void_const___ptr64]
mov r14, rax
lea rcx, [rbp - 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov rsi, rax
cmp rax, qword [rbp + 0x10]
cmovb rsi, qword [rbp + 0x10]
sub rsi, r14
lea rcx, [rbp - 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
jmp 0x140114a98
mov ecx, dword [rbp + 0x18]
test cl, 4
jne 0x140114a8f
lea rcx, [rbp - 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
test rax, rax
je 0x140114a8f
lea rcx, [rbp - 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
mov r14, rax
lea rcx, [rbp - 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::egptr_void_const___ptr64]
mov rsi, rax
sub rsi, r14
jmp 0x140114a98
mov rsi, qword [rbp - 0x80]
mov r14, qword [rsp + 0x78]
test r14, r14
je 0x140114aaf
mov r8, rsi
mov rdx, r14
lea rcx, [rbp + 0x90]
call fcn.140016820
and edi, 0xfffffff7
or edi, 4
or edi, 1
mov dword [rsp + 0x48], edi
movzx ecx, r13b
mov eax, dword [rbx + 0x38]
lea r8d, [rax + rcx*4]
movss dword [rsp + 0x38], xmm6
lea rax, [rbp + 0x90]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r12d
mov r9d, 0x404
mov rdx, rbx
mov rcx, r15
call fcn.14001ab50
lea rax, vtable.TamSoftPS1Instr.0
mov qword [r15], rax
lea r14, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
jmp 0x140114b09
mov r15, r12
test dil, 1
je 0x140114b53
and edi, 0xfffffffe
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x140114b53
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140114b4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140114c99
call fcn.14016cca4
lea rcx, [rbx + 0xf0]
mov qword [rsp + 0x48], r15
mov rdx, qword [rbx + 0xf8]
cmp rdx, qword [rbx + 0x100]
je 0x140114b7c
mov qword [rdx], r15
add qword [rbx + 0xf8], 8
jmp 0x140114b87
lea r8, [rsp + 0x48]
call fcn.140006b30
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], r14
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x58]
call fcn.14001ad40
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea r15, [0x1401845c0]
inc r13d
cmp r13d, 0x100
jb 0x140114860
mov rax, qword [rbx + 0xf8]
sub rax, qword [rbx + 0xf0]
cmp rax, 8
jb 0x140114c59
mov ecx, 0x130
call fcn.14016cc68
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140114c39
mov ecx, dword [rbx + 0x3c]
sub ecx, 0x800
mov r9d, dword [rbx + 0x38]
add r9d, 0x800
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], ecx
mov r8, rbx
lea rdx, [0x14021e468]
mov rcx, rax
call fcn.14011cc20
mov r12, rax
mov rcx, r12
call fcn.140017740
test al, al
jne 0x140114ca0
test r12, r12
je 0x140114c59
mov rax, qword [r12]
mov edx, 1
mov rcx, r12
call qword [rax + 0x50]
xor bl, bl
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140114ca9
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x140114ca4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140114ca4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov bl, 1
jmp 0x140114c5b
call fcn.14016cca4
movzx eax, bl
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14016cd40
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret