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

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x30]
push ebx
mov ebx, dword [ecx + 0x14]
push ebp
xor ebx, dword [eax + 4]
push esi
mov esi, edx
mov ebp, dword [ecx]
mov edx, dword [ecx + 0x10]
xor edx, dword [eax]
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], edx
mov edx, dword [ecx + 0x18]
xor edx, dword [eax + 8]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x30], edx
mov edx, dword [ecx + 0x1c]
add ecx, 0x20
xor edx, dword [eax + 0xc]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], edx
movzx eax, al
movzx edx, bh
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], esi
mov eax, dword [eax*4 + 0x100ef938]
xor eax, dword [edx*4 + 0x100efd38]
mov dword [esp + 0x14], eax
movzx eax, byte [esp + 0x32]
mov edx, dword [esp + 0x14]
xor edx, dword [eax*4 + 0x100f0138]
movzx eax, byte [esp + 0x37]
xor edx, dword [eax*4 + 0x100f0538]
xor edx, dword [ecx]
mov dword [esp + 0x14], edx
movzx eax, bl
mov ebx, dword [esp + 0x3c]
movzx edx, bh
mov eax, dword [eax*4 + 0x100ef938]
xor eax, dword [edx*4 + 0x100efd38]
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 0x36]
mov edx, dword [esp + 0xc]
xor edx, dword [eax*4 + 0x100f0138]
movzx eax, byte [esp + 0x2b]
xor edx, dword [eax*4 + 0x100f0538]
xor edx, dword [ecx + 4]
mov dword [esp + 0xc], edx
movzx eax, bl
mov ebx, dword [esp + 0x20]
movzx edx, bh
mov eax, dword [eax*4 + 0x100ef938]
xor eax, dword [edx*4 + 0x100efd38]
mov dword [esp + 0x3c], eax
movzx eax, byte [esp + 0x2a]
mov edx, dword [esp + 0x3c]
xor edx, dword [eax*4 + 0x100f0138]
movzx eax, byte [esp + 0x2f]
xor edx, dword [eax*4 + 0x100f0538]
xor edx, dword [ecx + 8]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x1c]
movzx edx, dh
movzx eax, bl
mov eax, dword [eax*4 + 0x100ef938]
xor eax, dword [edx*4 + 0x100efd38]
mov dword [esp + 0x10], eax
movzx eax, byte [esp + 0x2e]
mov edx, dword [esp + 0x10]
xor edx, dword [eax*4 + 0x100f0138]
movzx eax, byte [esp + 0x33]
xor edx, dword [eax*4 + 0x100f0538]
xor edx, dword [ecx + 0xc]
mov dword [esp + 0x10], edx
dec ebp
je 0x100ba2b4
push edi
jmp 0x100ba080
mov eax, dword [esp + 0x40]
shr eax, 0x10
movzx eax, al
shr edx, 0x18
mov ebx, dword [esp + 0x18]
mov edx, dword [edx*4 + 0x100f0538]
xor edx, dword [eax*4 + 0x100f0138]
mov eax, dword [esp + 0x10]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + 0x100efd38]
movzx eax, bl
xor edx, dword [eax*4 + 0x100ef938]
xor edx, dword [ecx + 0x10]
mov eax, dword [esp + 0x14]
shr eax, 0x10
mov dword [esp + 0x20], edx
movzx edx, al
mov eax, dword [esp + 0x40]
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x100f0138]
xor edx, dword [eax*4 + 0x100efd38]
mov eax, ebx
mov ebx, dword [esp + 0x10]
shr eax, 0x18
xor edx, dword [eax*4 + 0x100f0538]
movzx eax, bl
xor edx, dword [eax*4 + 0x100ef938]
xor edx, dword [ecx + 0x14]
mov eax, dword [esp + 0x14]
shr eax, 8
movzx eax, al
mov dword [esp + 0x1c], edx
mov edx, ebx
shr edx, 0x18
mov ebx, dword [eax*4 + 0x100efd38]
xor ebx, dword [edx*4 + 0x100f0538]
mov edx, dword [esp + 0x18]
mov eax, edx
shr eax, 0x10
movzx eax, al
shr edx, 8
xor ebx, dword [eax*4 + 0x100f0138]
mov eax, dword [esp + 0x40]
movzx eax, al
xor ebx, dword [eax*4 + 0x100ef938]
xor ebx, dword [ecx + 0x18]
mov eax, dword [esp + 0x10]
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x40]
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x100f0538]
xor ebx, dword [eax*4 + 0x100f0138]
movzx eax, dl
xor ebx, dword [eax*4 + 0x100efd38]
mov eax, dword [esp + 0x14]
movzx eax, al
xor ebx, dword [eax*4 + 0x100ef938]
xor ebx, dword [ecx + 0x1c]
add ecx, 0x20
mov eax, ebx
sar eax, 0x18
movzx edx, al
mov eax, dword [esp + 0x24]
sar eax, 0x10
movzx eax, al
mov edx, dword [edx*4 + 0x100f0538]
xor edx, dword [eax*4 + 0x100f0138]
mov eax, dword [esp + 0x1c]
sar eax, 8
movzx eax, al
xor edx, dword [eax*4 + 0x100efd38]
mov eax, dword [esp + 0x20]
movzx eax, al
xor edx, dword [eax*4 + 0x100ef938]
mov eax, ebx
xor edx, dword [ecx]
mov dword [esp + 0x18], edx
sar eax, 0x10
movzx edx, al
mov eax, dword [esp + 0x24]
sar eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x100f0138]
xor edx, dword [eax*4 + 0x100efd38]
mov eax, dword [esp + 0x20]
sar eax, 0x18
movzx eax, al
xor edx, dword [eax*4 + 0x100f0538]
mov eax, dword [esp + 0x1c]
movzx eax, al
xor edx, dword [eax*4 + 0x100ef938]
mov eax, ebx
xor edx, dword [ecx + 4]
sar eax, 8
mov dword [esp + 0x10], edx
movzx edx, al
mov eax, dword [esp + 0x1c]
sar eax, 0x18
movzx eax, al
mov edx, dword [edx*4 + 0x100efd38]
xor edx, dword [eax*4 + 0x100f0538]
mov eax, dword [esp + 0x20]
sar eax, 0x10
movzx eax, al
xor edx, dword [eax*4 + 0x100f0138]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x40]
movzx eax, dl
sar edx, 0x18
movzx edx, dl
xor esi, dword [eax*4 + 0x100ef938]
mov eax, esi
mov dword [esp + 0x40], esi
xor eax, dword [ecx + 8]
mov edx, dword [edx*4 + 0x100f0538]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
sar eax, 0x10
movzx eax, al
xor edx, dword [eax*4 + 0x100f0138]
mov eax, dword [esp + 0x20]
sar eax, 8
movzx eax, al
xor edx, dword [eax*4 + 0x100efd38]
movzx eax, bl
xor edx, dword [eax*4 + 0x100ef938]
xor edx, dword [ecx + 0xc]
mov dword [esp + 0x14], edx
dec ebp
jne 0x100ba080
mov esi, dword [esp + 0x28]
pop edi
mov eax, edx
mov ebx, dword [esp + 0x14]
shr eax, 0x18
movzx edx, byte [eax + str.cw]
mov eax, dword [esp + 0x3c]
shr eax, 0x10
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
mov eax, dword [esp + 0xc]
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
movzx eax, bl
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
mov eax, ebx
xor edx, dword [ecx + 0x10]
shr eax, 0x18
mov dword [esi], edx
movzx edx, byte [eax + str.cw]
mov eax, dword [esp + 0x10]
shr eax, 0x10
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
mov eax, dword [esp + 0x3c]
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
mov eax, dword [esp + 0xc]
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
mov eax, dword [esp + 0xc]
xor edx, dword [ecx + 0x14]
shr eax, 0x18
mov dword [esi + 4], edx
movzx edx, byte [eax + str.cw]
mov eax, ebx
shr eax, 0x10
movzx eax, al
shl edx, 8
shr ebx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
mov eax, dword [esp + 0x10]
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
mov eax, dword [esp + 0x3c]
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
mov eax, dword [esp + 0x3c]
xor edx, dword [ecx + 0x18]
shr eax, 0x18
mov dword [esi + 8], edx
movzx edx, byte [eax + str.cw]
mov eax, dword [esp + 0xc]
shr eax, 0x10
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
movzx eax, bl
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
shl edx, 8
mov eax, dword [esp + 0x10]
movzx eax, al
movzx eax, byte [eax + str.cw]
or edx, eax
xor edx, dword [ecx + 0x1c]
mov dword [esi + 0xc], edx
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4