Function at 0x140070510
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
cmp byte [rcx + 0x48], 0
mov rsi, rdx
mov rbx, rcx
je 0x1400707fe
cmp qword [rcx + 0x18], 0xf
jbe 0x140070534
mov rcx, qword [rcx]
mov rdx, qword [rbx + 0x20]
lea r8, [0x1413a1d90]
mov r9b, 1
call fcn.14005ee90
test rax, rax
je 0x14007063b
lea rdx, [0x1413a18a0]
mov qword [rsp + 0x38], rdi
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
je 0x140070636
mov r9, rax
mov dword [rsp + 0x40], 0
mov edx, 1
lea rcx, [rsp + 0x40]
mov r8d, 4
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, rdi
mov edx, 1
mov r8d, 8
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
lea rcx, [rsi + 8]
mov r9, rdi
mov edx, 1
mov r8d, 8
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
vxorps xmm0, xmm0, xmm0
mov r9, rdi
lea rcx, [rsp + 0x30]
mov edx, 1
mov r8d, 4
vmovss dword [rsp + 0x30], xmm0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, rdi
lea rcx, [rsp + 0x30]
mov edx, 1
mov r8d, 4
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
lea rcx, [rsi + 0x10]
mov r9, rdi
mov edx, 1
mov r8d, 4
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
lea rcx, [rsi + 0x14]
mov r9, rdi
mov edx, 1
mov r8d, 4
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
cmp qword [rbx + 0x18], 0xf
mov rdx, qword [rbx + 0x20]
jbe 0x140070649
mov rbx, qword [rbx]
mov r9b, 1
lea r8, [0x1413c7b98]
mov rcx, rbx
call fcn.14005ee90
test rax, rax
je 0x1400707fe
lea rdx, [0x1413a18a0]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbx, rax
test rax, rax
je 0x1400707fe
lea rdx, [0x1413c7cd8]
mov rcx, rax
call fcn.140001250
movzx r8d, byte [rsi + 0x18]
lea rdx, [0x1413c7ce8]
mov rcx, rbx
call fcn.140001250
movzx r8d, byte [rsi + 0x19]
lea rdx, [0x1413c7cb8]
mov rcx, rbx
call fcn.140001250
movzx r8d, byte [rsi + 0x1a]
lea rdx, [0x1413c7cc8]
mov rcx, rbx
call fcn.140001250
movzx r8d, byte [rsi + 0x1b]
lea rdx, [0x1413c7d30]
mov rcx, rbx
call fcn.140001250
movzx r8d, byte [rsi + 0x1c]
lea rdx, [0x1413c7d40]
mov rcx, rbx
call fcn.140001250
movzx r8d, byte [rsi + 0x1d]
lea rdx, [0x1413c7d00]
mov rcx, rbx
call fcn.140001250
movzx r8d, byte [rsi + 0x1e]
lea rdx, [0x1413c7d18]
mov rcx, rbx
call fcn.140001250
movzx r8d, byte [rsi + 0x1f]
lea rdx, [0x1413c7d90]
mov rcx, rbx
call fcn.140001250
movzx r8d, byte [rsi + 0x20]
lea rdx, [0x1413c7db0]
mov rcx, rbx
call fcn.140001250
movzx r8d, byte [rsi + 0x21]
lea rdx, [0x1413c7d60]
mov rcx, rbx
call fcn.140001250
movzx r8d, byte [rsi + 0x22]
lea rdx, [0x1413c7d78]
mov rcx, rbx
call fcn.140001250
movzx r8d, byte [rsi + 0x23]
lea rdx, [0x1413c7e00]
mov rcx, rbx
call fcn.140001250
movzx r8d, byte [rsi + 0x24]
lea rdx, [0x1413c7e18]
mov rcx, rbx
call fcn.140001250
movzx r8d, byte [rsi + 0x25]
lea rdx, [0x1413c7dd0]
mov rcx, rbx
call fcn.140001250
movzx r8d, byte [rsi + 0x26]
lea rdx, [0x1413c7de8]
mov rcx, rbx
call fcn.140001250
mov r8d, dword [rsi + 0x28]
lea rdx, [0x1413c7e48]
mov rcx, rbx
call fcn.140001250
movzx r8d, byte [rsi + 0x27]
lea rdx, [0x1413c7e60]
mov rcx, rbx
call fcn.140001250
mov r8d, dword [rsi + 0x2c]
lea rdx, [0x1413c7e30]
mov rcx, rbx
call fcn.140001250
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret