Function at 0x10009ec0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov ecx, dword [esp + 0x2c]
push ebp
mov ebp, dword [esp + 0x2c]
push esi
mov esi, 0xffffff4c
add ecx, 2
sub esi, ebp
push edi
lea eax, [ebp + 0xb4]
mov dword [esp + 0x2c], esi
mov dl, byte [ecx - 2]
add ecx, 4
mov byte [eax - 4], dl
mov dl, byte [ecx - 5]
mov byte [eax], dl
mov dl, byte [ecx - 4]
mov byte [eax + 4], dl
mov dl, byte [ecx - 3]
mov byte [eax + 8], dl
inc eax
lea edx, [esi + eax]
cmp edx, 4
jl 0x10009ee2
lea esi, [ebp + 0xb0]
mov edi, 0xfffffffc
lea ecx, [ebp + 0xa0]
sub edi, esi
lea eax, [esi + 4]
push ebx
mov dl, byte [ecx + 3]
mov bl, byte [eax - 4]
xor bl, dl
add ecx, 4
mov byte [eax - 4], bl
mov dl, byte [ecx - 2]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
mov edx, dword [ecx - 4]
mov bl, byte [eax + 4]
shr edx, 8
xor bl, dl
mov byte [eax + 4], bl
mov dl, byte [ecx - 4]
mov bl, byte [eax + 8]
xor bl, dl
mov byte [eax + 8], bl
inc eax
lea edx, [edi + eax]
cmp edx, 4
jl 0x10009f1c
add ebp, 0x90
mov dword [esp + 0x28], 9
mov dword [esp + 0x24], ebp
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x10086ba8]
mov byte [eax + esi - 1], dl
jl 0x10009f69
mov cl, byte [esi + 6]
mov al, byte [esi + 7]
mov dl, byte [esi + 5]
mov byte [esi + 7], cl
mov cl, byte [esi + 4]
mov byte [esi + 4], al
mov al, byte [esi + 8]
mov byte [esi + 6], dl
mov dl, byte [esi + 0xa]
mov byte [esi + 0xa], al
mov al, byte [esi + 9]
mov byte [esi + 5], cl
mov cl, byte [esi + 0xb]
mov byte [esi + 8], dl
mov dl, byte [esi + 0xd]
mov byte [esi + 0xb], al
mov al, byte [esi + 0xc]
mov byte [esi + 0xc], dl
mov dl, byte [esi + 0xf]
mov byte [esi + 0xf], al
mov eax, 0xfffffffc
mov byte [esi + 9], cl
mov cl, byte [esi + 0xe]
sub eax, esi
mov byte [esi + 0xd], cl
mov byte [esi + 0xe], dl
lea edi, [esi + 4]
mov dword [esp + 0x2c], eax
mov cl, byte [edi]
mov al, byte [edi - 4]
mov dl, byte [edi + 4]
mov byte [esp + 0x1c], cl
mov cl, byte [edi + 8]
mov byte [esp + 0x20], al
test al, al
mov byte [esp + 0x18], dl
mov byte [esp + 0x14], cl
jns 0x10009ff9
add al, al
xor al, 0x1b
jmp 0x10009ffb
add al, al
test al, al
mov byte [esp + 0x13], al
jns 0x1000a009
add al, al
xor al, 0x1b
jmp 0x1000a00b
add al, al
test al, al
mov byte [esp + 0x12], al
jns 0x1000a019
add al, al
xor al, 0x1b
jmp 0x1000a01b
add al, al
mov edx, dword [esp + 0x14]
mov byte [esp + 0x11], al
push edx
call fcn.10009d90
mov bl, al
mov eax, dword [esp + 0x1c]
push eax
call fcn.10009e20
mov ecx, dword [esp + 0x24]
xor bl, al
push ecx
call fcn.10009dd0
mov dl, byte [esp + 0x1d]
mov cl, byte [esp + 0x1e]
xor bl, al
mov al, byte [esp + 0x1f]
xor bl, dl
mov edx, dword [esp + 0x20]
xor bl, cl
push edx
xor bl, al
mov byte [edi - 4], bl
call fcn.10009e20
mov bl, al
mov eax, dword [esp + 0x28]
push eax
call fcn.10009dd0
mov ecx, dword [esp + 0x30]
xor bl, al
push ecx
call fcn.10009e70
mov edx, dword [esp + 0x38]
xor bl, al
push edx
call fcn.10009d90
xor bl, al
mov eax, dword [esp + 0x30]
push eax
mov byte [edi], bl
call fcn.10009dd0
mov ecx, dword [esp + 0x38]
mov bl, al
push ecx
call fcn.10009e70
mov edx, dword [esp + 0x40]
xor bl, al
push edx
call fcn.10009d90
xor bl, al
mov eax, dword [esp + 0x48]
push eax
call fcn.10009e20
mov ecx, dword [esp + 0x40]
xor bl, al
push ecx
mov byte [edi + 4], bl
call fcn.10009e70
mov edx, dword [esp + 0x48]
mov bl, al
push edx
call fcn.10009d90
xor bl, al
mov eax, dword [esp + 0x50]
push eax
call fcn.10009e20
mov ecx, dword [esp + 0x58]
xor bl, al
push ecx
call fcn.10009dd0
mov edx, dword [esp + 0x68]
xor bl, al
add esp, 0x3c
mov byte [edi + 8], bl
inc edi
add edx, edi
cmp edx, 4
jl 0x10009fd4
mov ecx, dword [esp + 0x24]
mov edi, 0xfffffffc
lea eax, [esi + 4]
sub edi, esi
mov dl, byte [ecx + 3]
mov bl, byte [eax - 4]
xor bl, dl
add ecx, 4
mov byte [eax - 4], bl
mov dl, byte [ecx - 2]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
mov edx, dword [ecx - 4]
mov bl, byte [eax + 4]
shr edx, 8
xor bl, dl
mov byte [eax + 4], bl
mov dl, byte [ecx - 4]
mov bl, byte [eax + 8]
xor bl, dl
mov byte [eax + 8], bl
inc eax
lea edx, [edi + eax]
cmp edx, 4
jl 0x1000a111
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
sub ecx, 0x10
dec eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
jne 0x10009f67
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x10086ba8]
mov byte [eax + esi - 1], dl
jl 0x1000a166
mov cl, byte [esi + 6]
mov al, byte [esi + 7]
mov dl, byte [esi + 5]
mov byte [esi + 7], cl
mov cl, byte [esi + 4]
mov byte [esi + 4], al
mov al, byte [esi + 8]
mov byte [esi + 6], dl
mov dl, byte [esi + 0xa]
mov ebp, dword [esp + 0x38]
mov byte [esi + 0xa], al
mov al, byte [esi + 9]
mov byte [esi + 5], cl
mov cl, byte [esi + 0xb]
mov byte [esi + 8], dl
mov dl, byte [esi + 0xd]
mov byte [esi + 0xb], al
mov al, byte [esi + 0xc]
mov byte [esi + 9], cl
mov cl, byte [esi + 0xe]
mov byte [esi + 0xc], dl
mov dl, byte [esi + 0xf]
mov edi, 0xfffffffc
mov byte [esi + 0xd], cl
mov byte [esi + 0xf], al
mov byte [esi + 0xe], dl
lea eax, [esi + 4]
mov ecx, ebp
sub edi, esi
mov dl, byte [ecx + 3]
mov bl, byte [eax - 4]
xor bl, dl
add ecx, 4
mov byte [eax - 4], bl
mov dl, byte [ecx - 2]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
mov edx, dword [ecx - 4]
mov bl, byte [eax + 4]
shr edx, 8
xor bl, dl
mov byte [eax + 4], bl
mov dl, byte [ecx - 4]
mov bl, byte [eax + 8]
xor bl, dl
mov byte [eax + 8], bl
inc eax
lea edx, [edi + eax]
cmp edx, 4
jl 0x1000a1d3
mov esi, dword [esp + 0x30]
lea edi, [ebp + 0xd0]
lea ecx, [ebp + 0xb4]
mov eax, edi
mov dl, byte [ecx - 4]
mov bl, byte [eax - 0x10]
xor dl, bl
mov byte [eax], dl
mov dl, byte [eax - 0xf]
mov bl, byte [ecx]
add eax, 4
xor dl, bl
mov bl, byte [eax - 0x12]
mov byte [eax - 3], dl
mov dl, byte [ecx + 4]
xor dl, bl
mov bl, byte [eax - 0x11]
mov byte [eax - 2], dl
mov dl, byte [ecx + 8]
xor dl, bl
inc ecx
mov byte [eax - 1], dl
lea edx, [ecx + esi]
cmp edx, 4
jl 0x1000a21e
mov ecx, dword [esp + 0x3c]
xor eax, eax
pop ebx
mov dl, byte [eax + ecx]
mov byte [eax + ebp + 0xc0], dl
inc eax
cmp eax, 0x10
jl 0x1000a25b
mov eax, dword [esp + 0x3c]
mov dword [ebp + 0xe0], 0
test eax, eax
je 0x1000a2b9
xor eax, eax
mov al, byte [ebp + 0xdf]
mov esi, eax
cmp esi, 1
jl 0x1000a291
cmp esi, 0x10
jle 0x1000a296
mov esi, 0x10
mov ecx, 0xf
cmp esi, ecx
jg 0x1000a2b3
mov eax, ebp
sub eax, esi
add eax, 0xdf
mov dl, byte [eax]
mov byte [ecx + edi], dl
dec ecx
dec eax
cmp ecx, esi
jge 0x1000a2a8
mov dword [ebp + 0xe0], esi
pop edi
pop esi
pop ebp
add esp, 0x24
ret