Function at 0x100b8fd0
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 0x100b94be
cmp dword [esp + 0x50], 0
je 0x100b94be
mov ecx, dword [esp + 0x54]
cmp ecx, 0xffffffdc
ja 0x100b94c8
xor edi, edi
mov eax, 0x2000
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x100b902b
cmp ecx, eax
ja 0x100b902b
lea eax, [ecx + 0x23]
mov dword [esp + 0x24], eax
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
mov ecx, esi
push 0x12c
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcdelta.c
push eax
call dword [0x101182fc]
call esi
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x100b94d7
mov esi, dword [esp + 0x48]
mov ecx, dword [esi + 8]
cmp ecx, 0x80
jb 0x100b9079
mov al, cl
shr ecx, 7
or al, 0x80
mov byte [ebx + edi], al
inc edi
cmp ecx, 0x80
jae 0x100b9066
mov edx, dword [esp + 0x50]
mov byte [ebx + edi], cl
inc edi
mov ecx, edx
cmp edx, 0x80
jb 0x100b90a3
nop dword [eax + eax]
mov al, cl
shr ecx, 7
or al, 0x80
mov byte [ebx + edi], al
inc edi
cmp ecx, 0x80
jae 0x100b9090
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 0x100b90f3
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 + 0x1013c4c0]
cmp edx, 0x10
jb 0x100b90c8
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 0x100b9463
nop
cmp ecx, 0x1000
jae 0x100b91d8
movzx eax, byte [ebp - 0x10]
xor esi, dword [eax*4 + 0x1013c0c0]
movzx eax, byte [ebp]
mov ecx, esi
shr ecx, 0x17
shl esi, 8
or esi, eax
xor esi, dword [ecx*4 + 0x1013c4c0]
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 0x100b91d4
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 0x100b91ce
mov eax, dword [esp + 0x28]
sub eax, ebp
cmp ecx, eax
cmovbe eax, ecx
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jbe 0x100b91c0
test eax, eax
je 0x100b9199
mov cl, byte [esi]
lea esi, [esi + 1]
dec eax
cmp cl, byte [edx]
jne 0x100b9195
inc edx
test eax, eax
jne 0x100b9186
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
sub edx, eax
cmp ecx, edx
jae 0x100b91b5
mov ecx, edx
mov ebx, eax
sub ebx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
cmp ecx, 0x1000
jae 0x100b91c0
mov eax, dword [esp + 0x20]
mov edi, dword [edi + 8]
test edi, edi
jne 0x100b9160
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
jmp 0x100b91d8
mov ecx, dword [esp + 0x14]
jmp 0x100b91b9
mov ecx, dword [esp + 0x14]
cmp ecx, 4
jae 0x100b921c
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 0x100b920f
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 0x100b93b8
test edx, edx
je 0x100b9256
test ebx, ebx
je 0x100b9246
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov al, byte [eax + ebx - 1]
cmp al, byte [ebp - 1]
jne 0x100b9246
inc ecx
dec ebx
dec ebp
dec edi
sub edx, 1
mov dword [esp + 0x1c], edx
jne 0x100b9220
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 0x100b9297
mov byte [eax + edi], bl
mov edx, 0x81
inc edi
mov dword [esp + 0x18], edi
test ebx, 0xff00
je 0x100b92b7
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 0x100b92d7
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 0x100b92f7
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 0x100b930a
mov eax, dword [esp + 0x10]
mov byte [eax + edi], cl
inc edi
mov dword [esp + 0x18], edi
or edx, 0x10
test ecx, 0xff00
je 0x100b932a
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 0x100b93b8
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 + 0x1013c4c0]
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 + 0x1013c4c0]
mov ecx, edx
shl edx, 8
shr ecx, 0x17
or edx, eax
xor edx, dword [ecx*4 + 0x1013c4c0]
mov eax, edx
shr edx, 0x17
shl eax, 8
or esi, eax
xor esi, dword [edx*4 + 0x1013c4c0]
sub ebp, 1
jne 0x100b9350
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 0x100b9428
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 0x100b93fb
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 0x100b945d
push 0x1b4
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcdelta.c
push esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
push ecx
mov ecx, esi
call dword [0x101182fc]
call esi
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x100b943b
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
cmp ebp, dword [esp + 0x28]
jae 0x100b9467
mov ecx, dword [esp + 0x14]
jmp 0x100b9110
push dword [esp + 0x38]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x101182fc]
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 0x100b9467
mov ecx, dword [esp + 0x10]
test edx, edx
je 0x100b9473
mov eax, ecx
sub eax, edx
mov byte [eax + edi - 1], dl
mov eax, dword [esp + 0x54]
test eax, eax
je 0x100b94b2
cmp edi, eax
jbe 0x100b94b2
push str.delta_would_be_larger_than_maximum_size
push 1
call fcn.10028220
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
add esp, 8
mov ecx, esi
push dword [esp + 0x10]
call dword [0x101182fc]
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.10028220
add esp, 8
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x34
ret