Function at 0x100a2170
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 0x100a21a7
test byte [ebp + 0x10], 0x10
je 0x100a21a7
mov byte [esp + 0x16], 1
jmp 0x100a21b0
mov byte [esp + 0x16], 0
test edx, edx
je 0x100a21bb
test byte [ebp + 0x10], 0x20
mov byte [esp + 0x17], 0
je 0x100a21c0
mov byte [esp + 0x17], 1
xor esi, esi
mov dword [esp + 0x28], esi
cmp dword [ebp + 0xc], esi
jne 0x100a21ed
push str.diff
push str.invalid_argument
push 0x101d8a38
push 3
call fcn.10028e40
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 0x100a2232
mov esi, dword [fcn.1005f470]
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 [0x101a64ac]
call esi
add esp, 0x10
mov dword [esp + 0x58], eax
test eax, eax
je 0x100a21e4
mov ecx, dword [ebp + 0x14]
xor esi, esi
mov edx, dword [ebp + 8]
test edx, edx
je 0x100a224f
mov edx, 1
call fcn.100a1620
mov edi, eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [eax], edi
test edi, edi
je 0x100a21e4
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 0x100a2273
mov dword [esp + 0x44], 0xffffffff
test cl, cl
je 0x100a2299
jmp 0x100a227f
test cl, cl
je 0x100a2291
mov dword [esp + 0x44], 1
mov dword [esp + 0x48], fcn.1003f8d0
mov dword [esp + 0x4c], fcn.1003f960
jmp 0x100a22a9
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0x10186010
mov dword [esp + 0x4c], fcn.10183f50
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [esp + 0x34], edx
cmp dword [eax + 0x7c], edx
jbe 0x100a2420
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.100a1170
add esp, 0xc
mov dword [esp + 0x40], eax
test eax, eax
js 0x100a2407
mov ecx, dword [esp + 0x24]
mov edx, ecx
shr edx, 6
cmp dword [esp + 0x50], 0
je 0x100a2308
mov eax, dword [esp + 0x58]
lea eax, [eax + edx*8]
jmp 0x100a230c
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 0x100a2371
cmp dword [esp + 0x50], 0
je 0x100a2359
mov eax, dword [esp + 0x58]
lea eax, [eax + edx*8]
jmp 0x100a235d
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 0x100a2373
xor eax, eax
mov ecx, dword [esp + 0x18]
add esi, eax
cmp dword [esp + 0x40], 0
je 0x100a240b
inc dword [esp + 0x28]
cmp byte [esp + 0x16], 0
je 0x100a23bd
cmp esi, dword [ecx + 0xc]
jae 0x100a23bd
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.100a1710
mov ecx, dword [esp + 0x28]
add esp, 0x10
add esi, eax
cmp byte [esp + 0x17], 0
jne 0x100a24b2
cmp dword [ebp + 8], 0
je 0x100a24b2
mov eax, dword [edi + 8]
cmp eax, dword [edi + 0xc]
jb 0x100a23ea
lea ecx, [edi + 4]
call fcn.100a0c20
test eax, eax
jne 0x100a24c0
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 0x100a24c0
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 0x100a22c0
cmp byte [esp + 0x16], 0
je 0x100a244c
mov edx, dword [esp + 0x18]
cmp esi, dword [edx + 0xc]
jae 0x100a244c
lea eax, [edi + 0x1c]
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [edi + 0x10]
call fcn.100a17f0
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
js 0x100a2470
test byte [ebp + 0x10], 8
je 0x100a2470
cmp dword [esp + 0x28], 0
jne 0x100a2470
push str.no_matching_deltas_were_found
push 3
call fcn.10028e40
add esp, 8
mov dword [esp + 0x1c], 0xfffffffd
cmp dword [esp + 0x50], 0
je 0x100a248e
push dword [esp + 0x58]
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x101a64ac]
call esi
add esp, 4
mov esi, dword [esp + 0x1c]
test esi, esi
jns 0x100a24aa
mov ecx, edi
call fcn.100a1560
mov eax, dword [ebp + 8]
test eax, eax
je 0x100a24aa
mov dword [eax], 0
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, dword [ecx + 0xc]
je 0x100a2420
jmp 0x100a240b
mov dword [esp + 0x1c], 0xffffffff
jmp 0x100a2470