Function at 0x140044bd0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x500]
sub rsp, 0x600
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1401b4808]
xor rax, rsp
mov qword [rbp + 0x4f0], rax
xor r14d, r14d
mov dword [rsp + 0x40], r14d
mov ecx, dword [0x1401c2798]
mov rax, qword gs:[0x58]
mov edx, 0x10
mov rsi, qword [rax + rcx*8]
add rsi, rdx
mov rcx, rsi
call fcn.14011fda0
cmp rax, 0xffffffffffffffff
je 0x140044f78
xor ecx, ecx
call fcn.140100cc4
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x80]
call fcn.140100bdc
lea rdx, str._04d__02d__02d__02d:_02d:_02d
test rax, rax
je 0x140044ca3
mov r9d, dword [rax + 0x10]
inc r9d
mov r8d, dword [rax + 0x14]
add r8d, 0x76c
mov ecx, dword [rax]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rax + 4]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rax + 8]
mov dword [rsp + 0x28], ecx
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x20], eax
lea rcx, [rbp + 0x90]
call fcn.140044a60
jmp 0x140044cc9
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea rcx, [rbp + 0x90]
call fcn.140044a60
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x70]
call fcn.1400f2f50
lea rax, [0x14016de58]
mov qword [rbp - 0x70], rax
lea rax, [0x14016e3d8]
mov qword [rbp - 0x60], rax
lea rax, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x28], rax
mov dword [rsp + 0x40], 1
xor r8d, r8d
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x70]
call fcn.14001fae0
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x70], rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x74], edx
lea rax, [rbp - 0x58]
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x58]
call fcn.14001fd40
nop
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], r14
mov dword [rbp + 0x18], r14d
mov rcx, rsi
call fcn.14011fda0
test rax, rax
jne 0x140044e2d
mov rbx, r14
mov r8, rbx
mov rdx, qword [str.MW_DEBUG_LOG__04d.txt]
lea rcx, [rbp + 0xb0]
call fcn.140044ac0
inc rbx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileA]
mov rdx, rax
mov rcx, rsi
call fcn.140098090
mov rcx, rsi
cmp rbx, 0x64
je 0x140044e1f
call fcn.14011fda0
test rax, rax
je 0x140044d74
mov rcx, rsi
call fcn.14011fda0
cmp rax, 0xffffffffffffffff
je 0x140044d74
lea rdx, [0x14013baf0]
lea rcx, [rbp - 0x60]
call fcn.14000f0f0
mov rcx, rax
lea rdx, [rbp + 0x90]
call fcn.14000f0f0
mov rcx, rax
mov dl, 9
call fcn.140044710
mov rcx, rax
lea rdx, str._Log_start__r_n
call fcn.14000f0f0
jmp 0x140044e2d
or rdx, 0xffffffffffffffff
call fcn.140098090
jmp 0x140044f59
lea rbx, [rbp + 0x538]
call fcn.14000a520
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
mov r9, qword [rbp + 0x530]
mov r8d, 0x400
lea rdx, [rbp + 0xf0]
mov rcx, qword [rax]
call fcn.1400fee70
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x60]
call fcn.14000f0f0
mov rcx, rax
mov dl, 9
call fcn.140044710
mov rcx, rax
lea rdx, [rbp + 0xf0]
call fcn.14000f0f0
mov rcx, rax
lea rdx, [0x14013baf0]
call fcn.14000f0f0
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x70]
call fcn.14001e7d0
nop
mov rbx, qword [rsp + 0x68]
lea rdi, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rdi, qword [rsp + 0x58]
mov rcx, rsi
call fcn.14011fda0
mov rcx, rax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x78]
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
test eax, eax
jne 0x140044eee
or rdx, 0xffffffffffffffff
mov rcx, rsi
call fcn.140098090
nop
mov rax, qword [rsp + 0x70]
cmp rax, 0x10
jb 0x140044f46
inc rax
mov rcx, qword [rsp + 0x58]
cmp rax, 0x1000
jb 0x140044f41
test cl, 0x1f
je 0x140044f14
call fcn.1400fb250
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140044f23
call fcn.1400fb250
int3
sub rcx, rax
cmp rcx, 8
jae 0x140044f32
call fcn.1400fb250
int3
cmp rcx, 0x27
jbe 0x140044f3e
call fcn.1400fb250
int3
mov rcx, rax
call fcn.1400d179c
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
lea rcx, [rbp + 0x28]
call fcn.14001e800
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x28], rax
lea rcx, [rbp + 0x28]
call fcn.1400b5f74
nop
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.1400d1740
add rsp, 0x600
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret