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

Disassembly:
sub esp, 0x80
push ebx
push ebp
mov ebp, dword [esp + 0x94]
mov eax, edx
push esi
push edi
xor edi, edi
mov dword [esp + 0x8c], ecx
xorps xmm0, xmm0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x88], eax
xor eax, eax
movlpd qword [esp + 0x4c], xmm0
lea ecx, [edi + 1]
movlpd qword [esp + 0x54], xmm0
movlpd qword [esp + 0x5c], xmm0
mov dword [esp + 0x18], 0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
movlpd qword [esp + 0x80], xmm0
mov dword [esp + 0x14], 0
mov dword [esp + 0x48], edi
cmp ebp, ecx
jbe 0x100cb3ec
nop
cmp eax, 0x20
jae 0x100cb3ec
add ecx, ecx
inc eax
cmp ecx, ebp
jb 0x100cb3e0
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
test eax, eax
mov ecx, 1
cmovne ecx, eax
mov eax, 1
shl eax, cl
push 0x10e
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcxdiffxhistogram.c
mov dword [esp + 0x38], ecx
lea ebx, [eax*4]
mov dword [esp + 0x70], ecx
push ebx
mov ecx, esi
mov dword [esp + 0x78], eax
call dword [0x101182f8]
call esi
add esp, 0xc
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], eax
test eax, eax
je 0x100cb6ff
push ebx
push 0
push eax
call fcn.100f6510
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
lea ebx, [ebp*4]
add esp, 0xc
mov dword [esp + 0x70], ebp
mov ecx, esi
push 0x114
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcxdiffxhistogram.c
push ebx
call dword [0x101182f8]
call esi
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], eax
test eax, eax
je 0x100cb6ff
push ebx
push 0
push eax
call fcn.100f6510
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
add esp, 0xc
mov ecx, esi
push 0x11a
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcxdiffxhistogram.c
push ebx
call dword [0x101182f8]
call esi
add esp, 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x64], eax
test eax, eax
je 0x100cb6ff
push ebx
push 0
push eax
call fcn.100f6510
mov eax, 0xc
mov dword [esp + 0x80], 0x40
mov dword [esp + 0x5c], eax
xor esi, esi
mov eax, ebp
mov dword [esp + 0x28], esi
cdq
dec ebp
and edx, 3
mov dword [esp + 0x64], esi
add eax, edx
add esp, 0xc
mov edx, dword [esp + 0x98]
add ebp, edx
sar eax, 2
inc eax
mov dword [esp + 0x7c], edx
lea eax, [eax + eax*2]
shl eax, 2
mov dword [esp + 0x24], eax
mov dword [esp + 0x54], eax
cmp edx, ebp
ja 0x100cb64b
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
nop
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov ebx, dword [eax + 0x30]
mov dword [esp + 0x38], ebx
mov eax, dword [ebx + ebp*4 - 4]
mov edx, dword [eax + 0xc]
shr edx, cl
add edx, dword [eax + 0xc]
mov eax, 1
shl eax, cl
dec eax
and edx, eax
mov eax, dword [esp + 0x20]
lea eax, [eax + edx*4]
xor edx, edx
mov dword [esp + 0x3c], eax
mov eax, dword [eax]
test eax, eax
je 0x100cb586
mov ecx, dword [ebx + ebp*4 - 4]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x34], ecx
mov esi, dword [eax]
mov ecx, dword [ebx + esi*4 - 4]
mov ebx, dword [esp + 0x34]
cmp dword [ecx + 0xc], ebx
mov ebx, dword [esp + 0x38]
je 0x100cb6c4
mov eax, dword [eax + 8]
inc edx
test eax, eax
jne 0x100cb563
mov esi, dword [esp + 0x1c]
cmp edx, 0x40
je 0x100cb6ff
mov eax, dword [esp + 0x24]
mov edx, esi
test edx, edx
je 0x100cb59e
cmp dword [edx + 4], eax
jne 0x100cb5f8
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
add eax, 8
push 0x65
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcxdiffxutils.c
push eax
mov ecx, esi
call dword [0x101182f8]
call esi
mov edx, eax
add esp, 0xc
test edx, edx
je 0x100cb6ff
mov eax, dword [esp + 0x28]
mov dword [edx + 4], 0
mov dword [edx], 0
test eax, eax
je 0x100cb5dd
mov dword [eax], edx
test edi, edi
mov esi, edx
mov dword [esp + 0x28], esi
cmove edi, edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x58], esi
mov ecx, dword [edx + 4]
mov eax, 0xc
add eax, ecx
mov dword [edx + 4], eax
lea eax, [edx + 8]
add eax, ecx
je 0x100cb6ff
mov edx, dword [esp + 0x3c]
mov dword [eax], ebp
mov dword [eax + 4], 1
mov ecx, dword [edx]
mov dword [eax + 8], ecx
mov dword [edx], eax
mov edx, ebp
sub edx, dword [esp + 0x98]
shl edx, 2
mov ecx, dword [esp + 0x14]
dec ebp
mov dword [ecx + edx], eax
mov edx, dword [esp + 0x98]
mov esi, dword [esp + 0x1c]
cmp edx, ebp
jbe 0x100cb520
mov ebx, dword [esp + 0xa4]
mov ecx, 0x41
mov esi, dword [esp + 0xa0]
mov eax, esi
mov dword [esp + 0x80], ecx
lea ebp, [ebx - 1]
add ebp, esi
cmp esi, ebp
jg 0x100cb6e1
mov edi, dword [esp + 0x94]
push ebx
push esi
push dword [esp + 0xa4]
lea ecx, [esp + 0x4c]
push edx
push eax
mov edx, edi
call fcn.100cb0a0
mov edx, dword [esp + 0xac]
add esp, 0x14
cmp eax, ebp
jle 0x100cb677
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x40]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x74]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ebx
jmp 0x100cb6e6
mov ecx, dword [esp + 0x18]
mov edx, ebp
sub edx, dword [esp + 0x98]
shl edx, 2
mov dword [edx + ecx], esi
inc dword [eax + 4]
mov dword [eax], ebp
jmp 0x100cb630
mov edx, 0x40
cmp dword [esp + 0x84], 0
je 0x100cb6fb
cmp edx, ecx
jae 0x100cb6fb
mov ebx, 1
jmp 0x100cb702
xor ebx, ebx
jmp 0x100cb702
or ebx, 0xffffffff
push dword [esp + 0x20]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x101182f8]
call esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
add esp, 4
mov ecx, esi
push dword [esp + 0x14]
call dword [0x101182f8]
call esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
add esp, 4
mov ecx, esi
push dword [esp + 0x18]
call dword [0x101182f8]
call esi
add esp, 4
test edi, edi
je 0x100cb76c
mov eax, edi
nop dword [eax]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
mov edi, dword [edi]
push eax
call dword [0x101182f8]
call esi
add esp, 4
mov eax, edi
test edi, edi
jne 0x100cb750
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x80
ret