Function at 0x1400dcb60
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x268
mov rax, qword [0x140237f40]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rax, qword [0x140239e70]
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x40], 0x41b58ab3
lea rax, str.4_32_1_3__Ch_48_8_5__Dest_64_32_4__Str_80_8_4__Src
mov qword [rsp + 0x48], rax
lea rax, [method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_24]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
shr rax, 3
add rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov dword [rax], 0xf1f1f1f1
add qword [rsp + 0x130], 4
mov rax, qword [rsp + 0x130]
mov dword [rax], 0xf200f201
add qword [rsp + 0x130], 4
mov rax, qword [rsp + 0x130]
mov dword [rax], 0
add qword [rsp + 0x130], 4
mov rax, qword [rsp + 0x130]
mov dword [rax], 0xf2f2f2f2
add qword [rsp + 0x130], 4
mov rax, qword [rsp + 0x130]
mov dword [rax], 0xf3f3f300
add qword [rsp + 0x130], 4
mov rax, qword [rsp + 0x130]
mov byte [rax], 0xf3
call fcn.140004c50
mov edx, dword [rsp + 0x278]
mov ecx, eax
call fcn.140004c60
movzx eax, al
test eax, eax
je 0x1400dccc8
mov ecx, dword [rsp + 0x278]
call fcn.1400dc830
mov dword [rsp + 0x104], eax
mov qword [rsp + 0x40], 0x45e0360e
lea rax, [rsp + 0x40]
shr rax, 3
add rax, qword [rsp + 0x128]
mov qword [rsp + 0x1e8], rax
mov eax, 0x15
mov edx, eax
mov rcx, qword [rsp + 0x1e8]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
mov eax, dword [rsp + 0x104]
jmp 0x1400dd695
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x1400dcdf9
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov qword [rsp + 0x1f0], rax
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
mov rcx, qword [rsp + 0x1f0]
cmp rcx, rax
jae 0x1400dcdf9
mov ecx, dword [rsp + 0x278]
call fcn.1400c7ea0
mov byte [rsp + 0xf4], al
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
shr rax, 3
mov rcx, qword [rsp + 0x128]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0xe8], al
cmp byte [rsp + 0xe8], 0
je 0x1400dcd97
movzx eax, byte [rsp + 0x138]
and al, 7
cmp al, byte [rsp + 0xe8]
jl 0x1400dcd97
mov rcx, qword [rsp + 0x138]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_store1
nop
mov rax, qword [rsp + 0x1a0]
movzx ecx, byte [rsp + 0xf4]
mov byte [rax], cl
mov eax, dword [rsp + 0x278]
mov dword [rsp + 0x108], eax
mov qword [rsp + 0x40], 0x45e0360e
lea rax, [rsp + 0x40]
shr rax, 3
add rax, qword [rsp + 0x128]
mov qword [rsp + 0x1f8], rax
mov eax, 0x15
mov edx, eax
mov rcx, qword [rsp + 0x1f8]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
mov eax, dword [rsp + 0x108]
jmp 0x1400dd695
mov rax, qword [rsp + 0x270]
add rax, 0x80
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
shr rax, 3
mov rcx, qword [rsp + 0x128]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0xe9], al
cmp byte [rsp + 0xe9], 0
je 0x1400dce6b
movzx eax, byte [rsp + 0x140]
and al, 7
add al, 7
cmp al, byte [rsp + 0xe9]
jl 0x1400dce6b
mov rcx, qword [rsp + 0x140]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
nop
mov rax, qword [rsp + 0x1a8]
cmp qword [rax], 0
jne 0x1400dcec7
call fcn.140004c50
mov dword [rsp + 0x10c], eax
mov qword [rsp + 0x40], 0x45e0360e
lea rax, [rsp + 0x40]
shr rax, 3
add rax, qword [rsp + 0x128]
mov qword [rsp + 0x200], rax
mov eax, 0x15
mov edx, eax
mov rcx, qword [rsp + 0x200]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
mov eax, dword [rsp + 0x10c]
jmp 0x1400dd695
mov rcx, qword [rsp + 0x270]
call fcn.1400d9290
nop
mov rax, qword [rsp + 0x270]
add rax, 0x68
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
shr rax, 3
mov rcx, qword [rsp + 0x128]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0xea], al
cmp byte [rsp + 0xea], 0
je 0x1400dcf45
movzx eax, byte [rsp + 0x148]
and al, 7
add al, 7
cmp al, byte [rsp + 0xea]
jl 0x1400dcf45
mov rcx, qword [rsp + 0x148]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
nop
mov rax, qword [rsp + 0x1b0]
cmp qword [rax], 0
jne 0x1400dd077
mov rax, qword [rsp + 0x270]
add rax, 0x80
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
shr rax, 3
mov rcx, qword [rsp + 0x128]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0xeb], al
cmp byte [rsp + 0xeb], 0
je 0x1400dcfc9
movzx eax, byte [rsp + 0x150]
and al, 7
add al, 7
cmp al, byte [rsp + 0xeb]
jl 0x1400dcfc9
mov rcx, qword [rsp + 0x150]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
nop
mov rax, qword [rsp + 0x1b8]
mov rax, qword [rax]
mov qword [rsp + 0x208], rax
mov ecx, dword [rsp + 0x278]
call fcn.1400c7ea0
mov byte [rsp + 0xf5], al
mov rdx, qword [rsp + 0x208]
movzx ecx, byte [rsp + 0xf5]
call fcn.1400cba20
movzx eax, al
test eax, eax
je 0x1400dd01b
mov eax, dword [rsp + 0x278]
mov dword [rsp + 0xfc], eax
jmp 0x1400dd027
call fcn.140004c50
mov dword [rsp + 0xfc], eax
mov eax, dword [rsp + 0xfc]
mov dword [rsp + 0x110], eax
mov qword [rsp + 0x40], 0x45e0360e
lea rax, [rsp + 0x40]
shr rax, 3
add rax, qword [rsp + 0x128]
mov qword [rsp + 0x210], rax
mov eax, 0x15
mov edx, eax
mov rcx, qword [rsp + 0x210]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
mov eax, dword [rsp + 0x110]
jmp 0x1400dd695
mov qword [rsp + 0x248], 0x20
mov ecx, dword [rsp + 0x278]
call fcn.1400c7ea0
mov byte [rsp + 0xf6], al
lea rax, [rsp + 0x60]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
shr rax, 3
mov rcx, qword [rsp + 0x128]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0xec], al
cmp byte [rsp + 0xec], 0
je 0x1400dd0ed
movzx eax, byte [rsp + 0x158]
and al, 7
cmp al, byte [rsp + 0xec]
jl 0x1400dd0ed
mov rcx, qword [rsp + 0x158]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_store1
nop
movzx eax, byte [rsp + 0xf6]
mov byte [rsp + 0x60], al
mov rax, qword [rsp + 0x270]
add rax, 0x68
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
shr rax, 3
mov rcx, qword [rsp + 0x128]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0xed], al
cmp byte [rsp + 0xed], 0
je 0x1400dd169
movzx eax, byte [rsp + 0x160]
and al, 7
add al, 7
cmp al, byte [rsp + 0xed]
jl 0x1400dd169
mov rcx, qword [rsp + 0x160]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
nop
mov rax, qword [rsp + 0x1c0]
mov rax, qword [rax]
mov qword [rsp + 0x218], rax
lea rax, [rsp + 0x80]
add rax, 0x20
lea rcx, [rsp + 0x60]
inc rcx
mov rdx, qword [rsp + 0x270]
add rdx, 0x74
lea r8, [rsp + 0x70]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9, rcx
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x218]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rsp + 0xf8], eax
cmp dword [rsp + 0xf8], 0
je 0x1400dd209
cmp dword [rsp + 0xf8], 1
je 0x1400dd209
cmp dword [rsp + 0xf8], 3
je 0x1400dd4fe
jmp 0x1400dd64c
lea rax, [rsp + 0x70]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
shr rax, 3
mov rcx, qword [rsp + 0x128]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0xee], al
cmp byte [rsp + 0xee], 0
je 0x1400dd262
movzx eax, byte [rsp + 0x168]
and al, 7
add al, 7
cmp al, byte [rsp + 0xee]
jl 0x1400dd262
mov rcx, qword [rsp + 0x168]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
nop
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x178], rax
cmp qword [rsp + 0x178], 0
jbe 0x1400dd37c
mov rax, qword [rsp + 0x270]
add rax, 0x80
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
shr rax, 3
mov rcx, qword [rsp + 0x128]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0xef], al
cmp byte [rsp + 0xef], 0
je 0x1400dd2fe
movzx eax, byte [rsp + 0x170]
and al, 7
add al, 7
cmp al, byte [rsp + 0xef]
jl 0x1400dd2fe
mov rcx, qword [rsp + 0x170]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
nop
mov rax, qword [rsp + 0x1c8]
mov r9, qword [rax]
mov r8, qword [rsp + 0x178]
mov edx, 1
lea rcx, [rsp + 0x80]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rsp + 0x178], rax
je 0x1400dd37c
call fcn.140004c50
mov dword [rsp + 0x114], eax
mov qword [rsp + 0x40], 0x45e0360e
lea rax, [rsp + 0x40]
shr rax, 3
add rax, qword [rsp + 0x128]
mov qword [rsp + 0x220], rax
mov eax, 0x15
mov edx, eax
mov rcx, qword [rsp + 0x220]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
mov eax, dword [rsp + 0x114]
jmp 0x1400dd695
mov rax, qword [rsp + 0x270]
add rax, 0x71
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
shr rax, 3
mov rcx, qword [rsp + 0x128]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0xf0], al
cmp byte [rsp + 0xf0], 0
je 0x1400dd3ea
movzx eax, byte [rsp + 0x180]
and al, 7
cmp al, byte [rsp + 0xf0]
jl 0x1400dd3ea
mov rcx, qword [rsp + 0x180]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_store1
nop
mov rax, qword [rsp + 0x1d0]
mov byte [rax], 1
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
shr rax, 3
mov rcx, qword [rsp + 0x128]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0xf1], al
cmp byte [rsp + 0xf1], 0
je 0x1400dd451
movzx eax, byte [rsp + 0x188]
and al, 7
add al, 7
cmp al, byte [rsp + 0xf1]
jl 0x1400dd451
mov rcx, qword [rsp + 0x188]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0xc0], rax
je 0x1400dd4b0
mov eax, dword [rsp + 0x278]
mov dword [rsp + 0x118], eax
mov qword [rsp + 0x40], 0x45e0360e
lea rax, [rsp + 0x40]
shr rax, 3
add rax, qword [rsp + 0x128]
mov qword [rsp + 0x228], rax
mov eax, 0x15
mov edx, eax
mov rcx, qword [rsp + 0x228]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
mov eax, dword [rsp + 0x118]
jmp 0x1400dd695
call fcn.140004c50
mov dword [rsp + 0x11c], eax
mov qword [rsp + 0x40], 0x45e0360e
lea rax, [rsp + 0x40]
shr rax, 3
add rax, qword [rsp + 0x128]
mov qword [rsp + 0x230], rax
mov eax, 0x15
mov edx, eax
mov rcx, qword [rsp + 0x230]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
mov eax, dword [rsp + 0x11c]
jmp 0x1400dd695
mov rax, qword [rsp + 0x270]
add rax, 0x80
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
shr rax, 3
mov rcx, qword [rsp + 0x128]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0xf2], al
cmp byte [rsp + 0xf2], 0
je 0x1400dd570
movzx eax, byte [rsp + 0x190]
and al, 7
add al, 7
cmp al, byte [rsp + 0xf2]
jl 0x1400dd570
mov rcx, qword [rsp + 0x190]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load8
nop
lea rax, [rsp + 0x60]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
shr rax, 3
mov rcx, qword [rsp + 0x128]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0xf3], al
cmp byte [rsp + 0xf3], 0
je 0x1400dd5c7
movzx eax, byte [rsp + 0x198]
and al, 7
cmp al, byte [rsp + 0xf3]
jl 0x1400dd5c7
mov rcx, qword [rsp + 0x198]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_report_load1
nop
mov rax, qword [rsp + 0x1d8]
mov rdx, qword [rax]
movzx ecx, byte [rsp + 0x60]
call fcn.1400cba20
movzx eax, al
test eax, eax
je 0x1400dd5f3
mov eax, dword [rsp + 0x278]
mov dword [rsp + 0x100], eax
jmp 0x1400dd5ff
call fcn.140004c50
mov dword [rsp + 0x100], eax
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x120], eax
mov qword [rsp + 0x40], 0x45e0360e
lea rax, [rsp + 0x40]
shr rax, 3
add rax, qword [rsp + 0x128]
mov qword [rsp + 0x238], rax
mov eax, 0x15
mov edx, eax
mov rcx, qword [rsp + 0x238]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
mov eax, dword [rsp + 0x120]
jmp 0x1400dd695
call fcn.140004c50
mov dword [rsp + 0x124], eax
mov qword [rsp + 0x40], 0x45e0360e
lea rax, [rsp + 0x40]
shr rax, 3
add rax, qword [rsp + 0x128]
mov qword [rsp + 0x240], rax
mov eax, 0x15
mov edx, eax
mov rcx, qword [rsp + 0x240]
call sub.clang_rt.asan_dynamic_x86_64.dll___asan_set_shadow_00
mov eax, dword [rsp + 0x124]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14019ad60
add rsp, 0x268
ret