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

Disassembly:
sub esp, 0x54
mov eax, dword [esp + 0x58]
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x38], 0
mov dword [esp], 0
movq qword [esp + 8], xmm0
mov dword [esp + 0x10], 0
push ebx
push ebp
push esi
push edi
movups xmmword [esp + 0x24], xmm0
movups xmmword [esp + 0x4c], xmm0
movups xmmword [esp + 0x38], xmm0
test eax, eax
jne 0x10077582
push 0x101dc9a0
push str.invalid_argument
push 0x101dc9b8
push 3
call fcn.1002a5a0
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov edx, dword [esp + 0x6c]
test edx, edx
jne 0x100775ae
push str.repo
push str.invalid_argument
push 0x101dc9b8
push 3
call fcn.1002a5a0
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov ebx, dword [esp + 0x74]
test ebx, ebx
jne 0x100775da
push str.ours
push str.invalid_argument
push 0x101dc9b8
push 3
call fcn.1002a5a0
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
cmp dword [esp + 0x78], 0
jne 0x10077605
push str.theirs
push str.invalid_argument
push 0x101dc9b8
push 3
call fcn.1002a5a0
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
movups xmmword [eax], xmm0
lea ecx, [esp + 0x10]
mov dword [eax + 0x10], 0
call fcn.1000a010
mov edi, dword [esp + 0x10]
test eax, eax
jns 0x10077628
or ebx, 0xffffffff
jmp 0x100778ff
lock inc dword [edi]
mov ebp, dword [esp + 0x70]
test ebp, ebp
je 0x10077741
test edi, edi
jne 0x1007765c
push 0x101de4c8
push str.invalid_argument
push 0x101dc9b8
push 3
call fcn.1002a5a0
add esp, 0x10
or ebx, 0xffffffff
jmp 0x100778ff
lea esi, [ebp + 0x28]
test esi, esi
jne 0x1007766a
push 0x101deb0c
jmp 0x10077640
mov eax, esi
xor ecx, ecx
nop
cmp byte [eax], 0
jne 0x10077697
inc ecx
inc eax
cmp ecx, 0x14
jb 0x10077670
push str.cannot_read_object
push str.odb:__s:_null_OID_cannot_exist
push 9
call fcn.1002a5a0
mov ebx, 0xfffffffd
jmp 0x100778fc
xor edx, edx
lea ecx, [edi + 4]
xor eax, eax
lock cmpxchg dword [ecx], edx
lea ecx, [eax + 0x10]
test eax, eax
jne 0x100776ac
lea ecx, [edi + 0x34]
push 1
mov edx, esi
call fcn.10056880
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x1007771b
push eax
push esi
mov edx, edi
lea ecx, [esp + 0x20]
call fcn.10037a40
mov ebx, eax
add esp, 8
cmp ebx, 0xfffffffd
jne 0x1007770f
push edi
call sym.user32.dll_git_odb_refresh
add esp, 4
test eax, eax
jne 0x100776fc
push 1
push esi
mov edx, edi
lea ecx, [esp + 0x20]
call fcn.10037a40
mov ebx, eax
add esp, 8
cmp ebx, 0xfffffffd
jne 0x1007770f
push 0x28
mov edx, esi
mov ecx, str.no_match_for_id
call fcn.10039170
add esp, 4
mov ebx, eax
test ebx, ebx
js 0x100778ff
mov ebx, dword [esp + 0x74]
mov eax, dword [ebp + 0x40]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x18]
lea ebp, [esp + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x2c], eax
jmp 0x10077743
xor ebp, ebp
test edi, edi
je 0x1007763b
lea esi, [ebx + 0x28]
test esi, esi
jne 0x1007775c
push 0x101deb0c
jmp 0x10077640
mov eax, esi
xor ecx, ecx
cmp byte [eax], 0
jne 0x10077771
inc ecx
inc eax
cmp ecx, 0x14
jb 0x10077760
jmp 0x1007767c
xor edx, edx
lea ecx, [edi + 4]
xor eax, eax
lock cmpxchg dword [ecx], edx
lea ecx, [eax + 0x10]
test eax, eax
jne 0x10077786
lea ecx, [edi + 0x34]
push 1
mov edx, esi
call fcn.10056880
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x100777f5
push eax
push esi
mov edx, edi
lea ecx, [esp + 0x24]
call fcn.10037a40
mov ebx, eax
add esp, 8
cmp ebx, 0xfffffffd
jne 0x100777e9
push edi
call sym.user32.dll_git_odb_refresh
add esp, 4
test eax, eax
jne 0x100777d6
push 1
push esi
mov edx, edi
lea ecx, [esp + 0x24]
call fcn.10037a40
mov ebx, eax
add esp, 8
cmp ebx, 0xfffffffd
jne 0x100777e9
push 0x28
mov edx, esi
mov ecx, str.no_match_for_id
call fcn.10039170
add esp, 4
mov ebx, eax
test ebx, ebx
js 0x100778ff
mov ebx, dword [esp + 0x74]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x40]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x54], eax
add esi, 0x28
jne 0x10077828
push 0x101deb0c
jmp 0x10077640
mov eax, esi
xor ecx, ecx
nop dword [eax]
cmp byte [eax], 0
jne 0x10077841
inc ecx
inc eax
cmp ecx, 0x14
jb 0x10077830
jmp 0x1007767c
xor edx, edx
lea ecx, [edi + 4]
xor eax, eax
lock cmpxchg dword [ecx], edx
lea ecx, [eax + 0x10]
test eax, eax
jne 0x10077856
lea ecx, [edi + 0x34]
push 1
mov edx, esi
call fcn.10056880
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x100778bd
push eax
push esi
mov edx, edi
lea ecx, [esp + 0x28]
call fcn.10037a40
mov ebx, eax
add esp, 8
cmp ebx, 0xfffffffd
jne 0x100778b9
push edi
call sym.user32.dll_git_odb_refresh
add esp, 4
test eax, eax
jne 0x100778a6
push 1
push esi
mov edx, edi
lea ecx, [esp + 0x28]
call fcn.10037a40
mov ebx, eax
add esp, 8
cmp ebx, 0xfffffffd
jne 0x100778b9
push 0x28
mov edx, esi
mov ecx, str.no_match_for_id
call fcn.10039170
add esp, 4
mov ebx, eax
test ebx, ebx
js 0x100778ff
mov ecx, dword [esp + 0x78]
mov edx, ebp
push dword [esp + 0x7c]
mov eax, dword [ecx + 0x40]
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 0x18]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 0x18]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.100771e0
mov ebx, eax
add esp, 0xc
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1007790c
call fcn.10056a90
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x10077919
call fcn.10056a90
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x10077926
call fcn.10056a90
test edi, edi
je 0x10077a1f
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x10077a1f
cmp dword [edi + 4], 0
jne 0x10077a1f
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x2c]
xor ebp, ebp
test eax, eax
je 0x1007799f
cmp ebp, eax
jae 0x10077967
mov eax, dword [edi + 0x28]
mov eax, dword [eax + ebp*4]
jmp 0x10077969
xor eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [eax]
push eax
mov esi, dword [eax + 0x3c]
mov ecx, esi
call dword [0x101aa4e4]
call esi
mov esi, dword [fcn.10034de0]
add esp, 4
mov ecx, esi
push dword [esp + 0x14]
call dword [0x101aa4e4]
call esi
mov eax, dword [edi + 0x2c]
inc ebp
add esp, 4
cmp ebp, eax
jb 0x1007795f
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [edi + 0x54]
call sym.user32.dll_git_commit_graph_free
lea ebp, [edi + 0x20]
add esp, 4
test ebp, ebp
je 0x100779e6
push dword [ebp + 8]
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
add esp, 4
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov dword [ebp], 0
lea ecx, [edi + 0x34]
call fcn.10056650
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, 0x5c
mov eax, edi
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x10077a00
mov esi, dword [fcn.10034de0]
mov ecx, esi
push edi
call dword [0x101aa4e4]
call esi
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x54
ret