Function at 0x100b9c20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x34
push ebx
push ebp
mov ebp, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov dword [ecx], 0
mov dword [eax], 0
push esi
push edi
test ebp, ebp
je 0x100ba10e
cmp dword [esp + 0x50], 0
je 0x100ba10e
mov ecx, dword [esp + 0x54]
cmp ecx, 0xffffffdc
ja 0x100ba118
xor edi, edi
mov eax, 0x2000
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x100b9c7b
cmp ecx, eax
ja 0x100b9c7b
lea eax, [ecx + 0x23]
mov dword [esp + 0x24], eax
mov esi, dword [fcn.1005f470]
mov ecx, esi
push 0x12c
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcdelta.c
push eax
call dword [0x1021f564]
call esi
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x100ba127
mov esi, dword [esp + 0x48]
mov ecx, dword [esi + 8]
cmp ecx, 0x80
jb 0x100b9cc9
mov al, cl
shr ecx, 7
or al, 0x80
mov byte [ebx + edi], al
inc edi
cmp ecx, 0x80
jae 0x100b9cb6
mov edx, dword [esp + 0x50]
mov byte [ebx + edi], cl
inc edi
mov ecx, edx
cmp edx, 0x80
jb 0x100b9cf3
nop dword [eax + eax]
mov al, cl
shr ecx, 7
or al, 0x80
mov byte [ebx + edi], al
inc edi
cmp ecx, 0x80
jae 0x100b9ce0
mov byte [ebx + edi], cl
add edi, 2
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
xor esi, esi
add ecx, eax
mov dword [esp + 0x2c], eax
lea eax, [edx + ebp]
mov dword [esp + 0x34], ecx
xor edx, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], edx
cmp ebp, eax
jae 0x100b9d43
mov al, byte [ebp]
mov ecx, esi
mov byte [ebx + edi], al
inc edx
movzx eax, byte [ebp]
inc edi
shr ecx, 0x17
inc ebp
shl esi, 8
or esi, eax
mov eax, dword [esp + 0x28]
xor esi, dword [ecx*4 + 0x10258200]
cmp edx, 0x10
jb 0x100b9d18
xor ecx, ecx
mov dword [esp + 0x1c], edx
xor ebx, ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
cmp ebp, eax
jae 0x100ba0b3
nop
cmp ecx, 0x1000
jae 0x100b9e28
movzx eax, byte [ebp - 0x10]
xor esi, dword [eax*4 + 0x10257e00]
movzx eax, byte [ebp]
mov ecx, esi
shr ecx, 0x17
shl esi, 8
or esi, eax
xor esi, dword [ecx*4 + 0x10258200]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x20], esi
mov eax, dword [ecx + 0xc]
and eax, esi
mov eax, dword [ecx + eax*4 + 0x10]
mov dword [esp + 0x30], eax
test eax, eax
je 0x100b9e24
mov edi, dword [esp + 0x30]
mov eax, esi
nop
mov ecx, dword [esp + 0x34]
mov esi, ebp
mov edx, dword [edi]
sub ecx, edx
cmp dword [edi + 4], eax
jne 0x100b9e1e
mov eax, dword [esp + 0x28]
sub eax, ebp
cmp ecx, eax
cmovbe eax, ecx
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jbe 0x100b9e10
test eax, eax
je 0x100b9de9
mov cl, byte [esi]
lea esi, [esi + 1]
dec eax
cmp cl, byte [edx]
jne 0x100b9de5
inc edx
test eax, eax
jne 0x100b9dd6
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
sub edx, eax
cmp ecx, edx
jae 0x100b9e05
mov ecx, edx
mov ebx, eax
sub ebx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
cmp ecx, 0x1000
jae 0x100b9e10
mov eax, dword [esp + 0x20]
mov edi, dword [edi + 8]
test edi, edi
jne 0x100b9db0
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
jmp 0x100b9e28
mov ecx, dword [esp + 0x14]
jmp 0x100b9e09
mov ecx, dword [esp + 0x14]
cmp ecx, 4
jae 0x100b9e6c
mov al, byte [ebp]
lea ecx, [edi + 1]
test edx, edx
cmovne ecx, edi
mov edi, dword [esp + 0x10]
inc edx
inc ebp
mov dword [esp + 0x1c], edx
mov byte [ecx + edi], al
lea edi, [ecx + 1]
mov dword [esp + 0x18], edi
cmp edx, 0x7f
jne 0x100b9e5f
mov eax, dword [esp + 0x10]
mov byte [eax + edi - 0x80], dl
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
jmp 0x100ba008
test edx, edx
je 0x100b9ea6
test ebx, ebx
je 0x100b9e96
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov al, byte [eax + ebx - 1]
cmp al, byte [ebp - 1]
jne 0x100b9e96
inc ecx
dec ebx
dec ebp
dec edi
sub edx, 1
mov dword [esp + 0x1c], edx
jne 0x100b9e70
dec edi
or edx, 0xffffffff
mov eax, dword [esp + 0x10]
sub eax, edx
mov byte [eax + edi - 1], dl
xor eax, eax
mov dword [esp + 0x1c], eax
xor edx, edx
lea eax, [ecx - 0x10000]
cmp ecx, 0x10000
cmovae edx, eax
mov eax, dword [esp + 0x10]
sub ecx, edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x14], ecx
lea edx, [eax + edi]
inc edi
mov dword [esp + 0x30], edx
mov edx, 0x80
mov dword [esp + 0x18], edi
test bl, bl
je 0x100b9ee7
mov byte [eax + edi], bl
mov edx, 0x81
inc edi
mov dword [esp + 0x18], edi
test ebx, 0xff00
je 0x100b9f07
mov ecx, dword [esp + 0x10]
mov eax, ebx
shr eax, 8
mov byte [ecx + edi], al
inc edi
mov ecx, dword [esp + 0x14]
or edx, 2
mov dword [esp + 0x18], edi
test ebx, 0xff0000
je 0x100b9f27
mov ecx, dword [esp + 0x10]
mov eax, ebx
shr eax, 0x10
mov byte [ecx + edi], al
inc edi
mov ecx, dword [esp + 0x14]
or edx, 4
mov dword [esp + 0x18], edi
test ebx, 0xff000000
je 0x100b9f47
mov ecx, dword [esp + 0x10]
mov eax, ebx
shr eax, 0x18
mov byte [ecx + edi], al
inc edi
mov ecx, dword [esp + 0x14]
or edx, 8
mov dword [esp + 0x18], edi
test cl, cl
je 0x100b9f5a
mov eax, dword [esp + 0x10]
mov byte [eax + edi], cl
inc edi
mov dword [esp + 0x18], edi
or edx, 0x10
test ecx, 0xff00
je 0x100b9f7a
mov eax, ecx
mov ecx, dword [esp + 0x10]
shr eax, 8
mov byte [ecx + edi], al
inc edi
mov ecx, dword [esp + 0x14]
or edx, 0x20
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x30]
add ebp, ecx
add ebx, ecx
mov dword [esp + 0x4c], ebp
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x14], ecx
mov byte [eax], dl
cmp ecx, 0x1000
jae 0x100ba008
xor esi, esi
lea edi, [ebp - 0xe]
lea ebp, [esi + 4]
movzx ecx, byte [edi - 2]
lea edi, [edi + 4]
movzx edx, byte [edi - 5]
mov eax, esi
shl eax, 8
or ecx, eax
shr esi, 0x17
xor ecx, dword [esi*4 + 0x10258200]
movzx esi, byte [edi - 3]
mov eax, ecx
shl eax, 8
or edx, eax
shr ecx, 0x17
movzx eax, byte [edi - 4]
xor edx, dword [ecx*4 + 0x10258200]
mov ecx, edx
shl edx, 8
shr ecx, 0x17
or edx, eax
xor edx, dword [ecx*4 + 0x10258200]
mov eax, edx
shr edx, 0x17
shl eax, 8
or esi, eax
xor esi, dword [edx*4 + 0x10258200]
sub ebp, 1
jne 0x100b9fa0
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
add eax, 0xffffffde
cmp edi, eax
jb 0x100ba078
mov esi, dword [esp + 0x24]
mov dword [esp + 0x38], ecx
lea esi, [esi + esi*2]
shr esi, 1
cmp dword [esp + 0x54], 0
mov eax, esi
mov dword [esp + 0x24], esi
mov edx, esi
je 0x100ba04b
mov esi, dword [esp + 0x54]
add esi, 0x23
cmp edx, dword [esp + 0x54]
cmovb esi, eax
mov dword [esp + 0x24], esi
cmp edi, dword [esp + 0x54]
ja 0x100ba0ad
push 0x1b4
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcdelta.c
push esi
mov esi, dword [fcn.1005f470]
push ecx
mov ecx, esi
call dword [0x1021f564]
call esi
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x100ba08b
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
cmp ebp, dword [esp + 0x28]
jae 0x100ba0b7
mov ecx, dword [esp + 0x14]
jmp 0x100b9d60
push dword [esp + 0x38]
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x1021f564]
call esi
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov edx, dword [esp + 0x1c]
jmp 0x100ba0b7
mov ecx, dword [esp + 0x10]
test edx, edx
je 0x100ba0c3
mov eax, ecx
sub eax, edx
mov byte [eax + edi - 1], dl
mov eax, dword [esp + 0x54]
test eax, eax
je 0x100ba102
cmp edi, eax
jbe 0x100ba102
push str.delta_would_be_larger_than_maximum_size
push 1
call fcn.10028e40
mov esi, dword [fcn.10033600]
add esp, 8
mov ecx, esi
push dword [esp + 0x10]
call dword [0x1021f564]
call esi
add esp, 4
mov eax, 0xfffffffa
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov eax, dword [esp + 0x3c]
mov dword [eax], edi
mov eax, dword [esp + 0x40]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
push str.buffer_sizes_too_large_for_delta_processing
push 3
call fcn.10028e40
add esp, 8
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x34
ret