Function at 0x140057360
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x410]
sub rsp, 0x510
mov rax, qword [0x140098010]
xor rax, rsp
mov qword [rbp + 0x400], rax
mov esi, edx
mov rdi, rcx
xor ebx, ebx
mov dword [rbp - 0x7c], ebx
cmp qword [rcx + 0x28], rbx
je 0x1400575f0
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, rax
mov qword [rbp - 0x78], rax
mov eax, 0x10624dd3
mul ecx
mov r14d, edx
shr r14d, 6
mov eax, 0x88888889
mul r14d
mov r15d, edx
shr r15d, 5
mov eax, 0x88888889
mul r15d
mov r12d, edx
shr r12d, 5
mov eax, 0xaaaaaaab
mul r12d
mov r13d, edx
shr r13d, 4
imul eax, r14d, 0x3e8
sub ecx, eax
mov dword [rbp - 0x80], ecx
imul eax, r15d, 0xffffffc4
add r14d, eax
imul eax, r12d, 0xffffffc4
add r15d, eax
imul eax, r13d, 0xffffffe8
add r12d, eax
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
test esi, esi
je 0x140057433
lea rcx, [rbp - 0x50]
call fcn.14004e170
nop
mov ebx, 1
jmp 0x14005745f
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], 0xf
xor r8d, r8d
lea rdx, [0x140080ba3]
lea rcx, [rbp - 0x70]
call fcn.140020b40
lea rax, [rbp - 0x70]
mov ebx, 2
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
test bl, 2
je 0x1400574c8
and ebx, 0xfffffffd
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x1400574c8
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400574c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400574c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003edd0
nop
test bl, 1
je 0x14005750b
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x14005750b
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057506
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057506
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003edd0
lea rax, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rax, qword [rbp - 0x20]
movzx ecx, word [rbp - 0x24]
movzx r10d, word [rbp - 0x26]
movzx r11d, word [rbp - 0x28]
movzx ebx, word [rbp - 0x2a]
movzx r9d, word [rbp - 0x2e]
movzx r8d, word [rbp - 0x30]
lea rdx, str.________________________________n_Closed__at_:__.4d__.2d__.2d__.2d:_.2d:_.2d_n_UpTime_____:__lu_Days__.2luh__.2lum__.2lus_::__lu_ms___lu__n_s________________________________n
test esi, esi
lea rsi, str.________________________________n_Started_at_:__.4d__.2d__.2d__.2d:_.2d:_.2d_n_UpTime_____:__lu_Days__.2luh__.2lum__.2lus_::__lu_ms___lu__n_Version____:__s_n________________________________n
cmovne rdx, rsi
mov qword [rsp + 0x70], rax
mov rax, qword [rbp - 0x78]
mov dword [rsp + 0x68], eax
mov eax, dword [rbp - 0x80]
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x58], r14d
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x48], r12d
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
lea rcx, [rbp]
call fcn.140048330
movsxd rbx, eax
mov rdx, qword [rdi + 0x48]
lea rcx, [rbp]
call fcn.140057ee0
mov r8, rbx
mov r9, qword [rdi + 0x28]
mov edx, 1
lea rcx, [rbp]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x1400575f0
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400575eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400575eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003edd0
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.14003edb0
mov rbx, qword [rsp + 0x560]
add rsp, 0x510
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret