Function at 0x10066d30
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], 0x1020156d
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 0x10066df6
push str.d__type__GIT_DIFF_TYPE_GENERATED
push str.unrecoverable_internal_error
push 0x101d76f8
push 0x23
call fcn.10028740
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 0x10066e26
push str.repository_has_no_working_directory
push 6
call fcn.10028740
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.1002a950
mov ebx, dword [esp + 0x34]
add esp, 8
test eax, eax
jne 0x10066e8e
push 0x200
push 0
lea edx, [esp + 0x34]
mov ecx, ebp
call fcn.10054c90
add esp, 8
test al, al
jne 0x10066e8a
mov eax, dword [esp + 0x34]
push ebx
cmp eax, 0xffffffff
jne 0x10066e75
push str.path_too_long:__s
push 0x1e
call fcn.10028740
add esp, 0xc
or eax, 0xffffffff
jmp 0x10066e8c
push eax
push str.path_too_long:__.s
push 0x1e
call fcn.10028740
add esp, 0x10
or eax, 0xffffffff
jmp 0x10066e8c
xor eax, eax
test eax, eax
js 0x10066de8
mov eax, dword [esp + 0x130]
test ax, ax
jne 0x10066f49
mov edi, dword [esp + 0x14]
lea edx, [esp + 0xd8]
mov ecx, ebx
inc dword [edi + 0x9c]
call fcn.10040850
test eax, eax
jns 0x10066edd
call fcn.10178834
mov edx, dword [esp + 0x18]
push str.stat
mov ecx, dword [eax]
call fcn.10030700
add esp, 4
jmp 0x10067311
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.10042f20
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 0x10066fbd
mov esi, eax
mov eax, 0xe000
and esi, 0xf000
cmp si, ax
jne 0x10066fb5
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0x14]
mov edx, dword [ebp + 8]
push dword [edx + 0xa8]
push dword [esp + 0x1c]
call fcn.1004a5f0
add esp, 8
test eax, eax
jne 0x10066fab
mov esi, dword [esp + 0x14]
push esi
call sym.user32.dll_git_submodule_wd_id
add esp, 4
test eax, eax
je 0x10066f9d
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 0x1006725d
call sym.user32.dll_git_error_clear
jmp 0x1006725d
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, 0xa000
cmp si, cx
jne 0x10066fe3
mov ecx, dword [esp + 0x1c]
mov edx, ebx
call fcn.10034400
inc dword [edi + 0xa0]
mov ebp, eax
mov dword [esp + 0x10], ebp
jmp 0x1006724d
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 0x10067313
mov ecx, ebx
call fcn.10038e70
mov ebx, dword [esp + 0x10]
mov edi, eax
test edi, edi
jns 0x10067020
mov ebp, edi
mov dword [esp + 0x10], ebp
jmp 0x100671c7
mov dword [esp + 0x38], 0x1020156d
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 0x10067066
mov ecx, dword [esp + 0x1c]
push 3
push eax
call fcn.10034210
mov ebp, eax
add esp, 8
mov dword [esp + 0x10], ebp
jmp 0x100671b4
push eax
lea ecx, [esp + 0x3c]
call fcn.10038f10
mov ebp, eax
add esp, 4
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x100671b4
mov dword [esp + 0x20], 0x1020156d
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
cmp dword [ebx + 4], eax
je 0x100670eb
push dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x24]
push esi
mov edx, ebx
call fcn.10033010
mov ebp, eax
add esp, 8
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x1006718a
cmp dword [esp + 0x3c], eax
jbe 0x100670e1
test esi, esi
je 0x100670e1
cmp esi, 0x1020156c
je 0x100670e1
push esi
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
call esi
add esp, 4
test ebp, ebp
jne 0x1006718a
jmp 0x10067139
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 0x10067139
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10067139
cmp eax, 0x1020156c
je 0x10067139
mov esi, dword [fcn.10032f00]
mov ecx, esi
push eax
call dword [0x101a54ac]
call esi
add esp, 4
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x10067163
push 0x101d987c
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
or ebp, 0xffffffff
mov dword [esp + 0x10], ebp
jmp 0x1006718a
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.10033fc0
mov ebp, eax
mov dword [esp + 0x10], eax
cmp dword [esp + 0x24], 0
jbe 0x100671b4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100671b4
cmp eax, 0x1020156c
je 0x100671b4
mov esi, dword [fcn.10032f00]
mov ecx, esi
push eax
call dword [0x101a54ac]
call esi
add esp, 4
push edi
call fcn.1018e2bc
mov eax, dword [esp + 0x18]
add esp, 4
inc dword [eax + 0xa0]
test ebx, ebx
je 0x10067249
mov eax, dword [ebx + 4]
xor esi, esi
test eax, eax
je 0x10067208
xor ebp, ebp
cmp esi, eax
jae 0x100671e0
mov eax, dword [ebx]
add eax, ebp
jmp 0x100671e2
xor eax, eax
mov ecx, dword [eax + 4]
mov edi, dword [ecx + 0x1c]
test edi, edi
je 0x100671fd
push dword [eax + 8]
push ecx
mov ecx, edi
call dword [0x101a54ac]
call edi
add esp, 8
mov eax, dword [ebx + 4]
inc esi
add ebp, 0xc
cmp esi, eax
jb 0x100671da
push dword [ebx]
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
call esi
add esp, 4
mov dword [ebx + 8], 0
mov dword [ebx + 4], 0
mov dword [ebx], 0
mov esi, dword [fcn.10032f00]
mov ecx, esi
push ebx
call dword [0x101a54ac]
call esi
mov ebp, dword [esp + 0x14]
add esp, 4
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
test ebp, ebp
jne 0x10067313
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x134]
test eax, eax
je 0x10067313
mov esi, dword [esp + 0x1c]
push eax
push esi
call sym.user32.dll_git_oid_equal
add esp, 8
test eax, eax
je 0x10067313
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.10008510
mov edi, eax
test edi, edi
jne 0x10067313
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 0x1006733a
test ebx, ebx
je 0x1006733a
cmp ebx, 0x1020156c
je 0x1006733a
mov esi, dword [fcn.10032f00]
mov ecx, esi
push ebx
call dword [0x101a54ac]
call esi
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret