Function at 0x100a4930
Capabilities:
Hash data using djb2

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], ecx
push ebp
push esi
mov esi, dword [esp + 0x28]
push edi
mov esi, dword [esi]
test ebx, ebx
je 0x100a4d4d
cmp dword [ebx + 0xc], 0
jne 0x100a4d4d
cmp dword [ebx + 4], 0x100a4860
je 0x100a4970
and dword [ebx + 0x10], 0xfffffffe
mov dword [ebx + 4], 0x100a4860
nop
xor ebp, ebp
mov dword [esp + 0x14], ebp
mov al, byte [esi]
test al, al
je 0x100a4ce9
cmp al, 0xa
je 0x100a4ce9
cmp al, 0x20
je 0x100a49a0
cmp al, 9
je 0x100a49a0
cmp al, 0xa
je 0x100a49a0
cmp al, 0xc
je 0x100a49a0
cmp al, 0xd
je 0x100a49a0
cmp al, 0xb
jne 0x100a49ab
cmp byte [esi], 0xa
je 0x100a49ab
mov al, byte [esi + 1]
inc esi
jmp 0x100a4988
test ebp, ebp
jne 0x100a49e2
mov edi, dword [fcn.1005ed10]
mov ecx, edi
push 0x380
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_src_attr_file.c
push 0x14
push 1
call dword [0x101a54ac]
call edi
mov ebp, eax
add esp, 0x10
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x100a4d66
lock inc dword [ebp]
mov dword [ebp + 0xc], 0x1505
mov dword [ebp + 0x10], str._internal___TRUE__
mov al, byte [esi]
cmp al, 0x2d
jne 0x100a4a02
inc esi
mov dword [ebp + 0x10], str._internal___FALSE__
mov al, byte [esi]
jmp 0x100a4a1a
cmp al, 0x21
jne 0x100a4a12
inc esi
mov dword [ebp + 0x10], str._internal___UNSET__
mov al, byte [esi]
jmp 0x100a4a1a
cmp al, 0x23
je 0x100a4ce9
mov ebx, esi
mov dword [esp + 0x1c], ebx
test al, al
je 0x100a4a63
mov dl, byte [esi]
mov al, dl
cmp al, 0x20
je 0x100a4a5f
cmp al, 9
je 0x100a4a5f
cmp al, 0xa
je 0x100a4a5f
cmp al, 0xc
je 0x100a4a5f
cmp al, 0xd
je 0x100a4a5f
cmp al, 0xb
je 0x100a4a5f
cmp dl, 0x3d
je 0x100a4a5f
mov ecx, dword [ebp + 0xc]
inc esi
shl ecx, 5
add ecx, dword [ebp + 0xc]
movsx eax, dl
add ecx, eax
mov dword [ebp + 0xc], ecx
mov dl, byte [esi]
mov al, dl
test dl, dl
jne 0x100a4a28
cmp esi, ebx
jne 0x100a4aad
mov al, byte [esi]
test al, al
je 0x100a4976
nop dword [eax]
cmp al, 0x20
je 0x100a4976
cmp al, 9
je 0x100a4976
cmp al, 0xa
je 0x100a4976
cmp al, 0xc
je 0x100a4976
cmp al, 0xd
je 0x100a4976
cmp al, 0xb
je 0x100a4976
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x100a4a70
jmp 0x100a4976
mov eax, dword [esp + 0x18]
mov edi, esi
sub edi, ebx
test eax, eax
je 0x100a4cbe
test ebx, ebx
je 0x100a4cb7
cmp dword [eax + 4], 1
jne 0x100a4cb0
cmp edi, 0xffffffff
je 0x100a4c9e
lea edx, [edi + 1]
mov ecx, eax
call fcn.10063e90
mov ebx, eax
test ebx, ebx
je 0x100a4afa
push edi
push dword [esp + 0x20]
push ebx
call fcn.10174950
add esp, 0xc
mov byte [ebx + edi], 0
mov dword [ebp + 8], ebx
test ebx, ebx
je 0x100a4d66
cmp byte [esi], 0x3d
jne 0x100a4b94
mov al, byte [esi + 1]
inc esi
mov ecx, esi
mov dword [esp + 0x1c], ecx
test al, al
je 0x100a4b94
nop dword [eax]
cmp al, 0x20
je 0x100a4b40
cmp al, 9
je 0x100a4b40
cmp al, 0xa
je 0x100a4b40
cmp al, 0xc
je 0x100a4b40
cmp al, 0xd
je 0x100a4b40
cmp al, 0xb
je 0x100a4b40
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x100a4b20
cmp esi, ecx
jbe 0x100a4b94
mov edi, esi
sub edi, ecx
test ecx, ecx
je 0x100a4c84
mov eax, dword [esp + 0x18]
cmp dword [eax + 4], 1
jne 0x100a4c59
cmp edi, 0xffffffff
je 0x100a4c47
lea edx, [edi + 1]
mov ecx, eax
call fcn.10063e90
mov ebx, eax
test ebx, ebx
je 0x100a4b89
push edi
push dword [esp + 0x20]
push ebx
call fcn.10174950
add esp, 0xc
mov byte [ebx + edi], 0
mov dword [ebp + 0x10], ebx
test ebx, ebx
je 0x100a4d66
mov edi, dword [esp + 0x20]
test edi, edi
je 0x100a4c1b
cmp dword [ebp + 0x10], str._internal___TRUE__
jne 0x100a4c1b
mov eax, dword [edi + 0x30]
mov edx, dword [ebp + 8]
mov edi, dword [eax + 0xc]
mov ecx, edi
call fcn.10089ee0
mov ebx, eax
cmp ebx, dword [edi]
je 0x100a4c1b
mov eax, dword [edi + 0x10]
mov edx, ebx
shr edx, 4
mov ecx, ebx
and ecx, 0xf
add ecx, ecx
mov eax, dword [eax + edx*4]
shr eax, cl
test al, 3
jne 0x100a4c1b
mov eax, dword [edi + 0x18]
mov ebx, dword [eax + ebx*4]
test ebx, ebx
je 0x100a4c1b
xor edi, edi
cmp dword [ebx + 0x20], edi
jbe 0x100a4c1b
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + edi*4]
lock inc dword [edx]
mov ecx, dword [esp + 0x28]
push 0x100a48e0
call fcn.10038850
mov ebp, eax
add esp, 4
test ebp, ebp
jns 0x100a4c11
cmp ebp, 0xfffffffc
jne 0x100a4c8b
inc edi
cmp edi, dword [ebx + 0x20]
jb 0x100a4be8
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov edx, ebp
push 0x100a48e0
call fcn.10038850
add esp, 4
test eax, eax
jns 0x100a4970
cmp eax, 0xfffffffc
je 0x100a4970
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov dword [ebp + 0x10], 0
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push str.pool__item_size__sizeof_char_
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
mov dword [ebp + 0x10], 0
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push 0x101d7704
jmp 0x100a4c5e
mov ecx, dword [esp + 0x14]
call fcn.100a48b0
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov dword [ebp + 8], 0
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push str.pool__item_size__sizeof_char_
jmp 0x100a4cc3
push 0x101d7704
jmp 0x100a4cc3
push str.pool
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
mov dword [ebp + 8], 0
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
test ebp, ebp
je 0x100a4d0f
mov dword [ebp + 8], 0
mov dword [ebp + 0x10], 0
mov edi, dword [fcn.10032f00]
mov ecx, edi
push ebp
call dword [0x101a54ac]
call edi
add esp, 4
mov al, byte [esi]
test al, al
je 0x100a4d21
cmp al, 0xa
je 0x100a4d21
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x100a4d15
mov al, byte [esi]
cmp al, 0xa
je 0x100a4d2b
cmp al, 0xd
jne 0x100a4d2e
inc esi
jmp 0x100a4d21
mov eax, dword [esp + 0x2c]
mov edx, 0xfffffffd
mov ecx, dword [esp + 0x28]
mov dword [eax], esi
xor eax, eax
cmp dword [ecx + 0xc], eax
cmove eax, edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push str.assigns___assigns__length
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x14
ret