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

Disassembly:
sub esp, 0x80
mov eax, dword [0x10156440]
xor eax, esp
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x1c], edx
mov dword [esp + 4], ecx
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xa0]
test ecx, ecx
jne 0x10022ad2
push str.remote
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
or eax, 0xffffffff
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100f4277
add esp, 0x80
ret
push 1
mov edx, str.refs_tags_:refs_tags_
lea ecx, [esp + 0x38]
call fcn.10075790
add esp, 4
test eax, eax
js 0x10022ab6
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
mov ebp, 1
push 0x26
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_src_vector.c
push 4
push 0x10
push 0
mov ecx, esi
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], ebp
call dword [0x101182f8]
call esi
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x10022ab6
xor esi, esi
mov dword [esp + 0x18], 0x10
mov dword [esp + 0x20], ebx
cmp dword [edi + 0xc], esi
jbe 0x10022b8b
mov ebp, dword [esp + 0x98]
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push dword [esp + 0x2c]
mov eax, dword [edi + 8]
lea ecx, [esp + 0x38]
push dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
push ebp
push ecx
push dword [eax + esi*4]
lea ecx, [esp + 0x2c]
push ebx
call fcn.10022680
add esp, 0x18
test eax, eax
js 0x10022cb7
inc esi
cmp esi, dword [edi + 0xc]
jb 0x10022b50
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
xor ecx, ecx
mov edx, dword [esi + 4]
mov al, byte [edx]
test al, al
je 0x10022bb9
nop word [eax + eax]
movzx eax, al
cmp byte [eax + 0x1013b358], 0
jl 0x10022c96
mov al, byte [ecx + edx + 1]
inc ecx
test al, al
jne 0x10022ba0
cmp ecx, 0x28
jne 0x10022c96
push edx
lea eax, [esp + 0x7c]
push eax
call sym.user32.dll_git_oid_fromstr
add esp, 8
test eax, eax
js 0x10022cbb
push dword [esp + 0x2c]
mov edx, dword [esi + 8]
lea eax, [esp + 0x7c]
push dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.10022520
add esp, 0xc
test eax, eax
js 0x10022cbb
mov eax, dword [esp + 0x88]
movups xmm0, xmmword [esp + 0x78]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x24]
movups xmmword [esp + 0x48], xmm0
cmp eax, ecx
jb 0x10022c79
cmp ecx, 8
jae 0x10022c30
mov edi, 8
jmp 0x10022c45
cmp ecx, 0xaaaaaaaa
ja 0x10022c42
mov edi, ecx
shr edi, 1
add edi, ecx
jne 0x10022c45
jmp 0x10022c79
or edi, 0xffffffff
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
mov ecx, esi
push 0x26
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_src_vector.c
push 4
push edi
push ebx
call dword [0x101182f8]
call esi
add esp, 0x14
test eax, eax
je 0x10022cbb
mov esi, dword [esp + 0x10]
mov ebx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x44]
mov dword [ebx + eax*4], ecx
inc eax
mov dword [esp + 0x24], eax
cmp eax, 1
ja 0x10022c8f
or ebp, 1
jmp 0x10022c92
and ebp, 0xfffffffe
mov dword [esp + 0x28], ebp
cmp dword [esp + 0x94], 0
je 0x10022d1d
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
mov edx, esi
call fcn.10020f00
add esp, 4
test eax, eax
jns 0x10022d19
mov ebx, dword [esp + 0x20]
push dword [esp + 0x38]
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 + 0x3c]
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 + 0x34]
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 ebx
call dword [0x101182f8]
call esi
add esp, 4
jmp 0x10022ab6
mov ebx, dword [esp + 0x20]
push dword [esp + 0x38]
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 + 0x3c]
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 + 0x34]
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 ebx
call dword [0x101182f8]
call esi
add esp, 4
xor eax, eax
jmp 0x10022ab9