Function at 0x10044630
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 0x100448b6
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [ebp], ecx
test eax, eax
jne 0x100446f0
push str.repo
push str.invalid_argument
push 0x101dc9a8
push 3
call fcn.1002a5a0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
test byte [eax + 0x60], 1
jne 0x100448b6
cmp dword [eax + 0x44], 0
je 0x100448b6
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 0x10044806
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 0x100447f1
mov eax, dword [ecx + 0x18]
and eax, 0xf000
cmp eax, 0xe000
je 0x100447f1
mov esi, dword [ebx + 0x10]
mov eax, esi
or eax, dword [ebx + 0x14]
je 0x100447ed
cmp esi, dword [ecx + 8]
jl 0x10044774
jg 0x100447ed
mov eax, dword [ebx + 0x18]
cmp eax, dword [ecx + 0xc]
ja 0x100447ed
mov eax, dword [ecx + 0x40]
mov dword [esp + 0x20], eax
cmp edx, ebp
jb 0x100447df
cmp ebp, 8
jae 0x1004478b
mov edi, 8
jmp 0x100447ac
cmp ebp, 0xaaaaaaaa
ja 0x100447a9
mov edi, ebp
shr edi, 1
add edi, ebp
jne 0x100447ac
mov esi, dword [esp + 0x10]
mov dword [esi + edx*4], eax
inc edx
mov dword [esp + 0x18], edx
jmp 0x100447f1
or edi, 0xffffffff
mov esi, dword [fcn.10060f30]
mov ecx, esi
push 0x26
push str.C:UsersAdmin_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_src_vector.c
push 4
push edi
push dword [esp + 0x20]
call dword [0x101aa4d8]
call esi
mov edx, dword [esp + 0x2c]
add esp, 0x14
test eax, eax
je 0x100447ed
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 0x100447f1
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, dword [ebx + 0x50]
jb 0x10044730
lea ebp, [ebx + 4]
test edx, edx
je 0x10044871
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 0x100448b8
mov esi, dword [esp + 0x14]
xor edi, edi
cmp dword [esi + 0x7c], edi
jbe 0x10044875
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 0x10044865
mov dword [eax + 0x24], 0
or dword [ebx + 0x74], 0x10
mov esi, dword [esp + 0x14]
inc edi
cmp edi, dword [esi + 0x7c]
jb 0x10044842
jmp 0x10044875
mov esi, dword [esp + 0x14]
test esi, esi
je 0x1004489f
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x1004489f
cmp dword [esi + 4], 0
jne 0x1004489f
push esi
mov esi, dword [esi + 0xb8]
mov ecx, esi
call dword [0x101aa4d8]
call esi
add esp, 4
push dword [esp + 0x10]
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4d8]
call esi
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret