Function at 0x10091b30
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 0x1012a39e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x1014a0c0]
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 - 0x34], 0
xorps xmm0, xmm0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov eax, dword [0x10194e9c]
test eax, eax
je 0x10091bb3
mov eax, dword [eax + 0x18]
mov ecx, 1
jmp 0x10091bba
mov ecx, 2
xor eax, eax
mov dword [ebp - 0x18], ecx
test cl, 2
je 0x10091bc8
and ecx, 0xfffffffd
mov dword [ebp - 0x18], ecx
test cl, 1
je 0x10091bd3
and ecx, 0xfffffffe
mov dword [ebp - 0x18], ecx
test eax, eax
je 0x10091dce
movaps xmm0, xmmword [0x1013dcb0]
xor eax, eax
movaps xmm1, xmmword [0x1013e190]
movups xmmword [ebp - 0x84], xmm0
mov word [ebp - 0x54], 0x2566
movaps xmm0, xmmword [0x1013dc90]
movups xmmword [ebp - 0x74], xmm0
movaps xmm0, xmmword [0x1013e9b0]
movups xmmword [ebp - 0x64], xmm0
nop
movups xmm0, xmmword [ebp + eax - 0x84]
xorps xmm0, xmm1
movups xmmword [ebp + eax - 0x84], xmm0
add eax, 0x10
cmp eax, 0x30
jb 0x10091c10
cmp eax, 0x32
jae 0x10091c3e
xor byte [ebp + eax - 0x84], 0x25
inc eax
cmp eax, 0x32
jb 0x10091c30
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x50], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10091c60
sub ecx, edx
lea eax, [ebp - 0x84]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.1002a390
mov edi, dword [0x10194ea4]
test edi, edi
je 0x10091c88
mov edi, dword [edi + 0x50]
jmp 0x10091c8a
xor edi, edi
mov esi, dword [0x10194e9c]
mov eax, dword [ebp - 0x18]
test esi, esi
je 0x10091c9f
mov esi, dword [esi + 0x18]
or eax, 8
jmp 0x10091ca4
or eax, 0x10
xor esi, esi
test al, 0x10
je 0x10091cab
and eax, 0xffffffef
test al, 8
je 0x10091cb2
and eax, 0xfffffff7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
or eax, 0x20
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x34], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x50]
movq qword [ebp - 0x30], xmm0
push eax
push esi
mov edx, edi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.10023670
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10091d43
nop dword [eax + eax]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x28]
je 0x10091d10
mov dword [ecx], eax
add dword [ebp - 0x2c], 4
jmp 0x10091d20
lea eax, [ebp - 0x18]
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.100f5880
mov eax, dword [ebp - 0x18]
sub esi, eax
lea ecx, [ebp - 0x38]
dec esi
add edi, esi
lea esi, [eax + 1]
lea eax, [ebp - 0x50]
mov edx, edi
push eax
push esi
call fcn.10023670
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x10091d00
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 1
call fcn.10029310
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.10029310
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x10091dbb
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10091db1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10091db1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101241e7
add esp, 8
cmp esi, edi
je 0x10091dce
nop
push dword [esi]
call fcn.10091e00
add esi, 4
cmp esi, edi
jne 0x10091dc0
lea ecx, [ebp - 0x24]
call fcn.10029310
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.10123d6c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret