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

Disassembly:
sub esp, 0x6c
push ebx
push ebp
mov ebx, ecx
mov dword [esp + 0x30], 1
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
push esi
push edi
mov dword [esp + 0x40], 0xffffffff
lea ebp, [ebx + 4]
mov dword [esp + 0x44], 0
xor ecx, ecx
mov dword [esp + 0x48], 0
xor eax, eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 3
movups xmmword [esp + 0x5c], xmm0
mov dword [esp + 0x74], 0
movq qword [esp + 0x6c], xmm0
mov dword [esp + 0x14], 0
movups xmmword [esp + 0x24], xmm0
mov dword [esp + 0x34], 0
lock cmpxchg dword [ebp], ecx
test eax, eax
je 0x10042594
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [ebp], ecx
test eax, eax
jne 0x100423e0
push str.repo
push str.invalid_argument
push 0x101534d8
push 3
call fcn.10028220
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
test byte [eax + 0x60], 1
jne 0x10042594
cmp dword [eax + 0x44], 0
je 0x10042594
or dword [esp + 0x3c], 0x1240
xor ecx, ecx
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], esi
cmp dword [ebx + 0x50], ecx
jbe 0x100424e2
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x18], edx
nop
mov eax, dword [ebx + 0x4c]
mov ecx, dword [eax + ecx*4]
test byte [ecx + 0x3e], 4
jne 0x100424cd
mov eax, dword [ecx + 0x18]
and eax, 0xf000
cmp eax, 0xe000
je 0x100424cd
mov esi, dword [ebx + 0x10]
mov eax, esi
or eax, dword [ebx + 0x14]
je 0x100424c9
cmp esi, dword [ecx + 8]
jl 0x1004245c
jg 0x100424c9
mov eax, dword [ebx + 0x18]
cmp eax, dword [ecx + 0xc]
ja 0x100424c9
mov eax, dword [ecx + 0x40]
mov dword [esp + 0x20], eax
cmp edx, ebp
jb 0x100424bb
cmp ebp, 8
jae 0x10042473
mov edi, 8
jmp 0x10042488
cmp ebp, 0xaaaaaaaa
ja 0x10042485
mov edi, ebp
shr edi, 1
add edi, ebp
je 0x100424bb
jmp 0x10042488
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 dword [esp + 0x20]
call dword [0x1012f318]
call esi
mov edx, dword [esp + 0x2c]
add esp, 0x14
test eax, eax
je 0x100424c9
mov dword [esp + 0x10], eax
mov ebp, edi
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov dword [esi + edx*4], eax
inc edx
mov dword [esp + 0x18], edx
jmp 0x100424cd
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, dword [ebx + 0x50]
jb 0x10042420
lea ebp, [ebx + 4]
test edx, edx
je 0x1004254f
mov dword [esp + 0x48], edx
xor ecx, ecx
mov dword [esp + 0x44], esi
xor eax, eax
lock cmpxchg dword [ebp], ecx
lea ecx, [esp + 0x38]
push ecx
push ebx
push eax
lea eax, [esp + 0x20]
push eax
call sym.user32.dll_git_diff_index_to_workdir
add esp, 0x10
test eax, eax
js 0x10042596
mov esi, dword [esp + 0x14]
xor edi, edi
cmp dword [esi + 0x7c], edi
jbe 0x10042553
nop
mov eax, dword [esi + 0x78]
push 0
mov eax, dword [eax + edi*4]
push dword [eax + 0x24]
push ebx
call sym.user32.dll_git_index_get_bypath
add esp, 0xc
test eax, eax
je 0x10042543
mov dword [eax + 0x24], 0
or dword [ebx + 0x74], 0x10
mov esi, dword [esp + 0x14]
inc edi
cmp edi, dword [esi + 0x7c]
jb 0x10042520
jmp 0x10042553
mov esi, dword [esp + 0x14]
test esi, esi
je 0x1004257d
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x1004257d
cmp dword [esi + 4], 0
jne 0x1004257d
push esi
mov esi, dword [esi + 0xb8]
mov ecx, esi
call dword [0x1012f318]
call esi
add esp, 4
push dword [esp + 0x10]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012f318]
call esi
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret