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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x178
mov rax, qword [0x140236f40]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x48]
cmp byte [rax + rcx], 0
jne 0x14006eb04
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x180]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
jle 0x14006ec1c
mov rax, qword [rsp + 0x180]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0xc8], rax
jle 0x14006ec1c
mov rax, qword [rsp + 0x180]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xd8]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
jmp 0x14006ec28
mov qword [rsp + 0x80], 0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x150]
call fcn.14006c990
nop
movzx eax, byte [rsp + 0x158]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
test eax, eax
jne 0x14006ec70
mov eax, dword [rsp + 0x24]
or eax, 4
mov dword [rsp + 0x24], eax
jmp 0x14006efb3
mov rax, qword [rsp + 0x180]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
and eax, 0x1c0
cmp eax, 0x40
je 0x14006edca
jmp 0x14006ecc5
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jle 0x14006edca
mov rax, qword [rsp + 0x180]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x180]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xf0], rax
movzx eax, byte [rsp + 0x2b]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0xf0]
movzx eax, byte [rax + 0x58]
mov byte [rsp + 0x20], al
movzx edx, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sputc_char____ptr64]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x38], 0xffffffff
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x38], eax
jne 0x14006ed9e
mov dword [rsp + 0x3c], 1
jmp 0x14006eda6
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x29], al
movzx eax, byte [rsp + 0x29]
test eax, eax
je 0x14006edc5
mov eax, dword [rsp + 0x24]
or eax, 4
mov dword [rsp + 0x24], eax
jmp 0x14006edca
jmp 0x14006ecb8
cmp dword [rsp + 0x24], 0
jne 0x14006ee5b
mov rax, qword [rsp + 0x180]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x90], rax
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x188]
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 + 0x100], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x100], rax
je 0x14006ee5b
mov eax, dword [rsp + 0x24]
or eax, 4
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x14006ef71
jmp 0x14006ee75
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jle 0x14006ef71
mov rax, qword [rsp + 0x180]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x108]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x180]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x110], rax
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x21], al
mov rax, qword [rsp + 0x110]
movzx eax, byte [rax + 0x58]
mov byte [rsp + 0x21], al
movzx edx, byte [rsp + 0x21]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sputc_char____ptr64]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x40], 0xffffffff
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x40], eax
jne 0x14006ef45
mov dword [rsp + 0x44], 1
jmp 0x14006ef4d
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x2a], al
movzx eax, byte [rsp + 0x2a]
test eax, eax
je 0x14006ef6c
mov eax, dword [rsp + 0x24]
or eax, 4
mov dword [rsp + 0x24], eax
jmp 0x14006ef71
jmp 0x14006ee68
mov rax, qword [rsp + 0x180]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x78]
mov qword [rax + 0x28], 0
jmp 0x14006efb3
mov rax, qword [rsp + 0x180]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x120], rax
xor r8d, r8d
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x120]
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 + 0x180]
mov qword [rsp + 0x128], rax
lea rcx, [rsp + 0x150]
call fcn.14006c930
mov rax, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14010ce80
add rsp, 0x178
ret