Function at 0x10018620
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 0x10018681
push 0x1013afd0
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret
test ebp, ebp
jne 0x100186ac
push str.repo
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
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 0x100186e5
mov ecx, dword [edx]
lea eax, [ecx - 1]
test eax, eax
je 0x100186e5
push str.git_merge_options
push ecx
push str.invalid_version__d_on__s
push 3
call fcn.10028180
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.10017a80
add esp, 4
test eax, eax
js 0x10018cdd
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 0x10018744
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.10017730
mov dword [esp + 0x18], eax
test eax, eax
je 0x10018673
mov edi, dword [esp + 0xa0]
test edi, edi
jne 0x100187a7
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 [0x101182f8]
call esi
mov edi, eax
add esp, 0x10
test edi, edi
je 0x100187a7
mov dword [edi], 0
mov dword [edi + 4], 0x1015a1b0
mov dword [edi + 0x50], 2
mov dword [esp + 0x1c], edi
mov ebx, dword [esp + 0xa4]
test ebx, ebx
jne 0x100187f7
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 [0x101182f8]
call esi
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x100187f7
mov dword [ebx], 0
mov dword [ebx + 4], 0x1015a1b0
mov dword [ebx + 0x50], 2
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x10018845
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 [0x101182f8]
call esi
add esp, 0x10
test eax, eax
je 0x10018845
mov dword [eax], 0
mov dword [eax + 4], 0x1015a1b0
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.100615e0
mov edi, eax
add esp, 8
test edi, edi
js 0x10018ab3
lea eax, [esp + 0x74]
mov edx, esi
push eax
mov ecx, ebp
call fcn.10016fa0
mov edi, eax
add esp, 4
test edi, edi
js 0x10018ab3
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 0x10018a99
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.100157f0
mov edi, eax
add esp, 4
test edi, edi
js 0x100189d2
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x100189c8
test ebx, ebx
je 0x10018ce8
mov eax, dword [ebx]
mov dword [esp + 0x14], esi
cmp eax, 0x400
je 0x1001897e
cmp eax, 0x40
je 0x1001897e
mov edx, dword [ebx + 0x8c]
mov eax, dword [ebx + 0x60]
mov ecx, dword [ebx + 0xa8]
test edx, edx
je 0x10018953
test eax, eax
jne 0x1001897e
test ecx, ecx
je 0x10018967
jmp 0x10018957
test eax, eax
jne 0x10018963
cmp dword [ebx + 0xd4], esi
je 0x10018967
test edx, edx
jne 0x1001897e
test ecx, ecx
jne 0x1001897e
mov ecx, dword [esp + 0x18]
mov esi, 1
add ecx, 0x38
mov dword [esp + 0x14], esi
mov edx, ebx
call fcn.10038200
xor edi, edi
test esi, esi
jne 0x100189c8
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ebx
call fcn.10015960
mov edi, eax
add esp, 4
test edi, edi
js 0x100189cc
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x100189c8
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.100160b0
mov edi, eax
add esp, 0xc
test edi, edi
js 0x100189cc
mov esi, dword [esp + 0x14]
mov eax, esi
jmp 0x100189d4
mov eax, dword [esp + 0x28]
jmp 0x100189d4
xor eax, eax
test edi, edi
js 0x10018ab3
test eax, eax
jne 0x10018a82
test byte [esp + 0x78], 2
jne 0x10018d09
test ebp, ebp
jne 0x10018a0e
push 0x10140cbc
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
jmp 0x10018a82
mov edi, dword [ebp]
cmp dword [ebp + 0xc], edi
jb 0x10018a61
cmp edi, 8
jae 0x10018a22
mov edi, 8
jmp 0x10018a37
cmp edi, 0xaaaaaaaa
ja 0x10018a34
mov eax, edi
shr eax, 1
add edi, eax
jne 0x10018a37
jmp 0x10018a61
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 [0x101182f8]
call esi
add esp, 0x14
test eax, eax
je 0x10018a82
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 0x100188e0
mov al, byte [esp + 0x78]
mov edx, esi
mov ecx, dword [esp + 0x34]
and al, 4
movzx eax, al
push eax
call fcn.10018330
add esp, 4
mov edi, eax
mov eax, dword [esp + 0xac]
test eax, eax
je 0x10018ac4
cmp dword [eax + 0x10], 0
jne 0x10018ade
push dword [esp + 0x84]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x101182f8]
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 [0x101182f8]
call esi
mov ecx, dword [esp + 0x1c]
add esp, 4
call fcn.100179c0
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x10018b9f
mov eax, dword [ebp + 4]
push ebp
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x101182f8]
call esi
lea ebx, [ebp + 0x24]
add esp, 4
test ebx, ebx
je 0x10018b52
push dword [ebx + 8]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x101182f8]
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 [0x101182f8]
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 [0x101182f8]
call esi
add esp, 4
push 0x54
push 0
push ebp
call fcn.100f6510
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 [0x101182f8]
call esi
add esp, 4
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x10018c3d
mov eax, dword [ebp + 4]
push ebp
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x101182f8]
call esi
lea ebx, [ebp + 0x24]
add esp, 4
test ebx, ebx
je 0x10018bf0
push dword [ebx + 8]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x101182f8]
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 [0x101182f8]
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 [0x101182f8]
call esi
add esp, 4
push 0x54
push 0
push ebp
call fcn.100f6510
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 [0x101182f8]
call esi
add esp, 4
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x10018cdb
mov eax, dword [ebp + 4]
push ebp
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x101182f8]
call esi
lea ebx, [ebp + 0x24]
add esp, 4
test ebx, ebx
je 0x10018c8e
push dword [ebx + 8]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x101182f8]
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 [0x101182f8]
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 [0x101182f8]
call esi
add esp, 4
push 0x54
push 0
push ebp
call fcn.100f6510
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 [0x101182f8]
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 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
or edi, 0xffffffff
jmp 0x10018ab3
push str.merge_conflicts_exist
push 0x16
call fcn.10028180
add esp, 8
mov edi, 0xffffffe8
jmp 0x10018ab3