Function at 0x10042f20
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 0x10043194
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [ebp], ecx
test eax, eax
jne 0x10042fe0
push str.repo
push str.invalid_argument
push 0x101d8a38
push 3
call fcn.10028e40
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
test byte [eax + 0x60], 1
jne 0x10043194
cmp dword [eax + 0x44], 0
je 0x10043194
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 0x100430e2
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 0x100430cd
mov eax, dword [ecx + 0x18]
and eax, 0xf000
cmp eax, 0xe000
je 0x100430cd
mov esi, dword [ebx + 0x10]
mov eax, esi
or eax, dword [ebx + 0x14]
je 0x100430c9
cmp esi, dword [ecx + 8]
jl 0x1004305c
jg 0x100430c9
mov eax, dword [ebx + 0x18]
cmp eax, dword [ecx + 0xc]
ja 0x100430c9
mov eax, dword [ecx + 0x40]
mov dword [esp + 0x20], eax
cmp edx, ebp
jb 0x100430bb
cmp ebp, 8
jae 0x10043073
mov edi, 8
jmp 0x10043088
cmp ebp, 0xaaaaaaaa
ja 0x10043085
mov edi, ebp
shr edi, 1
add edi, ebp
je 0x100430bb
jmp 0x10043088
or edi, 0xffffffff
mov esi, dword [fcn.1005f470]
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 [0x101a64ac]
call esi
mov edx, dword [esp + 0x2c]
add esp, 0x14
test eax, eax
je 0x100430c9
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 0x100430cd
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, dword [ebx + 0x50]
jb 0x10043020
lea ebp, [ebx + 4]
test edx, edx
je 0x1004314f
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 0x10043196
mov esi, dword [esp + 0x14]
xor edi, edi
cmp dword [esi + 0x7c], edi
jbe 0x10043153
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 0x10043143
mov dword [eax + 0x24], 0
or dword [ebx + 0x74], 0x10
mov esi, dword [esp + 0x14]
inc edi
cmp edi, dword [esi + 0x7c]
jb 0x10043120
jmp 0x10043153
mov esi, dword [esp + 0x14]
test esi, esi
je 0x1004317d
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x1004317d
cmp dword [esi + 4], 0
jne 0x1004317d
push esi
mov esi, dword [esi + 0xb8]
mov ecx, esi
call dword [0x101a64ac]
call esi
add esp, 4
push dword [esp + 0x10]
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x101a64ac]
call esi
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret