Function at 0x1002cd70
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x24]
push ebx
mov ebx, dword [ecx + 0xbc]
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x1c], ebx
test eax, eax
je 0x1002cd8d
mov edi, dword [eax]
xor edx, edx
add eax, 4
je 0x1002cd96
mov edx, dword [eax]
xor ebp, ebp
add eax, 4
je 0x1002cd9f
mov ebp, dword [eax]
xor ecx, ecx
add eax, 4
je 0x1002cda8
mov ecx, dword [eax]
mov eax, dword [ebx + 0x9c]
add eax, ecx
mov esi, dword [ebx + 0x94]
mov ecx, eax
mov ebx, eax
shr ecx, 0x10
add esi, edx
movzx edx, al
rol eax, 8
mov dword [esp + 0x34], eax
movzx eax, al
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x1c]
shr ebx, 8
mov ecx, dword [ecx + 0x90]
add ecx, edi
mov edi, dword [eax*4 + 0x1006fa80]
mov eax, dword [esp + 0x34]
xor edi, ecx
add eax, edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x98]
movzx eax, bl
add ecx, ebp
xor ecx, dword [edx*4 + 0x1006f680]
add ecx, dword [eax*4 + 0x1006fa80]
mov eax, dword [esp + 0x28]
mov edx, ecx
movzx eax, al
mov dword [esp + 0x34], ecx
rol ecx, 8
mov ebx, dword [eax*4 + 0x1006f680]
movzx eax, dl
add ebx, esi
xor ebx, dword [eax*4 + 0x1006f680]
mov eax, edx
shr eax, 8
movzx eax, al
shr edx, 0x10
mov eax, dword [eax*4 + 0x1006fa80]
add ebx, eax
mov eax, ebx
rol eax, 8
mov dword [esp + 0x14], eax
movzx eax, dl
lea ebp, [ebx + ecx]
mov edx, dword [eax*4 + 0x1006f680]
movzx eax, bl
add edx, edi
xor edx, dword [eax*4 + 0x1006f680]
mov eax, ebx
shr eax, 8
movzx eax, al
shr ebx, 0x10
add edx, dword [eax*4 + 0x1006fa80]
movzx eax, cl
mov dword [esp + 0x18], edx
rol edx, 8
mov ecx, dword [eax*4 + 0x1006fa80]
xor ecx, dword [esp + 0x24]
movzx eax, bl
mov ebx, ecx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x18]
add ebx, dword [eax*4 + 0x1006f680]
movzx eax, cl
xor ebx, dword [eax*4 + 0x1006f680]
mov eax, ecx
shr eax, 8
movzx eax, al
add ebx, dword [eax*4 + 0x1006fa80]
mov ecx, ebx
mov dword [esp + 0x34], ebx
rol ecx, 8
movzx eax, cl
mov esi, dword [eax*4 + 0x1006fa80]
mov eax, dword [esp + 0x14]
xor esi, edx
movzx eax, al
lea edi, [esi + ecx]
mov ebx, dword [eax*4 + 0x1006fa80]
mov eax, dword [esp + 0x18]
xor ebx, ebp
shr eax, 0x10
movzx eax, al
mov ecx, dword [esp + 0x34]
add ebx, dword [eax*4 + 0x1006f680]
movzx eax, cl
xor ebx, dword [eax*4 + 0x1006f680]
mov eax, ecx
shr eax, 8
movzx eax, al
shr ecx, 0x10
add ebx, dword [eax*4 + 0x1006fa80]
movzx eax, dl
mov edx, dword [eax*4 + 0x1006fa80]
xor edx, dword [esp + 0x14]
movzx eax, cl
add edx, dword [eax*4 + 0x1006f680]
movzx eax, bl
xor edx, dword [eax*4 + 0x1006f680]
mov eax, ebx
shr eax, 8
movzx eax, al
add edx, dword [eax*4 + 0x1006fa80]
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x34], edx
rol ebx, 8
mov edx, dword [eax*4 + 0x1006f680]
movzx eax, bl
add edx, esi
mov ecx, dword [eax*4 + 0x1006fa80]
mov eax, dword [esp + 0x34]
xor ecx, edi
lea esi, [ebx + eax]
movzx eax, al
mov edi, dword [eax*4 + 0x1006f680]
mov eax, dword [esp + 0x34]
xor edi, edx
shr eax, 0x10
movzx eax, al
mov edx, dword [eax*4 + 0x1006f680]
add edx, ecx
mov ecx, dword [esp + 0x34]
mov eax, ecx
shr ecx, 8
rol eax, 8
mov dword [esp + 0x28], eax
movzx eax, al
mov ebx, dword [eax*4 + 0x1006fa80]
movzx eax, cl
xor ebx, esi
mov ecx, dword [eax*4 + 0x1006fa80]
add ecx, edi
movzx eax, cl
mov dword [esp + 0x34], ecx
mov eax, dword [eax*4 + 0x1006f680]
xor eax, edx
mov dword [esp + 0x10], eax
mov eax, ecx
mov edx, dword [esp + 0x10]
shr eax, 8
movzx eax, al
add edx, dword [eax*4 + 0x1006fa80]
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x34]
rol edx, 8
mov ecx, dword [eax*4 + 0x1006f680]
movzx eax, dl
add ecx, ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov eax, dword [eax*4 + 0x1006fa80]
xor eax, dword [esp + 0x28]
xor edx, edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], edx
lea esi, [eax + 0x88]
lea ecx, [eax + 0x8c]
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ecx
mov ecx, dword [ecx]
lea edi, [esp + 0x18]
imul ecx, dword [esp + 0x10]
mov ebp, dword [esi]
lea esi, [esp + 0x14]
mov eax, dword [esp + 0x10]
ror eax, 0xd
add ebp, eax
rol ecx, 0xa
cmp edx, 8
mov ebx, ecx
mov dword [esp + 0x10], ecx
cmovae esi, edi
movzx ecx, cl
mov edi, dword [esp + 0x10]
and ecx, 0x1f
mov edx, ebp
ror ebx, 5
and edx, 0x1ff
mov edx, dword [edx*4 + 0x1006f680]
xor edx, ebx
xor edx, edi
rol edx, cl
lea ecx, [esp + 0x18]
sub dword [esi], edx
lea esi, [esp + 0x14]
mov edx, dword [esp + 0x20]
cmp edx, 8
cmovae ecx, esi
mov esi, dword [esp + 0x28]
inc edx
sub esi, 8
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], esi
xor dword [ecx], edi
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
movzx ecx, bl
and ecx, 0x1f
rol ebp, cl
mov ecx, dword [esp + 0x34]
sub ecx, ebp
mov edi, ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x24]
sub ecx, 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
cmp edx, 0x10
jb 0x1002d033
mov edx, dword [esp + 0x10]
mov ecx, edx
ror ecx, 8
mov esi, edx
mov dword [esp + 0x18], ecx
mov ebx, edx
movzx ebp, cl
movzx ecx, dl
shr esi, 0x18
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x34]
mov ecx, dword [ecx*4 + 0x1006fa80]
sub ebp, dword [esi*4 + 0x1006f680]
xor ecx, edi
mov edx, ecx
mov dword [esp + 0x34], ebp
mov edi, ecx
ror edx, 8
mov dword [esp + 0x10], edx
mov esi, ebp
mov edx, ecx
mov ebp, dword [esp + 0x24]
movzx ecx, cl
shr edx, 0x10
shr ebx, 0x10
shr edi, 0x18
xor esi, dword [ecx*4 + 0x1006fa80]
mov ecx, esi
mov dword [esp + 0x34], esi
sub ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
movzx ecx, dl
mov edx, dword [esp + 0x18]
sub edx, dword [ecx*4 + 0x1006fa80]
mov ecx, dword [esp + 0x10]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x1006f680]
mov ecx, dword [esp + 0x34]
shr ecx, 0x18
sub edx, dword [ecx*4 + 0x1006f680]
mov ecx, dword [esp + 0x34]
ror ecx, 8
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x34]
shr ecx, 0x10
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x28]
movzx ecx, dl
mov dword [esp + 0x14], ecx
movzx ecx, bl
sub eax, dword [ecx*4 + 0x1006fa80]
xor eax, dword [ebp*4 + 0x1006f680]
sub eax, dword [edi*4 + 0x1006f680]
mov ecx, dword [esp + 0x34]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x1006fa80]
sub eax, dword [esp + 0x18]
mov edx, eax
mov ecx, eax
mov ebx, eax
ror ecx, 8
movzx eax, al
mov dword [esp + 0x24], ecx
mov ebp, dword [esp + 0x24]
movzx edi, cl
mov ecx, dword [eax*4 + 0x1006fa80]
xor ecx, dword [esp + 0x18]
mov eax, ecx
shr edx, 0x18
ror eax, 8
mov esi, ecx
mov dword [esp + 0x34], eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
shr ebx, 0x10
shr esi, 0x18
mov dword [esp + 0x2c], edi
sub ebp, dword [eax*4 + 0x1006fa80]
mov eax, dword [esp + 0x34]
movzx eax, al
mov edi, dword [esp + 0x10]
xor ebp, dword [eax*4 + 0x1006f680]
mov eax, dword [esp + 0x20]
movzx eax, al
sub edi, dword [eax*4 + 0x1006fa80]
mov eax, dword [esp + 0x14]
xor edi, dword [eax*4 + 0x1006f680]
mov eax, edi
mov dword [esp + 0x10], edi
sub eax, dword [edx*4 + 0x1006f680]
mov dword [esp + 0x10], eax
movzx eax, cl
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x2c]
xor ecx, dword [eax*4 + 0x1006fa80]
mov eax, ecx
mov dword [esp + 0x10], ecx
shr eax, 0x18
mov edx, ecx
ror edx, 8
mov dword [esp + 0x24], edx
sub ebp, dword [eax*4 + 0x1006f680]
mov eax, ecx
mov ecx, dword [esp + 0x34]
shr eax, 0x10
movzx eax, al
sub ecx, dword [eax*4 + 0x1006fa80]
movzx eax, dl
mov edx, dword [esp + 0x28]
xor ecx, dword [eax*4 + 0x1006f680]
movzx eax, bl
sub edx, dword [eax*4 + 0x1006fa80]
xor edx, dword [edi*4 + 0x1006f680]
sub edx, dword [esi*4 + 0x1006f680]
mov eax, dword [esp + 0x10]
movzx eax, al
xor edx, dword [eax*4 + 0x1006fa80]
sub edx, dword [esp + 0x24]
mov eax, edx
shr eax, 0x18
sub ecx, dword [eax*4 + 0x1006f680]
mov eax, edx
ror eax, 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], ecx
mov ecx, edx
mov ebx, dword [esp + 0x34]
movzx eax, dl
shr ecx, 0x10
mov esi, dword [esp + 0x18]
mov edx, dword [eax*4 + 0x1006fa80]
movzx eax, cl
xor edx, ebp
mov ecx, dword [esp + 0x24]
sub edx, ebx
sub ecx, dword [eax*4 + 0x1006fa80]
mov eax, dword [esp + 0x18]
movzx eax, al
xor ecx, dword [eax*4 + 0x1006f680]
mov eax, edx
shr eax, 0x18
sub ecx, dword [eax*4 + 0x1006f680]
mov eax, edx
ror eax, 8
mov dword [esp + 0x34], eax
mov eax, edx
shr eax, 0x10
movzx eax, al
sub esi, dword [eax*4 + 0x1006fa80]
mov eax, dword [esp + 0x34]
movzx eax, al
xor esi, dword [eax*4 + 0x1006f680]
movzx eax, dl
mov edx, esi
mov dword [esp + 0x18], esi
mov ebp, dword [eax*4 + 0x1006fa80]
mov eax, dword [esp + 0x1c]
xor ebp, ebx
sub edx, dword [eax + 4]
sub ecx, dword [eax + 8]
mov ebx, dword [esp + 0x34]
sub ebp, dword [eax + 0xc]
sub ebx, dword [eax]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1002d36f
xor ebx, dword [eax]
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x1002d379
mov dword [esi], ebx
lea edi, [esi + 4]
test eax, eax
lea esi, [eax + 4]
cmove esi, eax
test esi, esi
je 0x1002d38a
xor edx, dword [esi]
test edi, edi
je 0x1002d390
mov dword [edi], edx
add edi, 4
lea edx, [esi + 4]
test esi, esi
cmove edx, esi
test edx, edx
je 0x1002d3a1
xor ecx, dword [edx]
test edi, edi
je 0x1002d3a7
mov dword [edi], ecx
add edi, 4
lea eax, [edx + 4]
test edx, edx
cmove eax, edx
test eax, eax
je 0x1002d3ba
mov eax, dword [eax]
xor ebp, eax
test edi, edi
je 0x1002d3c0
mov dword [edi], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc