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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], edi
lea eax, [ecx + 0xc]
mov dword [esp + 0x18], eax
test edx, edx
je 0x100a1557
test byte [ebp + 0x10], 0x10
je 0x100a1557
mov byte [esp + 0x16], 1
jmp 0x100a1560
mov byte [esp + 0x16], 0
test edx, edx
je 0x100a156b
test byte [ebp + 0x10], 0x20
mov byte [esp + 0x17], 0
je 0x100a1570
mov byte [esp + 0x17], 1
xor esi, esi
mov dword [esp + 0x28], esi
cmp dword [ebp + 0xc], esi
jne 0x100a159d
push str.diff
push str.invalid_argument
push 0x1013b1d8
push 3
call fcn.10028220
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 0xc]
xorps xmm0, xmm0
movaps xmmword [esp + 0x50], xmm0
cmp eax, 0x40
jb 0x100a15e2
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
mov ecx, esi
push 0x21
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_src_bitvec.h
shr eax, 6
inc eax
push 8
push eax
mov dword [esp + 0x60], eax
call dword [0x101182fc]
call esi
add esp, 0x10
mov dword [esp + 0x58], eax
test eax, eax
je 0x100a1594
mov ecx, dword [ebp + 0x14]
xor esi, esi
mov edx, dword [ebp + 8]
test edx, edx
je 0x100a15ff
mov edx, 1
call fcn.100a09d0
mov edi, eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [eax], edi
test edi, edi
je 0x100a1594
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x34]
mov eax, dword [ebp + 0x10]
shr ecx, 0xa
shr eax, 2
and cl, 1
test al, 1
je 0x100a1623
mov dword [esp + 0x44], 0xffffffff
test cl, cl
je 0x100a1649
jmp 0x100a162f
test cl, cl
je 0x100a1641
mov dword [esp + 0x44], 1
mov dword [esp + 0x48], fcn.1003ecd0
mov dword [esp + 0x4c], fcn.1003ed60
jmp 0x100a1659
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0x10103470
mov dword [esp + 0x4c], fcn.101014b0
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [esp + 0x34], edx
cmp dword [eax + 0x7c], edx
jbe 0x100a17d0
mov ecx, dword [esp + 0x18]
nop
mov eax, dword [eax + 0x78]
mov eax, dword [eax + edx*4]
mov edx, ecx
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x24]
push dword [eax + 0x4c]
push dword [eax + 0x24]
lea eax, [esp + 0x4c]
push eax
call fcn.100a0520
add esp, 0xc
mov dword [esp + 0x40], eax
test eax, eax
js 0x100a17b7
mov ecx, dword [esp + 0x24]
mov edx, ecx
shr edx, 6
cmp dword [esp + 0x50], 0
je 0x100a16b8
mov eax, dword [esp + 0x58]
lea eax, [eax + edx*8]
jmp 0x100a16bc
lea eax, [esp + 0x58]
mov dword [esp + 0x20], eax
xor edi, edi
mov eax, ecx
xor ecx, ecx
and eax, 0x3f
bts ecx, eax
cmp eax, 0x20
cmovae edi, ecx
xor ecx, edi
cmp eax, 0x40
mov eax, dword [esp + 0x20]
cmovae edi, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edi
and ecx, dword [eax]
mov eax, edi
mov edi, dword [esp + 0x20]
and eax, dword [edi + 4]
or ecx, eax
mov edi, dword [esp + 0x2c]
jne 0x100a1721
cmp dword [esp + 0x50], 0
je 0x100a1709
mov eax, dword [esp + 0x58]
lea eax, [eax + edx*8]
jmp 0x100a170d
lea eax, [esp + 0x58]
mov ecx, dword [esp + 0x38]
or dword [eax], ecx
mov ecx, dword [esp + 0x3c]
or dword [eax + 4], ecx
mov eax, 1
jmp 0x100a1723
xor eax, eax
mov ecx, dword [esp + 0x18]
add esi, eax
cmp dword [esp + 0x40], 0
je 0x100a17bb
inc dword [esp + 0x28]
cmp byte [esp + 0x16], 0
je 0x100a176d
cmp esi, dword [ecx + 0xc]
jae 0x100a176d
mov eax, dword [esp + 0x30]
mov edx, ecx
lea ecx, [esp + 0x50]
push dword [eax + 0x4c]
push dword [eax + 0x24]
mov eax, dword [esp + 0x2c]
inc eax
push eax
lea eax, [esp + 0x50]
push eax
call fcn.100a0ac0
mov ecx, dword [esp + 0x28]
add esp, 0x10
add esi, eax
cmp byte [esp + 0x17], 0
jne 0x100a1862
cmp dword [ebp + 8], 0
je 0x100a1862
mov eax, dword [edi + 8]
cmp eax, dword [edi + 0xc]
jb 0x100a179a
lea ecx, [edi + 4]
call fcn.1009ffd0
test eax, eax
jne 0x100a1870
mov ecx, dword [edi + 8]
mov eax, dword [edi + 4]
lea edx, [eax + ecx*4]
lea eax, [ecx + 1]
mov dword [edi + 8], eax
test edx, edx
je 0x100a1870
mov eax, dword [esp + 0x30]
mov dword [edx], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
mov eax, dword [ebp + 0xc]
inc edx
mov dword [esp + 0x34], edx
cmp edx, dword [eax + 0x7c]
jb 0x100a1670
cmp byte [esp + 0x16], 0
je 0x100a17fc
mov edx, dword [esp + 0x18]
cmp esi, dword [edx + 0xc]
jae 0x100a17fc
lea eax, [edi + 0x1c]
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [edi + 0x10]
call fcn.100a0ba0
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
js 0x100a1820
test byte [ebp + 0x10], 8
je 0x100a1820
cmp dword [esp + 0x28], 0
jne 0x100a1820
push str.no_matching_deltas_were_found
push 3
call fcn.10028220
add esp, 8
mov dword [esp + 0x1c], 0xfffffffd
cmp dword [esp + 0x50], 0
je 0x100a183e
push dword [esp + 0x58]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x101182fc]
call esi
add esp, 4
mov esi, dword [esp + 0x1c]
test esi, esi
jns 0x100a185a
mov ecx, edi
call fcn.100a0910
mov eax, dword [ebp + 8]
test eax, eax
je 0x100a185a
mov dword [eax], 0
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, dword [ecx + 0xc]
je 0x100a17d0
jmp 0x100a17bb
mov dword [esp + 0x1c], 0xffffffff
jmp 0x100a1820