Function at 0x4ddda0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x188
mov rax, qword [sym.imp.libssp_0.dll___stack_chk_guard]
mov r13, qword [rsp + 0x1f0]
mov rsi, qword [rax]
mov qword [rsp + 0x178], rsi
xor esi, esi
mov rsi, qword [0x005ab240]
mov r12, rcx
mov rbp, rdx
mov rbx, r8
mov edi, r9d
mov rcx, qword [rsi]
call fcn.004dbfc0
mov dword [rsp + 0x58], eax
test eax, eax
jne 0x4dde28
mov rax, qword [sym.imp.libssp_0.dll___stack_chk_guard]
mov rsi, qword [rsp + 0x178]
xor rsi, qword [rax]
jne 0x4e03b7
mov eax, dword [rsp + 0x58]
add rsp, 0x188
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov edx, 0xa0
mov ecx, 1
call fcn.004997f0
mov rcx, qword [rsi]
mov edx, edi
mov qword [rax + 8], r12
mov r15, rax
and edx, 1
mov qword [rax], rcx
mov eax, edi
shr eax, 1
mov qword [r15 + 0x98], r13
and eax, 1
add eax, eax
or eax, edx
mov edx, edi
shr edi, 3
shr edx, 2
and edi, 1
and edx, 1
shl edi, 3
shl edx, 2
or eax, edx
or edi, eax
movzx eax, byte [r15 + 0x90]
and eax, 0xfffffff0
or edi, eax
mov byte [r15 + 0x90], dil
and edi, 4
je 0x4ddf28
call fcn.004dcfc0
mov rax, qword [r15]
mov rax, qword [rax + 0x10]
mov rax, qword [rax + 0x58]
test rax, rax
je 0x4e0093
mov edi, dword [r15 + 0x60]
lea edx, [rdi + 1]
mov rax, qword [rax + 0x58]
movsxd r8, edx
lea edx, [r8 + 1]
test rax, rax
jne 0x4ddeb0
mov dword [r15 + 0x60], r8d
test r8d, r8d
je 0x4ddf25
mov rax, r8
shr rax, 0x3d
jne 0x4e0270
lea rcx, [r8*8]
call fcn.004996e0
mov rdx, qword [r15]
mov r12d, dword [r15 + 0x60]
mov qword [r15 + 0x68], rax
mov rdx, qword [rdx + 0x10]
mov rdi, qword [rdx + 0x58]
test rdi, rdi
jne 0x4ddf04
jmp 0x4ddf25
mov rax, qword [r15 + 0x68]
mov rcx, qword [rdi + 0x40]
lea edx, [r12 - 1]
lea r14, [rax + rdx*8]
mov r12, rdx
call fcn.004996c0
mov rdi, qword [rdi + 0x58]
mov qword [r14], rax
test rdi, rdi
jne 0x4ddf00
mov rcx, qword [rsi]
call fcn.0042ce90
movzx edx, byte [r15 + 0x90]
mov dword [r15 + 0x3c], eax
shr eax, 5
mov dword [r15 + 0x24], eax
test dl, 4
je 0x4ddf60
test r13, r13
je 0x4ddf60
mov ecx, dword [r13 + 4]
cmp eax, ecx
jle 0x4ddf60
mov dword [r15 + 0x24], ecx
nop word cs:[rax + rax]
and edx, 1
je 0x4ddfbd
mov rcx, qword [r15]
mov rdi, qword [rcx + 0x10]
mov rax, qword [rdi + 0x58]
test rax, rax
je 0x4ddfa0
mov ecx, dword [rax + 0x1c]
add ecx, dword [r15 + 0x24]
mov dword [r15 + 0x24], ecx
cmp ecx, 0x3ff
jg 0x4ddfc9
mov dword [r15 + 0x24], 0x400
mov ecx, 0x400
jmp 0x4ddfcc
mov rdx, qword [r15 + 8]
call fcn.004dcb30
mov qword [rdi + 0x58], rax
mov rax, qword [r15]
mov rax, qword [rax + 0x10]
mov rax, qword [rax + 0x58]
test rax, rax
jne 0x4ddf75
mov ecx, dword [r15 + 0x24]
cmp ecx, 0x3ff
jle 0x4ddf88
movsxd rcx, ecx
shl rcx, 5
call fcn.004996e0
mov qword [r15 + 0x18], rax
test byte [r15 + 0x90], 1
je 0x4de04d
mov rdx, qword [r15]
mov rdx, qword [rdx + 0x10]
mov r12, qword [rdx + 0x58]
test r12, r12
je 0x4de04d
mov edx, dword [r12 + 0x1c]
test edx, edx
je 0x4de04d
xor edi, edi
mov rcx, rax
jmp 0x4de00c
mov rcx, qword [r15 + 0x18]
movsxd rdx, dword [r15 + 0x20]
movzx r9d, byte [r12 + 0x18]
imul r9d, edi
lea eax, [rdx + 1]
add r9, qword [r12 + 0x68]
shl rdx, 5
mov dword [r15 + 0x20], eax
mov rax, qword [rsi]
add rcx, rdx
mov rdx, r9
add edi, 1
mov rax, qword [rax + 0xc8]
mov r8, qword [rax + 0x10]
call sub.msvcrt.dll_memcpy
cmp edi, dword [r12 + 0x1c]
jb 0x4de008
test rbp, rbp
je 0x4de1e8
mov rax, qword [0x005ab200]
lea rdx, str._s_pack_
lea r13, [rsp + 0xb0]
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov rcx, r13
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0xc0], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0xb0], 0
mov r8, qword [rax + 0x1908]
mov qword [rsp + 0xb8], 0
call fcn.004737e0
mov r12, qword [rsp + 0xb8]
test byte [r15 + 0x90], 2
jne 0x4de640
mov r14d, dword [rbp + 8]
movsxd r12, r12d
xor edi, edi
test r14d, r14d
jne 0x4de183
jmp 0x4df700
mov byte [rax + r12], 0
mov eax, edi
shl rax, 4
add rax, qword [rbp]
mov r14, qword [rax]
mov rcx, r14
call sub.msvcrt.dll_strlen
mov rdx, r14
mov rcx, r13
mov r8, rax
call fcn.00472fb0
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc0]
mov r8d, 1
call fcn.0042c430
mov r14, rax
test rax, rax
je 0x4df740
mov rcx, rax
call fcn.0042b430
test eax, eax
jne 0x4df770
mov r9d, 4
mov r8, r15
mov rcx, r14
add edi, 1
lea rdx, [0x004dbe00]
call fcn.0042eb00
mov rcx, r14
call fcn.0042bba0
mov rcx, r14
call fcn.004c9260
cmp edi, dword [rbp + 8]
jae 0x4df700
mov rax, qword [rsp + 0xb0]
cmp rax, 1
adc rax, 0xffffffffffffffff
cmp rax, r12
jb 0x4e0261
mov qword [rsp + 0xb8], r12
mov rax, qword [rsp + 0xc0]
cmp rax, qword [rsp + 0x38]
jne 0x4de0f0
mov rax, qword [rsp + 0x38]
cmp byte [rax], 0
je 0x4de0f5
mov r8d, 0xa8
lea rdx, [0x00595483]
lea rcx, [0x0059548c]
call qword [sym.imp.msvcrt.dll__assert]
jmp 0x4de0f5
movzx eax, byte [r15 + 0x90]
mov rdi, qword [0x005ab200]
and eax, 2
mov qword [rsp + 0x38], rdi
test rbx, rbx
je 0x4de3a0
mov rdi, qword [rsp + 0x38]
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], rdi
mov edi, dword [rbx + 8]
test al, al
jne 0x4de688
xor r12d, r12d
lea r14, [rsp + 0x90]
lea rbp, [rsp + 0x140]
test edi, edi
jne 0x4de270
jmp 0x4de32e
test byte [r15 + 0x90], 8
jne 0x4df6d0
cmp r12d, dword [rbx + 8]
jae 0x4de32e
mov rcx, qword [r15 + 0x40]
lea edx, [r12 + 1]
mov edi, r12d
mov r12, rdx
shl rdi, 4
call fcn.00436d50
mov rax, qword [rbx]
mov r8, r14
mov rdx, rbp
mov rcx, qword [rax + rdi]
call fcn.00427160
test eax, eax
jne 0x4de258
mov rcx, qword [r15]
mov r8d, 1
mov rdx, rbp
call fcn.004d8910
mov r13, rax
test rax, rax
je 0x4de258
movsxd rdx, dword [r15 + 0x20]
mov eax, dword [r15 + 0x24]
cmp edx, eax
jl 0x4de390
lea eax, [rax + rax*2 + 0x30]
mov ecx, eax
shr ecx, 0x1f
add ecx, eax
lea eax, [rdx + 1]
sar ecx, 1
cmp edx, ecx
cmovge ecx, eax
movsxd rdx, ecx
mov rax, rdx
mov dword [r15 + 0x24], edx
shr rax, 0x3b
jne 0x4e03a3
mov rcx, qword [r15 + 0x18]
shl rdx, 5
call fcn.00499790
movsxd rdx, dword [r15 + 0x20]
mov qword [r15 + 0x18], rax
movdqu xmm0, xmmword [r13 + 8]
shl rdx, 5
add rdx, rax
movups xmmword [rdx], xmm0
movdqu xmm1, xmmword [r13 + 0x18]
movups xmmword [rdx + 0x10], xmm1
add dword [r15 + 0x20], 1
cmp r12d, dword [rbx + 8]
jb 0x4de270
lea rax, [r15 + 0x40]
lea r13, [rsp + 0xb0]
mov rcx, rax
mov qword [rsp + 0x50], rax
call fcn.00436fb0
mov rcx, r13
call fcn.004727a0
mov edx, dword [r15 + 0x20]
test byte [r15 + 0x90], 2
je 0x4de3ee
movsxd r12, edx
call fcn.00426640
lea rcx, [0x00594c70]
test eax, eax
je 0x4dffd8
mov rdx, r12
call fcn.00436d70
mov edx, dword [r15 + 0x20]
mov qword [r15 + 0x40], rax
jmp 0x4de3ee
mov rax, qword [r15 + 0x18]
jmp 0x4de305
test al, al
jne 0x4e0030
mov r8d, 4
mov rdx, r15
lea rcx, [0x004dbe00]
call fcn.0042ec00
mov eax, dword [r15 + 0x3c]
cmp dword [r15 + 0x48], eax
jb 0x4e0020
lea rax, [r15 + 0x40]
mov rcx, rax
mov qword [rsp + 0x50], rax
call fcn.00436fb0
mov edx, dword [r15 + 0x20]
test byte [r15 + 0x90], 2
jne 0x4de361
xor edi, edi
test edx, edx
jle 0x4de430
nop dword [rax]
mov rcx, qword [r15 + 0x40]
mov rbx, rdi
add rdi, 1
mov rdx, rdi
shl rbx, 5
call fcn.00436d50
add rbx, qword [r15 + 0x18]
mov rcx, qword [r15]
mov rdx, rbx
call fcn.004d8ab0
test rax, rax
je 0x4de42a
or dword [rax + 4], 0x8000
cmp dword [r15 + 0x20], edi
jg 0x4de3f8
mov rcx, qword [rsp + 0x50]
call fcn.00436fb0
test byte [r15 + 0x90], 2
jne 0x4df678
mov r12d, dword [r15 + 0x20]
xor edi, edi
test r12d, r12d
jg 0x4de47b
jmp 0x4de4e0
xor r8d, r8d
mov rdx, rax
call fcn.004d9ca0
test eax, eax
jne 0x4de475
cmp dword [rbx + 0x40], 0xffffffff
je 0x4de4c8
cmp dword [r15 + 0x20], edi
jle 0x4de4e0
mov rcx, qword [r15 + 0x40]
mov rbx, rdi
add rdi, 1
mov rdx, rdi
shl rbx, 5
call fcn.00436d50
add rbx, qword [r15 + 0x18]
mov rcx, qword [r15]
mov rdx, rbx
call fcn.004d8ab0
mov rbx, rax
test rax, rax
je 0x4de475
mov rcx, qword [rsi]
test byte [r15 + 0x90], 4
jne 0x4de460
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
call fcn.004d98e0
test eax, eax
jne 0x4de475
mov rdx, qword [rbx + 0x30]
mov rcx, r15
call fcn.004dc3e0
cmp dword [r15 + 0x20], edi
jg 0x4de47b
nop word [rax + rax]
mov rcx, qword [rsp + 0x50]
call fcn.00436fb0
test byte [r15 + 0x90], 2
jne 0x4df6a0
mov ebp, dword [r15 + 0x20]
xor edi, edi
test ebp, ebp
jle 0x4de540
nop word [rax + rax]
mov rcx, qword [r15 + 0x40]
mov rbx, rdi
add rdi, 1
mov rdx, rdi
shl rbx, 5
call fcn.00436d50
add rbx, qword [r15 + 0x18]
mov rcx, qword [r15]
mov rdx, rbx
call fcn.004d8ab0
test rax, rax
je 0x4de53a
and dword [rax + 4], 0xffff7fff
cmp dword [r15 + 0x20], edi
jg 0x4de508
mov rcx, qword [rsp + 0x50]
call fcn.00436fb0
test byte [r15 + 0x90], 2
jne 0x4df648
mov rcx, qword [r15 + 0x40]
xor edx, edx
call fcn.00436d50
movsxd rdx, dword [r15 + 0x20]
cmp rdx, 1
ja 0x4deab0
cmp edx, 1
jbe 0x4dead1
xor ebp, ebp
mov r12d, 1
mov edi, 1
jmp 0x4de5d4
xor r8, qword [rdx + 8]
xor rcx, qword [rdx]
or r8, rcx
jne 0x4de5a8
mov ebx, dword [rdx + 0x10]
cmp dword [rax + 0x10], ebx
je 0x4de635
mov eax, 1
xor eax, 1
test eax, eax
jne 0x4de5c6
test byte [r15 + 0x90], 4
jne 0x4de6d0
add r12d, 1
add rbp, 0x20
cmp edi, dword [r15 + 0x20]
jae 0x4de700
mov rcx, qword [r15 + 0x40]
lea edx, [rdi + 1]
mov ebx, edi
mov rdi, rdx
call fcn.00436d50
mov rcx, qword [rsi]
mov rax, qword [r15 + 0x18]
mov edx, ebx
shl rdx, 5
mov rcx, qword [rcx + 0xc8]
add rdx, rax
add rax, rbp
mov r8, qword [rax + 8]
cmp qword [rcx + 0x10], 0x20
mov rcx, qword [rax]
jne 0x4de590
xor r8, qword [rdx + 8]
xor rcx, qword [rdx]
or r8, rcx
jne 0x4de5a8
mov rcx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
mov rax, qword [rdx + 0x10]
xor r8, qword [rdx + 0x18]
xor rax, rcx
or r8, rax
jne 0x4de5a8
xor eax, eax
jmp 0x4de5ad
mov edi, dword [rbp + 8]
call fcn.00426640
lea rdx, [0x00594c70]
test eax, eax
je 0x4df868
lea rcx, [rsp + 0x70]
mov r8d, edi
call fcn.004737e0
mov rcx, qword [rsp + 0x80]
xor edx, edx
call fcn.00436d70
mov dword [r15 + 0x48], 0
mov qword [r15 + 0x40], rax
jmp 0x4de0d4
call fcn.00426640
lea rdx, [0x00594c70]
test eax, eax
je 0x4df8b0
mov r8d, edi
lea rcx, [rsp + 0xb0]
call fcn.004737e0
mov edx, dword [rbx + 8]
mov rcx, qword [rsp + 0xc0]
call fcn.00436d70
mov edi, dword [rbx + 8]
mov qword [r15 + 0x40], rax
jmp 0x4de238
mov rcx, qword [r15]
call fcn.004d8ab0
test rax, rax
je 0x4de5c6
cmp dword [rax + 0x40], 0xffffffff
je 0x4de5c2
add rbp, 0x20
cmp edi, dword [r15 + 0x20]
jb 0x4de5d4
nop dword [rax]
mov rcx, qword [rsp + 0x50]
call fcn.00436fb0
mov ecx, r12d
shl rcx, 3
cmp r12d, 0x7ffffffe
ja 0x4df618
mov dword [r15 + 0x34], r12d
call fcn.004996e0
mov dword [r15 + 0x38], 0
mov qword [r15 + 0x28], rax
test byte [r15 + 0x90], 2
jne 0x4df7a0
mov edi, dword [r15 + 0x20]
xor ebx, ebx
test edi, edi
jne 0x4de817
jmp 0x4de8c0
lea eax, [rax + rax*2 + 0x30]
mov edx, eax
shr edx, 0x1f
add edx, eax
mov eax, edx
lea edx, [rcx + 1]
sar eax, 1
cmp ecx, eax
cmovl edx, eax
mov dword [r15 + 0x34], edx
movsxd rdx, edx
mov rax, rdx
shr rax, 0x3d
jne 0x4e026d
mov rcx, qword [r15 + 0x28]
shl rdx, 3
call fcn.00499790
movsxd rcx, dword [r15 + 0x30]
mov qword [r15 + 0x28], rax
mov edx, edi
lea rbp, [rax + rcx*8]
mov rcx, qword [r15]
mov rdi, rdx
shl rdi, 5
add rdi, qword [r15 + 0x18]
mov rdx, rdi
call fcn.004d8ab0
movsxd rdx, dword [r15 + 0x30]
test byte [r15 + 0x90], 4
mov qword [rbp], rax
mov rax, qword [r15 + 0x28]
mov rdx, qword [rax + rdx*8]
je 0x4de7d4
cmp dword [rdx + 0x40], 0xffffffff
jne 0x4de80d
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
call fcn.004d98e0
movsxd rdx, dword [r15 + 0x30]
mov rax, qword [r15 + 0x28]
mov rax, qword [rax + rdx*8]
mov rcx, qword [rax + 0x30]
call fcn.004d9dc0
cmp eax, 2
jbe 0x4de808
mov edx, dword [r15 + 0x38]
lea eax, [rax + rdx - 1]
mov dword [r15 + 0x38], eax
add dword [r15 + 0x30], 1
cmp ebx, dword [r15 + 0x20]
jae 0x4de8c0
mov rcx, qword [r15 + 0x40]
mov edi, ebx
lea edx, [rbx + 1]
mov rbx, rdx
call fcn.00436d50
test edi, edi
je 0x4de87b
mov rcx, qword [r15 + 0x18]
mov eax, edi
lea edx, [rdi - 1]
shl rax, 5
shl rdx, 5
add rdx, rcx
add rax, rcx
mov rcx, qword [rsi]
mov r8, qword [rdx + 8]
mov rcx, qword [rcx + 0xc8]
cmp qword [rcx + 0x10], 0x20
mov rcx, qword [rdx]
je 0x4de898
xor r8, qword [rax + 8]
xor rcx, qword [rax]
or r8, rcx
jne 0x4de86f
mov eax, dword [rax + 0x10]
cmp dword [rdx + 0x10], eax
je 0x4de8b9
mov eax, 1
xor eax, 1
test eax, eax
jne 0x4de80d
movsxd rcx, dword [r15 + 0x30]
mov eax, dword [r15 + 0x34]
cmp ecx, eax
jge 0x4de758
mov rax, qword [r15 + 0x28]
jmp 0x4de798
xor r8, qword [rax + 8]
xor rcx, qword [rax]
or r8, rcx
jne 0x4de86f
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x18]
xor rcx, qword [rax + 0x10]
xor rdx, qword [rax + 0x18]
or rdx, rcx
jne 0x4de86f
xor eax, eax
jmp 0x4de874
mov rcx, qword [rsp + 0x50]
call fcn.00436fb0
mov eax, dword [r15 + 0x30]
mov dword [rsp + 0x58], eax
cmp eax, 0x7fffffff
je 0x4de9e8
mov r11d, dword [rsp + 0x58]
test r11d, r11d
je 0x4dea10
movzx eax, byte [r15 + 0x90]
test al, 4
jne 0x4df948
mov dword [r15 + 0x64], 1
mov qword [rsp + 0xb0], 0
test al, 2
jne 0x4df910
mov r9d, dword [rsp + 0x58]
xor ebx, ebx
lea rdi, [rsp + 0xb0]
test r9d, r9d
jg 0x4de93a
jmp 0x4deaf0
cmp dword [r15 + 0x30], ebx
jle 0x4deaf0
mov rcx, qword [r15 + 0x40]
mov rbp, rbx
add rbx, 1
mov rdx, rbx
call fcn.00436d50
mov rax, qword [r15 + 0x28]
mov rcx, qword [rax + rbp*8]
mov eax, dword [rcx + 0x44]
sub eax, 1
cmp eax, 0xfffffffd
jbe 0x4de930
mov rdx, rdi
call fcn.004d9d90
nop dword [rax + rax]
mov rax, qword [rsp + 0xb0]
test rax, rax
je 0x4de930
mov rbp, qword [rax]
mov rax, qword [rbp + 0x30]
test rax, rax
je 0x4df398
xor edx, edx
jmp 0x4de9a6
mov rax, qword [rax + 8]
cmp edx, ecx
cmovb edx, ecx
test rax, rax
je 0x4de9c8
mov r8, qword [rax]
mov ecx, dword [r8 + 0x44]
lea r9d, [rcx - 1]
cmp r9d, 0xfffffffd
jbe 0x4de998
mov rdx, rdi
mov rcx, r8
call fcn.004d9d90
jmp 0x4de970
add edx, 1
mov dword [rbp + 0x44], edx
mov rcx, rdi
call fcn.004da0c0
cmp dword [rbp + 0x44], 0x3fffffff
jbe 0x4de970
mov dword [rbp + 0x44], 0x3fffffff
jmp 0x4de970
call fcn.00426640
lea rcx, [0x00594c70]
test eax, eax
je 0x4e019a
call fcn.00494950
mov dword [rsp + 0x58], 0xffffffff
nop dword [rax]
mov rcx, qword [r15 + 0x10]
call fcn.004c9260
mov rcx, qword [r15 + 0x28]
call fcn.004c9260
mov rcx, qword [r15 + 0x18]
call fcn.004c9260
mov rax, qword [r15 + 0x70]
test rax, rax
je 0x4deaa3
mov edx, dword [r15 + 0x64]
test edx, edx
je 0x4dea65
xor ebx, ebx
jmp 0x4dea44
mov rax, qword [r15 + 0x70]
mov esi, ebx
add ebx, 1
mov rcx, qword [rax + rsi*8]
call fcn.004c9260
mov rax, qword [r15 + 0x78]
mov rcx, qword [rax + rsi*8]
call fcn.004c9260
cmp ebx, dword [r15 + 0x64]
jb 0x4dea40
mov eax, dword [r15 + 0x60]
xor ebx, ebx
test eax, eax
je 0x4dea88
nop
mov rax, qword [r15 + 0x68]
mov edx, ebx
add ebx, 1
mov rcx, qword [rax + rdx*8]
call fcn.004c9260
cmp ebx, dword [r15 + 0x60]
jb 0x4dea70
mov rcx, qword [r15 + 0x70]
call fcn.004c9260
mov rcx, qword [r15 + 0x68]
call fcn.004c9260
mov rcx, qword [r15 + 0x78]
call fcn.004c9260
mov rcx, r15
call fcn.004c9260
jmp 0x4dddf2
mov rcx, qword [r15 + 0x18]
lea r9, [0x004dc4b0]
mov r8d, 0x20
call fcn.00472570
cmp dword [r15 + 0x20], 1
ja 0x4de57a
mov rcx, qword [rsp + 0x50]
mov r12d, 1
call fcn.00436fb0
mov ecx, 8
jmp 0x4de71e
mov rcx, qword [rsp + 0x50]
call fcn.00436fb0
mov rax, qword [rsi]
mov qword [rsp + 0x70], 0
mov rax, qword [rax + 0xc8]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x005ab200]
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0x38], rax
mov ebp, edi
mov qword [rsp + 0xa0], rax
test byte [r15 + 0x90], 4
je 0x4df7d0
mov rax, qword [rsp + 0x38]
lea r13, [rsp + 0xb0]
lea rdx, str._s_info_commit_graphs_tmp_graph_XXXXXX
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov rcx, r13
mov qword [rsp + 0xc0], rax
mov rax, qword [r15 + 8]
mov r8, qword [rax + 0x1908]
call fcn.004737e0
mov rcx, r13
xor edx, edx
call fcn.004728a0
mov qword [r15 + 0x10], rax
mov rcx, rax
call fcn.00466d40
mov dword [rsp + 0x58], eax
test eax, eax
jne 0x4e02c3
test byte [r15 + 0x90], 4
je 0x4df7f8
mov rax, qword [r15 + 8]
lea rcx, str._s_info_commit_graphs_commit_graph_chain
mov rdx, qword [rax + 0x1908]
call fcn.004751e0
xor r9d, r9d
mov r8d, 1
mov rdx, rax
lea rax, [rsp + 0x70]
mov rcx, rax
mov qword [rsp + 0x68], rax
call fcn.00428f00
mov rcx, qword [r15 + 0x10]
mov edx, 0x124
call fcn.0049a130
mov dword [rsp + 0x64], eax
test eax, eax
js 0x4e0377
mov rdx, qword [r15 + 0x10]
mov ecx, dword [rsp + 0x64]
call fcn.004e70b0
mov r12, rax
movabs rax, 0x434441544f49444c
mov qword [rsp + 0x104], rax
mov eax, dword [r15 + 0x38]
test eax, eax
je 0x4df840
mov r13d, 5
mov r10d, 4
mov dword [rsp + 0x10c], 0x45444745
mov r11d, dword [r15 + 0x64]
cmp r11d, 1
jle 0x4df858
mov dword [rsp + 0x48], r13d
movsxd rdx, r10d
mov dword [rsp + rdx*4 + 0x100], 0x42415345
lea edx, [r13 + 1]
mov ecx, dword [r15 + 0x30]
lea edx, [rdx + rdx*2]
movsxd rbx, dword [rsp + 0x48]
lea r14d, [rdx*4 + 8]
mov r8d, ecx
movsxd r14, r14d
shl ecx, 4
mov dword [rsp + rbx*4 + 0x100], 0
imul r8d, edi
lea rdx, [r14 + 0x400]
mov qword [rsp + 0x148], rdx
mov r9d, r8d
add rdx, r9
lea r9d, [rcx + r8]
mov qword [rsp + 0x150], rdx
add rdx, r9
mov qword [rsp + 0x158], rdx
test eax, eax
je 0x4decef
lea r9d, [rax*4]
movsxd r9, r9d
add r9, rdx
mov qword [rsp + 0x160], r9
cmp r11d, 1
jle 0x4ded10
sub r11d, 1
movsxd rax, r10d
imul edi, r11d
add rdi, qword [rsp + rax*8 + 0x140]
mov qword [rsp + r13*8 + 0x140], rdi
lea r13, [rsp + 0xb0]
mov rcx, r12
xor edi, edi
mov r8d, 4
mov dword [rsp + 0xb0], 0x48504743
mov rdx, r13
call fcn.004e6f20
mov r8d, 1
mov rdx, r13
mov rcx, r12
mov byte [rsp + 0xb0], 1
call fcn.004e6f20
mov r8d, 1
mov rdx, r13
mov rcx, r12
mov byte [rsp + 0xb0], 1
call fcn.004e6f20
movzx eax, byte [rsp + 0x48]
mov rdx, r13
mov rcx, r12
mov r8d, 1
mov byte [rsp + 0xb0], al
call fcn.004e6f20
movzx eax, byte [r15 + 0x64]
mov rcx, r12
mov rdx, r13
mov r8d, 1
sub eax, 1
mov byte [rsp + 0xb0], al
call fcn.004e6f20
mov dword [rsp + 0x5c], ebp
mov eax, 0x4f494446
mov rbp, rdi
lea rcx, [rsp + 0x120]
mov rdi, rbx
mov qword [rsp + 0x40], rcx
mov rbx, rcx
jmp 0x4dede2
mov eax, dword [rsp + rdx*4 + 0x100]
mov r14, qword [rsp + rdx*8 + 0x140]
mov rbp, rdx
mov rdx, rbx
mov r8d, 0xc
mov rcx, r12
bswap eax
mov dword [rsp + 0x120], eax
mov rax, r14
shr rax, 0x20
bswap r14d
bswap eax
mov dword [rsp + 0x128], r14d
mov dword [rsp + 0x124], eax
call fcn.004e6f20
lea rdx, [rbp + 1]
cmp rbp, rdi
jne 0x4dedd0
mov ebp, dword [rsp + 0x5c]
test byte [r15 + 0x90], 2
jne 0x4dfac0
mov rdi, qword [r15 + 0x28]
xor r14d, r14d
xor ebx, ebx
nop dword [rax + rax]
cmp dword [r15 + 0x30], r14d
jg 0x4dee73
jmp 0x4dee7e
mov rax, qword [r15 + 0x50]
mov rcx, qword [r15 + 0x40]
add r14d, 1
add rdi, 8
lea rdx, [rax + 1]
mov qword [r15 + 0x50], rdx
call fcn.00436d50
cmp r14d, dword [r15 + 0x30]
jge 0x4dee7e
mov rax, qword [rdi]
movzx eax, byte [rax + 8]
cmp eax, ebx
je 0x4dee50
mov r8d, 4
mov rdx, r13
mov rcx, r12
add ebx, 1
mov eax, r14d
bswap eax
mov dword [rsp + 0xb0], eax
call fcn.004e6f20
cmp ebx, 0x100
jne 0x4dee40
movsxd rax, dword [r15 + 0x30]
mov rbx, qword [r15 + 0x28]
test eax, eax
jle 0x4deef0
xor edi, edi
nop dword [rax]
mov rax, qword [r15 + 0x50]
mov rcx, qword [r15 + 0x40]
lea rdx, [rax + 1]
mov qword [r15 + 0x50], rdx
call fcn.00436d50
mov rax, qword [rbx + rdi*8]
mov r8d, ebp
mov rcx, r12
add rdi, 1
lea rdx, [rax + 8]
call fcn.004e6f20
movsxd rax, dword [r15 + 0x30]
cmp eax, edi
jg 0x4deeb8
mov rbx, qword [r15 + 0x28]
lea rax, [rbx + rax*8]
mov ecx, 0x70000000
xor edi, edi
bswap ecx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x60], ecx
cmp rax, rbx
jbe 0x4df04a
nop
mov rax, qword [r15 + 0x50]
mov rcx, qword [r15 + 0x40]
lea rdx, [rax + 1]
mov qword [r15 + 0x50], rdx
call fcn.00436d50
mov rcx, qword [rsi]
mov rdx, qword [rbx]
xor r9d, r9d
xor r8d, r8d
call fcn.004d98e0
mov rcx, qword [rbx]
test eax, eax
jne 0x4e01fe
call fcn.004d9330
mov r8d, ebp
mov rcx, r12
mov rdx, rax
call fcn.004e6f20
mov rax, qword [rbx]
mov r14, qword [rax + 0x30]
test r14, r14
je 0x4df298
mov rax, qword [r14]
mov rdx, qword [r15 + 0x28]
lea r9, [0x004dbba0]
movsxd r8, dword [r15 + 0x30]
lea rcx, [rax + 8]
call fcn.00465100
mov r9d, eax
test eax, eax
js 0x4df2e0
add r9d, dword [r15 + 0x80]
test r9d, r9d
js 0x4e0226
mov r8d, 4
mov rdx, r13
mov rcx, r12
bswap r9d
mov dword [rsp + 0xb0], r9d
call fcn.004e6f20
mov r14, qword [r14 + 8]
test r14, r14
je 0x4e03e4
cmp qword [r14 + 8], 0
je 0x4df320
mov eax, edi
mov r8d, 4
mov rdx, r13
mov rcx, r12
or eax, 0x80000000
bswap eax
mov dword [rsp + 0xb0], eax
call fcn.004e6f20
mov r14, qword [r14 + 8]
add edi, 1
test r14, r14
jne 0x4defef
mov rdx, qword [rbx]
mov r8d, 8
add rbx, 8
mov rcx, qword [rdx + 0x28]
mov edx, dword [rdx + 0x44]
mov rax, rcx
shl edx, 2
shr rax, 0x20
bswap edx
and eax, 3
bswap eax
or eax, edx
mov rdx, qword [rsp + 0x40]
bswap ecx
mov dword [rsp + 0x124], ecx
mov rcx, r12
mov dword [rsp + 0x120], eax
call fcn.004e6f20
cmp qword [rsp + 0x48], rbx
ja 0x4def10
mov r8d, dword [r15 + 0x38]
test r8d, r8d
jne 0x4dfb28
cmp dword [r15 + 0x64], 1
jle 0x4df080
mov rdx, qword [r15 + 0x88]
mov rcx, r12
call fcn.004dbcf0
mov r8d, eax
mov eax, dword [r15 + 0x64]
sub eax, 1
cmp r8d, eax
jne 0x4e0281
mov rcx, qword [rsp + 0x50]
lea r14, [rsp + 0x90]
call fcn.00436fb0
mov rcx, r14
call fcn.004727a0
test byte [r15 + 0x90], 4
je 0x4df140
cmp qword [r15 + 0x58], 0
je 0x4df140
cmp dword [r15 + 0x64], 1
jle 0x4df140
mov rax, qword [r15 + 0x88]
lea rcx, [rax + 0x20]
call fcn.00427370
mov rcx, rax
call fcn.004996c0
lea rcx, str._s_info_commit_graphs_graph__s.graph
mov rbx, rax
mov rax, qword [r15 + 0x88]
mov r8, rbx
mov rax, qword [rax + 0x48]
mov rdx, qword [rax + 0x1908]
call fcn.004751e0
movsxd rdx, dword [r15 + 0x64]
mov rsi, rax
mov rax, qword [r15 + 0x70]
mov rcx, qword [rax + rdx*8 - 0x10]
call fcn.004c9260
movsxd rdx, dword [r15 + 0x64]
mov rax, qword [r15 + 0x78]
mov rcx, qword [rax + rdx*8 - 0x10]
call fcn.004c9260
movsxd rax, dword [r15 + 0x64]
mov rdx, qword [r15 + 0x70]
shl rax, 3
mov qword [rdx + rax - 0x10], rsi
mov rdx, qword [r15 + 0x78]
mov qword [rdx + rax - 0x10], rbx
nop dword [rax + rax]
mov rax, qword [r15]
mov rbx, qword [rax + 0x10]
mov rcx, qword [rbx + 0x58]
call fcn.004ddd50
mov qword [rbx + 0x58], 0
mov rdx, qword [rsp + 0x40]
mov rcx, r12
mov r8d, 6
call fcn.004e6da0
test byte [r15 + 0x90], 4
je 0x4df3a8
mov rcx, qword [rsp + 0x70]
lea rdx, [0x00595861]
call fcn.0047f200
mov ecx, dword [rsp + 0x64]
mov rbx, rax
call sub.msvcrt.dll__close
test rbx, rbx
je 0x4e03ee
mov r12, qword [r15 + 0x58]
test r12, r12
je 0x4df8e2
movsxd rdx, dword [r15 + 0x64]
mov rax, qword [r15 + 0x70]
mov rcx, r12
mov r13, qword [rax + rdx*8 - 0x10]
mov rdx, r13
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4e00a5
mov rcx, qword [rsp + 0x40]
xor edi, edi
call fcn.00427370
movsxd rdx, dword [r15 + 0x64]
mov rcx, rax
mov rax, qword [r15 + 0x78]
lea rbx, [rax + rdx*8 - 8]
call fcn.004996c0
movsxd rcx, dword [r15 + 0x64]
mov rdx, qword [r15 + 8]
mov qword [rbx], rax
mov rax, qword [r15 + 0x78]
lea rbx, [0x005958b8]
mov rdx, qword [rdx + 0x1908]
mov r8, qword [rax + rcx*8 - 8]
lea rcx, str._s_info_commit_graphs_graph__s.graph
call fcn.004751e0
movsxd rcx, dword [r15 + 0x64]
mov rdx, rax
mov rax, qword [r15 + 0x70]
mov qword [rax + rcx*8 - 8], rdx
mov rcx, qword [r15 + 0x10]
call fcn.004b3470
mov ecx, dword [r15 + 0x64]
mov esi, eax
test ecx, ecx
je 0x4df264
nop
mov rax, qword [rsp + 0x70]
mov edx, edi
add edi, 1
mov rcx, qword [rax + 0x18]
mov rax, qword [r15 + 0x78]
mov r8, qword [rax + rdx*8]
mov rdx, rbx
call sub.libintl_8.dll_libintl_fprintf
cmp edi, dword [r15 + 0x64]
jb 0x4df240
test esi, esi
je 0x4df3a8
call fcn.00426640
lea rcx, [0x00594c70]
test eax, eax
je 0x4e03d0
call fcn.00494950
mov dword [rsp + 0x58], 0xffffffff
jmp 0x4df3b2
mov eax, dword [rsp + 0x60]
mov r8d, 4
mov rdx, r13
mov rcx, r12
mov dword [rsp + 0xb0], eax
call fcn.004e6f20
mov eax, 0x70000000
mov r8d, 4
mov rdx, r13
mov rcx, r12
bswap eax
mov dword [rsp + 0xb0], eax
call fcn.004e6f20
jmp 0x4deffb
mov rcx, qword [r14]
mov dword [rsp + 0x5c], eax
mov eax, dword [rcx + 0x40]
cmp eax, 0xffffffff
jne 0x4df312
mov rdx, qword [r15 + 0x88]
mov r8, r13
call fcn.004dc1b0
mov r9d, dword [rsp + 0x5c]
test eax, eax
je 0x4def91
mov eax, dword [rsp + 0xb0]
mov r9d, eax
jmp 0x4def91
mov rax, qword [r14]
mov rdx, qword [r15 + 0x28]
lea r9, [0x004dbba0]
movsxd r8, dword [r15 + 0x30]
lea rcx, [rax + 8]
call fcn.00465100
mov r9d, eax
test eax, eax
js 0x4df360
add r9d, dword [r15 + 0x80]
test r9d, r9d
js 0x4e0328
mov eax, r9d
jmp 0x4df2b9
mov rcx, qword [r14]
mov dword [rsp + 0x5c], eax
mov eax, dword [rcx + 0x40]
cmp eax, 0xffffffff
jne 0x4df38e
mov rdx, qword [r15 + 0x88]
mov r8, r13
call fcn.004dc1b0
mov r9d, dword [rsp + 0x5c]
test eax, eax
je 0x4df349
mov eax, dword [rsp + 0xb0]
mov r9d, eax
jmp 0x4df349
mov edx, 1
jmp 0x4de9cb
mov rcx, qword [rsp + 0x68]
call fcn.00429220
test byte [r15 + 0x90], 4
jne 0x4dfc88
mov rsi, qword [sym.imp.msvcrt.dll__time64]
mov rax, qword [rsp + 0x38]
xor ecx, ecx
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], rax
call rsi
mov qword [rsp + 0x40], rax
mov rax, qword [r15 + 0x98]
test rax, rax
je 0x4df40a
mov rax, qword [rax + 8]
sub qword [rsp + 0x40], rax
mov rax, qword [r15 + 8]
mov r13, qword [rax + 0x1908]
test byte [r15 + 0x90], 4
je 0x4dfc48
mov rcx, r13
call sub.msvcrt.dll_strlen
mov rdx, r13
mov rcx, r14
mov r8, rax
call fcn.00472fb0
mov r8d, 0x13
lea rdx, str._info_commit_graphs
mov rcx, r14
call fcn.00472fb0
mov rax, qword [0x005ab020]
mov rcx, qword [rsp + 0xa0]
call qword [rax]
mov rbx, rax
test rax, rax
je 0x4df608
mov rdx, qword [rsp + 0x90]
test rdx, rdx
jne 0x4df890
mov edx, 1
mov rcx, r14
call fcn.004727c0
mov rax, qword [rsp + 0x98]
lea rdx, [rax + 1]
lea r13, [rsp + 0xb0]
mov qword [rsp + 0x98], rdx
mov rdx, qword [rsp + 0xa0]
mov byte [rdx + rax], 0x2f
mov rdx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x98]
mov byte [rdx + rax], 0
mov rbp, qword [rsp + 0x98]
nop dword [rax]
mov rcx, rbx
call qword [rbx]
mov rsi, rax
test rax, rax
je 0x4df608
mov rax, qword [rsp + 0x90]
cmp rax, 1
adc rax, 0xffffffffffffffff
cmp rbp, rax
ja 0x4e0261
mov qword [rsp + 0x98], rbp
mov rax, qword [rsp + 0xa0]
cmp rax, qword [rsp + 0x38]
je 0x4df5d8
mov byte [rax + rbp], 0
lea r12, [rsi + 1]
mov rcx, r12
call sub.msvcrt.dll_strlen
mov rdx, r12
mov rcx, r14
mov r8, rax
call fcn.00472fb0
mov rcx, qword [rsp + 0xa0]
mov rdx, r13
call fcn.004b3d70
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0xe0], rax
ja 0x4df4d0
mov rax, qword [rsp + 0x98]
cmp rax, 5
jbe 0x4df4d0
mov r12, qword [rsp + 0xa0]
mov ecx, 7
lea rdi, str..graph
lea rsi, [r12 + rax - 6]
repe cmpsb byte [rsi], byte [rdi]
seta al
sbb al, 0
test al, al
jne 0x4df4d0
mov eax, dword [r15 + 0x64]
test eax, eax
je 0x4df5c4
mov rsi, qword [r15 + 0x70]
sub eax, 1
lea rdi, [rsi + rax*8 + 8]
nop dword [rax]
mov rcx, qword [rsi]
mov rdx, r12
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x4df4d0
add rsi, 8
cmp rdi, rsi
jne 0x4df5a8
mov rcx, r12
call fcn.004af900
jmp 0x4df4d0
mov rax, qword [rsp + 0x38]
cmp byte [rax], 0
je 0x4df519
mov r8d, 0xa8
lea rdx, [0x00595483]
lea rcx, [0x0059548c]
call qword [sym.imp.msvcrt.dll__assert]
jmp 0x4df519
mov rcx, r14
call fcn.004727a0
jmp 0x4dea10
call fcn.00426640
lea rcx, [0x00594c70]
test eax, eax
je 0x4dffa8
mov edx, r12d
call fcn.00494950
mov dword [rsp + 0x58], 0xffffffff
jmp 0x4dea10
movsxd r12, dword [r15 + 0x20]
call fcn.00426640
lea rcx, [0x00594c70]
test eax, eax
je 0x4dffc0
mov rdx, r12
call fcn.00436d70
mov qword [r15 + 0x40], rax
mov rcx, rax
jmp 0x4de55c
call fcn.00426640
lea rcx, [0x00594c70]
test eax, eax
je 0x4dfff0
xor edx, edx
call fcn.00436d70
mov qword [r15 + 0x40], rax
jmp 0x4de448
movsxd r12, dword [r15 + 0x20]
call fcn.00426640
lea rcx, [0x00594c70]
test eax, eax
je 0x4e0008
mov rdx, r12
call fcn.00436d70
mov qword [r15 + 0x40], rax
jmp 0x4de4f8
mov rax, qword [rbx]
mov r12, qword [rax + rdi]
call fcn.00426640
lea rcx, [0x00594c70]
test eax, eax
je 0x4e0059
mov rdx, r12
call fcn.00494950
mov dword [rsp + 0x58], 0xffffffff
jmp 0x4dea10
lea rax, [r15 + 0x40]
mov rcx, rax
mov qword [rsp + 0x50], rax
call fcn.00436fb0
lea rcx, [rsp + 0x70]
call fcn.004727a0
mov rcx, r13
call fcn.004727a0
test rbx, rbx
je 0x4de3dc
movzx eax, byte [r15 + 0x90]
and eax, 2
jmp 0x4de208
mov r12, qword [rsp + 0xc0]
call fcn.00426640
lea rcx, [0x00594c70]
test eax, eax
jne 0x4df6eb
lea rcx, str.error_adding_pack__s
call fcn.0056e6a8
mov rcx, rax
jmp 0x4df6eb
mov r12, qword [rsp + 0xc0]
call fcn.00426640
lea rcx, [0x00594c70]
test eax, eax
jne 0x4df6eb
lea rcx, str.error_opening_index_for__s
call fcn.0056e6a8
mov rcx, rax
jmp 0x4df6eb
movsxd r12, dword [r15 + 0x20]
call fcn.00426640
lea rcx, [0x00594c70]
test eax, eax
je 0x4df8ce
mov rdx, r12
call fcn.00436d70
mov qword [r15 + 0x40], rax
jmp 0x4de741
mov rax, qword [r15 + 8]
lea rcx, str._s_info_commit_graph
mov rdx, qword [rax + 0x1908]
call fcn.004751e0
mov qword [r15 + 0x10], rax
mov rcx, rax
jmp 0x4deba5
lea rax, [rsp + 0x70]
mov rdx, qword [r15 + 0x10]
xor r9d, r9d
mov r8d, 1
mov rcx, rax
mov qword [rsp + 0x68], rax
call fcn.00428f00
mov rax, qword [rsp + 0x70]
mov ebx, dword [rax + 0x14]
mov rdx, qword [rax + 0x38]
mov ecx, dword [rax + 0x14]
mov dword [rsp + 0x64], ebx
call fcn.004e70b0
mov r12, rax
jmp 0x4dec23
mov r13d, 4
mov r10d, 3
jmp 0x4dec58
mov dword [rsp + 0x48], r10d
mov edx, r13d
jmp 0x4dec7d
lea rdx, str.Finding_commits_for_commit_graph_in__d_packs
mov r8d, edi
lea rcx, str.Finding_commits_for_commit_graph_in__d_pack
call sub.libintl_8.dll_libintl_ngettext
mov rdx, rax
jmp 0x4de657
mov rax, qword [rsp + 0x98]
sub rdx, rax
cmp rdx, 1
jne 0x4df491
jmp 0x4df47c
lea rdx, str.Finding_commits_for_commit_graph_from__d_refs
mov r8d, edi
lea rcx, str.Finding_commits_for_commit_graph_from__d_ref
call sub.libintl_8.dll_libintl_ngettext
mov rdx, rax
jmp 0x4de69c
lea rcx, str.Finding_extra_edges_in_commit_graph
call fcn.0056e6a8
mov rcx, rax
jmp 0x4df7b8
mov rax, qword [r15 + 8]
lea rcx, str._s_info_commit_graph
mov rdx, qword [rax + 0x1908]
call fcn.004751e0
mov rcx, rax
call fcn.004af900
jmp 0x4df1cc
movsxd r12, dword [rsp + 0x58]
call fcn.00426640
lea rcx, [0x00594c70]
test eax, eax
je 0x4e00e0
mov rdx, r12
call fcn.00436d70
mov qword [r15 + 0x40], rax
mov eax, dword [r15 + 0x30]
mov dword [rsp + 0x58], eax
jmp 0x4de917
mov rax, qword [r15 + 0x98]
test rax, rax
je 0x4e0120
mov r9d, dword [rax]
mov r11d, dword [rax + 4]
mov eax, 2
test r9d, r9d
cmove r9d, eax
mov rax, qword [r15]
mov edi, dword [r15 + 0x60]
mov rax, qword [rax + 0x10]
lea edx, [rdi + 1]
mov rbx, qword [rax + 0x58]
mov eax, dword [rsp + 0x58]
mov dword [r15 + 0x64], edx
test rbx, rbx
jne 0x4df9a2
jmp 0x4df9c5
mov rbx, qword [rbx + 0x58]
sub edx, 1
add eax, ecx
mov dword [r15 + 0x64], edx
test rbx, rbx
je 0x4df9c5
mov r8d, eax
mov ecx, dword [rbx + 0x1c]
imul r8d, r9d
cmp ecx, r8d
jbe 0x4df9bb
test r11d, r11d
je 0x4df9c5
cmp r11d, eax
jae 0x4df9c5
mov rdi, qword [r15 + 8]
cmp qword [rbx + 0x48], rdi
je 0x4df990
mov qword [r15 + 0x88], rbx
cmp edx, 2
je 0x4e0142
movsxd r8, edx
mov rax, r8
shr rax, 0x3d
jne 0x4e0270
lea rcx, [r8*8]
call fcn.004996e0
movsxd r8, dword [r15 + 0x64]
mov qword [r15 + 0x70], rax
mov rax, r8
shr rax, 0x3d
jne 0x4e0270
lea rcx, [r8*8]
xor edi, edi
call fcn.004996e0
mov r10d, dword [r15 + 0x64]
mov qword [r15 + 0x78], rax
test r10d, r10d
jne 0x4dfa57
jmp 0x4e009c
mov rdx, qword [r15 + 0x70]
mov eax, edi
add edi, 1
lea rbx, [rdx + rax*8]
mov rdx, qword [r15 + 0x68]
mov rcx, qword [rdx + rax*8]
call fcn.004996c0
mov qword [rbx], rax
cmp edi, dword [r15 + 0x64]
jae 0x4e009c
mov ebx, dword [r15 + 0x60]
cmp ebx, edi
ja 0x4dfa30
mov rax, qword [r15]
sub ebx, 1
mov rax, qword [rax + 0x10]
mov rdi, qword [rax + 0x58]
test rdi, rdi
jne 0x4dfa90
jmp 0x4dfe09
mov rdi, qword [rdi + 0x58]
sub ebx, 1
test rdi, rdi
je 0x4dfd00
cmp dword [r15 + 0x64], ebx
jbe 0x4dfa80
lea rcx, [rdi + 0x20]
call fcn.00427370
mov rdx, qword [r15 + 0x78]
mov rcx, rax
mov eax, ebx
lea rbp, [rdx + rax*8]
call fcn.004996c0
mov qword [rbp], rax
jmp 0x4dfa80
call fcn.00426640
lea rdx, [0x00594c70]
test eax, eax
jne 0x4dfaeb
mov r8d, dword [rsp + 0x48]
lea rdx, str.Writing_out_commit_graph_in__d_passes
lea rcx, str.Writing_out_commit_graph_in__d_pass
call sub.libintl_8.dll_libintl_ngettext
mov rdx, rax
mov edi, dword [rsp + 0x48]
lea r14, [rsp + 0x90]
mov rcx, r14
mov r8d, edi
call fcn.004737e0
mov edx, dword [r15 + 0x30]
mov rcx, qword [rsp + 0xa0]
imul edx, edi
movsxd rdx, edx
call fcn.00436d70
mov qword [r15 + 0x40], rax
jmp 0x4dee32
mov rbx, qword [r15 + 0x28]
movsxd rax, dword [r15 + 0x30]
lea rdi, [rbx + rax*8]
cmp rbx, rdi
jae 0x4df057
lea rsi, [0x004dbba0]
nop dword [rax]
mov rax, qword [r15 + 0x50]
mov rcx, qword [r15 + 0x40]
lea rdx, [rax + 1]
mov qword [r15 + 0x50], rdx
call fcn.00436d50
mov rax, qword [rbx]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x4dfc30
mov rbp, qword [rax + 8]
test rbp, rbp
je 0x4dfc30
cmp qword [rbp + 8], 0
jne 0x4dfbcc
jmp 0x4dfc30
add r14d, dword [r15 + 0x80]
test r14d, r14d
js 0x4e01c2
cmp qword [rbp + 8], 0
je 0x4dfc20
mov r8d, 4
mov rdx, r13
mov rcx, r12
bswap r14d
mov dword [rsp + 0xb0], r14d
call fcn.004e6f20
mov rbp, qword [rbp + 8]
test rbp, rbp
je 0x4dfc30
mov rax, qword [rbp]
mov rdx, qword [r15 + 0x28]
mov r9, rsi
movsxd r8, dword [r15 + 0x30]
lea rcx, [rax + 8]
call fcn.00465100
mov r14d, eax
test eax, eax
jns 0x4dfb90
mov rcx, qword [rbp]
mov eax, dword [rcx + 0x40]
cmp eax, 0xffffffff
jne 0x4dfc11
mov rdx, qword [r15 + 0x88]
mov r8, r13
call fcn.004dc1b0
test eax, eax
je 0x4dfb97
mov eax, dword [rsp + 0xb0]
mov r14d, eax
jmp 0x4dfb97
or r14d, 0x80000000
jmp 0x4dfba7
add rbx, 8
cmp rdi, rbx
ja 0x4dfb48
jmp 0x4df057
mov rdx, r13
lea rcx, str._s_info_commit_graphs_commit_graph_chain
call fcn.004751e0
mov r13, rax
mov rcx, rax
call fcn.004af900
mov rcx, r13
call fcn.004c9260
mov rax, qword [r15 + 8]
mov dword [r15 + 0x64], 0
mov r13, qword [rax + 0x1908]
jmp 0x4df423
mov rsi, qword [sym.imp.msvcrt.dll__time64]
xor ecx, ecx
call rsi
mov rbx, rax
mov eax, dword [r15 + 0x64]
lea edi, [rax - 1]
cmp edi, dword [r15 + 0x60]
jae 0x4df3c7
lea r13, [rsp + 0xb0]
nop
mov rax, qword [r15 + 0x68]
mov ebp, edi
mov rdx, r13
add edi, 1
mov rcx, qword [rax + rbp*8]
call fcn.004b3d70
mov rax, qword [rsp + 0xd0]
mov rdx, r14
mov qword [rsp + 0x98], rbx
mov qword [rsp + 0x90], rax
mov rax, qword [r15 + 0x68]
mov rcx, qword [rax + rbp*8]
call fcn.004b05c0
cmp edi, dword [r15 + 0x60]
jb 0x4dfcb0
jmp 0x4df3c7
mov rax, qword [r15]
mov r13d, dword [r15 + 0x60]
mov rax, qword [rax + 0x10]
mov rdi, qword [rax + 0x58]
test rdi, rdi
je 0x4dfe09
lea rbp, [rsp + 0x140]
cmp dword [r15 + 0x64], r13d
ja 0x4e006d
sub r13d, 1
test byte [r15 + 0x90], 2
jne 0x4dff20
mov eax, dword [rdi + 0x1c]
mov edx, dword [r15 + 0x30]
mov ecx, dword [r15 + 0x34]
mov r14d, dword [rdi + 0x50]
add edx, eax
cmp edx, ecx
jbe 0x4dfd95
lea eax, [rcx + rcx*2 + 0x30]
mov r8d, eax
shr r8d, 0x1f
add r8d, eax
sar r8d, 1
cmp edx, r8d
cmova r8d, edx
mov dword [r15 + 0x34], r8d
movsxd r8, r8d
mov rax, r8
shr rax, 0x3d
jne 0x4e0270
mov rcx, qword [r15 + 0x28]
lea rdx, [r8*8]
call fcn.00499790
mov qword [r15 + 0x28], rax
mov eax, dword [rdi + 0x1c]
xor ebx, ebx
test eax, eax
je 0x4dfdf2
nop dword [rax + rax]
mov rcx, qword [r15 + 0x40]
lea edx, [rbx + 1]
mov r12d, ebx
mov rbx, rdx
call fcn.00436d50
lea edx, [r14 + r12]
mov r8, rbp
mov rcx, rdi
call fcn.004dc060
mov rcx, qword [r15]
mov r8d, 1
mov rdx, rbp
call fcn.004d8910
test rax, rax
je 0x4dfded
movsxd r8, dword [r15 + 0x30]
mov rcx, qword [r15 + 0x28]
mov rdx, r8
mov qword [rcx + r8*8], rax
add edx, 1
mov dword [r15 + 0x30], edx
cmp ebx, dword [rdi + 0x1c]
jb 0x4dfda0
mov rcx, qword [rsp + 0x50]
call fcn.00436fb0
mov rdi, qword [rdi + 0x58]
test rdi, rdi
jne 0x4dfd20
mov rdi, qword [r15 + 0x88]
test rdi, rdi
jne 0x4e0081
movsxd r12, dword [r15 + 0x30]
mov rax, r12
test byte [r15 + 0x90], 2
jne 0x4e00f4
cmp r12, 1
jbe 0x4dfe51
mov rcx, qword [r15 + 0x28]
lea r9, [0x004dc4f0]
mov r8d, 8
mov rdx, r12
call fcn.00472570
mov eax, dword [r15 + 0x30]
mov dword [r15 + 0x38], 0
test eax, eax
je 0x4dff70
mov rcx, qword [r15 + 0x40]
xor edx, edx
xor edi, edi
call fcn.00436d50
mov rax, qword [r15 + 0x28]
mov rax, qword [rax]
mov rcx, qword [rax + 0x30]
call fcn.004d9dc0
cmp eax, 2
jbe 0x4dfe94
nop dword [rax + rax]
mov edx, dword [r15 + 0x38]
lea eax, [rax + rdx - 1]
mov dword [r15 + 0x38], eax
lea ebp, [rdi + 1]
cmp ebp, dword [r15 + 0x30]
jae 0x4dff70
mov rcx, qword [r15 + 0x40]
mov ebx, ebp
mov rdx, rbx
call fcn.00436d50
mov rdx, qword [r15 + 0x28]
mov r8, qword [rsi]
mov rax, qword [rdx + rbx*8]
mov r8, qword [r8 + 0xc8]
mov rdx, qword [rdx + rdi*8]
cmp qword [r8 + 0x10], 0x20
lea rcx, [rax + 8]
lea r9, [rdx + 8]
mov r8, qword [r9 + 8]
mov rdx, qword [rdx + 8]
je 0x4dff40
xor r8, qword [rcx + 8]
xor rdx, qword [rax + 8]
or r8, rdx
jne 0x4dfef2
mov edi, dword [rcx + 0x10]
cmp dword [r9 + 0x10], edi
je 0x4dff62
mov edx, 1
xor edx, 1
test edx, edx
jne 0x4e02f8
mov rcx, qword [rax + 0x30]
mov edi, ebp
call fcn.004d9dc0
cmp eax, 2
jbe 0x4dfe94
jmp 0x4dfe88
call fcn.00426640
lea rcx, [0x00594c70]
test eax, eax
je 0x4dff90
xor edx, edx
call fcn.00436d70
mov qword [r15 + 0x40], rax
jmp 0x4dfd3c
xor r8, qword [rcx + 8]
xor rdx, qword [rax + 8]
or r8, rdx
jne 0x4dfef2
mov rdx, qword [r9 + 0x10]
mov r8, qword [r9 + 0x18]
xor rdx, qword [rcx + 0x10]
xor r8, qword [rcx + 0x18]
or r8, rdx
jne 0x4dfef2
xor edx, edx
jmp 0x4dfef7
mov rcx, qword [rsp + 0x50]
call fcn.00436fb0
mov edi, dword [r15 + 0x30]
movzx eax, byte [r15 + 0x90]
mov dword [rsp + 0x58], edi
jmp 0x4de903
lea rcx, str.Merging_commit_graph
call fcn.0056e6a8
mov rcx, rax
jmp 0x4dff30
lea rcx, str.the_commit_graph_format_cannot_write__d_commits
call fcn.0056e6a8
mov rcx, rax
jmp 0x4df62c
lea rcx, str.Counting_distinct_commits_in_commit_graph
call fcn.0056e6a8
mov rcx, rax
jmp 0x4df660
lea rcx, str.Loading_known_commits_in_commit_graph
call fcn.0056e6a8
mov rcx, rax
jmp 0x4de378
lea rcx, str.Expanding_reachable_commits_in_commit_graph
call fcn.0056e6a8
mov rcx, rax
jmp 0x4df68c
lea rcx, str.Clearing_commit_marks_in_commit_graph
call fcn.0056e6a8
mov rcx, rax
jmp 0x4df6b8
mov rcx, qword [r15 + 0x40]
mov edx, eax
call fcn.00436d50
jmp 0x4de3cb
mov r12d, dword [r15 + 0x3c]
call fcn.00426640
lea rcx, [0x00594c70]
test eax, eax
je 0x4e012e
mov rdx, r12
call fcn.00436d70
mov qword [r15 + 0x40], rax
jmp 0x4de3a8
lea rcx, str.invalid_commit_object_id:__s
call fcn.0056e6a8
mov rcx, rax
jmp 0x4df6eb
mov eax, dword [rdi + 0x50]
add eax, dword [rdi + 0x1c]
mov qword [r15 + 0x88], rdi
mov dword [r15 + 0x80], eax
mov rcx, qword [rdi + 0x40]
call fcn.004996c0
mov qword [r15 + 0x58], rax
jmp 0x4dfe19
movsxd r8, dword [r15 + 0x60]
jmp 0x4ddec4
mov ebx, dword [r15 + 0x60]
jmp 0x4dfa5f
mov rdx, r13
mov rcx, r12
call fcn.004b3470
test eax, eax
je 0x4df1cc
lea rcx, str.failed_to_rename_base_commit_graph_file
call fcn.004dbdd0
mov rcx, rax
call fcn.00494950
mov dword [rsp + 0x58], 0xffffffff
jmp 0x4df3b2
lea rcx, str.Computing_commit_graph_generation_numbers
call fcn.0056e6a8
mov rcx, rax
jmp 0x4df929
call fcn.00426640
lea rcx, [0x00594c70]
test eax, eax
je 0x4e01ae
mov rdx, r12
call fcn.00436d70
movsxd r12, dword [r15 + 0x30]
mov qword [r15 + 0x40], rax
mov rax, r12
jmp 0x4dfe2e
mov r9d, 2
xor r11d, r11d
jmp 0x4df96b
lea rcx, str.Finding_commits_for_commit_graph_among_packed_objects
call fcn.0056e6a8
mov rcx, rax
jmp 0x4e0048
mov rax, qword [rbx + 0x48]
lea rcx, str._s_info_commit_graph
mov rdx, qword [rax + 0x1908]
call fcn.004751e0
mov rcx, qword [rbx + 0x40]
mov rdx, rax
mov r12, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4e0189
mov rax, qword [r15 + 8]
cmp qword [rbx + 0x48], rax
je 0x4e0189
mov dword [r15 + 0x64], 1
mov qword [r15 + 0x88], 0
mov rcx, r12
call fcn.004c9260
mov edx, dword [r15 + 0x64]
jmp 0x4df9d5
lea rcx, str.too_many_commits_to_write_graph
call fcn.0056e6a8
mov rcx, rax
jmp 0x4de9fc
lea rcx, str.Scanning_merged_commits
call fcn.0056e6a8
mov rcx, rax
jmp 0x4e0108
mov rcx, qword [rbx]
add rcx, 8
call fcn.00427370
mov rcx, qword [rbp]
mov rbx, rax
add rcx, 8
call fcn.00427370
mov qword [rsp + 0x20], rbx
lea r8, str.missing_parent__s_for_commit__s
mov edx, 0x3d0
mov r9, rax
lea rcx, str.commit_graph.c
call fcn.00494ad0
add rcx, 8
call fcn.00427370
mov r12, rax
call fcn.00426640
lea rcx, [0x00594c70]
test eax, eax
je 0x4e02af
mov rdx, r12
call fcn.00494770
mov rcx, qword [rbx]
add rcx, 8
call fcn.00427370
mov rcx, qword [r14]
mov rbx, rax
add rcx, 8
call fcn.00427370
mov qword [rsp + 0x20], rbx
lea r8, str.missing_parent__s_for_commit__s
mov edx, 0x36e
mov r9, rax
lea rcx, str.commit_graph.c
call fcn.00494ad0
lea rcx, [0x00595460]
call fcn.00494770
mov r8, rdx
mov edx, 8
lea rcx, [0x00594ca8]
call fcn.00494770
call fcn.00426640
lea rcx, [0x00594c70]
test eax, eax
je 0x4e03bc
call fcn.00494950
lea r14, [rsp + 0x90]
mov dword [rsp + 0x58], 0xffffffff
jmp 0x4df3b2
lea rcx, str.unable_to_parse_commit__s
call fcn.0056e6a8
mov rcx, rax
jmp 0x4e021e
mov r12, qword [r15 + 0x10]
call fcn.00426640
lea rcx, [0x00594c70]
test eax, eax
je 0x4e0363
mov rdx, r12
lea r14, [rsp + 0x90]
call fcn.00494950
mov dword [rsp + 0x58], 0xffffffff
jmp 0x4df3b2
call fcn.00427370
mov r12, rax
call fcn.00426640
lea rcx, [0x00594c70]
test eax, eax
jne 0x4e021e
lea rcx, str.unexpected_duplicate_commit_id__s
call fcn.0056e6a8
mov rcx, rax
jmp 0x4e021e
mov rcx, qword [rbx]
add rcx, 8
call fcn.00427370
mov rcx, qword [r14]
mov rbx, rax
add rcx, 8
call fcn.00427370
mov qword [rsp + 0x20], rbx
lea r8, str.missing_parent__s_for_commit__s
mov edx, 0x38d
mov r9, rax
lea rcx, str.commit_graph.c
call fcn.00494ad0
lea rcx, [0x00595760]
call fcn.0056e6a8
mov rcx, rax
jmp 0x4e02db
mov r12, qword [r15 + 0x10]
call fcn.00426640
lea rcx, [0x00594c70]
test eax, eax
jne 0x4e02db
lea rcx, [0x0059578b]
call fcn.0056e6a8
mov rcx, rax
jmp 0x4e02db
mov r8, rdx
lea rcx, [0x00594ca8]
mov edx, 0x20
call fcn.00494770
call sub.libssp_0.dll___stack_chk_fail
lea rcx, str.failed_to_write_correct_number_of_base_graph_ids
call fcn.0056e6a8
mov rcx, rax
jmp 0x4e0295
lea rcx, str.failed_to_rename_temporary_commit_graph_file
call fcn.0056e6a8
mov rcx, rax
jmp 0x4df280
mov eax, 0x70000000
jmp 0x4df2b9
call fcn.00426640
lea rcx, [0x00594c70]
test eax, eax
jne 0x4df280
lea rcx, str.unable_to_open_commit_graph_chain_file
call fcn.0056e6a8
mov rcx, rax
jmp 0x4df280