Function at 0x14000155c
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
and dword [rsp + 0x20], 0
mov rbx, r8
cmp dword [rdx + 4], 0x14
mov r14, rdx
mov rsi, rcx
je 0x1400015a4
mov r9, qword [rcx + 0x18]
lea rdx, str.D:_a_work1_s_src_vctoolsCompilerUtc_src_toolspogopogosweep_sweepdll.cpp
mov ecx, 0x422
mov r8d, 0x129
call fcn.1400059ec
mov r13d, 0xa
mov ebp, 0x32
mov r12d, dword [r14 + 0x54]
mov ecx, r12d
mov r15d, r12d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400015dc
mov r8d, 0xe4
lea rdx, str.D:_a_work1_s_src_vctoolsCompilerUtc_src_toolspogopogosweep_sweepdll.cpp
lea ecx, [rax + 2]
call fcn.140005a6c
mov r8, r15
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov dword [rsp + 0x24], 0
mov eax, dword [r14 + 0xc]
cmp r12d, eax
jae 0x140001606
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400015af
mov eax, dword [rdi + 0x64]
test eax, eax
je 0x140001629
mov ecx, 0x32
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
mov eax, 1
sub ebp, eax
test ebp, ebp
jle 0x140001776
jmp 0x1400015af
mov r12d, 1
mov r9, rbx
mov r8d, r12d
mov byte [rsp + 0x78], r12b
mov rdx, r15
mov word [rdi + 0x60], r12w
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, r12
jne 0x1400016ba
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
test eax, eax
jne 0x1400016ba
xor r8d, r8d
lea edx, [rax + 0x40]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400016ba
mov rcx, qword [rsp + 0x88]
lea edx, [rax + 0x10]
mov r9, rbx
mov r8d, r12d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, r12
jne 0x1400016ba
xor r8d, r8d
lea edx, [r12 + 0x51]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400016ba
mov r9, rbx
lea rcx, [rsp + 0x78]
mov r8d, r12d
mov edx, r12d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, r12
je 0x1400016d5
mov r9, qword [rsi + 0x18]
lea rdx, str.D:_a_work1_s_src_vctoolsCompilerUtc_src_toolspogopogosweep_sweepdll.cpp
mov r8d, 0x113
mov ecx, 0x5b
call fcn.1400059ec
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 0x64]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140001704
mov r9, rbx
lea r8d, [rax + 4]
mov rdx, r12
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, 4
je 0x14000171f
mov r9, qword [rsi + 0x18]
lea rdx, str.D:_a_work1_s_src_vctoolsCompilerUtc_src_toolspogopogosweep_sweepdll.cpp
mov r8d, 0x136
mov ecx, 0x5b
call fcn.1400059ec
cmp dword [rsp + 0x20], 0
je 0x140001766
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
je 0x140001753
mov r9, qword [rsi + 0x18]
lea rdx, str.D:_a_work1_s_src_vctoolsCompilerUtc_src_toolspogopogosweep_sweepdll.cpp
mov r8d, 0x142
mov ecx, 0x5b
call fcn.1400059ec
sub r13d, r12d
test r13d, r13d
jg 0x1400015aa
mov eax, 2
jmp 0x140001776
cmp byte [rsi + 1], 0
je 0x140001774
mov rcx, r14
call fcn.140005b84
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret