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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f8a01
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x190
mov eax, dword [0x672494]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x17c], edx
mov edi, ecx
mov eax, dword [edi + 4]
sub eax, dword [edi]
mov dword [ebp - 0x174], eax
lea esi, [eax + 1]
push esi
call fcn.004c1877
push esi
push 0
push eax
mov dword [ebp - 0x178], eax
call fcn.0056c1d0
mov esi, dword [ebp - 0x174]
push esi
push dword [edi]
mov edi, dword [ebp - 0x178]
push edi
call fcn.0056bc50
xorps xmm0, xmm0
mov dword [ebp - 0x158], 0
movups xmmword [ebp - 0x170], xmm0
push 0x1e0
movq qword [ebp - 0x160], xmm0
mov dword [ebp - 0x170], 0x20
mov dword [ebp - 0x16c], 8
mov dword [ebp - 0x168], 0xe
mov dword [ebp - 0x15c], 0x78
call fcn.004c1877
mov ecx, eax
mov dword [ebp - 0x164], 1
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x160], 0
mov dword [ebp - 4], 0
movups xmm0, xmmword [str.vz.Jg__Y.92_p86qz2k1X_7u42xCmcQ_GD]
mov eax, dword [0x6473c4]
mov dword [ebp - 0x180], eax
lea eax, [ebp - 0x1a0]
movups xmmword [ebp - 0x1a0], xmm0
push 0x20
movups xmm0, xmmword [0x6473b4]
push eax
push ecx
movups xmmword [ebp - 0x190], xmm0
movups xmm0, xmmword [str.___o4_r__x_jYkP8_5cSTzxxY2i]
movups xmmword [ebp - 0x38], xmm0
movups xmm0, xmmword [0x6473d8]
movups xmmword [ebp - 0x28], xmm0
call fcn.0056bc50
mov eax, dword [ebp - 0x158]
add esp, 0x2c
mov edx, 8
add eax, 0x22
nop
mov ecx, dword [eax - 6]
mov dword [ebp - 0x144], ecx
mov dword [eax - 2], ecx
mov ecx, edx
and ecx, 0x80000007
jns 0x411f8d
dec ecx
or ecx, 0xfffffff8
add ecx, 1
jne 0x411fe8
mov ecx, dword [ebp - 0x144]
ror ecx, 8
mov dword [eax - 2], ecx
movzx ecx, cl
movzx ecx, byte [ecx + 0x646958]
mov byte [eax - 2], cl
movzx ecx, byte [eax - 1]
movzx ecx, byte [ecx + 0x646958]
mov byte [eax - 1], cl
movzx ecx, byte [eax]
movzx ecx, byte [ecx + 0x646958]
mov byte [eax], cl
movzx ecx, byte [eax + 1]
movzx ecx, byte [ecx + 0x646958]
mov byte [eax + 1], cl
mov ecx, edx
test ecx, ecx
jns 0x411fd9
add ecx, 7
sar ecx, 3
mov ecx, dword [ecx*4 + 0x64621c]
xor dword [eax - 2], ecx
jmp 0x412036
mov ecx, edx
and ecx, 0x80000003
jns 0x411ff9
dec ecx
or ecx, 0xfffffffc
add ecx, 1
jne 0x41203f
mov ecx, dword [ebp - 0x144]
movzx ecx, cl
movzx ecx, byte [ecx + 0x646958]
mov byte [eax - 2], cl
movzx ecx, byte [eax - 1]
movzx ecx, byte [ecx + 0x646958]
mov byte [eax - 1], cl
movzx ecx, byte [eax]
movzx ecx, byte [ecx + 0x646958]
mov byte [eax], cl
movzx ecx, byte [eax + 1]
movzx ecx, byte [ecx + 0x646958]
mov byte [eax + 1], cl
mov ecx, dword [eax - 2]
mov dword [ebp - 0x144], ecx
mov ecx, dword [eax - 0x22]
inc edx
xor ecx, dword [ebp - 0x144]
mov dword [eax - 2], ecx
add eax, 4
cmp edx, 0x78
jl 0x411f70
test esi, esi
jle 0x4120b6
lea eax, [esi - 1]
add edi, 8
shr eax, 4
inc eax
mov dword [ebp - 0x144], eax
nop dword [eax]
movups xmm1, xmmword [edi - 8]
lea esi, [edi - 8]
push esi
lea ecx, [ebp - 0x170]
call fcn.0040ac20
mov eax, dword [ebp - 0x38]
lea edi, [edi + 0x10]
xor dword [esi], eax
mov eax, dword [ebp - 0x34]
xor dword [edi - 0x14], eax
mov eax, dword [ebp - 0x30]
xor dword [edi - 0x10], eax
mov eax, dword [ebp - 0x2c]
xor dword [edi - 0xc], eax
sub dword [ebp - 0x144], 1
movups xmmword [ebp - 0x38], xmm1
jne 0x412070
mov esi, dword [ebp - 0x174]
mov edi, dword [ebp - 0x178]
movzx eax, byte [edi + esi - 1]
xorps xmm0, xmm0
sub esi, eax
movlpd qword [ebp - 0x148], xmm0
mov dword [ebp - 0x174], esi
mov dword [ebp - method.CCompress.virtual_0], vtable.CCompress.0
mov dword [ebp - 0x144], 0
push 0x38
mov byte [ebp - 4], 1
call fcn.004c183f
add esp, 4
mov esi, eax
mov dword [ebp - 0x144], esi
push 0x38
mov dword [esi + 0x20], 0
push str.1.2.11
mov dword [esi + 0x24], 0
push esi
mov dword [esi + 0x28], 0
call fcn.00567e50
test eax, eax
je 0x412132
push 0x38
push esi
call fcn.004d0c91
add esp, 8
xor esi, esi
xor edi, edi
jmp 0x412263
push dword [ebp - 0x17c]
mov eax, dword [ebp - 0x174]
lea ecx, [ebp - 0x154]
add eax, edi
mov dword [ebp - 0x14c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14c], 0
push eax
movq qword [ebp - 0x154], xmm0
push edi
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
call fcn.004122c0
push 0x101
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.0056c1d0
mov eax, dword [ebp - 0x150]
add esp, 0xc
mov ecx, dword [ebp - 0x154]
sub eax, ecx
je 0x412209
mov dword [esi + 4], eax
mov dword [esi], ecx
nop
push 0
lea eax, [ebp - 0x140]
mov dword [esi + 0x10], 0x100
push esi
mov dword [esi + 0xc], eax
call fcn.00566540
mov edi, eax
cmp edi, 0xfffffffc
jl 0x4121d9
cmp edi, 0xfffffffd
jle 0x412245
cmp edi, 2
je 0x412240
push dword [ebp - 0x17c]
lea eax, [ebp - 0x40]
sub eax, dword [esi + 0x10]
push eax
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp - 0x17c]
mov ecx, eax
push dword [eax + 4]
call fcn.0040faf0
cmp dword [esi + 0x10], 0
je 0x4121b0
mov ecx, dword [ebp - 0x154]
xor edi, edi
xor eax, eax
test edi, edi
sete al
mov dword [ebp - 0x174], eax
test ecx, ecx
je 0x41225d
mov edx, dword [ebp - 0x14c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x412253
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4122af
jmp 0x412253
mov edi, 0xfffffffd
push esi
call fcn.00567d20
mov ecx, dword [ebp - 0x154]
jmp 0x41220b
push edx
push ecx
call fcn.004d0c91
add esp, 8
mov edi, dword [ebp - 0x174]
mov eax, dword [ebp - 0x178]
push eax
call fcn.0042a390
add esp, 4
test esi, esi
je 0x412281
push 0x38
push esi
call fcn.004d0c91
add esp, 8
push dword [ebp - 0x158]
call fcn.0042a390
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d0a85
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0056efe9
int3