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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x28], xmm0
movlpd qword [esp + 0x20], xmm0
push esi
mov esi, edx
mov dword [esp + 0x14], esi
push edi
mov edi, ecx
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
test eax, eax
je 0x10076e0e
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x40], xmm0
movq xmm0, qword [eax + 0x10]
mov eax, dword [eax + 0x18]
jmp 0x10076e35
movq qword [esp + 0x74], xmm0
mov eax, dword [esp + 0x78]
movups xmmword [esp + 0x64], xmm0
mov dword [esp + 0x60], 1
movaps xmm0, xmmword [esp + 0x60]
movaps xmmword [esp + 0x40], xmm0
movq xmm0, qword [esp + 0x70]
push 0x30
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x64]
push 0
push eax
movq qword [esp + 0x5c], xmm0
call fcn.10178d50
mov ecx, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [ecx + 8]
cmp ecx, 0x7fffffff
ja 0x1007718b
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 8]
cmp edx, 0x7fffffff
ja 0x1007718b
test esi, esi
je 0x10076ea5
cmp dword [esi + 8], 0x7fffffff
ja 0x1007718b
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x10076e90
mov eax, dword [esi + 0xc]
mov dword [esp + 0x84], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x10076eb3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x34], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x10076ed6
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
cmp ecx, 1
jne 0x10076efa
mov dword [esp + 0x7c], ecx
jmp 0x10076f17
cmp ecx, 2
jne 0x10076f05
mov dword [esp + 0x7c], ecx
jmp 0x10076f17
mov eax, dword [esp + 0x7c]
mov edx, 3
cmp ecx, edx
cmove eax, edx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x54]
mov ecx, 2
mov dl, byte [esp + 0x54]
and eax, 4
or eax, 8
mov dword [esp + 0x14], 1
shr eax, 2
test dl, 2
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x80]
cmovne eax, dword [esp + 0x14]
test dword [esp + 0x54], 0x100
cmovne eax, ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x60]
test dl, 8
je 0x10076f69
or eax, ecx
mov dword [esp + 0x60], eax
test dl, 0x10
je 0x10076f75
or eax, 4
mov dword [esp + 0x60], eax
test dl, 0x20
je 0x10076f81
or eax, 8
mov dword [esp + 0x60], eax
test dl, 0x40
je 0x10076f8f
or eax, 0x4000
mov dword [esp + 0x60], eax
test dl, dl
jns 0x10076f9a
or eax, 1
mov dword [esp + 0x60], eax
movzx eax, word [esp + 0x58]
lea edx, [esp + 0x30]
mov dword [esp + 0x74], eax
lea ecx, [esp + 0x38]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.100b1520
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
js 0x1007718b
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0xc]
test esi, esi
je 0x1007709e
mov edx, dword [esi + 0xc]
mov esi, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], esi
test edx, edx
je 0x100770a1
test esi, esi
je 0x10077043
mov ecx, edx
nop dword [eax + eax]
mov al, byte [ecx]
cmp al, byte [esi]
mov byte [esp + 0xf], al
mov eax, dword [esp + 0x10]
jne 0x10077036
cmp byte [esp + 0xf], 0
je 0x10077032
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
mov byte [esp + 0xf], al
mov eax, dword [esp + 0x10]
jne 0x10077036
add ecx, 2
add esi, 2
cmp byte [esp + 0xf], 0
jne 0x10077000
xor ecx, ecx
jmp 0x1007703b
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x10077072
mov esi, dword [esp + 0x1c]
test eax, eax
je 0x1007707c
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x10077067
test cl, cl
je 0x10077063
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x10077067
add edx, 2
add eax, 2
test cl, cl
jne 0x10077047
xor eax, eax
jmp 0x1007706c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1007707c
mov eax, esi
test eax, eax
je 0x10077104
jmp 0x100770db
mov edx, dword [esp + 0x18]
xor eax, eax
cmp dword [esp + 0x14], eax
sete al
mov dword [edi], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 0x10], eax
jmp 0x10077125
mov esi, dword [ecx + 0xc]
test esi, esi
je 0x10077104
test eax, eax
je 0x10077104
mov ecx, esi
nop dword [eax + eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x100770d0
test dl, dl
je 0x100770cc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x100770d0
add ecx, 2
add eax, 2
test dl, dl
jne 0x100770b0
xor eax, eax
jmp 0x100770d5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10077104
mov eax, esi
mov esi, dword [fcn.10060f30]
mov ecx, esi
push 0x9c
push str.C:UsersAdmin_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcmerge_file.c
push eax
call dword [0x101aa4d8]
call esi
add esp, 0xc
mov dword [edi + 4], eax
test eax, eax
je 0x1007719a
mov edx, dword [esp + 0x18]
xor eax, eax
cmp dword [esp + 0x14], eax
sete al
mov dword [edi], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 0x10], eax
test edx, edx
je 0x1007715b
mov eax, dword [ebp + 0xc]
mov edx, dword [edx + 0x10]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
test edx, edx
je 0x10077167
test eax, eax
je 0x10077150
test ecx, ecx
je 0x10077150
cmp edx, eax
cmove eax, ecx
mov dword [edi + 8], eax
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [edi + 8], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
cmp eax, 0x81ed
je 0x1007717b
mov eax, 0x81a4
cmp ecx, 0x81ed
jne 0x10077180
mov eax, 0x81ed
mov dword [edi + 8], eax
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.failed_to_merge_files
push 0x16
call fcn.1002a5a0
add esp, 8
test edi, edi
je 0x100771ca
push dword [edi + 4]
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4d8]
call esi
mov esi, dword [fcn.10034de0]
add esp, 4
mov ecx, esi
push dword [edi + 0xc]
call dword [0x101aa4d8]
call esi
add esp, 4
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret