Function at 0x10066840
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], 0x1015de6d
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 0x10066906
push str.d__type__GIT_DIFF_TYPE_GENERATED
push str.unrecoverable_internal_error
push 0x1013b008
push 0x23
call fcn.10028220
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 0x10066936
push str.repository_has_no_working_directory
push 6
call fcn.10028220
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.1002a440
mov ebx, dword [esp + 0x34]
add esp, 8
test eax, eax
jne 0x1006699e
push 0x200
push 0
lea edx, [esp + 0x34]
mov ecx, ebp
call fcn.100547a0
add esp, 8
test al, al
jne 0x1006699a
mov eax, dword [esp + 0x34]
push ebx
cmp eax, 0xffffffff
jne 0x10066985
push str.path_too_long:__s
push 0x1e
call fcn.10028220
add esp, 0xc
or eax, 0xffffffff
jmp 0x1006699c
push eax
push str.path_too_long:__.s
push 0x1e
call fcn.10028220
add esp, 0x10
or eax, 0xffffffff
jmp 0x1006699c
xor eax, eax
test eax, eax
js 0x100668f8
mov eax, dword [esp + 0x130]
test ax, ax
jne 0x10066a59
mov edi, dword [esp + 0x14]
lea edx, [esp + 0xd8]
mov ecx, ebx
inc dword [edi + 0x9c]
call fcn.10040360
test eax, eax
jns 0x100669ed
call fcn.100fe8aa
mov edx, dword [esp + 0x18]
push str.stat
mov ecx, dword [eax]
call fcn.100301f0
add esp, 4
jmp 0x10066e21
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.10042a30
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 0x10066acd
mov esi, eax
mov eax, 0xe000
and esi, 0xf000
cmp si, ax
jne 0x10066ac5
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0x14]
mov edx, dword [ebp + 8]
push dword [edx + 0xa8]
push dword [esp + 0x1c]
call fcn.1004a110
add esp, 8
test eax, eax
jne 0x10066abb
mov esi, dword [esp + 0x14]
push esi
call sym.user32.dll_git_submodule_wd_id
add esp, 4
test eax, eax
je 0x10066aad
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 0x10066d6d
call sym.user32.dll_git_error_clear
jmp 0x10066d6d
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, 0xa000
cmp si, cx
jne 0x10066af3
mov ecx, dword [esp + 0x1c]
mov edx, ebx
call fcn.10033ef0
inc dword [edi + 0xa0]
mov ebp, eax
mov dword [esp + 0x10], ebp
jmp 0x10066d5d
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 0x10066e23
mov ecx, ebx
call fcn.10038980
mov ebx, dword [esp + 0x10]
mov edi, eax
test edi, edi
jns 0x10066b30
mov ebp, edi
mov dword [esp + 0x10], ebp
jmp 0x10066cd7
mov dword [esp + 0x38], 0x1015de6d
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 0x10066b76
mov ecx, dword [esp + 0x1c]
push 3
push eax
call fcn.10033d00
mov ebp, eax
add esp, 8
mov dword [esp + 0x10], ebp
jmp 0x10066cc4
push eax
lea ecx, [esp + 0x3c]
call fcn.10038a20
mov ebp, eax
add esp, 4
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x10066cc4
mov dword [esp + 0x20], 0x1015de6d
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
cmp dword [ebx + 4], eax
je 0x10066bfb
push dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x24]
push esi
mov edx, ebx
call fcn.10032b00
mov ebp, eax
add esp, 8
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x10066c9a
cmp dword [esp + 0x3c], eax
jbe 0x10066bf1
test esi, esi
je 0x10066bf1
cmp esi, 0x1015de6c
je 0x10066bf1
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 0x10066c9a
jmp 0x10066c49
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 0x10066c49
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10066c49
cmp eax, 0x1015de6c
je 0x10066c49
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 0x10066c73
push 0x1013d18c
push str.invalid_argument
push 0x1013b008
push 3
call fcn.10028220
add esp, 0x10
or ebp, 0xffffffff
mov dword [esp + 0x10], ebp
jmp 0x10066c9a
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.10033ab0
mov ebp, eax
mov dword [esp + 0x10], eax
cmp dword [esp + 0x24], 0
jbe 0x10066cc4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10066cc4
cmp eax, 0x1015de6c
je 0x10066cc4
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.10105cc0
mov eax, dword [esp + 0x18]
add esp, 4
inc dword [eax + 0xa0]
test ebx, ebx
je 0x10066d59
mov eax, dword [ebx + 4]
xor esi, esi
test eax, eax
je 0x10066d18
xor ebp, ebp
cmp esi, eax
jae 0x10066cf0
mov eax, dword [ebx]
add eax, ebp
jmp 0x10066cf2
xor eax, eax
mov ecx, dword [eax + 4]
mov edi, dword [ecx + 0x1c]
test edi, edi
je 0x10066d0d
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 0x10066cea
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 0x10066e23
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x134]
test eax, eax
je 0x10066e23
mov esi, dword [esp + 0x1c]
push eax
push esi
call sym.user32.dll_git_oid_equal
add esp, 8
test eax, eax
je 0x10066e23
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.10007fb0
mov edi, eax
test edi, edi
jne 0x10066e23
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 0x10066e4a
test ebx, ebx
je 0x10066e4a
cmp ebx, 0x1015de6c
je 0x10066e4a
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