Function at 0x140011a50
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001f3e0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x4e8
lea rbp, [rsp + 0x40]
mov rdi, rsp
mov ecx, 0x13a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x508]
mov qword [rbp + 0x448], 0xfffffffffffffffe
mov rax, qword [0x140037010]
xor rax, rbp
mov qword [rbp + 0x490], rax
mov dword [rbp + 0x424], 0
call fcn.1400113ed
mov dword [rbp + 0x264], eax
lea rdx, [rbp + 0x4c8]
lea rcx, [rbp + 0x264]
call fcn.140011ab9
movzx eax, al
test eax, eax
je 0x14001f46f
lea rcx, [rbp + 0x4c8]
call fcn.1400118c0
jmp 0x14001f913
mov rcx, qword [rbp + 0x4c0]
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 0x14001f4e3
mov rcx, qword [rbp + 0x4c0]
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 [rbp + 0x458], rax
mov rcx, qword [rbp + 0x4c0]
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 [rbp + 0x458]
cmp rcx, rax
jae 0x14001f4e3
lea rcx, [rbp + 0x4c8]
call fcn.140011889
mov byte [rbp + 0x454], al
mov rcx, qword [rbp + 0x4c0]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
movzx ecx, byte [rbp + 0x454]
mov byte [rax], cl
mov eax, dword [rbp + 0x4c8]
jmp 0x14001f913
mov rax, qword [rbp + 0x4c0]
cmp qword [rax + 0x80], 0
jne 0x14001f4fe
call fcn.1400113ed
jmp 0x14001f913
mov rcx, qword [rbp + 0x4c0]
call fcn.140011866
mov rax, qword [rbp + 0x4c0]
cmp qword [rax + 0x68], 0
jne 0x14001f56a
lea rcx, [rbp + 0x4c8]
call fcn.140011889
mov rcx, qword [rbp + 0x4c0]
mov rdx, qword [rcx + 0x80]
movzx ecx, al
call fcn.1400118b1
movzx eax, al
test eax, eax
je 0x14001f54f
mov eax, dword [rbp + 0x4c8]
mov dword [rbp + 0x454], eax
jmp 0x14001f55a
call fcn.1400113ed
mov dword [rbp + 0x454], eax
mov eax, dword [rbp + 0x454]
jmp 0x14001f913
mov dword [rbp + 4], 8
lea rcx, [rbp + 0x4c8]
call fcn.140011889
mov byte [rbp + 0x24], al
xor r8d, r8d
mov edx, 8
lea rcx, [rbp + 0x88]
call fcn.1400119b0
nop
lea rdx, [rbp + 0x2a8]
lea rcx, [rbp + 0x88]
call fcn.140011a96
mov qword [rbp + 0x458], rax
mov rax, qword [rbp + 0x458]
mov qword [rbp + 0x460], rax
mov rcx, qword [rbp + 0x460]
call fcn.1400110d7
mov qword [rbp + 0x468], rax
lea rcx, [rbp + 0x88]
call fcn.140011979
mov rcx, qword [rbp + 0x468]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x470], rax
lea rdx, [rbp + 0x2d8]
lea rcx, [rbp + 0x88]
call fcn.140011a96
mov qword [rbp + 0x478], rax
mov rax, qword [rbp + 0x478]
mov qword [rbp + 0x480], rax
mov rcx, qword [rbp + 0x480]
call fcn.1400110d7
lea rcx, [rbp + 0x25]
mov rdx, qword [rbp + 0x4c0]
add rdx, 0x74
lea r8, [rbp + 0x68]
mov qword [rsp + 0x38], r8
mov r8, qword [rbp + 0x470]
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, rcx
lea r8, [rbp + 0x24]
mov rax, qword [rbp + 0x4c0]
mov rcx, qword [rax + 0x68]
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 [rbp + 0x284], eax
lea rcx, [rbp + 0x2d8]
call fcn.140011465
nop
lea rcx, [rbp + 0x2a8]
call fcn.140011465
mov eax, dword [rbp + 0x284]
mov dword [rbp + 0x488], eax
cmp dword [rbp + 0x488], 0
jl 0x14001f8e2
cmp dword [rbp + 0x488], 1
jle 0x14001f6c1
cmp dword [rbp + 0x488], 3
je 0x14001f88b
jmp 0x14001f8e2
lea rdx, [rbp + 0x308]
lea rcx, [rbp + 0x88]
call fcn.140011a96
mov qword [rbp + 0x458], rax
mov rax, qword [rbp + 0x458]
mov qword [rbp + 0x460], rax
mov rcx, qword [rbp + 0x460]
call fcn.1400110d7
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0xc8], rax
lea rcx, [rbp + 0x308]
call fcn.140011465
cmp qword [rbp + 0xc8], 0
jbe 0x14001f797
lea rdx, [rbp + 0x358]
lea rcx, [rbp + 0x88]
call fcn.140011a96
mov qword [rbp + 0x458], rax
mov rax, qword [rbp + 0x458]
mov qword [rbp + 0x460], rax
mov eax, dword [rbp + 0x424]
or eax, 1
mov dword [rbp + 0x424], eax
mov rcx, qword [rbp + 0x460]
call fcn.1400110d7
mov rcx, qword [rbp + 0x4c0]
mov r9, qword [rcx + 0x80]
mov r8, qword [rbp + 0xc8]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0xc8], rax
je 0x14001f797
mov dword [rbp + 0x468], 1
jmp 0x14001f7a1
mov dword [rbp + 0x468], 0
movzx eax, byte [rbp + 0x468]
mov byte [rbp + 0x334], al
mov eax, dword [rbp + 0x424]
and eax, 1
test eax, eax
je 0x14001f7ce
and dword [rbp + 0x424], 0xfffffffe
lea rcx, [rbp + 0x358]
call fcn.140011465
movzx eax, byte [rbp + 0x334]
test eax, eax
je 0x14001f7fb
call fcn.1400113ed
mov dword [rbp + 0x384], eax
lea rcx, [rbp + 0x88]
call fcn.1400111f4
mov eax, dword [rbp + 0x384]
jmp 0x14001f913
mov rax, qword [rbp + 0x4c0]
mov byte [rax + 0x71], 1
lea rax, [rbp + 0x24]
cmp qword [rbp + 0x48], rax
je 0x14001f833
mov eax, dword [rbp + 0x4c8]
mov dword [rbp + 0x3a4], eax
lea rcx, [rbp + 0x88]
call fcn.1400111f4
mov eax, dword [rbp + 0x3a4]
jmp 0x14001f913
cmp qword [rbp + 0xc8], 0
jbe 0x14001f83f
jmp 0x14001f889
lea rcx, [rbp + 0x88]
call fcn.140011979
cmp rax, 0x20
jae 0x14001f867
xor r8d, r8d
mov edx, 8
lea rcx, [rbp + 0x88]
call fcn.1400111a9
jmp 0x14001f889
call fcn.1400113ed
mov dword [rbp + 0x3c4], eax
lea rcx, [rbp + 0x88]
call fcn.1400111f4
mov eax, dword [rbp + 0x3c4]
jmp 0x14001f913
jmp 0x14001f901
mov rax, qword [rbp + 0x4c0]
mov rdx, qword [rax + 0x80]
movzx ecx, byte [rbp + 0x24]
call fcn.1400118b1
movzx eax, al
test eax, eax
je 0x14001f8b7
mov eax, dword [rbp + 0x4c8]
mov dword [rbp + 0x454], eax
jmp 0x14001f8c2
call fcn.1400113ed
mov dword [rbp + 0x454], eax
mov eax, dword [rbp + 0x454]
mov dword [rbp + 0x3e4], eax
lea rcx, [rbp + 0x88]
call fcn.1400111f4
mov eax, dword [rbp + 0x3e4]
jmp 0x14001f913
call fcn.1400113ed
mov dword [rbp + 0x404], eax
lea rcx, [rbp + 0x88]
call fcn.1400111f4
mov eax, dword [rbp + 0x404]
jmp 0x14001f913
jmp 0x14001f595
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14002f610]
call fcn.14001141f
mov rax, rdi
mov rcx, qword [rbp + 0x490]
xor rcx, rbp
call fcn.140011a37
lea rsp, [rbp + 0x4a8]
pop rdi
pop rbp
ret