Function at 0x100020d0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ecx]
mov dword [ebp - 0x20], edx
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ecx + 0x14]
push esi
xor edx, dword [eax]
xor ebx, dword [eax + 4]
mov dword [ebp - 8], edx
mov dword [ebp - 0x30], edx
mov edx, dword [ecx + 0x18]
xor edx, dword [eax + 8]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x18], edx
mov edx, dword [ecx + 0x1c]
add ecx, 0x20
xor edx, dword [eax + 0xc]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], edx
shr edx, 0x18
movzx eax, al
mov dword [ebp - 0x2c], ebx
push edi
mov edx, dword [edx*4 + 0x100e5c40]
xor edx, dword [eax*4 + 0x100e5040]
movzx eax, bh
xor edx, dword [eax*4 + 0x100e5440]
movzx eax, byte [ebp - 0x26]
xor edx, dword [eax*4 + 0x100e5840]
xor edx, dword [ecx]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 8]
shr edx, 0x18
movzx eax, bl
shr ebx, 0x18
mov edx, dword [edx*4 + 0x100e5c40]
xor edx, dword [eax*4 + 0x100e5040]
mov ebx, dword [ebx*4 + 0x100e5c40]
mov dword [ebp + 8], edx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp + 8]
movzx eax, dh
xor esi, dword [eax*4 + 0x100e5440]
movzx eax, byte [ebp - 0x22]
xor esi, dword [eax*4 + 0x100e5840]
mov eax, esi
mov dword [ebp + 8], esi
xor eax, dword [ecx + 4]
mov dword [ebp + 8], eax
movzx eax, dl
shr edx, 0x18
xor ebx, dword [eax*4 + 0x100e5040]
mov edx, dword [edx*4 + 0x100e5c40]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 4]
movzx eax, bh
xor edi, dword [eax*4 + 0x100e5440]
movzx eax, byte [ebp - 0x2e]
xor edi, dword [eax*4 + 0x100e5840]
mov eax, edi
mov dword [ebp - 4], edi
xor eax, dword [ecx + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
movzx eax, ah
xor edx, dword [eax*4 + 0x100e5440]
movzx eax, byte [ebp - 0x2a]
xor edx, dword [eax*4 + 0x100e5840]
movzx eax, bl
xor edx, dword [eax*4 + 0x100e5040]
xor edx, dword [ecx + 0xc]
dec dword [ebp - 0xc]
mov dword [ebp - 8], edx
je 0x10002410
lea esp, [esp]
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx edx, al
mov eax, dword [ebp + 8]
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x100e5840]
mov esi, dword [ebp - 8]
mov ebx, dword [ebp - 0x1c]
xor edx, dword [eax*4 + 0x100e5440]
mov eax, esi
shr eax, 0x18
xor edx, dword [eax*4 + 0x100e5c40]
movzx eax, bl
xor edx, dword [eax*4 + 0x100e5040]
mov eax, esi
xor edx, dword [ecx + 0x10]
shr eax, 0x10
mov dword [ebp - 0x14], edx
movzx edx, al
mov eax, dword [ebp - 4]
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x100e5840]
xor edx, dword [eax*4 + 0x100e5440]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x100e5c40]
mov eax, dword [ebp + 8]
movzx eax, al
xor edx, dword [eax*4 + 0x100e5040]
mov eax, esi
xor edx, dword [ecx + 0x14]
shr eax, 8
mov dword [ebp - 0x10], edx
movzx edx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
shr ebx, 8
mov edx, dword [edx*4 + 0x100e5440]
xor edx, dword [eax*4 + 0x100e5840]
mov eax, dword [ebp + 8]
shr eax, 0x18
xor edx, dword [eax*4 + 0x100e5c40]
mov eax, dword [ebp - 4]
movzx eax, al
xor edx, dword [eax*4 + 0x100e5040]
xor edx, dword [ecx + 0x18]
mov eax, dword [ebp + 8]
shr eax, 0x10
mov dword [ebp - 0x18], edx
movzx edx, al
movzx eax, bl
mov ebx, dword [edx*4 + 0x100e5840]
xor ebx, dword [eax*4 + 0x100e5440]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor ebx, dword [eax*4 + 0x100e5c40]
mov eax, esi
movzx eax, al
xor ebx, dword [eax*4 + 0x100e5040]
mov eax, dword [ebp - 0x18]
xor ebx, dword [ecx + 0x1c]
add ecx, 0x20
sar eax, 0x10
movzx edx, al
mov eax, dword [ebp - 0x10]
sar eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x100e5840]
xor edx, dword [eax*4 + 0x100e5440]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x100e5c40]
mov eax, dword [ebp - 0x14]
movzx eax, al
xor edx, dword [eax*4 + 0x100e5040]
xor edx, dword [ecx]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
sar eax, 8
movzx edx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov edx, dword [edx*4 + 0x100e5440]
xor edx, dword [eax*4 + 0x100e5840]
mov eax, dword [ebp - 0x14]
mov esi, edx
shr eax, 0x18
mov dword [ebp + 8], edx
xor esi, dword [eax*4 + 0x100e5c40]
mov eax, dword [ebp - 0x10]
movzx eax, al
xor esi, dword [eax*4 + 0x100e5040]
mov eax, esi
mov dword [ebp + 8], esi
xor eax, dword [ecx + 4]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x14]
sar eax, 0x10
movzx edx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x100e5840]
xor edx, dword [eax*4 + 0x100e5440]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x10]
mov eax, edx
mov edi, dword [ebp - 4]
shr eax, 0x18
sar edx, 0x10
movzx edx, dl
xor edi, dword [eax*4 + 0x100e5c40]
mov eax, dword [ebp - 0x18]
mov edx, dword [edx*4 + 0x100e5840]
movzx eax, al
xor edi, dword [eax*4 + 0x100e5040]
mov eax, edi
mov dword [ebp - 4], edi
xor eax, dword [ecx + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
sar eax, 8
movzx eax, al
xor edx, dword [eax*4 + 0x100e5440]
mov eax, dword [ebp - 0x18]
shr eax, 0x18
xor edx, dword [eax*4 + 0x100e5c40]
movzx eax, bl
xor edx, dword [eax*4 + 0x100e5040]
xor edx, dword [ecx + 0xc]
dec dword [ebp - 0xc]
mov dword [ebp - 8], edx
jne 0x10002200
mov eax, edx
mov ebx, dword [ebp - 0x1c]
shr eax, 0x18
mov esi, dword [ebp - 0x20]
movzx edx, byte [eax + 0x100b3380]
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx eax, al
shl edx, 8
movzx eax, byte [eax + 0x100b3380]
or edx, eax
mov eax, dword [ebp + 8]
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + 0x100b3380]
or edx, eax
movzx eax, bl
shl edx, 8
movzx eax, byte [eax + 0x100b3380]
or edx, eax
mov eax, dword [ebp - 8]
xor edx, dword [ecx + 0x10]
shr eax, 0x10
movzx eax, al
mov dword [esi], edx
movzx edx, byte [eax + 0x100b3380]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x100b3380]
shl eax, 8
or edx, eax
mov eax, dword [ebp - 4]
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + 0x100b3380]
or edx, eax
mov eax, dword [ebp + 8]
movzx eax, al
shl edx, 8
movzx eax, byte [eax + 0x100b3380]
or edx, eax
mov eax, dword [ebp + 8]
xor edx, dword [ecx + 0x14]
shr eax, 0x18
mov dword [esi + 4], edx
movzx edx, byte [eax + 0x100b3380]
mov eax, ebx
shr eax, 0x10
movzx eax, al
shl edx, 8
shr ebx, 8
movzx eax, byte [eax + 0x100b3380]
or edx, eax
mov eax, dword [ebp - 8]
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + 0x100b3380]
or edx, eax
mov eax, dword [ebp - 4]
movzx eax, al
shl edx, 8
movzx eax, byte [eax + 0x100b3380]
or edx, eax
mov eax, dword [ebp - 4]
xor edx, dword [ecx + 0x18]
shr eax, 0x18
mov dword [esi + 8], edx
movzx edx, byte [eax + 0x100b3380]
mov eax, dword [ebp + 8]
shr eax, 0x10
movzx eax, al
shl edx, 8
movzx eax, byte [eax + 0x100b3380]
or edx, eax
movzx eax, bl
shl edx, 8
movzx eax, byte [eax + 0x100b3380]
or edx, eax
mov eax, dword [ebp - 8]
movzx eax, al
shl edx, 8
pop edi
movzx eax, byte [eax + 0x100b3380]
or edx, eax
xor edx, dword [ecx + 0x1c]
mov dword [esi + 0xc], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4