Function at 0x140182b60
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x318
mov rdi, qword [0x14022c040]
lea r9, [0x14021d98e]
mov rax, qword [rdi]
mov qword [rsp + 0x308], rax
xor eax, eax
mov rbp, rcx
lea rdi, [rsp + 0x128]
mov rsi, r8
mov ecx, 0xf
lea rbx, [rsp + 0x120]
mov qword [rsp + 0x98], rdx
lea r8, str.__no_color
lea rdx, [0x14021d99c]
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0xe8], 0
rep stosq qword [rdi], rax
mov rax, qword [0x14022c410]
mov rcx, rbx
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x138], rax
mov rax, qword [0x14022c910]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xf0], rax
lea rax, str.__show_notes_by_default
mov qword [rsp + 0x78], rax
lea rax, str.__prettymedium
mov qword [rsp + 0x70], rax
lea rax, str.__no_abbrev_commit
mov qword [rsp + 0x68], rax
lea rax, str.__output_indicator_context
mov qword [rsp + 0x60], rax
lea rax, str.__output_indicator_old_
mov qword [rsp + 0x58], rax
lea rax, str.__output_indicator_new_
mov qword [rsp + 0x50], rax
lea rax, str.__submoduleshort
mov qword [rsp + 0x48], rax
lea rax, str.__no_prefix
mov qword [rsp + 0x40], rax
lea rax, str.__decorateno
mov qword [rsp + 0x38], rax
lea rax, str.__date_order
mov qword [rsp + 0x30], rax
lea rax, str.__reverse
mov qword [rsp + 0x28], rax
lea rax, str.__no_merges
mov qword [rsp + 0x20], rax
call fcn.1400945c0
mov rdx, rbp
mov rcx, rbx
call fcn.1400944f0
test rsi, rsi
je 0x140182cdf
mov rdx, qword [rsi]
mov rcx, rbx
call fcn.140094640
mov rcx, rbx
or byte [rsp + 0x190], 9
mov dword [rsp + 0x17c], 0xffffffff
call fcn.140081460
test eax, eax
jne 0x140183792
lea r14, [rsp + 0xe0]
mov edx, dword [rsp + 0x17c]
xor r8d, r8d
mov rcx, r14
call fcn.1400904d0
test rax, rax
js 0x140183018
mov rcx, rbx
call fcn.140082110
mov r12d, eax
test eax, eax
je 0x140182da0
mov rcx, r14
mov r12d, 0xffffffff
lea r15, [rsp + 0xc0]
call fcn.14008e580
mov qword [rsp + 0x90], 0
mov rcx, r15
call fcn.14008e580
mov rcx, qword [rsp + 0x90]
call fcn.1400eaf30
mov rdi, qword [0x14022c040]
mov rax, qword [rsp + 0x308]
sub rax, qword [rdi]
jne 0x140183858
mov eax, r12d
add rsp, 0x318
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r13, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0xf0]
test r13, r13
je 0x1401837e0
mov dword [rsp + 0xac], eax
mov edi, 1
xor ebp, ebp
mov qword [rsp + 0x90], 0
mov qword [rsp + 0xa0], r14
mov r8, r13
mov edx, 0xa
mov rcx, rsi
mov rbx, r13
call sub.msvcrt.dll_memchr
mov r14, rax
test rax, rax
je 0x140182e00
mov byte [rax], 0
lea rbx, [rax + 1]
sub rbx, rsi
mov r15, rsi
lea rax, [0x14021d8f2]
jmp 0x140182e32
add r15, 1
add rax, 1
cmp dl, byte [r15 - 1]
jne 0x140182f00
movzx edx, byte [rax]
test dl, dl
jne 0x140182e20
test rbp, rbp
je 0x140182e7b
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x98]
call fcn.1400938e0
mov qword [rax + 8], rbp
mov rax, qword [rsp + 0xd0]
cmp rax, qword [0x14022c910]
mov qword [rsp + 0xc8], 0
je 0x14018338a
mov byte [rax], 0
mov edx, 0x60
mov ecx, 1
call fcn.1400bd320
mov rdx, r15
mov rbp, rax
mov rax, qword [0x14022c970]
lea r8, [rbp + 0x3c]
mov rcx, qword [rax]
call fcn.140038f50
test eax, eax
jne 0x140183080
mov dword [rbp + 0x38], 0xffffffff
mov edi, 1
add rsi, rbx
sub r13, rbx
jne 0x140182ddb
mov rcx, qword [rsp + 0xa0]
mov r12d, dword [rsp + 0xac]
lea r15, [rsp + 0xc0]
call fcn.14008e580
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x98]
call fcn.1400938e0
mov qword [rax + 8], rbp
jmp 0x140182d56
test rbp, rbp
je 0x140183701
lea rdx, [0x14021da95]
mov rcx, rsi
call fcn.14008e400
test eax, eax
jne 0x1401830e8
mov rcx, rsi
lea rax, [0x14021d98a]
test edi, edi
je 0x140182f51
jmp 0x1401832f0
add rcx, 1
add rax, 1
cmp dl, byte [rcx - 1]
jne 0x140183250
movzx edx, byte [rax]
test dl, dl
jne 0x140182f40
lea r12, [0x14021db35]
lea r15, [rsp + 0xc0]
mov rdx, r12
call sub.msvcrt.dll_strstr
mov r8d, 2
mov rdx, r12
mov rcx, r15
mov rdi, rax
call fcn.14008f5f0
cmp qword [rsp + 0x90], 0
je 0x14018366d
cmp byte [rdi + 2], 0
jne 0x140183613
add rdi, 2
mov rcx, rdi
call sub.msvcrt.dll_strlen
mov rdx, rdi
mov rcx, r15
mov r8, rax
call fcn.14008f5f0
mov rdx, qword [rsp + 0xc0]
test rdx, rdx
je 0x140183060
mov rax, qword [rsp + 0xc8]
sub rdx, rax
cmp rdx, 1
je 0x140183060
lea rdx, [rax + 1]
xor edi, edi
mov qword [rsp + 0xc8], rdx
mov rdx, qword [rsp + 0xd0]
mov byte [rdx + rax], 0xa
mov rdx, qword [rsp + 0xd0]
mov rax, qword [rsp + 0xc8]
mov byte [rdx + rax], 0
add dword [rbp + 0x28], 1
jmp 0x140182eb7
mov rax, qword [str.PF__]
lea rcx, str.could_not_read__log__output
mov r11d, dword [rax]
test r11d, r11d
jne 0x140183040
call fcn.1400b6b60
mov rcx, rbx
call fcn.140082110
jmp 0x140182d34
call fcn.1401d81b8
mov rcx, rax
call fcn.1400b6b60
mov rcx, rbx
call fcn.140082110
jmp 0x140182d34
mov edx, 1
mov rcx, r15
call fcn.14008e7e0
mov rax, qword [rsp + 0xc8]
jmp 0x140182fdc
mov rax, qword [str.PF__]
mov r14, qword [rsp + 0xa0]
lea rcx, [0x14021d8fa]
mov r10d, dword [rax]
test r10d, r10d
je 0x1401830a6
call fcn.1401d81b8
mov rcx, rax
mov rdx, r15
call fcn.1400b6bf0
mov rcx, rbp
call fcn.1400eaf30
mov rcx, qword [rsp + 0x98]
mov edx, 1
lea r15, [rsp + 0xc0]
call fcn.1400936c0
mov rcx, r14
call fcn.14008e580
mov r12d, 0xffffffff
jmp 0x140182d56
lea r12, [rsp + 0x1a0]
xor eax, eax
mov ecx, 0x2c
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x108], 0
mov rdi, r12
rep stosq qword [rdi], rax
mov rax, qword [0x14022c910]
mov dword [rsp + 0xbc], 0
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0xc0]
test rax, rax
je 0x140183370
sub rax, qword [rsp + 0xc8]
lea r15, [rsp + 0xc0]
cmp rax, 1
je 0x140183370
mov rax, qword [rsp + 0xc8]
lea rdx, [rax + 1]
mov qword [rsp + 0xc8], rdx
mov rdx, qword [rsp + 0xd0]
mov byte [rdx + rax], 0xa
mov rdx, qword [rsp + 0xd0]
mov rax, qword [rsp + 0xc8]
mov byte [rdx + rax], 0
cmp qword [rbp + 0x30], 0
jne 0x1401831a1
mov rax, qword [rsp + 0xc8]
mov qword [rbp + 0x30], rax
test r14, r14
je 0x1401831aa
mov byte [r14], 0xa
mov dword [rsp + 0x20], ebx
mov r9, rsi
xor r8d, r8d
mov edi, ebx
mov qword [rsp + 0x30], r12
lea rdx, [rsp + 0xbc]
lea rcx, [rsp + 0x100]
mov dword [rsp + 0x28], r13d
call fcn.1401b43a0
movsxd rbx, eax
test rbx, rbx
js 0x140183801
mov rcx, r15
mov r8d, 4
lea rdx, str._
call fcn.14008f5f0
mov ecx, dword [rsp + 0x1c0]
test ecx, ecx
jg 0x1401834e4
mov edx, dword [rsp + 0x1c4]
test edx, edx
jg 0x14018362f
mov rdi, qword [rsp + 0x1a0]
test byte [rsp + 0x1e0], 0x10
je 0x140183589
mov r8, qword [rsp + 0x1a8]
mov r9, rdi
lea rdx, str._s____s
mov rcx, r15
call fcn.14008fc00
jmp 0x1401834fb
movzx eax, byte [rsi]
test al, al
je 0x140182eb7
mov rdx, qword [rsp + 0xc0]
cmp al, 0x3e
je 0x14018367b
cmp al, 0x3c
je 0x1401836be
cmp al, 0x23
je 0x1401835a4
test rdx, rdx
je 0x14018364b
mov rax, qword [rsp + 0xc8]
lea r15, [rsp + 0xc0]
sub rdx, rax
cmp rdx, 1
je 0x14018364b
lea rdx, [rax + 1]
mov rcx, rsi
mov qword [rsp + 0xc8], rdx
mov rdx, qword [rsp + 0xd0]
mov byte [rdx + rax], 0x20
mov rdx, qword [rsp + 0xd0]
mov rax, qword [rsp + 0xc8]
mov byte [rdx + rax], 0
call sub.msvcrt.dll_strlen
mov rdx, rsi
mov rcx, r15
mov r8, rax
call fcn.14008f5f0
jmp 0x140182fb6
lea rdx, str.Author:
call fcn.14008e400
test eax, eax
je 0x1401833b8
lea r15, [rsp + 0xc0]
mov r8d, 0x10
lea rdx, str.__Metadata__n
mov rcx, r15
call fcn.14008f5f0
mov rcx, rsi
call sub.msvcrt.dll_strlen
mov rdx, rsi
mov rcx, r15
mov r8, rax
call fcn.14008f5f0
mov rcx, r15
mov r8d, 2
lea rdx, [0x14021dafe]
call fcn.14008f5f0
mov r8d, 0x16
lea rdx, str.__Commit_message__n
mov rcx, r15
call fcn.14008f5f0
jmp 0x140182eb7
lea r15, [rsp + 0xc0]
mov edx, 1
mov rcx, r15
call fcn.14008e7e0
jmp 0x14018315a
mov rax, qword [0x14022c910]
cmp byte [rax], 0
je 0x140182e7b
mov r8d, 0xac
lea rdx, [0x14021da79]
lea rcx, [0x14021da82]
call qword [sym.imp.msvcrt.dll__assert]
nop dword [rax]
lea rdx, str.Notes
mov rcx, rsi
call fcn.14008e400
test eax, eax
je 0x14018341a
mov rcx, rsi
call sub.msvcrt.dll_strlen
cmp byte [rsi + rax - 1], 0x3a
jne 0x14018341a
lea r15, [rsp + 0xc0]
mov r8d, 2
lea rdx, [0x14021dafe]
mov rcx, r15
call fcn.14008f5f0
mov rcx, rsi
call sub.msvcrt.dll_strlen
mov r9, rsi
lea rdx, str.___.s__n
mov rcx, r15
lea r8d, [rax - 1]
call fcn.14008fc00
jmp 0x140182eb7
lea rdx, [0x14021db2b]
mov rcx, rsi
call fcn.14008e400
test eax, eax
je 0x140182eb7
lea rax, [rsi + rbx - 2]
mov rcx, qword [str._________AA__A__________________]
movzx edx, byte [rax]
test byte [rcx + rdx], 1
jne 0x14018346e
jmp 0x140183473
movzx edx, byte [rax - 1]
sub rax, 1
test byte [rcx + rdx], 1
je 0x140183473
cmp rax, rsi
jae 0x140183460
sub rax, rsi
lea r15, [rsp + 0xc0]
mov rdx, rsi
lea r8, [rax + 1]
mov rcx, r15
call fcn.14008f5f0
mov rdx, qword [rsp + 0xc0]
test rdx, rdx
je 0x140183778
mov rax, qword [rsp + 0xc8]
sub rdx, rax
cmp rdx, 1
je 0x140183778
lea rdx, [rax + 1]
mov qword [rsp + 0xc8], rdx
mov rdx, qword [rsp + 0xd0]
mov byte [rdx + rax], 0xa
mov rdx, qword [rsp + 0xd0]
mov rax, qword [rsp + 0xc8]
mov byte [rdx + rax], 0
jmp 0x140182eb7
mov r8, qword [rsp + 0x1a0]
lea rdx, str._s__new_
mov rcx, r15
call fcn.14008fc00
mov rcx, qword [rsp + 0x90]
call fcn.1400eaf30
mov eax, dword [rsp + 0x1c4]
test eax, eax
jle 0x140183572
mov rcx, qword [rsp + 0x1a8]
call fcn.1400bd080
mov qword [rsp + 0x90], rax
mov r9d, dword [rsp + 0x1bc]
test r9d, r9d
je 0x140183550
mov r8d, dword [rsp + 0x1b8]
test r8d, r8d
je 0x140183550
cmp r9d, r8d
jne 0x1401835ff
nop dword [rax + rax]
mov rcx, r15
mov r8d, 3
lea rdx, [0x14021dae0]
call fcn.14008f5f0
mov rcx, r12
call fcn.1401b4320
jmp 0x140182fb6
mov rcx, qword [rsp + 0x1a0]
call fcn.1400bd080
mov qword [rsp + 0x90], rax
jmp 0x140183528
mov rcx, rdi
call sub.msvcrt.dll_strlen
mov rdx, rdi
mov rcx, r15
mov r8, rax
call fcn.14008f5f0
jmp 0x1401834fb
test rdx, rdx
je 0x140183734
mov rax, qword [rsp + 0xc8]
lea r15, [rsp + 0xc0]
sub rdx, rax
cmp rdx, 1
je 0x140183734
lea rdx, [rax + 1]
mov qword [rsp + 0xc8], rdx
mov rdx, qword [rsp + 0xd0]
mov byte [rdx + rax], 0x20
mov rdx, qword [rsp + 0xd0]
mov rax, qword [rsp + 0xc8]
lea rdi, [rsi + 1]
mov byte [rdx + rax], 0
jmp 0x140182fa0
lea rdx, str.__mode_change__06o____06o_
mov rcx, r15
call fcn.14008fc00
jmp 0x140183550
mov r8, qword [rsp + 0x90]
lea rdx, str.__s:
mov rcx, r15
call fcn.14008fc00
jmp 0x140182f9c
mov r8, qword [rsp + 0x1a8]
lea rdx, str._s__deleted_
mov rcx, r15
call fcn.14008fc00
jmp 0x1401834fb
lea r15, [rsp + 0xc0]
mov edx, 1
mov rcx, r15
call fcn.14008e7e0
mov rax, qword [rsp + 0xc8]
jmp 0x1401832a1
test rdi, rdi
je 0x140182fb6
jmp 0x140182f9c
test rdx, rdx
je 0x140183756
mov rax, qword [rsp + 0xc8]
lea r15, [rsp + 0xc0]
sub rdx, rax
cmp rdx, 1
je 0x140183756
lea rdx, [rax + 1]
mov qword [rsp + 0xc8], rdx
mov rdx, qword [rsp + 0xd0]
mov byte [rdx + rax], 0x2b
jmp 0x1401835e2
test rdx, rdx
je 0x1401837be
mov rax, qword [rsp + 0xc8]
lea r15, [rsp + 0xc0]
sub rdx, rax
cmp rdx, 1
je 0x1401837be
lea rdx, [rax + 1]
mov qword [rsp + 0xc8], rdx
mov rdx, qword [rsp + 0xd0]
mov byte [rdx + rax], 0x2d
jmp 0x1401835e2
mov rax, qword [str.PF__]
mov r14, qword [rsp + 0xa0]
lea rcx, str.could_not_parse_first_line_of__log__output:_did_not_start_with_commit_:__s
mov r9d, dword [rax]
test r9d, r9d
je 0x140183727
call fcn.1401d81b8
mov rcx, rax
mov rdx, rsi
call fcn.1400b6bf0
jmp 0x1401830b6
lea r15, [rsp + 0xc0]
mov edx, 1
mov rcx, r15
call fcn.14008e7e0
mov rax, qword [rsp + 0xc8]
jmp 0x1401835ca
lea r15, [rsp + 0xc0]
mov edx, 1
mov rcx, r15
call fcn.14008e7e0
mov rax, qword [rsp + 0xc8]
jmp 0x1401836a1
mov edx, 1
mov rcx, r15
call fcn.14008e7e0
mov rax, qword [rsp + 0xc8]
jmp 0x1401834b3
mov rax, qword [str.PF__]
lea rcx, str.could_not_start__log_
mov ebx, dword [rax]
test ebx, ebx
je 0x1401837ae
call fcn.1401d81b8
mov rcx, rax
call fcn.1400b6b60
mov r12d, 0xffffffff
jmp 0x140182d6b
lea r15, [rsp + 0xc0]
mov edx, 1
mov rcx, r15
call fcn.14008e7e0
mov rax, qword [rsp + 0xc8]
jmp 0x1401836e4
mov rcx, r14
lea r15, [rsp + 0xc0]
call fcn.14008e580
mov qword [rsp + 0x90], 0
jmp 0x140182d56
mov rax, qword [str.PF__]
mov r14, qword [rsp + 0xa0]
lea rcx, str.could_not_parse_git_header__.s
mov r8d, dword [rax]
test r8d, r8d
je 0x140183827
call fcn.1401d81b8
mov rcx, rax
mov r8, rsi
mov edx, edi
call fcn.1400b6bf0
mov rcx, rbp
call fcn.1400eaf30
mov rcx, qword [rsp + 0x98]
mov edx, 1
call fcn.1400936c0
mov rcx, r14
call fcn.14008e580
jmp 0x1401830d8
call fcn.1401d96b0
nop
nop