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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x4c]
push ecx
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
sub eax, 0x80
je 0x4bc1c4
sub eax, 0x40
je 0x4bc1cd
sub eax, 0x40
je 0x4bc1d6
jmp 0x4bc1df
mov dword [ebp - 0x10], 4
jmp 0x4bc1eb
mov dword [ebp - 0x10], 6
jmp 0x4bc1eb
mov dword [ebp - 0x10], 8
jmp 0x4bc1eb
mov dword [ebp - 0xc], 0xffffffff
jmp 0x4bc502
mov eax, dword [ebp - 8]
sub eax, 0x80
je 0x4bc201
sub eax, 0x40
je 0x4bc20a
sub eax, 0x40
je 0x4bc213
jmp 0x4bc21c
mov dword [ebp - 0x14], 4
jmp 0x4bc228
mov dword [ebp - 0x14], 6
jmp 0x4bc228
mov dword [ebp - 0x14], 8
jmp 0x4bc228
mov dword [ebp - 0xc], 0xfffffffe
jmp 0x4bc502
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
setge al
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004bbd58
sub eax, 0x80
je 0x4bc24f
sub eax, 0x40
je 0x4bc258
sub eax, 0x40
je 0x4bc261
jmp 0x4bc26a
mov dword [ebp - 0x18], 0xa
jmp 0x4bc276
mov dword [ebp - 0x18], 0xc
jmp 0x4bc276
mov dword [ebp - 0x18], 0xe
jmp 0x4bc276
mov dword [ebp - 0xc], 0xfffffffd
jmp 0x4bc502
mov eax, dword [ebp - 0x10]
dec eax
test eax, eax
jl 0x4bc2b9
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
lea eax, [ebp + eax*8 - 0x4c]
mov edx, dword [ebp - 0x20]
mov al, byte [eax + edx]
mov edx, dword [ebp - 0x1c]
lea edx, [ebp + edx*8 - 0x6c]
mov ecx, dword [ebp - 0x20]
mov byte [edx + ecx], al
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jne 0x4bc28e
inc dword [ebp - 0x20]
dec dword [ebp - 0x2c]
jne 0x4bc289
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x4bc308
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
cdq
idiv dword [ebp - 0x14]
shl eax, 2
mov edx, dword [ebp + 8]
lea eax, [edx + eax*8]
mov edx, dword [ebp - 0x1c]
lea eax, [eax + edx*8]
push eax
mov eax, dword [ebp - 0x24]
cdq
idiv dword [ebp - 0x14]
pop eax
mov ecx, dword [ebp - 0x1c]
lea ecx, [ebp + ecx*8 - 0x6c]
mov ebx, dword [ebp - 0x20]
mov cl, byte [ecx + ebx]
mov byte [eax + edx], cl
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jne 0x4bc2ca
inc dword [ebp - 0x20]
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x10]
jge 0x4bc4ed
mov eax, dword [ebp - 0x18]
inc eax
imul dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
jg 0x4bc2c5
jmp 0x4bc4ed
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
inc eax
and eax, 0x80000003
jns 0x4bc33a
dec eax
or eax, 0xfffffffc
inc eax
lea eax, [ebp + eax*8 - 0x6c]
mov edx, dword [ebp - 0x10]
movzx eax, byte [eax + edx - 1]
mov al, byte [eax + str.cw]
mov edx, dword [ebp - 0x1c]
xor byte [ebp + edx*8 - 0x6c], al
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jne 0x4bc32a
mov eax, dword [ebp - 0x28]
mov al, byte [eax*4 + 0x546394]
xor byte [ebp - 0x6c], al
inc dword [ebp - 0x28]
cmp dword [ebp - 0x10], 8
je 0x4bc3be
mov eax, dword [ebp - 0x10]
dec eax
test eax, eax
jle 0x4bc48f
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 1
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
lea eax, [ebp + eax*8 - 0x6c]
mov edx, dword [ebp - 0x20]
mov al, byte [eax + edx - 1]
mov edx, dword [ebp - 0x1c]
lea edx, [ebp + edx*8 - 0x6c]
mov ecx, dword [ebp - 0x20]
xor byte [edx + ecx], al
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jne 0x4bc38d
inc dword [ebp - 0x20]
dec dword [ebp - 0x2c]
jne 0x4bc388
jmp 0x4bc48f
mov dword [ebp - 0x20], 1
jmp 0x4bc3f3
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
lea eax, [ebp + eax*8 - 0x6c]
mov edx, dword [ebp - 0x20]
mov al, byte [eax + edx - 1]
mov edx, dword [ebp - 0x1c]
lea edx, [ebp + edx*8 - 0x6c]
mov ecx, dword [ebp - 0x20]
xor byte [edx + ecx], al
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jne 0x4bc3cc
inc dword [ebp - 0x20]
fild dword [ebp - 0x20]
fild dword [ebp - 0x10]
fdiv dword [0x4bc510]
fcompp
wait
fnstsw ax
sahf
ja 0x4bc3c7
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
sar eax, 1
jns 0x4bc416
adc eax, 0
mov edx, dword [ebp - 0x1c]
lea edx, [ebp + edx*8 - 0x6c]
movzx eax, byte [edx + eax - 1]
mov al, byte [eax + str.cw]
mov edx, dword [ebp - 0x10]
sar edx, 1
jns 0x4bc432
adc edx, 0
mov ecx, dword [ebp - 0x1c]
lea ecx, [ebp + ecx*8 - 0x6c]
xor byte [ecx + edx], al
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jne 0x4bc40c
mov eax, dword [ebp - 0x10]
sar eax, 1
jns 0x4bc44f
adc eax, 0
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x10]
jge 0x4bc48f
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
lea eax, [ebp + eax*8 - 0x6c]
mov edx, dword [ebp - 0x20]
mov al, byte [eax + edx - 1]
mov edx, dword [ebp - 0x1c]
lea edx, [ebp + edx*8 - 0x6c]
mov ecx, dword [ebp - 0x20]
xor byte [edx + ecx], al
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jne 0x4bc460
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x10]
jl 0x4bc45b
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x4bc4d9
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
cdq
idiv dword [ebp - 0x14]
shl eax, 2
mov edx, dword [ebp + 8]
lea eax, [edx + eax*8]
mov edx, dword [ebp - 0x1c]
lea eax, [eax + edx*8]
push eax
mov eax, dword [ebp - 0x24]
cdq
idiv dword [ebp - 0x14]
pop eax
mov ecx, dword [ebp - 0x1c]
lea ecx, [ebp + ecx*8 - 0x6c]
mov ebx, dword [ebp - 0x20]
mov cl, byte [ecx + ebx]
mov byte [eax + edx], cl
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jne 0x4bc49b
inc dword [ebp - 0x20]
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x10]
jge 0x4bc4ed
mov eax, dword [ebp - 0x18]
inc eax
imul dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
jg 0x4bc496
mov eax, dword [ebp - 0x18]
inc eax
imul dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
jg 0x4bc325
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4