Function at 0x100095d2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
push 0x110
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xc], 0x80000001
call fcn.10009396
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x10009605
xor eax, eax
jmp 0x10009816
mov dword [esi + 0x108], ebx
push ebx
lea ebx, [ebp - 0x60]
call fcn.1000c417
mov al, byte [ebp - 0x60]
sub al, 0x61
pop ecx
cmp al, 0x19
ja 0x10009624
add byte [ebp - 0x60], 0xe0
jmp 0x1000962a
mov al, byte [ebp - 0x60]
mov byte [ebp - 0x60], al
mov eax, 0x9a5
call fcn.1000e5b7
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], edi
je 0x10009758
mov eax, dword [0x1001e3c8]
mov eax, dword [eax + 0x110]
push dword [eax]
mov eax, dword [0x1001e3f0]
push dword [ebp + 0xc]
call dword [eax + 0x60]
test eax, eax
jne 0x10009758
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov eax, dword [0x1001e3f0]
mov ebx, 0x80000003
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], ebx
call dword [eax + 0x20]
cmp dword [ebp - 4], edi
je 0x10009774
push edi
push dword [ebp - 8]
mov edi, 0x10017834
push edi
push dword [ebp - 4]
call fcn.1000a3ee
add esp, 0x10
test eax, eax
je 0x100097af
lea ecx, [ebp - 0x20]
push ecx
push 0x20019
push 0
push eax
mov eax, dword [0x1001e3f0]
push ebx
call dword [eax + 0x14]
test eax, eax
je 0x10009726
mov esi, 0x5c1
call fcn.1000e5ce
push 0
push eax
push 0x100177ac
push dword [ebp + 8]
mov dword [ebp - 0x1c], eax
call fcn.1000a443
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], eax
call fcn.10009008
push dword [ebp - 4]
call fcn.1000a33d
add esp, 0x14
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
push eax
push ebx
call dword [0x1001702c]
test eax, eax
jne 0x1000970b
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x1000970b
mov dword [eax], 1
push 0xfffffffffffffffe
pop eax
lea ecx, [ebp - 0x10]
call fcn.100093ac
push 0xfffffffffffffffe
pop eax
lea ecx, [ebp - 0x1c]
call fcn.100093ac
mov esi, dword [ebp - 0x14]
jmp 0x10009731
push dword [ebp - 0x20]
mov eax, dword [0x1001e3f0]
call dword [eax + 0x1c]
push 0
lea eax, [ebp - 0x60]
push eax
push edi
push dword [ebp - 8]
push edi
push dword [ebp - 4]
call fcn.1000a3ee
add esp, 0x18
push dword [ebp - 4]
mov ebx, eax
mov eax, dword [0x1001e3e4]
call dword [eax + 0x2c]
xor edi, edi
jmp 0x10009776
push edi
lea eax, [ebp - 0x60]
push eax
push 0x10017834
push dword [ebp - 8]
call fcn.1000a3ee
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, eax
jmp 0x10009776
mov ebx, edi
lea ecx, [ebp - 8]
call fcn.10008ff7
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x1001e3f0]
push 0x20019
push edi
push ebx
push dword [ebp - 0xc]
call dword [eax + 0x14]
test eax, eax
je 0x100097cf
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x1001e3f0]
push ebx
push dword [ebp - 0xc]
mov dword [ebp - 0x10], edi
call dword [eax + 0x24]
test eax, eax
je 0x100097c1
mov eax, 0x110
lea ecx, [ebp - 0x14]
call fcn.100093ac
jmp 0x100095fe
mov eax, dword [ebp + 0x14]
cmp eax, edi
je 0x100097ca
mov dword [eax], edi
push dword [ebp - 0x10]
jmp 0x100097df
mov eax, dword [ebp + 0x14]
cmp eax, edi
je 0x100097dc
mov dword [eax], 1
push dword [ebp - 0x18]
mov eax, dword [0x1001e3f0]
call dword [eax + 0x1c]
mov eax, dword [ebp - 0xc]
push ebx
mov dword [esi + 0x10c], eax
call dword [0x10017088]
xor ecx, ecx
mov dword [esi], eax
cmp eax, edi
jbe 0x10009814
mov eax, ecx
and eax, 3
mov al, byte [ebp + eax + 0x10]
xor al, byte [ecx + ebx]
inc ecx
mov byte [esi + ecx + 3], al
cmp ecx, dword [esi]
jb 0x100097ff
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret