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

Disassembly:
sub esp, 0xa0
mov eax, dword [0x101a7680]
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, 0x101b01ed
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.0x100a3506
jmp dword [eax*4 + 0x100a3a40]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x98]
mov edx, ebp
push dword [eax + 0x14]
call fcn.100a3370
add esp, 4
test eax, eax
js 0x100a3a24
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 0x100a3a24
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x100a3578
push str.blob
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
add esp, 0x10
or edi, 0xffffffff
or eax, 0xffffffff
jmp 0x100a358e
test byte [esi + 0x38], 1
je 0x100a3586
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
jmp 0x100a358e
mov eax, dword [esi + 0x28]
mov edi, dword [eax + 0x18]
xor eax, eax
test eax, eax
jne 0x100a3821
test esi, esi
jne 0x100a35b7
push str.blob
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
add esp, 0x10
xor edx, edx
jmp 0x100a35c3
test byte [esi + 0x38], 1
mov edx, dword [esi + 0x28]
jne 0x100a35c3
mov edx, dword [edx + 0x20]
push edi
lea ecx, [esp + 0x28]
call fcn.10029c40
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.100a3120
mov ebp, eax
add esp, 4
test ebp, ebp
js 0x100a39a3
xor ecx, ecx
cmp edi, 2
jb case.0x100a3617.16
movsx eax, byte [ebx]
add eax, 0x11
cmp eax, 0x11
ja case.0x100a3617.16
movzx eax, byte [eax + 0x100a3a68]
jmp dword [eax*4 + 0x100a3a54]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x48]
add ecx, 0x18
or ebp, 0xffffffff
call fcn.100403b0
test eax, eax
js 0x100a3675
mov eax, dword [esp + 0x4e]
and eax, 0xf000
cmp eax, 0x4000
je 0x100a3675
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + 0x18]
call fcn.100389c0
mov ebp, eax
test ebp, ebp
js 0x100a3675
push dword [esp + 0x60]
mov edx, ebp
lea ecx, [esp + 0x28]
call fcn.10038a60
mov edi, dword [esp + 0x30]
add esp, 4
mov ebx, dword [esp + 0x24]
test eax, eax
jns 0x100a3682
mov byte [esp + 0x17], 1
test ebp, ebp
js case.0x100a3506.0
push ebp
call fcn.10146751
add esp, 4
jmp case.0x100a3506.0
cmp eax, 4
jne 0x100a3704
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 0x100a39a3
mov ecx, dword [esp + 0x38]
test ecx, ecx
jne 0x100a36e1
push str.commit
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
add esp, 0x10
or ebp, 0xffffffff
jmp 0x100a39a3
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 0x100a3719
jmp 0x100a39a3
mov edx, ebp
lea ecx, [esp + 0x1c]
call fcn.1000d1b0
mov ebp, eax
test ebp, ebp
js 0x100a39a3
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 0x100a3745
cmp ebp, 0xfffffffd
je case.0x100a3506.0
jmp 0x100a39a3
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x100a376a
push str.entry
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
add esp, 0x10
xor eax, eax
jmp 0x100a376d
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 0x100a39a3
test esi, esi
jne 0x100a37b6
push str.blob
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
add esp, 0x10
or edi, 0xffffffff
or eax, 0xffffffff
jmp 0x100a37cc
test byte [esi + 0x38], 1
je 0x100a37c4
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
jmp 0x100a37cc
mov eax, dword [esi + 0x28]
mov edi, dword [eax + 0x18]
xor eax, eax
test eax, eax
jne 0x100a3821
test esi, esi
jne 0x100a37f1
push str.blob
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
add esp, 0x10
xor edx, edx
jmp 0x100a37fd
test byte [esi + 0x38], 1
mov edx, dword [esi + 0x28]
jne 0x100a37fd
mov edx, dword [edx + 0x20]
push edi
lea ecx, [esp + 0x28]
call fcn.10029c40
mov ebx, dword [esp + 0x28]
mov ebp, eax
add esp, 4
test ebp, ebp
js 0x100a39a3
mov edi, dword [esp + 0x2c]
jmp case.0x100a3506.0
push str.blob_contents_too_large_to_fit_in_memory
push 1
call fcn.10028290
add esp, 8
jmp 0x100a3a21
cmp edi, 4
jb case.0x100a3617.16
cmp byte [ebx + 1], cl
jne case.0x100a3617.16
cmp byte [ebx + 2], 0xfe
jne case.0x100a3617.16
cmp byte [ebx + 3], 0xff
jne case.0x100a3617.16
mov ecx, 5
lea eax, [ecx - 1]
jmp 0x100a38a9
cmp edi, 3
jb case.0x100a3617.16
cmp byte [ebx + 1], 0xbb
jne case.0x100a3617.16
cmp byte [ebx + 2], 0xbf
jne case.0x100a3617.16
mov ecx, 1
lea eax, [ecx + 2]
jmp 0x100a38a9
cmp byte [ebx + 1], 0xff
jne case.0x100a3617.16
mov ecx, 3
lea eax, [ecx - 1]
jmp 0x100a38a9
cmp byte [ebx + 1], 0xfe
jne case.0x100a3617.16
cmp edi, 4
jb 0x100a389e
cmp byte [ebx + 2], cl
jne 0x100a389e
cmp byte [ebx + 3], cl
jne 0x100a389e
mov ecx, 4
mov eax, ecx
jmp 0x100a38a9
mov ecx, 2
mov eax, ecx
jmp 0x100a38a9
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 0x100a38c6
mov eax, dword [eax]
mov dword [edi + 0x58], eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x100a38fe
push dword [esp + 0xc4]
mov ecx, eax
push edx
push edi
push dword [esp + 0x48]
call dword [0x1015f3cc]
mov edx, dword [esp + 0x50]
call edx
mov ebp, eax
add esp, 0x10
test ebp, ebp
jns 0x100a38fe
mov ecx, edi
call fcn.100a3260
jmp 0x100a39a3
cmp byte [esp + 0x17], 0
je 0x100a390e
or dword [edi + 0x54], 1
jmp 0x100a399d
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
cmp eax, 2
jne 0x100a392e
test esi, esi
je 0x100a3940
mov eax, esi
movups xmm0, xmmword [eax]
movups xmmword [edi + 0x60], xmm0
mov eax, dword [eax + 0x10]
mov dword [edi + 0x70], eax
jmp 0x100a399d
cmp eax, 3
je 0x100a3938
cmp eax, 4
jne 0x100a396a
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x100a395b
push 0x1018bcd8
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
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 0x100a399d
cmp eax, 1
jne 0x100a399d
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 0x100a39ae
mov ecx, esi
call fcn.10054210
mov eax, dword [esp + 0x34]
test eax, eax
je 0x100a39ca
mov esi, dword [fcn.10032a50]
mov ecx, esi
push eax
call dword [0x1015f3cc]
call esi
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100a39d9
mov ecx, eax
call fcn.10054210
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x100a39e6
call fcn.10054210
cmp dword [esp + 0x28], 0
jbe 0x100a3a0d
test ebx, ebx
je 0x100a3a0d
cmp ebx, 0x101b01ec
je 0x100a3a0d
mov esi, dword [fcn.10032a50]
mov ecx, esi
push ebx
call dword [0x1015f3cc]
call esi
add esp, 4
mov eax, ebp
jmp 0x100a3a24
push eax
push str.unknown_file_source__d
push 3
call fcn.10028290
add esp, 0xc
or eax, 0xffffffff
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1012fb43
add esp, 0xa0
ret