Function at 0x10009251
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov eax, dword [ebp + 0x10]
inc eax
push eax
call fcn.1000c547
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
sub ecx, dword [0x10001524]
add ecx, dword [0x10001524]
sub eax, dword [0x1000151c]
dec edx
lea eax, [eax]
lea ecx, [ecx]
sub edx, dword [0x10001520]
sub ebx, dword [0x10001518]
inc edx
mov ebx, ebx
add eax, dword [0x1000151c]
lea edi, [edi]
lea edx, [edx]
add edx, dword [0x10001520]
lea esi, [esi]
mov edx, edx
add ebx, dword [0x10001518]
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.1000c080
add esp, 0xc
sub ecx, dword [0x10001524]
add ecx, dword [0x10001524]
sub eax, dword [0x1000151c]
dec edx
lea eax, [eax]
lea ecx, [ecx]
sub edx, dword [0x10001520]
sub ebx, dword [0x10001518]
inc edx
mov ebx, ebx
add eax, dword [0x1000151c]
lea edi, [edi]
lea edx, [edx]
add edx, dword [0x10001520]
lea esi, [esi]
mov edx, edx
add ebx, dword [0x10001518]
cmp dword [ebp + 0x10], 0
je 0x1000949e
sub ecx, dword [0x10001524]
add ecx, dword [0x10001524]
sub eax, dword [0x1000151c]
dec edx
lea eax, [eax]
lea ecx, [ecx]
sub edx, dword [0x10001520]
sub ebx, dword [0x10001518]
inc edx
mov ebx, ebx
add eax, dword [0x1000151c]
lea edi, [edi]
lea edx, [edx]
add edx, dword [0x10001520]
lea esi, [esi]
mov edx, edx
add ebx, dword [0x10001518]
mov ecx, dword [ebp + 0x10]
sub ecx, dword [0x10001524]
add ecx, dword [0x10001524]
sub eax, dword [0x1000151c]
dec edx
lea eax, [eax]
lea ecx, [ecx]
sub edx, dword [0x10001520]
sub ebx, dword [0x10001518]
inc edx
mov ebx, ebx
add eax, dword [0x1000151c]
lea edi, [edi]
lea edx, [edx]
add edx, dword [0x10001520]
lea esi, [esi]
mov edx, edx
add ebx, dword [0x10001518]
mov esi, dword [ebp - 4]
sub ecx, dword [0x10001524]
add ecx, dword [0x10001524]
sub eax, dword [0x1000151c]
dec edx
lea eax, [eax]
lea ecx, [ecx]
sub edx, dword [0x10001520]
sub ebx, dword [0x10001518]
inc edx
mov ebx, ebx
add eax, dword [0x1000151c]
lea edi, [edi]
lea edx, [edx]
add edx, dword [0x10001520]
lea esi, [esi]
mov edx, edx
add ebx, dword [0x10001518]
mov edi, esi
lodsb al, byte [esi]
sub ecx, dword [0x10001524]
add ecx, dword [0x10001524]
sub eax, dword [0x1000151c]
dec edx
lea eax, [eax]
lea ecx, [ecx]
sub edx, dword [0x10001520]
sub ebx, dword [0x10001518]
inc edx
mov ebx, ebx
add eax, dword [0x1000151c]
lea edi, [edi]
lea edx, [edx]
add edx, dword [0x10001520]
lea esi, [esi]
mov edx, edx
add ebx, dword [0x10001518]
xor al, byte [ebp + 0xc]
sub ecx, dword [0x10001524]
add ecx, dword [0x10001524]
sub eax, dword [0x1000151c]
dec edx
lea eax, [eax]
lea ecx, [ecx]
sub edx, dword [0x10001520]
sub ebx, dword [0x10001518]
inc edx
mov ebx, ebx
add eax, dword [0x1000151c]
lea edi, [edi]
lea edx, [edx]
add edx, dword [0x10001520]
lea esi, [esi]
mov edx, edx
add ebx, dword [0x10001518]
stosb byte es:[edi], al
sub ecx, dword [0x10001524]
add ecx, dword [0x10001524]
sub eax, dword [0x1000151c]
dec edx
lea eax, [eax]
lea ecx, [ecx]
sub edx, dword [0x10001520]
sub ebx, dword [0x10001518]
inc edx
mov ebx, ebx
add eax, dword [0x1000151c]
lea edi, [edi]
lea edx, [edx]
add edx, dword [0x10001520]
lea esi, [esi]
mov edx, edx
add ebx, dword [0x10001518]
sub ecx, 1
jne 0x100093d0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret