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

Disassembly:
sub esp, 0x8c
push ebx
push ebp
xor eax, eax
mov dword [esp + 0x2c], ecx
mov ebp, edx
mov dword [esp + 0x14], eax
xor edx, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
xorps xmm0, xmm0
mov dword [esp + 0x30], 1
movq qword [esp + 0x44], xmm0
push esi
push edi
movups xmmword [esp + 0x3c], xmm0
test ecx, ecx
jne 0x10018731
push 0x1014f2e0
push str.invalid_argument
push 0x1014f2f8
push 3
call fcn.10028220
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret
test ebp, ebp
jne 0x1001875c
push str.repo
push str.invalid_argument
push 0x1014f2f8
push 3
call fcn.10028220
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret
mov edx, dword [esp + 0xac]
mov dword [ecx], eax
test edx, edx
je 0x10018795
mov ecx, dword [edx]
lea eax, [ecx - 1]
test eax, eax
je 0x10018795
push str.git_merge_options
push ecx
push str.invalid_version__d_on__s
push 3
call fcn.10028220
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret
push edx
lea edx, [esp + 0x78]
mov ecx, ebp
call fcn.10017b30
add esp, 4
test eax, eax
js 0x10018d8d
test byte [esp + 0x78], 0x10
mov eax, dword [esp + 0x90]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x4c], eax
je 0x100187f4
or eax, 0x200
mov dword [esp + 0x3c], str.merged_common_ancestors
mov dword [esp + 0x4c], eax
mov eax, 9
mov dword [esp + 0x40], str.Temporary_merge_branch_1
mov dword [esp + 0x44], str.Temporary_merge_branch_2
mov word [esp + 0x50], ax
mov ecx, ebp
call fcn.100177e0
mov dword [esp + 0x18], eax
test eax, eax
je 0x10018723
mov edi, dword [esp + 0xa0]
test edi, edi
jne 0x10018857
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
xor eax, eax
push 0x196
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srciterator.c
push 0x6c
push 1
mov ecx, esi
mov dword [esp + 0x2c], eax
call dword [0x1012b304]
call esi
mov edi, eax
add esp, 0x10
test edi, edi
je 0x10018857
mov dword [edi], 0
mov dword [edi + 4], 0x1016f1b0
mov dword [edi + 0x50], 2
mov dword [esp + 0x1c], edi
mov ebx, dword [esp + 0xa4]
test ebx, ebx
jne 0x100188a7
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
xor eax, eax
push 0x196
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srciterator.c
push 0x6c
push 1
mov ecx, esi
mov dword [esp + 0x30], eax
call dword [0x1012b304]
call esi
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x100188a7
mov dword [ebx], 0
mov dword [ebx + 4], 0x1016f1b0
mov dword [ebx + 0x50], 2
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x100188f5
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
xor edx, edx
push 0x196
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srciterator.c
push 0x6c
push 1
mov ecx, esi
mov dword [esp + 0x34], edx
call dword [0x1012b304]
call esi
add esp, 0x10
test eax, eax
je 0x100188f5
mov dword [eax], 0
mov dword [eax + 4], 0x1016f1b0
mov dword [eax + 0x50], 2
mov dword [esp + 0x24], eax
mov esi, dword [esp + 0x18]
xorps xmm0, xmm0
mov dword [esp + 0x70], eax
lea eax, [esp + 0x54]
push eax
push ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x5c], esi
movq qword [esp + 0x60], xmm0
mov dword [esp + 0x68], 0
call fcn.10061640
mov edi, eax
add esp, 8
test edi, edi
js 0x10018b63
lea eax, [esp + 0x74]
mov edx, esi
push eax
mov ecx, ebp
call fcn.10017050
mov edi, eax
add esp, 4
test edi, edi
js 0x10018b63
movups xmm0, xmmword [esi + 0x24]
or dword [esi + 0x34], 1
lea ebp, [esi + 0x24]
xor eax, eax
mov dword [esi + 0x30], 0
movups xmmword [esp + 0x54], xmm0
mov dword [esp + 0x2c], eax
psrldq xmm0, 0xc
movd ecx, xmm0
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x10018b49
nop dword [eax]
nop word [eax + eax]
mov ecx, dword [esp + 0x5c]
mov edx, esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], 0
mov ebx, dword [ecx + eax*4]
lea ecx, [esp + 0x14]
push ebx
call fcn.100158a0
mov edi, eax
add esp, 4
test edi, edi
js 0x10018a82
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x10018a78
test ebx, ebx
je 0x10018d98
mov eax, dword [ebx]
mov dword [esp + 0x14], esi
cmp eax, 0x400
je 0x10018a2e
cmp eax, 0x40
je 0x10018a2e
mov edx, dword [ebx + 0x8c]
mov eax, dword [ebx + 0x60]
mov ecx, dword [ebx + 0xa8]
test edx, edx
je 0x10018a03
test eax, eax
jne 0x10018a2e
test ecx, ecx
je 0x10018a17
jmp 0x10018a07
test eax, eax
jne 0x10018a13
cmp dword [ebx + 0xd4], esi
je 0x10018a17
test edx, edx
jne 0x10018a2e
test ecx, ecx
jne 0x10018a2e
mov ecx, dword [esp + 0x18]
mov esi, 1
add ecx, 0x38
mov dword [esp + 0x14], esi
mov edx, ebx
call fcn.100382b0
xor edi, edi
test esi, esi
jne 0x10018a78
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ebx
call fcn.10015a10
mov edi, eax
add esp, 4
test edi, edi
js 0x10018a7c
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x10018a78
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x78]
push eax
push ebx
lea ecx, [esp + 0x20]
call fcn.10016160
mov edi, eax
add esp, 0xc
test edi, edi
js 0x10018a7c
mov esi, dword [esp + 0x14]
mov eax, esi
jmp 0x10018a84
mov eax, dword [esp + 0x28]
jmp 0x10018a84
xor eax, eax
test edi, edi
js 0x10018b63
test eax, eax
jne 0x10018b32
test byte [esp + 0x78], 2
jne 0x10018db9
test ebp, ebp
jne 0x10018abe
push 0x10154fcc
push str.invalid_argument
push 0x1014f2f8
push 3
call fcn.10028220
add esp, 0x10
jmp 0x10018b32
mov edi, dword [ebp]
cmp dword [ebp + 0xc], edi
jb 0x10018b11
cmp edi, 8
jae 0x10018ad2
mov edi, 8
jmp 0x10018ae7
cmp edi, 0xaaaaaaaa
ja 0x10018ae4
mov eax, edi
shr eax, 1
add edi, eax
jne 0x10018ae7
jmp 0x10018b11
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 [ebp + 8]
call dword [0x1012b304]
call esi
add esp, 0x14
test eax, eax
je 0x10018b32
mov dword [ebp], edi
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [eax + ecx*4], ebx
mov ecx, dword [ebp + 0x10]
mov eax, ecx
inc dword [ebp + 0xc]
and eax, 0xfffffffe
or ecx, 1
cmp dword [ebp + 0xc], 1
cmova ecx, eax
mov dword [ebp + 0x10], ecx
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x30]
jb 0x10018990
mov al, byte [esp + 0x78]
mov edx, esi
mov ecx, dword [esp + 0x34]
and al, 4
movzx eax, al
push eax
call fcn.100183e0
add esp, 4
mov edi, eax
mov eax, dword [esp + 0xac]
test eax, eax
je 0x10018b74
cmp dword [eax + 0x10], 0
jne 0x10018b8e
push dword [esp + 0x84]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012b304]
call esi
add esp, 4
push dword [esp + 0x8c]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012b304]
call esi
mov ecx, dword [esp + 0x1c]
add esp, 4
call fcn.10017a70
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x10018c4f
mov eax, dword [ebp + 4]
push ebp
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x1012b304]
call esi
lea ebx, [ebp + 0x24]
add esp, 4
test ebx, ebx
je 0x10018c02
push dword [ebx + 8]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012b304]
call esi
add esp, 4
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx], 0
push dword [ebp + 0x10]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012b304]
call esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
add esp, 4
mov ecx, esi
push dword [ebp + 0x18]
call dword [0x1012b304]
call esi
add esp, 4
push 0x54
push 0
push ebp
call fcn.10107270
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
add esp, 0xc
mov ecx, esi
push ebp
call dword [0x1012b304]
call esi
add esp, 4
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x10018ced
mov eax, dword [ebp + 4]
push ebp
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x1012b304]
call esi
lea ebx, [ebp + 0x24]
add esp, 4
test ebx, ebx
je 0x10018ca0
push dword [ebx + 8]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012b304]
call esi
add esp, 4
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx], 0
push dword [ebp + 0x10]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012b304]
call esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
add esp, 4
mov ecx, esi
push dword [ebp + 0x18]
call dword [0x1012b304]
call esi
add esp, 4
push 0x54
push 0
push ebp
call fcn.10107270
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
add esp, 0xc
mov ecx, esi
push ebp
call dword [0x1012b304]
call esi
add esp, 4
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x10018d8b
mov eax, dword [ebp + 4]
push ebp
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x1012b304]
call esi
lea ebx, [ebp + 0x24]
add esp, 4
test ebx, ebx
je 0x10018d3e
push dword [ebx + 8]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012b304]
call esi
add esp, 4
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx], 0
push dword [ebp + 0x10]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012b304]
call esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
add esp, 4
mov ecx, esi
push dword [ebp + 0x18]
call dword [0x1012b304]
call esi
add esp, 4
push 0x54
push 0
push ebp
call fcn.10107270
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
add esp, 0xc
mov ecx, esi
push ebp
call dword [0x1012b304]
call esi
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret
push str.conflict
push str.invalid_argument
push 0x1014f2f8
push 3
call fcn.10028220
add esp, 0x10
or edi, 0xffffffff
jmp 0x10018b63
push str.merge_conflicts_exist
push 0x16
call fcn.10028220
add esp, 8
mov edi, 0xffffffe8
jmp 0x10018b63