Function at 0x10009780
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, 0xbb40e64e
xor eax, ebp
mov dword [ebp - 4], eax
push esi
and dword [ebp - 0x4c], 0
jmp 0x1000979e
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x10
jge 0x100097d5
mov eax, dword [ebp - 0x4c]
cdq
and edx, 3
add eax, edx
sar eax, 2
shl eax, 4
lea eax, [ebp + eax - 0x48]
mov ecx, dword [ebp - 0x4c]
and ecx, 0x80000003
jns 0x100097c7
dec ecx
or ecx, 0xfffffffc
inc ecx
mov edx, dword [ebp - 0x4c]
mov esi, dword [ebp + 0xc]
mov edx, dword [esi + edx*4]
mov dword [eax + ecx*4], edx
jmp 0x10009797
and dword [ebp - 0x4c], 0
jmp 0x100097e2
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xa
jge 0x10009b51
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x48]
shl eax, 7
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x48]
shr ecx, 0x19
or eax, ecx
xor eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x38]
shl eax, 9
mov ecx, dword [ebp - 0x48]
add ecx, dword [ebp - 0x38]
shr ecx, 0x17
or eax, ecx
xor eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x28]
shl eax, 0xd
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x28]
shr ecx, 0x13
or eax, ecx
xor eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x18]
shl eax, 0x12
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x18]
shr ecx, 0xe
or eax, ecx
xor eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], eax
xor eax, eax
jne 0x100097ec
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x34]
shl eax, 7
mov ecx, dword [ebp - 0x44]
add ecx, dword [ebp - 0x34]
shr ecx, 0x19
or eax, ecx
xor eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x24]
shl eax, 9
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x24]
shr ecx, 0x17
or eax, ecx
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x14]
shl eax, 0xd
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x14]
shr ecx, 0x13
or eax, ecx
xor eax, dword [ebp - 0x44]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x44]
shl eax, 0x12
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x44]
shr ecx, 0xe
or eax, ecx
xor eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
xor eax, eax
jne 0x10009858
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x20]
shl eax, 7
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x20]
shr ecx, 0x19
or eax, ecx
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x10]
shl eax, 9
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x10]
shr ecx, 0x17
or eax, ecx
xor eax, dword [ebp - 0x40]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x40]
shl eax, 0xd
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x40]
shr ecx, 0x13
or eax, ecx
xor eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x30]
shl eax, 0x12
mov ecx, dword [ebp - 0x40]
add ecx, dword [ebp - 0x30]
shr ecx, 0xe
or eax, ecx
xor eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
xor eax, eax
jne 0x100098c4
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0xc]
shl eax, 7
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0xc]
shr ecx, 0x19
or eax, ecx
xor eax, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x3c]
shl eax, 9
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x3c]
shr ecx, 0x17
or eax, ecx
xor eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x2c]
shl eax, 0xd
mov ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x2c]
shr ecx, 0x13
or eax, ecx
xor eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x1c]
shl eax, 0x12
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x1c]
shr ecx, 0xe
or eax, ecx
xor eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
xor eax, eax
jne 0x10009930
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x48]
shl eax, 7
mov ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x48]
shr ecx, 0x19
or eax, ecx
xor eax, dword [ebp - 0x44]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x44]
shl eax, 9
mov ecx, dword [ebp - 0x48]
add ecx, dword [ebp - 0x44]
shr ecx, 0x17
or eax, ecx
xor eax, dword [ebp - 0x40]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x40]
shl eax, 0xd
mov ecx, dword [ebp - 0x44]
add ecx, dword [ebp - 0x40]
shr ecx, 0x13
or eax, ecx
xor eax, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x3c]
shl eax, 0x12
mov ecx, dword [ebp - 0x40]
add ecx, dword [ebp - 0x3c]
shr ecx, 0xe
or eax, ecx
xor eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], eax
xor eax, eax
jne 0x1000999c
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x34]
shl eax, 7
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x34]
shr ecx, 0x19
or eax, ecx
xor eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x30]
shl eax, 9
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x30]
shr ecx, 0x17
or eax, ecx
xor eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x2c]
shl eax, 0xd
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x2c]
shr ecx, 0x13
or eax, ecx
xor eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x38]
shl eax, 0x12
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x38]
shr ecx, 0xe
or eax, ecx
xor eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
xor eax, eax
jne 0x10009a08
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x20]
shl eax, 7
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x20]
shr ecx, 0x19
or eax, ecx
xor eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x1c]
shl eax, 9
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x1c]
shr ecx, 0x17
or eax, ecx
xor eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x28]
shl eax, 0xd
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x28]
shr ecx, 0x13
or eax, ecx
xor eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x24]
shl eax, 0x12
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x24]
shr ecx, 0xe
or eax, ecx
xor eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
xor eax, eax
jne 0x10009a74
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xc]
shl eax, 7
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0xc]
shr ecx, 0x19
or eax, ecx
xor eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x18]
shl eax, 9
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x18]
shr ecx, 0x17
or eax, ecx
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
shl eax, 0xd
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x14]
shr ecx, 0x13
or eax, ecx
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
shl eax, 0x12
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x10]
shr ecx, 0xe
or eax, ecx
xor eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
xor eax, eax
jne 0x10009ae0
jmp 0x100097db
and dword [ebp - 0x4c], 0
jmp 0x10009b5e
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x10
jge 0x10009b9e
mov eax, dword [ebp - 0x4c]
cdq
and edx, 3
add eax, edx
sar eax, 2
shl eax, 4
lea eax, [ebp + eax - 0x48]
mov ecx, dword [ebp - 0x4c]
and ecx, 0x80000003
jns 0x10009b87
dec ecx
or ecx, 0xfffffffc
inc ecx
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp + 0xc]
add eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp + 8]
mov dword [edx + ecx*4], eax
jmp 0x10009b57
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
leave
ret