Function at 0x1008c750
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
movaps xmmword [esp + 0x28], xmm0
mov dword [esp + 0x38], 0
push esi
push edi
test edx, edx
jne 0x1008c794
push str.value
push str.invalid_argument
push 0x101dc9b8
push 3
call fcn.1002a5a0
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x1008c7bd
push str.repo
push str.invalid_argument
push 0x101dc9b8
push 3
call fcn.1002a5a0
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x18]
test esi, esi
jne 0x1008c7e6
push str.name
push str.invalid_argument
push 0x101dc9b8
push 3
call fcn.1002a5a0
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1008c814
mov ecx, dword [eax]
lea eax, [ecx - 1]
test eax, eax
je 0x1008c814
push str.git_attr_options
push ecx
push str.invalid_version__d_on__s
push 3
call fcn.1002a5a0
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [edx], 0
mov ecx, dword [edi + 0x60]
and ecx, 1
lea ecx, [ecx - 1]
je 0x1008c829
xor eax, eax
jmp 0x1008c82c
mov eax, dword [edi + 0x44]
mov edx, dword [ebp + 0x14]
push ecx
push eax
lea ecx, [esp + 0x60]
call fcn.100a6560
add esp, 8
test eax, eax
js 0x1008c78b
lea eax, [esp + 0x30]
xor edx, edx
push eax
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp + 0x10]
call fcn.1008db30
mov edi, eax
add esp, 0xc
mov dword [esp + 0xc], edi
test edi, edi
js 0x1008c986
movsx edx, byte [esi]
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
mov ecx, 0x1505
mov dword [esp + 0x28], esi
test edx, edx
je 0x1008c896
mov eax, ecx
lea esi, [esi + 1]
shl ecx, 5
add ecx, edx
movsx edx, byte [esi]
add ecx, eax
test edx, edx
jne 0x1008c883
mov dword [esp + 0x2c], ecx
xor edx, edx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], edx
test ecx, ecx
je 0x1008c986
nop dword [eax]
mov eax, dword [esp + 0x38]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x14], eax
mov esi, dword [eax + 0x40]
dec esi
cmp esi, 0xffffffff
jae 0x1008c954
nop dword [eax + eax]
mov eax, dword [eax + 0x3c]
lea edx, [esp + 0x58]
mov edi, dword [eax + esi*4]
mov ecx, edi
mov dword [esp + 0x1c], edi
call fcn.100a6460
test byte [edi + 0x10], 1
je 0x1008c8f0
test al, al
sete al
test al, al
je 0x1008c942
mov eax, dword [edi + 0x18]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1008c91a
push str.key_lookup
push str.unrecoverable_internal_error
push 0x101dc9b8
push 0x23
call fcn.1002a5a0
add esp, 0x10
jmp 0x1008c942
lea ecx, [edi + 0x14]
call fcn.1003a800
mov edx, dword [edi + 0x20]
lea eax, [esp + 0x18]
mov ecx, dword [edi + 0x1c]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
call fcn.100413c0
add esp, 0xc
test eax, eax
je 0x1008c963
mov eax, dword [esp + 0x14]
dec esi
cmp esi, 0xffffffff
jb 0x1008c8d0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 8]
inc edx
mov dword [esp + 8], edx
cmp edx, ecx
jb 0x1008c8b0
jmp 0x1008c982
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x20]
jae 0x1008c978
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ecx*4]
jmp 0x1008c97a
xor eax, eax
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov dword [ecx], eax
mov edi, dword [esp + 0xc]
lea ecx, [esp + 0x30]
call fcn.1008dad0
cmp dword [esp + 0x5c], 0
jbe 0x1008c9b9
mov eax, dword [esp + 0x58]
test eax, eax
je 0x1008c9b9
cmp eax, 0x102069cc
je 0x1008c9b9
mov esi, dword [fcn.10034de0]
mov ecx, esi
push eax
call dword [0x101aa4e4]
call esi
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret