Function at 0x100295d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b7058
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x100ce040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 1
cmp dword [ebx + 0x1c], 0
je 0x10029775
cmp dword [ebx + 0x20], 0xf
lea ecx, [ebx + 0x24]
lea eax, [ebx + 0xc]
cmova eax, dword [ebx + 0xc]
xor edx, edx
push ecx
push eax
xor ecx, ecx
call fcn.100270b0
mov ecx, dword [ebp - 0x1c]
mov esi, eax
add esp, 8
mov dword [ebp - 0x40], esi
cmp esi, ecx
ja 0x10029678
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
cmova ecx, dword [ebp - 0x2c]
mov byte [ecx + esi], 0
jmp 0x100296be
mov edx, dword [ebp - 0x18]
mov edi, esi
mov eax, edx
sub edi, ecx
sub eax, ecx
cmp edi, eax
ja 0x100296ab
mov dword [ebp - 0x1c], esi
cmp edx, 0xf
lea esi, [ebp - 0x2c]
cmova esi, dword [ebp - 0x2c]
push edi
add esi, ecx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov byte [edi + esi], 0
add esp, 0xc
mov esi, dword [ebp - 0x40]
jmp 0x100296be
push 0
push edi
mov byte [ebp - 0x40], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x40]
push edi
call fcn.1002a420
cmp dword [ebx + 0x20], 0xf
lea eax, [ebx + 0xc]
lea edx, [ebx + 0x24]
cmova eax, dword [ebx + 0xc]
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
push edx
cmova ecx, dword [ebp - 0x2c]
lea edx, [esi + 1]
push eax
call fcn.100270b0
add esp, 8
mov dword [ebp - 0x3c], 0x949197bf
mov dword [ebp - 0x38], 0x85898196
xor eax, eax
mov dword [ebp - 0x34], 0xc4b99d87
mov byte [ebp - 0x30], 0xe4
nop
xor byte [ebp + eax - 0x3c], 0xe4
inc eax
cmp eax, 0xd
jb 0x10029700
mov eax, dword [0x100f1404]
lea edx, [ebp - 0x3c]
push edx
push 0x100ce0a0
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x64]
call eax
mov eax, dword [0x100f1404]
lea edx, [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], 0xf
cmova edx, dword [ebp - 0x2c]
mov ecx, dword [eax]
push edx
push 0x100ce09c
push eax
mov eax, dword [ecx + 0x64]
call eax
mov ecx, dword [ebp - 0x18]
add esp, 0xc
cmp ecx, 0xf
jbe 0x10029775
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002976b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100297ad
push ecx
push edx
call fcn.100b5731
add esp, 8
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x100297bd
mov edx, dword [ebx + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100297b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100297b3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100b5731
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b52b6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret