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

Disassembly:
sub esp, 0xa0
mov eax, dword [0x10156440]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
push ebx
push ebp
mov dword [esp + 0x10], eax
mov ebp, edx
mov eax, dword [esp + 0xb4]
mov ebx, 0x1015ddcd
mov edx, dword [esp + 0xb8]
push esi
xor esi, esi
mov dword [esp + 0x2c], eax
push edi
xor edi, edi
mov dword [ecx], esi
mov eax, dword [eax]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x38], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
mov byte [esp + 0x17], 0
cmp eax, 4
ja case.default.0x100a33e6
jmp dword [eax*4 + 0x100a3920]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x98]
mov edx, ebp
push dword [eax + 0x14]
call fcn.100a3250
add esp, 4
test eax, eax
js 0x100a3904
push 3
push 0x28
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x2c]
push ebp
push eax
call sym.user32.dll_git_object_lookup_prefix
add esp, 0x14
test eax, eax
js 0x100a3904
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x100a3458
push str.blob
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
or edi, 0xffffffff
or eax, 0xffffffff
jmp 0x100a346e
test byte [esi + 0x38], 1
je 0x100a3466
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
jmp 0x100a346e
mov eax, dword [esi + 0x28]
mov edi, dword [eax + 0x18]
xor eax, eax
test eax, eax
jne 0x100a3701
test esi, esi
jne 0x100a3497
push str.blob
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
xor edx, edx
jmp 0x100a34a3
test byte [esi + 0x38], 1
mov edx, dword [esi + 0x28]
jne 0x100a34a3
mov edx, dword [edx + 0x20]
push edi
lea ecx, [esp + 0x28]
call fcn.10029b30
mov edi, dword [esp + 0x30]
add esp, 4
mov ebx, dword [esp + 0x24]
push dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
call fcn.100a3000
mov ebp, eax
add esp, 4
test ebp, ebp
js 0x100a3883
xor ecx, ecx
cmp edi, 2
jb case.0x100a34f7.16
movsx eax, byte [ebx]
add eax, 0x11
cmp eax, 0x11
ja case.0x100a34f7.16
movzx eax, byte [eax + 0x100a3948]
jmp dword [eax*4 + 0x100a3934]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x48]
add ecx, 0x18
or ebp, 0xffffffff
call fcn.100402b0
test eax, eax
js 0x100a3555
mov eax, dword [esp + 0x4e]
and eax, 0xf000
cmp eax, 0x4000
je 0x100a3555
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + 0x18]
call fcn.100388d0
mov ebp, eax
test ebp, ebp
js 0x100a3555
push dword [esp + 0x60]
mov edx, ebp
lea ecx, [esp + 0x28]
call fcn.10038970
mov edi, dword [esp + 0x30]
add esp, 4
mov ebx, dword [esp + 0x24]
test eax, eax
jns 0x100a3562
mov byte [esp + 0x17], 1
test ebp, ebp
js case.0x100a33e6.0
push ebp
call fcn.10105c23
add esp, 4
jmp case.0x100a33e6.0
cmp eax, 4
jne 0x100a35e4
mov eax, dword [esp + 0x30]
push 1
push 0x28
push dword [eax + 0xc]
lea eax, [esp + 0x44]
push ebp
push eax
call sym.user32.dll_git_object_lookup_prefix
mov ebp, eax
add esp, 0x14
test ebp, ebp
js 0x100a3883
mov ecx, dword [esp + 0x38]
test ecx, ecx
jne 0x100a35c1
push str.commit
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
or ebp, 0xffffffff
jmp 0x100a3883
push 2
push 0x28
lea eax, [ecx + 0x30]
push eax
push dword [ecx + 0x20]
lea eax, [esp + 0x2c]
push eax
call sym.user32.dll_git_object_lookup_prefix
mov ebp, eax
add esp, 0x14
test ebp, ebp
jns 0x100a35f9
jmp 0x100a3883
mov edx, ebp
lea ecx, [esp + 0x1c]
call fcn.1000d070
mov ebp, eax
test ebp, ebp
js 0x100a3883
mov eax, dword [esp + 0x18]
push dword [eax + 0x14]
lea eax, [esp + 0x38]
push dword [esp + 0x20]
push eax
call sym.user32.dll_git_tree_entry_bypath
mov ebp, eax
add esp, 0xc
test ebp, ebp
jns 0x100a3625
cmp ebp, 0xfffffffd
je case.0x100a33e6.0
jmp 0x100a3883
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x100a364a
push str.entry
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
xor eax, eax
jmp 0x100a364d
mov eax, dword [eax + 4]
push 3
push 0x28
push eax
push dword [esp + 0x48]
lea eax, [esp + 0x30]
push eax
call sym.user32.dll_git_object_lookup_prefix
mov esi, dword [esp + 0x34]
mov ebp, eax
add esp, 0x14
test ebp, ebp
js 0x100a3883
test esi, esi
jne 0x100a3696
push str.blob
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
or edi, 0xffffffff
or eax, 0xffffffff
jmp 0x100a36ac
test byte [esi + 0x38], 1
je 0x100a36a4
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
jmp 0x100a36ac
mov eax, dword [esi + 0x28]
mov edi, dword [eax + 0x18]
xor eax, eax
test eax, eax
jne 0x100a3701
test esi, esi
jne 0x100a36d1
push str.blob
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
xor edx, edx
jmp 0x100a36dd
test byte [esi + 0x38], 1
mov edx, dword [esi + 0x28]
jne 0x100a36dd
mov edx, dword [edx + 0x20]
push edi
lea ecx, [esp + 0x28]
call fcn.10029b30
mov ebx, dword [esp + 0x28]
mov ebp, eax
add esp, 4
test ebp, ebp
js 0x100a3883
mov edi, dword [esp + 0x2c]
jmp case.0x100a33e6.0
push str.blob_contents_too_large_to_fit_in_memory
push 1
call fcn.10028180
add esp, 8
jmp 0x100a3901
cmp edi, 4
jb case.0x100a34f7.16
cmp byte [ebx + 1], cl
jne case.0x100a34f7.16
cmp byte [ebx + 2], 0xfe
jne case.0x100a34f7.16
cmp byte [ebx + 3], 0xff
jne case.0x100a34f7.16
mov ecx, 5
lea eax, [ecx - 1]
jmp 0x100a3789
cmp edi, 3
jb case.0x100a34f7.16
cmp byte [ebx + 1], 0xbb
jne case.0x100a34f7.16
cmp byte [ebx + 2], 0xbf
jne case.0x100a34f7.16
mov ecx, 1
lea eax, [ecx + 2]
jmp 0x100a3789
cmp byte [ebx + 1], 0xff
jne case.0x100a34f7.16
mov ecx, 3
lea eax, [ecx - 1]
jmp 0x100a3789
cmp byte [ebx + 1], 0xfe
jne case.0x100a34f7.16
cmp edi, 4
jb 0x100a377e
cmp byte [ebx + 2], cl
jne 0x100a377e
cmp byte [ebx + 3], cl
jne 0x100a377e
mov ecx, 4
mov eax, ecx
jmp 0x100a3789
mov ecx, 2
mov eax, ecx
jmp 0x100a3789
xor eax, eax
mov edi, dword [esp + 0x18]
lea edx, [eax + ebx]
mov eax, dword [esp + 0xb4]
cmp ecx, 1
cmovne edx, ebx
test eax, eax
je 0x100a37a6
mov eax, dword [eax]
mov dword [edi + 0x58], eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x100a37de
push dword [esp + 0xc4]
mov ecx, eax
push edx
push edi
push dword [esp + 0x48]
call dword [0x101182f8]
mov edx, dword [esp + 0x50]
call edx
mov ebp, eax
add esp, 0x10
test ebp, ebp
jns 0x100a37de
mov ecx, edi
call fcn.100a3140
jmp 0x100a3883
cmp byte [esp + 0x17], 0
je 0x100a37ee
or dword [edi + 0x54], 1
jmp 0x100a387d
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
cmp eax, 2
jne 0x100a380e
test esi, esi
je 0x100a3820
mov eax, esi
movups xmm0, xmmword [eax]
movups xmmword [edi + 0x60], xmm0
mov eax, dword [eax + 0x10]
mov dword [edi + 0x70], eax
jmp 0x100a387d
cmp eax, 3
je 0x100a3818
cmp eax, 4
jne 0x100a384a
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x100a383b
push 0x10140568
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
xor eax, eax
movups xmm0, xmmword [eax]
movups xmmword [edi + 0x60], xmm0
mov eax, dword [eax + 0x10]
mov dword [edi + 0x70], eax
jmp 0x100a387d
cmp eax, 1
jne 0x100a387d
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [edi + 0x60], eax
mov eax, dword [esp + 0x80]
mov dword [edi + 0x68], eax
mov eax, dword [esp + 0x60]
mov dword [edi + 0x70], eax
movzx eax, word [esp + 0x4c]
mov dword [edi + 0x64], ecx
mov ecx, dword [esp + 0x64]
mov dword [edi + 0x74], ecx
mov dword [edi + 0x78], eax
mov eax, dword [esp + 0x44]
mov dword [eax], edi
test esi, esi
je 0x100a388e
mov ecx, esi
call fcn.10054130
mov eax, dword [esp + 0x34]
test eax, eax
je 0x100a38aa
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 eax, dword [esp + 0x1c]
test eax, eax
je 0x100a38b9
mov ecx, eax
call fcn.10054130
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x100a38c6
call fcn.10054130
cmp dword [esp + 0x28], 0
jbe 0x100a38ed
test ebx, ebx
je 0x100a38ed
cmp ebx, 0x1015ddcc
je 0x100a38ed
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, ebp
jmp 0x100a3904
push eax
push str.unknown_file_source__d
push 3
call fcn.10028180
add esp, 0xc
or eax, 0xffffffff
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100f4277
add esp, 0xa0
ret