Function at 0x100a1a00
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 0x100a1a37
test byte [ebp + 0x10], 0x10
je 0x100a1a37
mov byte [esp + 0x16], 1
jmp 0x100a1a40
mov byte [esp + 0x16], 0
test edx, edx
je 0x100a1a4b
test byte [ebp + 0x10], 0x20
mov byte [esp + 0x17], 0
je 0x100a1a50
mov byte [esp + 0x17], 1
xor esi, esi
mov dword [esp + 0x28], esi
cmp dword [ebp + 0xc], esi
jne 0x100a1a7d
push str.diff
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
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 0x100a1ac2
mov esi, dword [fcn.1005ed10]
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 [0x101a54ac]
call esi
add esp, 0x10
mov dword [esp + 0x58], eax
test eax, eax
je 0x100a1a74
mov ecx, dword [ebp + 0x14]
xor esi, esi
mov edx, dword [ebp + 8]
test edx, edx
je 0x100a1adf
mov edx, 1
call fcn.100a0eb0
mov edi, eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [eax], edi
test edi, edi
je 0x100a1a74
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 0x100a1b03
mov dword [esp + 0x44], 0xffffffff
test cl, cl
je 0x100a1b29
jmp 0x100a1b0f
test cl, cl
je 0x100a1b21
mov dword [esp + 0x44], 1
mov dword [esp + 0x48], fcn.1003f1c0
mov dword [esp + 0x4c], fcn.1003f250
jmp 0x100a1b39
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0x10185900
mov dword [esp + 0x4c], fcn.10183840
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [esp + 0x34], edx
cmp dword [eax + 0x7c], edx
jbe 0x100a1cb0
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.100a0a00
add esp, 0xc
mov dword [esp + 0x40], eax
test eax, eax
js 0x100a1c97
mov ecx, dword [esp + 0x24]
mov edx, ecx
shr edx, 6
cmp dword [esp + 0x50], 0
je 0x100a1b98
mov eax, dword [esp + 0x58]
lea eax, [eax + edx*8]
jmp 0x100a1b9c
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 0x100a1c01
cmp dword [esp + 0x50], 0
je 0x100a1be9
mov eax, dword [esp + 0x58]
lea eax, [eax + edx*8]
jmp 0x100a1bed
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 0x100a1c03
xor eax, eax
mov ecx, dword [esp + 0x18]
add esi, eax
cmp dword [esp + 0x40], 0
je 0x100a1c9b
inc dword [esp + 0x28]
cmp byte [esp + 0x16], 0
je 0x100a1c4d
cmp esi, dword [ecx + 0xc]
jae 0x100a1c4d
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.100a0fa0
mov ecx, dword [esp + 0x28]
add esp, 0x10
add esi, eax
cmp byte [esp + 0x17], 0
jne 0x100a1d42
cmp dword [ebp + 8], 0
je 0x100a1d42
mov eax, dword [edi + 8]
cmp eax, dword [edi + 0xc]
jb 0x100a1c7a
lea ecx, [edi + 4]
call fcn.100a04b0
test eax, eax
jne 0x100a1d50
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 0x100a1d50
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 0x100a1b50
cmp byte [esp + 0x16], 0
je 0x100a1cdc
mov edx, dword [esp + 0x18]
cmp esi, dword [edx + 0xc]
jae 0x100a1cdc
lea eax, [edi + 0x1c]
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [edi + 0x10]
call fcn.100a1080
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
js 0x100a1d00
test byte [ebp + 0x10], 8
je 0x100a1d00
cmp dword [esp + 0x28], 0
jne 0x100a1d00
push str.no_matching_deltas_were_found
push 3
call fcn.10028740
add esp, 8
mov dword [esp + 0x1c], 0xfffffffd
cmp dword [esp + 0x50], 0
je 0x100a1d1e
push dword [esp + 0x58]
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
call esi
add esp, 4
mov esi, dword [esp + 0x1c]
test esi, esi
jns 0x100a1d3a
mov ecx, edi
call fcn.100a0df0
mov eax, dword [ebp + 8]
test eax, eax
je 0x100a1d3a
mov dword [eax], 0
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, dword [ecx + 0xc]
je 0x100a1cb0
jmp 0x100a1c9b
mov dword [esp + 0x1c], 0xffffffff
jmp 0x100a1d00