Function at 0x14016d230
Capabilities:
Check if file exists
Delete directory
Delete file
Get common file path
Read file on windows
Timestomp file

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
mov rbp, qword [0x140207460]
mov rax, qword [rbp]
mov qword [rsp + 0x58], rax
xor eax, eax
cmp dword [r8], 2
mov r12, rcx
mov rbx, rdx
mov rsi, r8
je 0x14016d460
mov r13, qword [0x140288798]
test r13, r13
je 0x14016d4b0
mov rax, qword [rbx + 0x10]
mov r14, qword [0x140207c90]
mov qword [rbx + 8], 0
cmp rax, r14
je 0x14016d450
mov byte [rax], 0
mov rdx, r13
mov rcx, rbx
call fcn.140168600
test rax, rax
js 0x14016d334
mov rdx, qword [rbx + 0x10]
mov r8, rbx
mov rcx, r12
call fcn.14016c9e0
mov edi, eax
test eax, eax
jne 0x14016d55c
mov edx, dword [rbx + 0x20]
mov r8d, dword [rsi]
test edx, edx
je 0x14016d360
cmp r8d, 2
je 0x14016d394
movsxd rcx, dword [rbx + 0x20]
xor edx, edx
cmp r8d, 1
setne dl
test ecx, ecx
jle 0x14016d340
mov rax, qword [rbx + 0x18]
lea rcx, [rcx + rcx*4]
lea rcx, [rax + rcx*8]
jmp 0x14016d309
add rax, 0x28
cmp rax, rcx
je 0x14016d340
cmp dword [rax], edx
je 0x14016d300
mov rax, qword [0x1402078f0]
mov edx, dword [rax]
cmp r8d, 1
je 0x14016d490
lea rcx, str.cannot_revert_during_a_cherry_pick.
test edx, edx
jne 0x14016d49f
call fcn.1400a0b40
mov edi, 0xffffffff
nop dword [rax]
mov rax, qword [rsp + 0x58]
sub rax, qword [rbp]
jne 0x14016d5bb
mov eax, edi
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
cmp r8d, 2
jne 0x14016d58a
mov rcx, qword [0x140288790]
test rcx, rcx
je 0x14016d4d0
call fcn.1400189e0
test eax, eax
je 0x14016d58a
mov r8d, dword [rsi]
cmp r8d, 2
jne 0x14016d2d7
mov rdx, qword [0x140288790]
pxor xmm0, xmm0
mov qword [rsp + 0x50], 0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
movups xmmword [rsp + 0x40], xmm0
test rdx, rdx
je 0x14016d541
lea rsi, [rsp + 0x20]
xor r8d, r8d
mov rcx, rsi
call fcn.140080420
test rax, rax
jg 0x14016d4f0
xor r8d, r8d
movsxd rdx, dword [rbx + 0x20]
mov rax, qword [rbx + 0x18]
mov dword [rbx + 0x2c], r8d
test edx, edx
jle 0x14016d416
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8]
xor edx, edx
nop dword [rax + rax]
xor ecx, ecx
cmp dword [rax], 0xe
setne cl
add rax, 0x28
add edx, ecx
cmp r9, rax
jne 0x14016d400
add r8d, edx
mov dword [rbx + 0x30], r8d
mov rcx, rsi
call fcn.14007d7e0
mov rcx, qword [rsp + 0x38]
call fcn.1400d2670
mov rcx, rbx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
call fcn.140166660
jmp 0x14016d340
cmp byte [rax], 0
je 0x14016d292
call fcn.140166940
nop
mov r13, qword [0x1402887c8]
test r13, r13
jne 0x14016d273
lea rcx, str.rebase_merge_git_rebase_todo
call fcn.1400379d0
mov qword [0x1402887c8], rax
mov r13, rax
jmp 0x14016d273
lea rcx, str.cannot_cherry_pick_during_a_revert.
test edx, edx
je 0x14016d32f
call sub.libintl_8.dll_libintl_gettext
mov rcx, rax
jmp 0x14016d32f
lea rcx, str.sequencer_todo
call fcn.1400379d0
mov qword [0x140288798], rax
mov r13, rax
jmp 0x14016d273
lea rcx, str.rebase_merge_done
call fcn.1400379d0
mov qword [0x140288790], rax
mov rcx, rax
jmp 0x14016d37a
mov rdx, qword [rsp + 0x30]
mov r8, rsi
mov rcx, r12
call fcn.14016c9e0
mov r8d, eax
test eax, eax
jne 0x14016d3de
movsxd rdx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x38]
test edx, edx
jle 0x14016d3e1
lea rdx, [rdx + rdx*4]
lea rcx, [rax + rdx*8]
nop dword [rax]
xor edx, edx
cmp dword [rax], 0xe
setne dl
add rax, 0x28
add r8d, edx
cmp rcx, rax
jne 0x14016d528
jmp 0x14016d3e1
lea rcx, str.rebase_merge_done
call fcn.1400379d0
mov qword [0x140288790], rax
mov rdx, rax
jmp 0x14016d3c5
mov rax, qword [0x1402078f0]
cmp dword [rsi], 2
mov eax, dword [rax]
je 0x14016d5a7
lea rcx, str.unusable_instruction_sheet:__s
test eax, eax
je 0x14016d57d
call sub.libintl_8.dll_libintl_gettext
mov rcx, rax
mov rdx, r13
call fcn.1400a0b40
jmp 0x14016d334
mov rax, qword [0x1402078f0]
lea rcx, str.no_commits_parsed.
mov eax, dword [rax]
test eax, eax
je 0x14016d32f
jmp 0x14016d49f
lea rcx, str.please_fix_this_using_git_rebase___edit_todo.
test eax, eax
je 0x14016d32f
jmp 0x14016d49f
call fcn.1401be670
nop
nop word cs:[rax + rax]
nop dword [rax]