Function at 0x448e80
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
mov rax, qword [sym.imp.libssp_0.dll___stack_chk_guard]
mov rbx, qword [rax]
mov qword [rsp + 0x68], rbx
xor ebx, ebx
mov rbx, qword [0x005ab200]
mov rsi, rcx
mov rcx, rdx
mov r12, rdx
mov edi, r8d
mov qword [rsp + 0x30], 0
lea r13, [rsp + 0x30]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], rbx
call sub.msvcrt.dll_strlen
mov rdx, r12
mov rcx, r13
mov r8, rax
call fcn.00472fb0
mov r10, qword [rsp + 0x40]
movzx eax, byte [r10]
mov r15, r10
cmp al, 0x2f
je 0x448215
test al, al
jne 0x448208
jmp 0x448215
cmp al, 0x2f
je 0x448380
movzx eax, byte [r15 + 1]
add r15, 1
test al, al
jne 0x448200
cmp al, 0x2f
je 0x448380
mov rax, qword [sym.imp.msvcrt.dll__assert]
add r10, qword [rsp + 0x38]
mov r14, r10
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
nop word cs:[rax + rax]
cmp r15, r14
jb 0x44825d
jmp 0x448284
sub r14, 1
cmp r15, r14
je 0x4483e0
cmp byte [r14], 0x2f
jne 0x448250
cmp r15, r14
jb 0x44827d
jmp 0x448284
sub r14, 1
cmp r15, r14
je 0x4483e0
cmp byte [r14 - 1], 0x2f
je 0x448270
cmp r15, r14
je 0x4483e0
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
mov rcx, r14
sub rcx, rdx
cmp rax, 1
adc rax, 0xffffffffffffffff
cmp rcx, rax
ja 0x4484bd
mov qword [rsp + 0x38], rcx
cmp rdx, rbx
je 0x448490
mov byte [r14], 0
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x60]
cmp rax, rbx
je 0x448460
mov byte [rax], 0
lea r12, [rsp + 0x50]
mov r9, qword [rsp + 0x40]
lea rdx, [rsi + 0x18]
lea rcx, [rsi + 0x10]
mov r8, r12
call fcn.00446f80
cmp edi, 1
je 0x448410
mov ebp, 2
mov edi, 2
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x60]
cmp rax, rbx
je 0x448430
mov byte [rax], 0
mov r8, qword [rsp + 0x40]
mov rdx, r12
mov rcx, rsi
call fcn.00447090
test ebp, ebp
jne 0x4483f0
test edi, edi
jne 0x448240
nop dword [rax]
mov rcx, r13
call fcn.004727a0
mov rcx, r12
call fcn.004727a0
mov rax, qword [sym.imp.libssp_0.dll___stack_chk_guard]
mov rdi, qword [rsp + 0x68]
xor rdi, qword [rax]
jne 0x4484b8
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movzx eax, byte [r15 + 1]
add r15, 1
cmp al, 0x2f
je 0x448380
test al, al
jne 0x4483a4
jmp 0x44821d
cmp al, 0x2f
je 0x4483c0
movzx eax, byte [r15 + 1]
add r15, 1
test al, al
jne 0x4483a0
cmp al, 0x2f
jne 0x44821d
nop dword [rax]
add r15, 1
cmp byte [r15], 0x2f
jne 0x44821d
add r15, 1
cmp byte [r15], 0x2f
je 0x4483c0
jmp 0x44821d
lea r12, [rsp + 0x50]
jmp 0x448348
mov rcx, qword [rsp + 0x60]
call fcn.004afce0
test eax, eax
jne 0x448348
mov edi, 2
jmp 0x448240
mov rcx, qword [rsp + 0x60]
xor edi, edi
call fcn.004afce0
test eax, eax
sete dil
xor ebp, ebp
jmp 0x448307
cmp byte [rbx], 0
je 0x448321
mov rax, qword [rsp + 0x28]
mov r8d, 0xa8
lea rdx, [0x00582673]
lea rcx, [0x00582684]
call rax
jmp 0x448321
cmp byte [rbx], 0
je 0x4482da
mov rax, qword [rsp + 0x20]
mov r8d, 0xa8
lea rdx, [0x00582673]
lea rcx, [0x00582684]
call rax
jmp 0x4482da
cmp byte [rbx], 0
je 0x4482c0
mov r8d, 0xa8
lea rdx, [0x00582673]
lea rcx, [0x00582684]
call qword [sym.imp.msvcrt.dll__assert]
jmp 0x4482c0
call sub.libssp_0.dll___stack_chk_fail
lea rcx, [0x00582650]
call fcn.00494770
nop
nop word [rax + rax]
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
mov rax, qword [sym.imp.libssp_0.dll___stack_chk_guard]
mov rdi, qword [rax]
mov qword [rsp + 0x68], rdi
xor edi, edi
mov rbx, rdx
mov r13, r8
mov edx, 2
lea r8, str.initial_ref_transaction_commit
call fcn.004463b0
and byte [rsp + 0x50], 0xfe
mov qword [rsp + 0x40], 0
mov rdi, rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x58], 0
test r13, r13
je 0x448770
mov eax, dword [rbx + 0x20]
test eax, eax
jne 0x4487a7
xor esi, esi
cmp qword [rbx + 0x18], 0
lea r12, [rsp + 0x40]
je 0x44856e
nop dword [rax]
mov rax, qword [rbx + 8]
mov rcx, r12
mov rdx, qword [rax + rsi*8]
add rsi, 1
add rdx, 0x68
call fcn.00476f10
cmp qword [rbx + 0x18], rsi
ja 0x448550
mov rcx, r12
call fcn.00476f50
mov rdx, r13
mov rcx, r12
call fcn.00444cc0
test eax, eax
jne 0x448760
mov r8, r12
lea rdx, [0x00446e40]
mov rcx, rdi
call fcn.00443180
test eax, eax
jne 0x4487bf
mov rcx, qword [rdi + 0x28]
mov rdx, r13
call fcn.004426c0
mov r14, rax
test rax, rax
je 0x448760
cmp qword [rbx + 0x18], 0
je 0x4486d0
mov rax, qword [0x005aafd0]
xor esi, esi
mov qword [rsp + 0x38], rax
jmp 0x448664
mov r10, qword [0x005aafd0]
xor rdx, qword [r10 + 8]
xor rax, qword [r10]
or rdx, rax
jne 0x448600
mov eax, dword [r10 + 0x10]
cmp dword [rcx + 0x10], eax
je 0x4486c8
mov eax, 1
xor eax, 1
test eax, eax
je 0x44878f
mov qword [rsp + 0x20], r13
lea r15, [rbp + 0x68]
xor r9d, r9d
mov r8, r12
mov rdx, r15
mov rcx, rdi
call fcn.004459a0
test eax, eax
jne 0x448750
lea rax, [rbp + 0x20]
mov r8d, dword [rbp + 0x40]
mov r9, rbp
mov rdx, r15
mov qword [rsp + 0x28], 0
mov rcx, r14
add rsi, 1
mov qword [rsp + 0x20], rax
and r8d, 0xfffffff7
call fcn.004427d0
cmp qword [rbx + 0x18], rsi
jbe 0x4486d0
mov rax, qword [rbx + 8]
mov rbp, qword [rax + rsi*8]
test byte [rbp + 0x40], 8
je 0x448610
mov rax, qword [0x005ab240]
lea rcx, [rbp + 0x20]
mov rdx, qword [rcx + 8]
mov rax, qword [rax]
mov rax, qword [rax + 0xc8]
cmp qword [rax + 0x10], 0x20
mov rax, qword [rbp + 0x20]
jne 0x4485e0
mov r10, qword [rsp + 0x38]
xor rdx, qword [r10 + 8]
xor rax, qword [r10]
or rdx, rax
jne 0x448600
mov rax, qword [rcx + 0x10]
mov rdx, qword [rcx + 0x18]
xor rax, qword [r10 + 0x10]
xor rdx, qword [r10 + 0x18]
or rdx, rax
jne 0x448600
xor eax, eax
jmp 0x448605
mov rcx, qword [rdi + 0x28]
mov r8, r13
xor edx, edx
mov r15d, 0xfffffffe
call fcn.0044dec0
test eax, eax
jne 0x44870a
mov rcx, r14
mov rdx, r13
call fcn.00446170
mov rcx, qword [rdi + 0x28]
mov r15d, eax
test eax, eax
mov eax, 0xfffffffe
cmovne r15d, eax
call fcn.0044dfd0
mov rcx, r14
call fcn.00442710
mov dword [rbx + 0x20], 2
xor edx, edx
mov rcx, r12
call fcn.00476d60
mov rax, qword [sym.imp.libssp_0.dll___stack_chk_guard]
mov rdi, qword [rsp + 0x68]
xor rdi, qword [rax]
jne 0x4487d7
mov eax, r15d
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r15d, 0xffffffff
jmp 0x44870a
mov r15d, 0xfffffffe
jmp 0x448712
mov r8d, 0xb6e
lea rdx, str.refs_files_backend.c
lea rcx, [0x005826b7]
call qword [sym.imp.msvcrt.dll__assert]
jmp 0x448534
lea r8, str.initial_ref_transaction_with_old_sha1_set
mov edx, 0xb98
lea rcx, str.refs_files_backend.c
call fcn.00494ad0
lea r8, str.commit_called_for_transaction_that_is_not_open
mov edx, 0xb71
lea rcx, str.refs_files_backend.c
call fcn.00494ad0
lea r8, str.initial_ref_transaction_called_with_existing_refs
mov edx, 0xb8b
lea rcx, str.refs_files_backend.c
call fcn.00494ad0
call sub.libssp_0.dll___stack_chk_fail
nop
nop dword [rax]
push r14
push r13
push r12
push rsi
push rbx
sub rsp, 0x40
mov rbx, qword [sym.imp.libssp_0.dll___stack_chk_guard]
lea r8, str.init_db
mov edx, 2
mov rax, qword [rbx]
mov qword [rsp + 0x38], rax
xor eax, eax
lea r13, [rsp + 0x20]
call fcn.004463b0
mov rsi, qword [0x005ab200]
lea r9, str.refs_heads
mov r8, r13
lea r14, [rax + 0x10]
lea r12, [rax + 0x18]
mov qword [rsp + 0x20], 0
mov rdx, r12
mov rcx, r14
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], 0
call fcn.00446f80
mov rcx, qword [rsp + 0x30]
mov edx, 1
call fcn.004325d0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], 0
cmp rax, rsi
je 0x4488c0
mov byte [rax], 0
lea r9, str.refs_tags
mov r8, r13
mov rdx, r12
mov rcx, r14
call fcn.00446f80
mov rcx, qword [rsp + 0x30]
mov edx, 1
call fcn.004325d0
mov rcx, r13
call fcn.004727a0
mov rax, qword [rsp + 0x38]
xor rax, qword [rbx]
jne 0x4488e1
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop r12
pop r13
pop r14
ret
cmp byte [rax], 0
je 0x448873
mov r8d, 0xa8
lea rdx, [0x00582673]
lea rcx, [0x00582684]
call qword [sym.imp.msvcrt.dll__assert]
jmp 0x448873
call sub.libssp_0.dll___stack_chk_fail
nop
nop word [rax + rax]
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x128
mov rax, qword [sym.imp.libssp_0.dll___stack_chk_guard]
mov rdi, qword [rax]
mov qword [rsp + 0x118], rdi
xor edi, edi
mov r15, r8
mov qword [rsp + 0x40], r8
mov r12, rdx
lea r8, str.fill_ref_dir
mov edx, 1
lea r14, [rsp + 0x80]
call fcn.004463b0
mov rcx, r15
mov rbx, rax
mov qword [rsp + 0x38], rax
call sub.msvcrt.dll_strlen
lea rdx, [rbx + 0x18]
lea rcx, [rbx + 0x10]
mov r9, r15
mov rdi, qword [0x005ab200]
mov r8, r14
mov rsi, rax
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], rdi
call fcn.00446f80
mov rax, qword [0x005ab020]
mov rbp, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call qword [rax]
mov rbx, rax
test rax, rax
je 0x448da8
lea edx, [rsi + 0x101]
lea r13, [rsp + 0x60]
movsxd rsi, esi
movsxd rdx, edx
mov rcx, r13
call fcn.00472870
mov rdx, qword [rsp + 0x40]
mov r8, rsi
mov rcx, r13
call fcn.00472fb0
mov rax, qword [sym.imp.msvcrt.dll__assert]
mov qword [rsp + 0x48], rax
nop word [rax + rax]
mov rcx, rbx
call qword [rbx]
test rax, rax
je 0x448ba2
cmp byte [rax + 1], 0x2e
je 0x4489e8
lea r15, [rax + 1]
mov rcx, r15
call sub.msvcrt.dll_strlen
mov r8, rax
cmp rax, 4
jbe 0x448a22
lea rax, [r15 + rax - 5]
cmp dword [rax], 0x636f6c2e
je 0x448c68
mov rdx, r15
mov rcx, r13
call fcn.00472fb0
mov rcx, r15
call sub.msvcrt.dll_strlen
mov rdx, r15
mov rcx, r14
mov r8, rax
call fcn.00472fb0
mov rcx, qword [rsp + 0x90]
lea rdx, [rsp + 0xa0]
call fcn.004b3d70
test eax, eax
js 0x448b31
movzx eax, word [rsp + 0xa6]
and ax, 0xf000
cmp ax, 0x4000
je 0x448ce0
lea rax, [rsp + 0x5c]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
lea r15, [rsp + 0xf0]
mov qword [rsp + 0x20], rax
mov r9, r15
mov r8d, 1
call fcn.004431c0
test rax, rax
je 0x448e20
mov rax, qword [0x005ab240]
mov rax, qword [rax]
mov rax, qword [rax + 0xc8]
cmp qword [rax + 0x10], 0x20
je 0x448de0
mov rcx, qword [0x005aafd0]
mov rax, qword [r15]
mov rdx, qword [r15 + 8]
xor rax, qword [rcx]
xor rdx, qword [rcx + 8]
or rdx, rax
jne 0x448aec
mov eax, dword [rcx + 0x10]
cmp dword [r15 + 0x10], eax
je 0x448e17
mov eax, 1
xor eax, 1
test eax, eax
je 0x448afd
or dword [rsp + 0x5c], 4
mov rcx, qword [rsp + 0x70]
mov edx, 1
call fcn.00441aa0
test eax, eax
jne 0x448d60
mov r8d, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x70]
mov rdx, r15
call fcn.0044f200
mov rcx, r12
mov rdx, rax
call fcn.0044ee30
mov rax, qword [rsp + 0x60]
cmp rax, 1
adc rax, 0xffffffffffffffff
cmp rsi, rax
ja 0x448e5a
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x68], rsi
cmp rax, rdi
je 0x448c80
mov byte [rax + rsi], 0
mov rax, qword [rsp + 0x80]
cmp rax, 1
adc rax, 0xffffffffffffffff
cmp rbp, rax
ja 0x448e5a
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x88], rbp
cmp rax, rdi
je 0x448cb0
mov byte [rax + rbp], 0
mov rcx, rbx
call qword [rbx]
test rax, rax
jne 0x4489f6
mov rcx, r13
lea rdi, [0x00582225]
call fcn.004727a0
mov rcx, r14
call fcn.004727a0
mov rcx, rbx
call qword [rbx + 8]
mov rsi, qword [rsp + 0x40]
mov ecx, 6
lea rax, str.refs_worktree_
mov qword [rsp + 0xf8], rax
lea rax, str.refs_rewritten_
repe cmpsb byte [rsi], byte [rdi]
mov qword [rsp + 0x100], rax
seta al
sbb al, 0
test al, al
jne 0x448db0
lea rsi, [rsp + 0xf0]
lea rdi, [rsp + 0x108]
mov ebx, 0xc
lea r13, [0x0058276f]
movsxd rbx, ebx
mov rdx, r13
mov rcx, r12
mov r8, rbx
call fcn.0044f370
test eax, eax
jns 0x448c48
mov rcx, qword [r12 + 0x10]
mov rdx, r13
mov r9d, 1
mov r8, rbx
call fcn.0044f290
mov rcx, r12
mov rdx, rax
call fcn.0044ee30
add rsi, 8
cmp rdi, rsi
je 0x448db0
mov r13, qword [rsi]
mov rcx, r13
call sub.msvcrt.dll_strlen
mov rbx, rax
jmp 0x448c12
cmp byte [rax + 4], 0x6b
jne 0x448a22
jmp 0x4489e8
cmp byte [rdi], 0
je 0x448b5e
mov rax, qword [rsp + 0x48]
mov r8d, 0xa8
lea rdx, [0x00582673]
lea rcx, [0x00582684]
call rax
jmp 0x448b5e
cmp byte [rdi], 0
je 0x4489e8
mov r8d, 0xa8
lea rdx, [0x00582673]
lea rcx, [0x00582684]
call qword [sym.imp.msvcrt.dll__assert]
jmp 0x4489e8
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x448d48
mov rax, qword [rsp + 0x68]
sub rdx, rax
cmp rdx, 1
je 0x448d48
lea rdx, [rax + 1]
mov r9d, 1
mov qword [rsp + 0x68], rdx
mov rdx, qword [rsp + 0x70]
mov byte [rdx + rax], 0x2f
mov rdx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x68]
mov byte [rdx + rax], 0
mov rcx, qword [r12 + 0x10]
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x68]
call fcn.0044f290
mov rcx, r12
mov rdx, rax
call fcn.0044ee30
jmp 0x448b31
mov edx, 1
mov rcx, r13
call fcn.004727c0
mov rax, qword [rsp + 0x68]
jmp 0x448cf8
mov rcx, qword [rsp + 0x70]
call fcn.00441af0
test eax, eax
je 0x448e6b
mov r8d, dword [rsp + 0x5c]
mov qword [r15], 0
mov qword [r15 + 8], 0
or r8d, 0xc
mov qword [r15 + 0x10], 0
mov qword [r15 + 0x18], 0
mov dword [rsp + 0x5c], r8d
jmp 0x448b19
mov rcx, r14
call fcn.004727a0
mov rax, qword [sym.imp.libssp_0.dll___stack_chk_guard]
mov rdi, qword [rsp + 0x118]
xor rdi, qword [rax]
jne 0x448e66
add rsp, 0x128
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [0x005aafd0]
mov rdx, qword [r15]
mov rcx, qword [r15 + 8]
xor rdx, qword [rax]
xor rcx, qword [rax + 8]
or rcx, rdx
jne 0x448aec
mov rdx, qword [r15 + 0x10]
mov rcx, qword [r15 + 0x18]
xor rdx, qword [rax + 0x10]
xor rcx, qword [rax + 0x18]
or rcx, rdx
jne 0x448aec
xor eax, eax
jmp 0x448af1
or dword [rsp + 0x5c], 4
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xf8], 0
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x108], 0
jmp 0x448afd
lea rcx, [0x00582650]
call fcn.00494770
call sub.libssp_0.dll___stack_chk_fail
mov rdx, qword [rsp + 0x70]
lea rcx, str.loose_refname_is_dangerous:__s
call fcn.00494770
nop
nop dword [rax]
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x278
mov rax, qword [sym.imp.libssp_0.dll___stack_chk_guard]
mov qword [rsp + 0x38], rdx
mov rsi, rdx
mov rdi, r8
mov rbp, r9
mov rdx, qword [rax]
mov qword [rsp + 0x268], rdx
xor edx, edx
lea r8, str.for_each_reflog_ent_reverse
mov edx, 1
lea r13, [rsp + 0x40]
call fcn.004463b0
mov r8, rsi
mov rdx, r13
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov rcx, rax
mov rax, qword [0x005ab200]
mov qword [rsp + 0x50], rax
call fcn.00447090
mov rcx, qword [rsp + 0x50]
lea rdx, [0x0058251f]
call fcn.004b1680
mov rcx, r13
mov r14, rax
call fcn.004727a0
test r14, r14
je 0x449248
xor edx, edx
mov r8d, 2
mov rcx, r14
call sub.msvcrt.dll_fseek
test eax, eax
js 0x4491a2
mov rcx, r14
call sub.msvcrt.dll_ftell
mov esi, eax
test eax, eax
jle 0x449019
mov dword [rsp + 0x30], 1
mov r15d, esi
cmp r15d, 0x200
mov r12d, 0x200
mov eax, dword [rsp + 0x30]
mov rcx, r14
cmovbe r12d, r15d
xor r8d, r8d
mov dword [rsp + 0x34], eax
sub r15d, r12d
mov edx, r15d
call sub.msvcrt.dll_fseek
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x449205
mov esi, r12d
lea rbx, [rsp + 0x60]
mov r9, r14
mov r8d, 1
mov rdx, rsi
mov rcx, rbx
call sub.msvcrt.dll_fread
cmp rax, 1
jne 0x4491d6
mov edx, dword [rsp + 0x34]
lea rax, [rbx + rsi]
mov r12, rax
test edx, edx
je 0x448fd0
xor edx, edx
cmp byte [rax - 1], 0xa
sete dl
sub r12, rdx
nop dword [rax + rax]
cmp r12, rbx
jbe 0x449010
nop dword [rax]
mov rsi, r12
sub r12, 1
cmp byte [r12], 0xa
je 0x449078
cmp r12, rbx
jne 0x448fd8
test r15d, r15d
je 0x449112
sub rax, rbx
mov r9, rbx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
mov rcx, r13
call fcn.00472c70
test r15d, r15d
jg 0x448f51
cmp qword [rsp + 0x48], 0
jne 0x449228
xor r9d, r9d
mov rcx, r14
mov dword [rsp + 0x30], r9d
call sub.msvcrt.dll_fclose
mov rcx, r13
call fcn.004727a0
mov r9d, dword [rsp + 0x30]
mov rax, qword [sym.imp.libssp_0.dll___stack_chk_guard]
mov rcx, qword [rsp + 0x268]
xor rcx, qword [rax]
jne 0x449240
mov eax, r9d
add rsp, 0x278
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
sub rax, rsi
xor r8d, r8d
xor edx, edx
mov r9, rsi
mov qword [rsp + 0x20], rax
mov rcx, r13
call fcn.00472c70
mov rdx, qword [rsp + 0x50]
mov r9, rbp
mov r8, rdi
mov rcx, qword [rsp + 0x48]
call fcn.00447530
mov rdx, qword [rsp + 0x50]
cmp rdx, qword [0x005ab200]
mov qword [rsp + 0x48], 0
je 0x4490d8
mov byte [rdx], 0
test eax, eax
jne 0x44910a
mov rax, rsi
cmp r12, rbx
jne 0x448fd0
jmp 0x448ff8
mov rcx, qword [0x005ab200]
cmp byte [rcx], 0
je 0x4490bf
mov dword [rsp + 0x34], eax
mov r8d, 0xa8
lea rdx, [0x00582673]
lea rcx, [0x00582684]
call qword [sym.imp.msvcrt.dll__assert]
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x4490c3
mov r9d, eax
jmp 0x449028
sub rax, r12
xor r8d, r8d
xor edx, edx
mov r9, r12
mov qword [rsp + 0x20], rax
mov rcx, r13
call fcn.00472c70
mov rdx, qword [rsp + 0x50]
mov r9, rbp
mov r8, rdi
mov rcx, qword [rsp + 0x48]
call fcn.00447530
mov qword [rsp + 0x48], 0
mov r9d, eax
mov rax, qword [rsp + 0x50]
cmp rax, qword [0x005ab200]
je 0x449170
mov byte [rax], 0
test r9d, r9d
je 0x449019
jmp 0x449028
mov rax, qword [0x005ab200]
cmp byte [rax], 0
je 0x44915c
mov dword [rsp + 0x30], r9d
mov r8d, 0xa8
lea rdx, [0x00582673]
lea rcx, [0x00582684]
call qword [sym.imp.msvcrt.dll__assert]
mov r9d, dword [rsp + 0x30]
jmp 0x44915c
call qword [sym.imp.msvcrt.dll__errno]
mov ecx, dword [rax]
call sub.msvcrt.dll_strerror
mov rdx, qword [rsp + 0x38]
lea rcx, str.cannot_seek_back_reflog_for__s:__s
mov r8, rax
call fcn.00494950
mov rcx, r14
call sub.msvcrt.dll_ftell
mov r9d, 0xffffffff
jmp 0x449028
call qword [sym.imp.msvcrt.dll__errno]
mov ecx, dword [rax]
call sub.msvcrt.dll_strerror
mov r8, qword [rsp + 0x38]
mov edx, r12d
lea rcx, str.cannot_read__d_bytes_from_reflog_for__s:__s
mov r9, rax
call fcn.00494950
mov r9d, 0xffffffff
jmp 0x449028
call qword [sym.imp.msvcrt.dll__errno]
mov ecx, dword [rax]
call sub.msvcrt.dll_strerror
mov rdx, qword [rsp + 0x38]
lea rcx, str.cannot_seek_back_reflog_for__s:__s
mov r8, rax
call fcn.00494950
jmp 0x4491fa
lea r8, str.reverse_reflog_parser_had_leftover_data
mov edx, 0x7fa
lea rcx, str.refs_files_backend.c
call fcn.00494ad0
call sub.libssp_0.dll___stack_chk_fail
nop dword [rax]
mov r9d, 0xffffffff
jmp 0x449042