Function at 0x100b9930
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov eax, edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 8], eax
mov dword [ecx], 0
push esi
push edi
test eax, eax
je 0x100b9bf7
mov eax, dword [ebp + 8]
test eax, eax
je 0x100b9bf7
lea edi, [eax - 1]
mov ecx, 0xfffffff
shr edi, 4
cmp eax, 0xffffffff
mov eax, 0x10
cmovae edi, ecx
mov ecx, 4
mov edx, edi
shr edx, 2
nop
cmp eax, edx
jae 0x100b998c
inc ecx
rol eax, 1
cmp ecx, 0x1f
jb 0x100b9980
mov ebx, 1
shl ebx, cl
mov ecx, 0xc
mov dword [esp + 0x2c], ebx
lea eax, [ebx - 1]
mov dword [esp + 0x20], eax
mov eax, edi
mul ecx
mov esi, eax
test edx, edx
ja 0x100b9c00
jb 0x100b99bc
cmp esi, 0xffffffff
ja 0x100b9c00
mov ecx, 4
mov eax, ebx
mul ecx
mov ecx, eax
test edx, edx
ja 0x100b9c00
jb 0x100b99da
cmp ecx, 0xffffffff
ja 0x100b9c00
lea eax, [esi + 0x14]
cmp eax, 0x14
jb 0x100b9c00
add ecx, eax
mov dword [esp + 0x28], ecx
cmp ecx, eax
jb 0x100b9c00
mov esi, dword [fcn.1005f470]
push 0x8a
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcdelta.c
push ecx
mov ecx, esi
call dword [0x1021f564]
call esi
mov esi, eax
add esp, 0xc
mov dword [esp + 0x30], esi
test esi, esi
je 0x100b9c0b
mov eax, dword [esp + 0x28]
lea ecx, [ebx*4]
mov dword [esi], eax
lea edx, [esi + 0x10]
mov eax, dword [esp + 0x10]
lea ebx, [ecx + edx]
push ecx
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x24]
push 0
push edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], ebx
mov dword [esi + 0xc], eax
call fcn.101e5b40
mov esi, dword [fcn.1005f470]
add esp, 0xc
mov ecx, esi
push 0xc0
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcdelta.c
push 4
push dword [esp + 0x38]
call dword [0x1021f564]
call esi
mov esi, eax
add esp, 0x10
mov dword [esp + 0x18], esi
test esi, esi
jne 0x100b9aaa
mov eax, dword [esp + 0x30]
mov esi, dword [fcn.10033600]
mov ecx, esi
push eax
call dword [0x1021f564]
call esi
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x10]
add edi, edi
mov dword [esp + 0x1c], 0xffffffff
lea eax, [edx + edi*8]
lea ecx, [eax - 0x10]
mov dword [esp + 0x10], eax
cmp ecx, edx
jb 0x100b9b91
sub ecx, edx
shr ecx, 4
inc ecx
mov dword [esp + 0x28], ecx
xor esi, esi
lea edi, [eax - 0xd]
lea ebx, [esi + 4]
nop dword [eax]
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 ebx, 1
jne 0x100b9ae0
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
cmp esi, dword [esp + 0x1c]
jne 0x100b9b4f
mov dword [ebx - 0xc], eax
jmp 0x100b9b7b
mov ecx, dword [esp + 0x14]
mov dword [ebx + 4], esi
mov dword [esp + 0x1c], esi
and esi, dword [esp + 0x20]
mov dword [ebx], eax
mov eax, dword [ecx + esi*4]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + esi*4], ebx
add ebx, 0xc
mov dword [esp + 0x24], ebx
inc dword [eax + esi*4]
mov eax, dword [esp + 0x10]
sub eax, 0x10
sub dword [esp + 0x28], 1
mov dword [esp + 0x10], eax
jne 0x100b9ad4
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x100b9bd6
mov eax, dword [esp + 0x14]
mov edx, esi
sub eax, esi
mov dword [esp + 0x14], eax
cmp dword [edx], 0x40
jb 0x100b9bce
mov eax, dword [edx + eax]
nop dword [eax]
mov ecx, dword [edx]
mov esi, eax
shr ecx, 7
mov eax, dword [eax + 8]
sub ecx, 1
je 0x100b9bc3
test eax, eax
jne 0x100b9bb7
mov dword [esi + 8], eax
test eax, eax
jne 0x100b9bb0
mov eax, dword [esp + 0x14]
add edx, 4
sub ebx, 1
jne 0x100b9ba5
push dword [esp + 0x18]
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x1021f564]
call esi
mov ecx, dword [esp + 0x38]
add esp, 4
mov eax, dword [esp + 0x30]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1002bd60
mov dword [eax], str.Out_of_memory
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret