Function at 0x10091890
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x98
mov eax, dword [0x101f8740]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
push ebp
push esi
xorps xmm0, xmm0
mov ebx, ecx
mov dword [esp + 0x14], ebx
push edi
mov edi, edx
mov dword [esp + 0x24], edi
movups xmmword [esp + 0x28], xmm0
movups xmmword [esp + 0x38], xmm0
movups xmmword [esp + 0x48], xmm0
movups xmmword [esp + 0x58], xmm0
test ebx, ebx
jne 0x100918ed
push str.file
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
jmp 0x10091ce6
mov ebp, dword [esp + 0xac]
cmp ebp, 0x1c
jae 0x10091903
push str.commit_graph_is_too_short
jmp 0x10091cd7
push 0x43475048
call dword [sym.imp.WS2_32.dll_htonl]
cmp dword [edi], eax
jne 0x10091cd2
cmp byte [edi + 4], 1
jne 0x10091cd2
cmp byte [edi + 5], 1
jne 0x10091cd2
mov al, byte [edi + 6]
test al, al
jne 0x1009193b
push str.no_chunks_in_commit_graph
jmp 0x10091cd7
movzx eax, al
cdq
mov ecx, eax
mov esi, edx
shld esi, ecx, 1
add ecx, ecx
add eax, ecx
lea ecx, [ebp - 0x14]
adc edx, esi
shld edx, eax, 2
shl eax, 2
add eax, 0x14
mov dword [esp + 0x10], eax
adc edx, 0
xor ebp, ebp
mov dword [esp + 0x1c], edx
cmp ebp, edx
ja 0x1009197b
jb 0x10091971
cmp ecx, eax
jae 0x1009197b
push str.wrong_commit_graph_size
jmp 0x10091cd7
movups xmm0, xmmword [ecx + edi]
lea esi, [ebx + 0x24]
mov edx, edi
push ecx
movups xmmword [esi], xmm0
mov eax, dword [ecx + edi + 0x10]
push ecx
lea ecx, [esp + 0x98]
mov dword [esi + 0x10], eax
call fcn.10080430
add esp, 8
test eax, eax
jns 0x100919ad
push str.could_not_calculate_signature
jmp 0x10091cd7
lea ecx, [esp + 0x90]
mov edx, 0x10
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x10091ccb
add ecx, 4
add esi, 4
sub edx, 4
jae 0x100919c0
xor ebp, ebp
lea ebx, [edi + 8]
cmp byte [edi + 6], 0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebp
jbe 0x10091aea
nop dword [eax]
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
push dword [ebx + 8]
mov esi, eax
call dword [sym.imp.WS2_32.dll_ntohl]
xor ebx, ebx
mov edi, eax
or ebx, esi
cmp ebx, dword [esp + 0x1c]
jl 0x10091b26
mov ecx, dword [esp + 0x10]
jg 0x10091a22
cmp edi, ecx
jb 0x10091b26
test ebx, ebx
jg 0x10091b1c
jl 0x10091a3e
mov eax, dword [esp + 0xac]
add eax, 0xffffffec
cmp edi, eax
jae 0x10091b1c
test ebp, ebp
je 0x10091a49
mov eax, edi
sub eax, ecx
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ebx
push dword [eax]
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, 0x45444745
ja 0x10091aa0
je 0x10091a96
cmp eax, 0x42444154
je 0x10091a8d
cmp eax, 0x42494458
je 0x10091a8d
cmp eax, 0x43444154
jne 0x10091b12
mov dword [esp + 0x48], edi
lea ebp, [esp + 0x48]
mov dword [esp + 0x4c], ebx
jmp 0x10091ac6
lea ebp, [esp + 0x80]
jmp 0x10091ac6
mov dword [esp + 0x58], edi
lea ebp, [esp + 0x58]
jmp 0x10091ac6
sub eax, 0x4f494446
je 0x10091aba
sub eax, 6
jne 0x10091b12
mov dword [esp + 0x38], edi
lea ebp, [esp + 0x38]
mov dword [esp + 0x3c], ebx
jmp 0x10091ac6
mov dword [esp + 0x28], edi
lea ebp, [esp + 0x28]
mov dword [esp + 0x2c], ebx
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
inc ecx
add ebx, 0xc
mov dword [esp + 0x20], ecx
movzx eax, byte [edi + 6]
mov dword [esp + 0x14], ebx
cmp ecx, eax
jb 0x100919f0
mov eax, dword [esp + 0xac]
add eax, 0xffffffec
sub eax, dword [esp + 0x10]
mov dword [ebp + 8], eax
mov ecx, dword [esp + 0x28]
mov eax, ecx
or eax, dword [esp + 0x2c]
jne 0x10091b30
mov eax, str.missing_OID_Fanout_chunk
push eax
jmp 0x10091cd7
push str.unrecognized_chunk_ID
jmp 0x10091cd7
push str.chunks_extend_beyond_the_trailer
jmp 0x10091cd7
push str.chunks_are_non_monotonic
jmp 0x10091cd7
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x10091b43
mov eax, str.empty_OID_Fanout_chunk
push eax
jmp 0x10091cd7
cmp eax, 0x400
je 0x10091b55
mov eax, str.OID_Fanout_chunk_has_wrong_length
push eax
jmp 0x10091cd7
mov ebx, dword [esp + 0x18]
lea eax, [ecx + edi]
xor edi, edi
xor esi, esi
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
push dword [esi + eax]
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, edi
jb 0x10091cc3
add esi, 4
mov edi, eax
cmp esi, 0x400
jb 0x10091b63
mov esi, dword [esp + 0x38]
xorps xmm0, xmm0
mov dword [ebx + 0x10], eax
mov eax, esi
or eax, dword [esp + 0x3c]
mov byte [esp + 0x6c], 0
movups xmmword [esp + 0x6d], xmm0
mov word [esp + 0x7d], 0
mov byte [esp + 0x7f], 0
jne 0x10091bb7
mov eax, str.missing_OID_Lookup_chunk
push eax
jmp 0x10091cd7
mov edx, dword [esp + 0x40]
test edx, edx
jne 0x10091bca
mov eax, str.empty_OID_Lookup_chunk
push eax
jmp 0x10091cd7
mov ecx, dword [ebx + 0x10]
lea eax, [ecx + ecx*4]
shl eax, 2
cmp edx, eax
je 0x10091be2
mov eax, str.OID_Lookup_chunk_has_wrong_length
push eax
jmp 0x10091cd7
mov ebp, dword [esp + 0x24]
lea eax, [esp + 0x6c]
lea edi, [esi + ebp]
mov dword [ebx + 0x14], edi
xor ebx, ebx
test ecx, ecx
je 0x10091c59
mov edx, edi
mov esi, 0x10
nop dword [eax]
mov ecx, dword [eax]
cmp ecx, dword [edx]
jne 0x10091c15
add eax, 4
add edx, 4
sub esi, 4
jae 0x10091c00
xor eax, eax
jmp 0x10091c3c
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x10091c37
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x10091c37
mov cl, byte [eax + 2]
cmp cl, byte [edx + 2]
jne 0x10091c37
mov al, byte [eax + 3]
cmp al, byte [edx + 3]
jne 0x10091c37
xor eax, eax
jmp 0x10091c3c
sbb eax, eax
or eax, 1
test eax, eax
jns 0x10091c51
mov edx, dword [esp + 0x18]
mov eax, edi
inc ebx
add edi, 0x14
cmp ebx, dword [edx + 0x10]
jb 0x10091bf6
jmp 0x10091c5d
mov eax, str.OID_Lookup_index_is_non_monotonic
push eax
jmp 0x10091cd7
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x48]
mov eax, esi
or eax, dword [esp + 0x4c]
jne 0x10091c71
mov eax, str.missing_Commit_Data_chunk
push eax
jmp 0x10091cd7
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x10091c81
mov eax, str.empty_Commit_Data_chunk
push eax
jmp 0x10091cd7
mov eax, dword [edx + 0x10]
lea eax, [eax + eax*8]
shl eax, 2
cmp ecx, eax
je 0x10091c96
mov eax, str.Commit_Data_chunk_has_wrong_length
push eax
jmp 0x10091cd7
mov ecx, dword [esp + 0x60]
lea eax, [esi + ebp]
mov dword [edx + 0x18], eax
test ecx, ecx
je 0x10091cbf
test cl, 3
je 0x10091cb0
push str.malformed_Extra_Edge_List_chunk
jmp 0x10091cd7
mov eax, dword [esp + 0x58]
add eax, ebp
shr ecx, 2
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], ecx
xor eax, eax
jmp 0x10091ce9
mov eax, str.index_is_non_monotonic
push eax
jmp 0x10091cd7
push str.index_signature_mismatch
jmp 0x10091cd7
push str.unsupported_commit_graph_version
push str.invalid_commit_graph_file____s
push 9
call fcn.10028740
add esp, 0xc
or eax, 0xffffffff
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10172863
add esp, 0x98
ret