Function at 0x10093890
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x98
mov eax, dword [0x101fd700]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
push ebp
push esi
xorps xmm0, xmm0
mov ebx, ecx
mov dword [esp + 0x20], ebx
push edi
mov edi, edx
mov dword [esp + 0x18], 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 0x100938ed
push str.file
push str.invalid_argument
push 0x101dc9b8
push 3
call fcn.1002a5a0
add esp, 0x10
jmp 0x10093ce5
mov ebp, dword [esp + 0xac]
cmp ebp, 0x1c
jae 0x10093903
push str.commit_graph_is_too_short
jmp 0x10093cd6
push 0x43475048
call dword [sym.imp.WS2_32.dll_htonl]
cmp dword [edi], eax
jne 0x10093cd1
cmp byte [edi + 4], 1
jne 0x10093cd1
cmp byte [edi + 5], 1
jne 0x10093cd1
mov al, byte [edi + 6]
test al, al
jne 0x1009393b
push str.no_chunks_in_commit_graph
jmp 0x10093cd6
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 0x1009397b
jb 0x10093971
cmp ecx, eax
jae 0x1009397b
push str.wrong_commit_graph_size
jmp 0x10093cd6
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.10082500
add esp, 8
test eax, eax
jns 0x100939ad
push str.could_not_calculate_signature
jmp 0x10093cd6
lea ecx, [esp + 0x90]
mov edx, 0x10
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x10093cca
add ecx, 4
add esi, 4
sub edx, 4
jae 0x100939c0
xor ebp, ebp
lea ebx, [edi + 8]
cmp byte [edi + 6], 0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebp
jbe 0x10093aea
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 0x10093b26
mov ecx, dword [esp + 0x10]
jg 0x10093a22
cmp edi, ecx
jb 0x10093b26
test ebx, ebx
jg 0x10093b1c
jl 0x10093a3e
mov eax, dword [esp + 0xac]
add eax, 0xffffffec
cmp edi, eax
jae 0x10093b1c
test ebp, ebp
je 0x10093a49
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 0x10093aa0
je 0x10093a96
cmp eax, 0x42444154
je 0x10093a8d
cmp eax, 0x42494458
je 0x10093a8d
cmp eax, 0x43444154
jne 0x10093b12
mov dword [esp + 0x48], edi
lea ebp, [esp + 0x48]
mov dword [esp + 0x4c], ebx
jmp 0x10093ac6
lea ebp, [esp + 0x80]
jmp 0x10093ac6
mov dword [esp + 0x58], edi
lea ebp, [esp + 0x58]
jmp 0x10093ac6
sub eax, 0x4f494446
je 0x10093aba
sub eax, 6
jne 0x10093b12
mov dword [esp + 0x38], edi
lea ebp, [esp + 0x38]
mov dword [esp + 0x3c], ebx
jmp 0x10093ac6
mov dword [esp + 0x28], edi
lea ebp, [esp + 0x28]
mov dword [esp + 0x2c], ebx
mov edi, dword [esp + 0x18]
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 0x100939f0
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 0x10093b30
mov eax, str.missing_OID_Fanout_chunk
push eax
jmp 0x10093cd6
push str.unrecognized_chunk_ID
jmp 0x10093cd6
push str.chunks_extend_beyond_the_trailer
jmp 0x10093cd6
push str.chunks_are_non_monotonic
jmp 0x10093cd6
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x10093b43
mov eax, str.empty_OID_Fanout_chunk
push eax
jmp 0x10093cd6
cmp eax, 0x400
je 0x10093b55
mov eax, str.OID_Fanout_chunk_has_wrong_length
push eax
jmp 0x10093cd6
mov ebp, dword [esp + 0x24]
lea eax, [ecx + edi]
xor ebx, ebx
xor esi, esi
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
push dword [esi + eax]
call dword [sym.imp.WS2_32.dll_ntohl]
mov edi, eax
cmp edi, ebx
jb 0x10093cc2
add esi, 4
mov ebx, edi
cmp esi, 0x400
jb 0x10093b63
mov edx, dword [esp + 0x38]
xorps xmm0, xmm0
mov eax, edx
mov dword [ebp + 0x10], edi
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 0x10093bb9
mov eax, str.missing_OID_Lookup_chunk
push eax
jmp 0x10093cd6
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x10093bcc
mov eax, str.empty_OID_Lookup_chunk
push eax
jmp 0x10093cd6
lea eax, [edi + edi*4]
shl eax, 2
cmp ecx, eax
je 0x10093be1
mov eax, str.OID_Lookup_chunk_has_wrong_length
push eax
jmp 0x10093cd6
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x6c]
lea ebx, [edx + ecx]
mov dword [ebp + 0x14], ebx
xor ebp, ebp
test edi, edi
je 0x10093c53
mov edx, ebx
mov esi, 0x10
nop dword [eax]
mov ecx, dword [eax]
cmp ecx, dword [edx]
jne 0x10093c15
add eax, 4
add edx, 4
sub esi, 4
jae 0x10093c00
xor esi, esi
jmp 0x10093c41
movzx esi, byte [eax]
movzx ecx, byte [edx]
sub esi, ecx
jne 0x10093c41
movzx esi, byte [eax + 1]
movzx ecx, byte [edx + 1]
sub esi, ecx
jne 0x10093c41
movzx esi, byte [eax + 2]
movzx ecx, byte [edx + 2]
sub esi, ecx
jne 0x10093c41
movzx esi, byte [eax + 3]
movzx eax, byte [edx + 3]
sub esi, eax
test esi, esi
jns 0x10093c67
mov eax, ebx
inc ebp
add ebx, 0x14
cmp ebp, edi
jb 0x10093bf5
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x48]
mov eax, edx
or eax, dword [esp + 0x4c]
jne 0x10093c6f
mov eax, str.missing_Commit_Data_chunk
push eax
jmp 0x10093cd6
mov eax, str.OID_Lookup_index_is_non_monotonic
push eax
jmp 0x10093cd6
mov esi, dword [esp + 0x50]
test esi, esi
jne 0x10093c7f
mov eax, str.empty_Commit_Data_chunk
push eax
jmp 0x10093cd6
lea eax, [edi + edi*8]
shl eax, 2
cmp esi, eax
je 0x10093c91
mov eax, str.Commit_Data_chunk_has_wrong_length
push eax
jmp 0x10093cd6
mov ebx, dword [esp + 0x24]
lea eax, [edx + ecx]
mov edx, dword [esp + 0x60]
mov dword [ebx + 0x18], eax
test edx, edx
je 0x10093cbe
test dl, 3
je 0x10093caf
push str.malformed_Extra_Edge_List_chunk
jmp 0x10093cd6
mov eax, dword [esp + 0x58]
add eax, ecx
shr edx, 2
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], edx
xor eax, eax
jmp 0x10093ce8
mov eax, str.index_is_non_monotonic
push eax
jmp 0x10093cd6
push str.index_signature_mismatch
jmp 0x10093cd6
push str.unsupported_commit_graph_version
push str.invalid_commit_graph_file____s
push 9
call fcn.1002a5a0
add esp, 0xc
or eax, 0xffffffff
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10176fcb
add esp, 0x98
ret