Function at 0x14004d4a0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x58
mov dword [rsp + 0x80], 0
mov edx, 9
lea rcx, [rsp + 0x30]
call fcn.140075170
nop
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x30]
call fcn.1400752d0
mov rbx, rax
mov rcx, rax
call qword [sym.imp.mfc140.dll_Ordinal_5691]
mov rdx, rax
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc140.dll_Ordinal_305]
mov dword [rsp + 0x80], 1
lea r9, str.view.tmp
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [r9 + rax], 0
jne 0x14004d510
mov rdx, qword [rbx]
mov dword [rsp + 0x20], eax
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc140.dll_Ordinal_2917]
lea rdx, [rsp + 0x90]
lea rcx, [0x1400e1008]
call qword [sym.imp.mfc140.dll_Ordinal_1504]
nop
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
nop
lea rcx, [rsp + 0x98]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
lea rdx, [0x1400a55fc]
mov rcx, qword [0x1400e1008]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [0x1400e0f70], rax
test rax, rax
jne 0x14004d590
call fcn.14002a5f0
jmp 0x14004d710
xor ebp, ebp
cmp dword [0x1400e0d34], ebp
jle 0x14004d6f2
nop
call fcn.140029de0
mov ecx, ebp
call fcn.140020a40
mov rax, qword [0x1400e14c0]
cmp dword [rax], 6
je 0x14004d6dd
mov rbx, qword [0x1400e14b8]
mov esi, dword [0x1400e14b0]
lea eax, [rsi - 1]
imul eax, esi
cdq
sub eax, edx
sar eax, 1
mov edi, eax
je 0x14004d608
nop dword [rax + rax]
mov r9, qword [0x1400e0f70]
mov edx, 8
lea r8d, [rdx - 7]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add rbx, 8
sub edi, 1
jne 0x14004d5e0
mov esi, dword [0x1400e14b0]
mov rdi, qword [0x1400e14c8]
test esi, esi
je 0x14004d6bc
add rdi, 0x28
nop dword [rax + rax]
xor ebx, ebx
mov ecx, ebx
test ebx, ebx
je 0x14004d694
sub ecx, 1
je 0x14004d664
sub ecx, 1
je 0x14004d65e
mov r9, qword [0x1400e0f70]
mov edx, 8
lea r8d, [rdx - 7]
cmp ecx, r8d
lea rcx, [rsp + 0x88]
je 0x14004d69b
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
inc ebx
cmp ebx, 4
jge 0x14004d6af
jmp 0x14004d622
movsd xmm0, qword [rdi]
jmp 0x14004d669
movsd xmm0, qword [rdi - 8]
movsd qword [rsp + 0x88], xmm0
mov r9, qword [0x1400e0f70]
mov edx, 8
lea r8d, [rdx - 7]
lea rcx, [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
inc ebx
jmp 0x14004d622
movsd xmm0, qword [rdi - 0x10]
jmp 0x14004d669
movsd xmm0, qword [rdi + 0x10]
movsd qword [rsp + 0x88], xmm0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add rdi, 0x48
sub esi, 1
jne 0x14004d620
mov rcx, qword [0x1400e14c0]
add rcx, 0x18
mov r9, qword [0x1400e0f70]
mov edx, 8
lea r8d, [rdx - 7]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
inc ebp
cmp ebp, dword [0x1400e0d34]
jl 0x14004d5a0
mov rax, qword [0x1400e0f70]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov qword [0x1400e0f70], 0
mov dword [0x1400e14d4], 0
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret