Function at 0x10091350
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x98
mov eax, dword [0x10156440]
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 0x100913ad
push str.file
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
jmp 0x100917a6
mov ebp, dword [esp + 0xac]
cmp ebp, 0x1c
jae 0x100913c3
push str.commit_graph_is_too_short
jmp 0x10091797
push 0x43475048
call dword [sym.imp.WS2_32.dll_htonl]
cmp dword [edi], eax
jne 0x10091792
cmp byte [edi + 4], 1
jne 0x10091792
cmp byte [edi + 5], 1
jne 0x10091792
mov al, byte [edi + 6]
test al, al
jne 0x100913fb
push str.no_chunks_in_commit_graph
jmp 0x10091797
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 0x1009143b
jb 0x10091431
cmp ecx, eax
jae 0x1009143b
push str.wrong_commit_graph_size
jmp 0x10091797
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.1007fed0
add esp, 8
test eax, eax
jns 0x1009146d
push str.could_not_calculate_signature
jmp 0x10091797
lea ecx, [esp + 0x90]
mov edx, 0x10
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x1009178b
add ecx, 4
add esi, 4
sub edx, 4
jae 0x10091480
xor ebp, ebp
lea ebx, [edi + 8]
cmp byte [edi + 6], 0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebp
jbe 0x100915aa
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 0x100915e6
mov ecx, dword [esp + 0x10]
jg 0x100914e2
cmp edi, ecx
jb 0x100915e6
test ebx, ebx
jg 0x100915dc
jl 0x100914fe
mov eax, dword [esp + 0xac]
add eax, 0xffffffec
cmp edi, eax
jae 0x100915dc
test ebp, ebp
je 0x10091509
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 0x10091560
je 0x10091556
cmp eax, 0x42444154
je 0x1009154d
cmp eax, 0x42494458
je 0x1009154d
cmp eax, 0x43444154
jne 0x100915d2
mov dword [esp + 0x48], edi
lea ebp, [esp + 0x48]
mov dword [esp + 0x4c], ebx
jmp 0x10091586
lea ebp, [esp + 0x80]
jmp 0x10091586
mov dword [esp + 0x58], edi
lea ebp, [esp + 0x58]
jmp 0x10091586
sub eax, 0x4f494446
je 0x1009157a
sub eax, 6
jne 0x100915d2
mov dword [esp + 0x38], edi
lea ebp, [esp + 0x38]
mov dword [esp + 0x3c], ebx
jmp 0x10091586
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 0x100914b0
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 0x100915f0
mov eax, str.missing_OID_Fanout_chunk
push eax
jmp 0x10091797
push str.unrecognized_chunk_ID
jmp 0x10091797
push str.chunks_extend_beyond_the_trailer
jmp 0x10091797
push str.chunks_are_non_monotonic
jmp 0x10091797
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x10091603
mov eax, str.empty_OID_Fanout_chunk
push eax
jmp 0x10091797
cmp eax, 0x400
je 0x10091615
mov eax, str.OID_Fanout_chunk_has_wrong_length
push eax
jmp 0x10091797
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 0x10091783
add esi, 4
mov edi, eax
cmp esi, 0x400
jb 0x10091623
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 0x10091677
mov eax, str.missing_OID_Lookup_chunk
push eax
jmp 0x10091797
mov edx, dword [esp + 0x40]
test edx, edx
jne 0x1009168a
mov eax, str.empty_OID_Lookup_chunk
push eax
jmp 0x10091797
mov ecx, dword [ebx + 0x10]
lea eax, [ecx + ecx*4]
shl eax, 2
cmp edx, eax
je 0x100916a2
mov eax, str.OID_Lookup_chunk_has_wrong_length
push eax
jmp 0x10091797
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 0x10091719
mov edx, edi
mov esi, 0x10
nop dword [eax]
mov ecx, dword [eax]
cmp ecx, dword [edx]
jne 0x100916d5
add eax, 4
add edx, 4
sub esi, 4
jae 0x100916c0
xor eax, eax
jmp 0x100916fc
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x100916f7
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x100916f7
mov cl, byte [eax + 2]
cmp cl, byte [edx + 2]
jne 0x100916f7
mov al, byte [eax + 3]
cmp al, byte [edx + 3]
jne 0x100916f7
xor eax, eax
jmp 0x100916fc
sbb eax, eax
or eax, 1
test eax, eax
jns 0x10091711
mov edx, dword [esp + 0x18]
mov eax, edi
inc ebx
add edi, 0x14
cmp ebx, dword [edx + 0x10]
jb 0x100916b6
jmp 0x1009171d
mov eax, str.OID_Lookup_index_is_non_monotonic
push eax
jmp 0x10091797
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x48]
mov eax, esi
or eax, dword [esp + 0x4c]
jne 0x10091731
mov eax, str.missing_Commit_Data_chunk
push eax
jmp 0x10091797
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x10091741
mov eax, str.empty_Commit_Data_chunk
push eax
jmp 0x10091797
mov eax, dword [edx + 0x10]
lea eax, [eax + eax*8]
shl eax, 2
cmp ecx, eax
je 0x10091756
mov eax, str.Commit_Data_chunk_has_wrong_length
push eax
jmp 0x10091797
mov ecx, dword [esp + 0x60]
lea eax, [esi + ebp]
mov dword [edx + 0x18], eax
test ecx, ecx
je 0x1009177f
test cl, 3
je 0x10091770
push str.malformed_Extra_Edge_List_chunk
jmp 0x10091797
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 0x100917a9
mov eax, str.index_is_non_monotonic
push eax
jmp 0x10091797
push str.index_signature_mismatch
jmp 0x10091797
push str.unsupported_commit_graph_version
push str.invalid_commit_graph_file____s
push 9
call fcn.10028180
add esp, 0xc
or eax, 0xffffffff
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100f4277
add esp, 0x98
ret