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

Disassembly:
sub esp, 0x118
mov eax, dword [esp + 0x120]
push ebx
push ebp
push esi
movzx esi, ax
mov eax, dword [esp + 0x128]
push edi
xor edi, edi
mov dword [esp + 0x14], edx
cmp dword [edx + 0x2c], 1
movups xmm0, xmmword [eax]
mov ebx, dword [eax + 0x40]
mov dword [esp + 0x1c], ecx
movups xmmword [esp + 0xa8], xmm0
mov dword [esp + 0x2c], 0x1015ddcd
movups xmmword [esp + 0x60], xmm0
mov dword [esp + 0x30], 0
movups xmm0, xmmword [eax + 0x10]
mov dword [esp + 0x34], 0
mov dword [esp + 0x18], ebx
movups xmmword [esp + 0xb8], xmm0
mov dword [esp + 0xa0], ebx
movups xmmword [esp + 0x70], xmm0
mov dword [esp + 0x10], 0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esp + 0x50], xmm0
movups xmmword [esp + 0x80], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [esp + 0xc8], xmm0
movups xmmword [esp + 0x90], xmm0
je 0x100668a6
push str.d__type__GIT_DIFF_TYPE_GENERATED
push str.unrecoverable_internal_error
push 0x1013afe8
push 0x23
call fcn.10028180
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], edi
mov ebp, dword [edx + 8]
mov eax, dword [ebp + 0x44]
test eax, eax
jne 0x100668d6
push str.repository_has_no_working_directory
push 6
call fcn.10028180
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret
push ebx
push eax
mov dl, 0x2f
lea ecx, [esp + 0x34]
call fcn.1002a390
mov ebx, dword [esp + 0x34]
add esp, 8
test eax, eax
jne 0x1006693e
push 0x200
push 0
lea edx, [esp + 0x34]
mov ecx, ebp
call fcn.10054720
add esp, 8
test al, al
jne 0x1006693a
mov eax, dword [esp + 0x34]
push ebx
cmp eax, 0xffffffff
jne 0x10066925
push str.path_too_long:__s
push 0x1e
call fcn.10028180
add esp, 0xc
or eax, 0xffffffff
jmp 0x1006693c
push eax
push str.path_too_long:__.s
push 0x1e
call fcn.10028180
add esp, 0x10
or eax, 0xffffffff
jmp 0x1006693c
xor eax, eax
test eax, eax
js 0x10066898
mov eax, dword [esp + 0x130]
test ax, ax
jne 0x100669f9
mov edi, dword [esp + 0x14]
lea edx, [esp + 0xd8]
mov ecx, ebx
inc dword [edi + 0x9c]
call fcn.100402b0
test eax, eax
jns 0x1006698d
call fcn.100fe80a
mov edx, dword [esp + 0x18]
push str.stat
mov ecx, dword [eax]
call fcn.10030150
add esp, 4
jmp 0x10066dc1
mov eax, dword [edi + 0xd4]
lea edx, [esp + 0xd8]
shr eax, 2
lea ecx, [esp + 0x60]
and al, 1
movzx eax, al
push eax
call fcn.10042980
movups xmm0, xmmword [esp + 0x94]
mov eax, dword [esp + 0xa4]
add esp, 4
and esi, 0xf000
mov dword [esp + 0x18], eax
movups xmmword [esp + 0xc8], xmm0
movups xmm0, xmmword [esp + 0x80]
movups xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [esp + 0x70]
movups xmmword [esp + 0xb8], xmm0
movups xmm0, xmmword [esp + 0x60]
movups xmmword [esp + 0xa8], xmm0
jmp 0x10066a6d
mov esi, eax
mov eax, 0xe000
and esi, 0xf000
cmp si, ax
jne 0x10066a65
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0x14]
mov edx, dword [ebp + 8]
push dword [edx + 0xa8]
push dword [esp + 0x1c]
call fcn.1004a060
add esp, 8
test eax, eax
jne 0x10066a5b
mov esi, dword [esp + 0x14]
push esi
call sym.user32.dll_git_submodule_wd_id
add esp, 4
test eax, eax
je 0x10066a4d
movups xmm0, xmmword [eax]
mov ecx, dword [esp + 0x1c]
movups xmmword [ecx], xmm0
mov eax, dword [eax + 0x10]
mov dword [ecx + 0x10], eax
push esi
call sym.user32.dll_git_submodule_free
add esp, 4
jmp 0x10066d0d
call sym.user32.dll_git_error_clear
jmp 0x10066d0d
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, 0xa000
cmp si, cx
jne 0x10066a93
mov ecx, dword [esp + 0x1c]
mov edx, ebx
call fcn.10033e60
inc dword [edi + 0xa0]
mov ebp, eax
mov dword [esp + 0x10], ebp
jmp 0x10066cfd
push 1
push 1
push eax
push 0
push dword [edi + 8]
lea eax, [esp + 0x24]
push eax
call sym.user32.dll_git_filter_list_load
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x10066dc3
mov ecx, ebx
call fcn.100388d0
mov ebx, dword [esp + 0x10]
mov edi, eax
test edi, edi
jns 0x10066ad0
mov ebp, edi
mov dword [esp + 0x10], ebp
jmp 0x10066c77
mov dword [esp + 0x38], 0x1015ddcd
mov edx, edi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
movups xmm0, xmmword [esp + 0x50]
psrldq xmm0, 4
movd eax, xmm0
test ebx, ebx
jne 0x10066b16
mov ecx, dword [esp + 0x1c]
push 3
push eax
call fcn.10033c70
mov ebp, eax
add esp, 8
mov dword [esp + 0x10], ebp
jmp 0x10066c64
push eax
lea ecx, [esp + 0x3c]
call fcn.10038970
mov ebp, eax
add esp, 4
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x10066c64
mov dword [esp + 0x20], 0x1015ddcd
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
cmp dword [ebx + 4], eax
je 0x10066b9b
push dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x24]
push esi
mov edx, ebx
call fcn.10032a60
mov ebp, eax
add esp, 8
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x10066c3a
cmp dword [esp + 0x3c], eax
jbe 0x10066b91
test esi, esi
je 0x10066b91
cmp esi, 0x1015ddcc
je 0x10066b91
push esi
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
test ebp, ebp
jne 0x10066c3a
jmp 0x10066be9
movq xmm0, qword [esp + 0x20]
movq qword [esp + 0x44], xmm0
cmp dword [esp + 0x48], 0
movq xmm0, qword [esp + 0x38]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
movq qword [esp + 0x20], xmm0
mov dword [esp + 0x28], eax
jbe 0x10066be9
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10066be9
cmp eax, 0x1015ddcc
je 0x10066be9
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push eax
call dword [0x101182f8]
call esi
add esp, 4
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x10066c13
push 0x1013d16c
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
or ebp, 0xffffffff
mov dword [esp + 0x10], ebp
jmp 0x10066c3a
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x44]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 3
call fcn.10033a20
mov ebp, eax
mov dword [esp + 0x10], eax
cmp dword [esp + 0x24], 0
jbe 0x10066c64
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10066c64
cmp eax, 0x1015ddcc
je 0x10066c64
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push eax
call dword [0x101182f8]
call esi
add esp, 4
push edi
call fcn.10105c23
mov eax, dword [esp + 0x18]
add esp, 4
inc dword [eax + 0xa0]
test ebx, ebx
je 0x10066cf9
mov eax, dword [ebx + 4]
xor esi, esi
test eax, eax
je 0x10066cb8
xor ebp, ebp
cmp esi, eax
jae 0x10066c90
mov eax, dword [ebx]
add eax, ebp
jmp 0x10066c92
xor eax, eax
mov ecx, dword [eax + 4]
mov edi, dword [ecx + 0x1c]
test edi, edi
je 0x10066cad
push dword [eax + 8]
push ecx
mov ecx, edi
call dword [0x101182f8]
call edi
add esp, 8
mov eax, dword [ebx + 4]
inc esi
add ebp, 0xc
cmp esi, eax
jb 0x10066c8a
push dword [ebx]
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 + 4], 0
mov dword [ebx], 0
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push ebx
call dword [0x101182f8]
call esi
mov ebp, dword [esp + 0x14]
add esp, 4
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
test ebp, ebp
jne 0x10066dc3
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x134]
test eax, eax
je 0x10066dc3
mov esi, dword [esp + 0x1c]
push eax
push esi
call sym.user32.dll_git_oid_equal
add esp, 8
test eax, eax
je 0x10066dc3
movups xmm0, xmmword [esp + 0xa8]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x18]
mov edx, dword [ebp + 8]
movups xmmword [esp + 0x60], xmm0
mov dword [esp + 0xa0], eax
movups xmm0, xmmword [esp + 0xb8]
mov eax, dword [esp + 0x130]
movzx eax, ax
movups xmmword [esp + 0x70], xmm0
mov dword [esp + 0x78], eax
movups xmm0, xmmword [esp + 0x50]
mov eax, dword [esi + 0x10]
movups xmmword [esp + 0x80], xmm0
movups xmm0, xmmword [esp + 0xc8]
movups xmmword [esp + 0x90], xmm0
mov dword [esp + 0x98], eax
movups xmm0, xmmword [esi]
movups xmmword [esp + 0x88], xmm0
call fcn.10007f30
mov edi, eax
test edi, edi
jne 0x10066dc3
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x1c]
call sym.user32.dll_git_index_add
add esp, 8
mov byte [ebp + 0xd8], 1
mov edi, eax
cmp dword [esp + 0x30], 0
jbe 0x10066dea
test ebx, ebx
je 0x10066dea
cmp ebx, 0x1015ddcc
je 0x10066dea
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push ebx
call dword [0x101182f8]
call esi
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret