Function at 0x10028d10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x20]
push ebx
push ebp
push esi
mov esi, ecx
xor ecx, ecx
mov dword [esp + 0xc], ecx
push edi
test eax, eax
je 0x10028d2d
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
xor edi, edi
add eax, 4
je 0x10028d36
mov edi, dword [eax]
mov esi, dword [esi + 0x3c]
mov eax, dword [esi]
mov dword [esp + 0x30], eax
lea edx, [eax + ecx]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ebx, dword [ecx*4 + 0x1009f110]
xor ebx, dword [eax*4 + 0x1009ed10]
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x1009f510]
movzx eax, dl
xor ebx, dword [eax*4 + 0x1009e910]
mov eax, dword [esi + 4]
xor ebx, edi
mov dword [esp + 0x28], eax
lea edx, [eax + ebx]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov edi, dword [ecx*4 + 0x1009f110]
xor edi, dword [eax*4 + 0x1009ed10]
mov eax, edx
shr eax, 0x18
xor edi, dword [eax*4 + 0x1009f510]
movzx eax, dl
xor edi, dword [eax*4 + 0x1009e910]
xor edi, dword [esp + 0x10]
mov eax, dword [esi + 8]
mov dword [esp + 0x24], eax
lea edx, [eax + edi]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x1009f110]
xor ecx, dword [eax*4 + 0x1009ed10]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x1009f510]
movzx eax, dl
xor ecx, dword [eax*4 + 0x1009e910]
mov eax, dword [esi + 0xc]
xor ebx, ecx
mov dword [esp + 0x20], eax
lea edx, [eax + ebx]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x1009f110]
xor ecx, dword [eax*4 + 0x1009ed10]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x1009f510]
movzx eax, dl
xor ecx, dword [eax*4 + 0x1009e910]
mov eax, dword [esi + 0x10]
xor edi, ecx
mov dword [esp + 0x1c], eax
lea edx, [eax + edi]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x1009f110]
xor ecx, dword [eax*4 + 0x1009ed10]
mov eax, edx
shr eax, 0x18
mov ebp, dword [esp + 0x30]
xor ecx, dword [eax*4 + 0x1009f510]
movzx eax, dl
xor ecx, dword [eax*4 + 0x1009e910]
mov eax, dword [esi + 0x14]
xor ebx, ecx
mov dword [esp + 0x18], eax
lea edx, [eax + ebx]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x1009f110]
xor ecx, dword [eax*4 + 0x1009ed10]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x1009f510]
movzx eax, dl
xor ecx, dword [eax*4 + 0x1009e910]
mov eax, dword [esi + 0x18]
xor edi, ecx
mov dword [esp + 0x14], eax
lea edx, [eax + edi]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x1009f110]
xor ecx, dword [eax*4 + 0x1009ed10]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x1009f510]
movzx eax, dl
xor ecx, dword [eax*4 + 0x1009e910]
mov eax, dword [esi + 0x1c]
xor ebx, ecx
mov dword [esp + 0x10], eax
mov esi, 3
lea edx, [eax + ebx]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x1009f110]
xor ecx, dword [eax*4 + 0x1009ed10]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x1009f510]
movzx eax, dl
xor ecx, dword [eax*4 + 0x1009e910]
xor edi, ecx
mov edx, dword [esp + 0x10]
add edx, edi
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x1009f110]
xor ecx, dword [eax*4 + 0x1009ed10]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x1009f510]
movzx eax, dl
mov edx, dword [esp + 0x14]
xor ecx, dword [eax*4 + 0x1009e910]
xor ebx, ecx
add edx, ebx
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x1009f110]
xor ecx, dword [eax*4 + 0x1009ed10]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x1009f510]
movzx eax, dl
mov edx, dword [esp + 0x18]
xor ecx, dword [eax*4 + 0x1009e910]
xor edi, ecx
add edx, edi
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x1009f110]
xor ecx, dword [eax*4 + 0x1009ed10]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x1009f510]
movzx eax, dl
mov edx, dword [esp + 0x1c]
xor ecx, dword [eax*4 + 0x1009e910]
xor ebx, ecx
add edx, ebx
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x1009f110]
xor ecx, dword [eax*4 + 0x1009ed10]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x1009f510]
movzx eax, dl
mov edx, dword [esp + 0x20]
xor ecx, dword [eax*4 + 0x1009e910]
xor edi, ecx
add edx, edi
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x1009f110]
xor ecx, dword [eax*4 + 0x1009ed10]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x1009f510]
movzx eax, dl
mov edx, dword [esp + 0x24]
xor ecx, dword [eax*4 + 0x1009e910]
xor ebx, ecx
add edx, ebx
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x1009f110]
xor ecx, dword [eax*4 + 0x1009ed10]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x1009f510]
movzx eax, dl
mov edx, dword [esp + 0x28]
xor ecx, dword [eax*4 + 0x1009e910]
xor edi, ecx
add edx, edi
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x1009f110]
xor ecx, dword [eax*4 + 0x1009ed10]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x1009f510]
movzx eax, dl
xor ecx, dword [eax*4 + 0x1009e910]
xor ebx, ecx
lea edx, [ebx + ebp]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x1009f110]
xor ecx, dword [eax*4 + 0x1009ed10]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x1009f510]
movzx eax, dl
xor ecx, dword [eax*4 + 0x1009e910]
xor edi, ecx
sub esi, 1
jne 0x10028f43
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x10029134
xor ebx, dword [ebp]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1002913e
mov dword [eax], ebx
lea ecx, [eax + 4]
test ebp, ebp
lea eax, [ebp + 4]
cmove eax, ebp
test eax, eax
je 0x10029151
mov eax, dword [eax]
xor edi, eax
test ecx, ecx
je 0x10029157
mov dword [ecx], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0xc