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

Disassembly:
sub esp, 0xa0
mov eax, dword [0x101fd700]
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, 0x102069cd
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.0x100a5c96
jmp dword [eax*4 + 0x100a61d0]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x98]
mov edx, ebp
push dword [eax + 0x14]
call fcn.100a5b30
add esp, 4
test eax, eax
js 0x100a61b4
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 0x100a61b4
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x100a5d08
push str.blob
push str.invalid_argument
push 0x101dc9a8
push 3
call fcn.1002a5a0
add esp, 0x10
or edi, 0xffffffff
or eax, 0xffffffff
jmp 0x100a5d1e
test byte [esi + 0x38], 1
je 0x100a5d16
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
jmp 0x100a5d1e
mov eax, dword [esi + 0x28]
mov edi, dword [eax + 0x18]
xor eax, eax
test eax, eax
jne 0x100a5fb1
test esi, esi
jne 0x100a5d47
push str.blob
push str.invalid_argument
push 0x101dc9a8
push 3
call fcn.1002a5a0
add esp, 0x10
xor edx, edx
jmp 0x100a5d53
test byte [esi + 0x38], 1
mov edx, dword [esi + 0x28]
jne 0x100a5d53
mov edx, dword [edx + 0x20]
push edi
lea ecx, [esp + 0x28]
call fcn.1002bf10
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.100a58e0
mov ebp, eax
add esp, 4
test ebp, ebp
js 0x100a6133
xor ecx, ecx
cmp edi, 2
jb case.0x100a5da7.16
movsx eax, byte [ebx]
add eax, 0x11
cmp eax, 0x11
ja case.0x100a5da7.16
movzx eax, byte [eax + 0x100a61f8]
jmp dword [eax*4 + 0x100a61e4]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x48]
add ecx, 0x18
or ebp, 0xffffffff
call fcn.10042670
test eax, eax
js 0x100a5e05
mov eax, dword [esp + 0x4e]
and eax, 0xf000
cmp eax, 0x4000
je 0x100a5e05
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + 0x18]
call fcn.1003ace0
mov ebp, eax
test ebp, ebp
js 0x100a5e05
push dword [esp + 0x60]
mov edx, ebp
lea ecx, [esp + 0x28]
call fcn.1003ad80
mov edi, dword [esp + 0x30]
add esp, 4
mov ebx, dword [esp + 0x24]
test eax, eax
jns 0x100a5e12
mov byte [esp + 0x17], 1
test ebp, ebp
js case.0x100a5c96.0
push ebp
call fcn.1019232e
add esp, 4
jmp case.0x100a5c96.0
cmp eax, 4
jne 0x100a5e94
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 0x100a6133
mov ecx, dword [esp + 0x38]
test ecx, ecx
jne 0x100a5e71
push str.commit
push str.invalid_argument
push 0x101dc9a8
push 3
call fcn.1002a5a0
add esp, 0x10
or ebp, 0xffffffff
jmp 0x100a6133
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 0x100a5ea9
jmp 0x100a6133
mov edx, ebp
lea ecx, [esp + 0x1c]
call fcn.1000f500
mov ebp, eax
test ebp, ebp
js 0x100a6133
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 0x100a5ed5
cmp ebp, 0xfffffffd
je case.0x100a5c96.0
jmp 0x100a6133
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x100a5efa
push str.entry
push str.invalid_argument
push 0x101dc9a8
push 3
call fcn.1002a5a0
add esp, 0x10
xor eax, eax
jmp 0x100a5efd
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 0x100a6133
test esi, esi
jne 0x100a5f46
push str.blob
push str.invalid_argument
push 0x101dc9a8
push 3
call fcn.1002a5a0
add esp, 0x10
or edi, 0xffffffff
or eax, 0xffffffff
jmp 0x100a5f5c
test byte [esi + 0x38], 1
je 0x100a5f54
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
jmp 0x100a5f5c
mov eax, dword [esi + 0x28]
mov edi, dword [eax + 0x18]
xor eax, eax
test eax, eax
jne 0x100a5fb1
test esi, esi
jne 0x100a5f81
push str.blob
push str.invalid_argument
push 0x101dc9a8
push 3
call fcn.1002a5a0
add esp, 0x10
xor edx, edx
jmp 0x100a5f8d
test byte [esi + 0x38], 1
mov edx, dword [esi + 0x28]
jne 0x100a5f8d
mov edx, dword [edx + 0x20]
push edi
lea ecx, [esp + 0x28]
call fcn.1002bf10
mov ebx, dword [esp + 0x28]
mov ebp, eax
add esp, 4
test ebp, ebp
js 0x100a6133
mov edi, dword [esp + 0x2c]
jmp case.0x100a5c96.0
push str.blob_contents_too_large_to_fit_in_memory
push 1
call fcn.1002a5a0
add esp, 8
jmp 0x100a61b1
cmp edi, 4
jb case.0x100a5da7.16
cmp byte [ebx + 1], cl
jne case.0x100a5da7.16
cmp byte [ebx + 2], 0xfe
jne case.0x100a5da7.16
cmp byte [ebx + 3], 0xff
jne case.0x100a5da7.16
mov ecx, 5
lea eax, [ecx - 1]
jmp 0x100a6039
cmp edi, 3
jb case.0x100a5da7.16
cmp byte [ebx + 1], 0xbb
jne case.0x100a5da7.16
cmp byte [ebx + 2], 0xbf
jne case.0x100a5da7.16
mov ecx, 1
lea eax, [ecx + 2]
jmp 0x100a6039
cmp byte [ebx + 1], 0xff
jne case.0x100a5da7.16
mov ecx, 3
lea eax, [ecx - 1]
jmp 0x100a6039
cmp byte [ebx + 1], 0xfe
jne case.0x100a5da7.16
cmp edi, 4
jb 0x100a602e
cmp byte [ebx + 2], cl
jne 0x100a602e
cmp byte [ebx + 3], cl
jne 0x100a602e
mov ecx, 4
mov eax, ecx
jmp 0x100a6039
mov ecx, 2
mov eax, ecx
jmp 0x100a6039
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 0x100a6056
mov eax, dword [eax]
mov dword [edi + 0x58], eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x100a608e
push dword [esp + 0xc4]
mov ecx, eax
push edx
push edi
push dword [esp + 0x48]
call dword [0x101aa4d8]
mov edx, dword [esp + 0x50]
call edx
mov ebp, eax
add esp, 0x10
test ebp, ebp
jns 0x100a608e
mov ecx, edi
call fcn.100a5a20
jmp 0x100a6133
cmp byte [esp + 0x17], 0
je 0x100a609e
or dword [edi + 0x54], 1
jmp 0x100a612d
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
cmp eax, 2
jne 0x100a60be
test esi, esi
je 0x100a60d0
mov eax, esi
movups xmm0, xmmword [eax]
movups xmmword [edi + 0x60], xmm0
mov eax, dword [eax + 0x10]
mov dword [edi + 0x70], eax
jmp 0x100a612d
cmp eax, 3
je 0x100a60c8
cmp eax, 4
jne 0x100a60fa
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x100a60eb
push 0x101e1e28
push str.invalid_argument
push 0x101dc9a8
push 3
call fcn.1002a5a0
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 0x100a612d
cmp eax, 1
jne 0x100a612d
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 0x100a613e
mov ecx, esi
call fcn.10056a90
mov eax, dword [esp + 0x34]
test eax, eax
je 0x100a615a
mov esi, dword [fcn.10034de0]
mov ecx, esi
push eax
call dword [0x101aa4d8]
call esi
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100a6169
mov ecx, eax
call fcn.10056a90
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x100a6176
call fcn.10056a90
cmp dword [esp + 0x28], 0
jbe 0x100a619d
test ebx, ebx
je 0x100a619d
cmp ebx, 0x102069cc
je 0x100a619d
mov esi, dword [fcn.10034de0]
mov ecx, esi
push ebx
call dword [0x101aa4d8]
call esi
add esp, 4
mov eax, ebp
jmp 0x100a61b4
push eax
push str.unknown_file_source__d
push 3
call fcn.1002a5a0
add esp, 0xc
or eax, 0xffffffff
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10176e3f
add esp, 0xa0
ret