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

Disassembly:
sub esp, 0xa0
mov eax, dword [0x101f8740]
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, 0x1020156d
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.0x100a3906
jmp dword [eax*4 + 0x100a3e40]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x98]
mov edx, ebp
push dword [eax + 0x14]
call fcn.100a3770
add esp, 4
test eax, eax
js 0x100a3e24
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 0x100a3e24
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x100a3978
push str.blob
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
or edi, 0xffffffff
or eax, 0xffffffff
jmp 0x100a398e
test byte [esi + 0x38], 1
je 0x100a3986
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
jmp 0x100a398e
mov eax, dword [esi + 0x28]
mov edi, dword [eax + 0x18]
xor eax, eax
test eax, eax
jne 0x100a3c21
test esi, esi
jne 0x100a39b7
push str.blob
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
xor edx, edx
jmp 0x100a39c3
test byte [esi + 0x38], 1
mov edx, dword [esi + 0x28]
jne 0x100a39c3
mov edx, dword [edx + 0x20]
push edi
lea ecx, [esp + 0x28]
call fcn.1002a0f0
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.100a3520
mov ebp, eax
add esp, 4
test ebp, ebp
js 0x100a3da3
xor ecx, ecx
cmp edi, 2
jb case.0x100a3a17.16
movsx eax, byte [ebx]
add eax, 0x11
cmp eax, 0x11
ja case.0x100a3a17.16
movzx eax, byte [eax + 0x100a3e68]
jmp dword [eax*4 + 0x100a3e54]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x48]
add ecx, 0x18
or ebp, 0xffffffff
call fcn.10040850
test eax, eax
js 0x100a3a75
mov eax, dword [esp + 0x4e]
and eax, 0xf000
cmp eax, 0x4000
je 0x100a3a75
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + 0x18]
call fcn.10038e70
mov ebp, eax
test ebp, ebp
js 0x100a3a75
push dword [esp + 0x60]
mov edx, ebp
lea ecx, [esp + 0x28]
call fcn.10038f10
mov edi, dword [esp + 0x30]
add esp, 4
mov ebx, dword [esp + 0x24]
test eax, eax
jns 0x100a3a82
mov byte [esp + 0x17], 1
test ebp, ebp
js case.0x100a3906.0
push ebp
call fcn.1018e2bc
add esp, 4
jmp case.0x100a3906.0
cmp eax, 4
jne 0x100a3b04
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 0x100a3da3
mov ecx, dword [esp + 0x38]
test ecx, ecx
jne 0x100a3ae1
push str.commit
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
or ebp, 0xffffffff
jmp 0x100a3da3
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 0x100a3b19
jmp 0x100a3da3
mov edx, ebp
lea ecx, [esp + 0x1c]
call fcn.1000d650
mov ebp, eax
test ebp, ebp
js 0x100a3da3
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 0x100a3b45
cmp ebp, 0xfffffffd
je case.0x100a3906.0
jmp 0x100a3da3
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x100a3b6a
push str.entry
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
xor eax, eax
jmp 0x100a3b6d
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 0x100a3da3
test esi, esi
jne 0x100a3bb6
push str.blob
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
or edi, 0xffffffff
or eax, 0xffffffff
jmp 0x100a3bcc
test byte [esi + 0x38], 1
je 0x100a3bc4
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
jmp 0x100a3bcc
mov eax, dword [esi + 0x28]
mov edi, dword [eax + 0x18]
xor eax, eax
test eax, eax
jne 0x100a3c21
test esi, esi
jne 0x100a3bf1
push str.blob
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
xor edx, edx
jmp 0x100a3bfd
test byte [esi + 0x38], 1
mov edx, dword [esi + 0x28]
jne 0x100a3bfd
mov edx, dword [edx + 0x20]
push edi
lea ecx, [esp + 0x28]
call fcn.1002a0f0
mov ebx, dword [esp + 0x28]
mov ebp, eax
add esp, 4
test ebp, ebp
js 0x100a3da3
mov edi, dword [esp + 0x2c]
jmp case.0x100a3906.0
push str.blob_contents_too_large_to_fit_in_memory
push 1
call fcn.10028740
add esp, 8
jmp 0x100a3e21
cmp edi, 4
jb case.0x100a3a17.16
cmp byte [ebx + 1], cl
jne case.0x100a3a17.16
cmp byte [ebx + 2], 0xfe
jne case.0x100a3a17.16
cmp byte [ebx + 3], 0xff
jne case.0x100a3a17.16
mov ecx, 5
lea eax, [ecx - 1]
jmp 0x100a3ca9
cmp edi, 3
jb case.0x100a3a17.16
cmp byte [ebx + 1], 0xbb
jne case.0x100a3a17.16
cmp byte [ebx + 2], 0xbf
jne case.0x100a3a17.16
mov ecx, 1
lea eax, [ecx + 2]
jmp 0x100a3ca9
cmp byte [ebx + 1], 0xff
jne case.0x100a3a17.16
mov ecx, 3
lea eax, [ecx - 1]
jmp 0x100a3ca9
cmp byte [ebx + 1], 0xfe
jne case.0x100a3a17.16
cmp edi, 4
jb 0x100a3c9e
cmp byte [ebx + 2], cl
jne 0x100a3c9e
cmp byte [ebx + 3], cl
jne 0x100a3c9e
mov ecx, 4
mov eax, ecx
jmp 0x100a3ca9
mov ecx, 2
mov eax, ecx
jmp 0x100a3ca9
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 0x100a3cc6
mov eax, dword [eax]
mov dword [edi + 0x58], eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x100a3cfe
push dword [esp + 0xc4]
mov ecx, eax
push edx
push edi
push dword [esp + 0x48]
call dword [0x101a54ac]
mov edx, dword [esp + 0x50]
call edx
mov ebp, eax
add esp, 0x10
test ebp, ebp
jns 0x100a3cfe
mov ecx, edi
call fcn.100a3660
jmp 0x100a3da3
cmp byte [esp + 0x17], 0
je 0x100a3d0e
or dword [edi + 0x54], 1
jmp 0x100a3d9d
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
cmp eax, 2
jne 0x100a3d2e
test esi, esi
je 0x100a3d40
mov eax, esi
movups xmm0, xmmword [eax]
movups xmmword [edi + 0x60], xmm0
mov eax, dword [eax + 0x10]
mov dword [edi + 0x70], eax
jmp 0x100a3d9d
cmp eax, 3
je 0x100a3d38
cmp eax, 4
jne 0x100a3d6a
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x100a3d5b
push 0x101dcc78
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
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 0x100a3d9d
cmp eax, 1
jne 0x100a3d9d
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 0x100a3dae
mov ecx, esi
call fcn.100546a0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x100a3dca
mov esi, dword [fcn.10032f00]
mov ecx, esi
push eax
call dword [0x101a54ac]
call esi
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100a3dd9
mov ecx, eax
call fcn.100546a0
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x100a3de6
call fcn.100546a0
cmp dword [esp + 0x28], 0
jbe 0x100a3e0d
test ebx, ebx
je 0x100a3e0d
cmp ebx, 0x1020156c
je 0x100a3e0d
mov esi, dword [fcn.10032f00]
mov ecx, esi
push ebx
call dword [0x101a54ac]
call esi
add esp, 4
mov eax, ebp
jmp 0x100a3e24
push eax
push str.unknown_file_source__d
push 3
call fcn.10028740
add esp, 0xc
or eax, 0xffffffff
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10172863
add esp, 0xa0
ret