Function at 0x4111d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x348
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x344], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 8], eax
push esi
mov esi, edx
push edi
cmp eax, 0x180
jbe 0x411219
mov eax, 0xffffffc8
pop edi
pop esi
mov ecx, dword [esp + 0x344]
xor ecx, esp
call fcn.00444a17
mov esp, ebp
pop ebp
ret
push 0x1a0
lea eax, [esp + 0x1ac]
push 0
push eax
call fcn.004459f0
push 0x118
lea eax, [esp + 0x38]
push 0
push eax
call fcn.004459f0
mov ecx, dword [esp + 0x28]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x1d0], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x1d1], al
mov eax, ecx
shr eax, 8
push ecx
mov byte [esp + 0x1d6], al
lea eax, [esp + 0x1dc]
push esi
push eax
mov byte [esp + 0x1df], cl
mov byte [esp + 0x1e3], 0x30
call fcn.00446970
mov eax, dword [esp + 0x34]
add esp, 0x24
movaps xmm1, xmmword [0x471a20]
xor esi, esi
movaps xmm2, xmmword [0x471a30]
lea edi, [eax + 0x19]
mov byte [esp + eax + 0x1c0], 0x80
mov dword [esp + 0x14], edi
lea ecx, [esi + 0xc]
lea edx, [esi + 4]
movd xmm0, esi
lea eax, [ecx - 4]
pshufd xmm0, xmm0, 0
add esi, 0x10
paddd xmm0, xmm1
andps xmm0, xmm2
packuswb xmm0, xmm0
packuswb xmm0, xmm0
movd dword [esp + edx + 0x154], xmm0
movd xmm0, edx
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
andps xmm0, xmm2
packuswb xmm0, xmm0
packuswb xmm0, xmm0
movd dword [esp + edx + 0x158], xmm0
add edx, 0x10
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
andps xmm0, xmm2
packuswb xmm0, xmm0
packuswb xmm0, xmm0
movd dword [esp + ecx + 0x154], xmm0
movd xmm0, ecx
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
andps xmm0, xmm2
packuswb xmm0, xmm0
packuswb xmm0, xmm0
movd dword [esp + ecx + 0x158], xmm0
add ecx, 0x10
cmp edx, 0x24
jl 0x4112b0
push 0x100
lea edx, [esp + 0x15c]
lea ecx, [esp + 0x2c]
call fcn.0042eb00
mov esi, eax
add esp, 4
test esi, esi
jne 0x4114f0
mov dword [esp + 0x1c], eax
nop
cmp dword [esp + 0x14], 0
lea ecx, [esp + 0x1a8]
xorps xmm0, xmm0
mov dword [esp + 0x18], ecx
movaps xmmword [esp + 0x140], xmm0
jbe 0x41145e
mov esi, ecx
lea eax, [esp + 0x140]
lea edx, [esp + 0x1b7]
sub esi, eax
mov dword [esp + 0x10], edx
nop word [eax + eax]
lea ecx, [esp + 0x140]
xor eax, eax
cmp ecx, edx
mov ecx, dword [esp + 0x18]
ja 0x4113ee
lea edx, [esp + 0x14f]
cmp edx, ecx
mov edx, dword [esp + 0x10]
jb 0x4113ee
lea edx, [esp + 0x140]
add edx, eax
inc eax
mov cl, byte [esi + edx]
xor byte [edx], cl
cmp eax, 0x10
jl 0x4113d0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
jmp 0x411404
movups xmm0, xmmword [ecx]
movaps xmm1, xmmword [esp + 0x140]
xorps xmm1, xmm0
movaps xmmword [esp + 0x140], xmm1
add ecx, 0x10
add edx, 0x10
mov dword [esp + 0x18], ecx
add esi, 0x10
cmp edi, 0x10
mov dword [esp + 0x10], edx
mov eax, edi
mov ecx, 0x10
cmovae eax, ecx
lea ecx, [esp + 0x28]
sub edi, eax
lea eax, [esp + 0x140]
push eax
mov edx, eax
call fcn.0042fcd0
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
jne 0x4114ec
mov edx, dword [esp + 0x10]
test edi, edi
jne 0x4113b0
movaps xmm0, xmmword [esp + 0x140]
mov eax, dword [esp + 0x1c]
inc byte [esp + 0x1ab]
mov edi, dword [esp + 0x14]
movups xmmword [esp + eax + 0x178], xmm0
add eax, 0x10
mov dword [esp + 0x1c], eax
cmp eax, 0x30
jl 0x411370
push 0x100
lea edx, [esp + 0x17c]
lea ecx, [esp + 0x2c]
call fcn.0042eb00
mov esi, eax
add esp, 4
test esi, esi
jne 0x4114f0
mov edi, dword [esp + 0x20]
mov dword [esp + 0x14], eax
nop word [eax + eax]
lea eax, [esp + 0x198]
push eax
mov edx, eax
lea ecx, [esp + 0x2c]
call fcn.0042fcd0
mov esi, eax
add esp, 4
test esi, esi
jne 0x4114f0
movups xmm0, xmmword [esp + 0x198]
mov eax, dword [esp + 0x14]
add eax, 0x10
movups xmmword [edi], xmm0
add edi, 0x10
mov dword [esp + 0x14], eax
cmp eax, 0x30
jl 0x4114b0
jmp 0x4114f0
mov esi, dword [esp + 0x24]
push 0x118
lea eax, [esp + 0x2c]
push 0
push eax
mov eax, dword [fcn.004459f0]
call eax
push 0x1a0
lea eax, [esp + 0x1b8]
push 0
push eax
mov eax, dword [fcn.004459f0]
call eax
push 0x30
lea eax, [esp + 0x194]
push 0
push eax
mov eax, dword [fcn.004459f0]
call eax
push 0x20
lea eax, [esp + 0x180]
push 0
push eax
mov eax, dword [fcn.004459f0]
call eax
push 0x10
lea eax, [esp + 0x174]
push 0
push eax
mov eax, dword [fcn.004459f0]
call eax
add esp, 0x3c
test esi, esi
je 0x41156b
mov eax, dword [fcn.004459f0]
push 0x30
push 0
push dword [esp + 0x28]
call eax
add esp, 0xc
mov ecx, dword [esp + 0x34c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.00444a17
mov esp, ebp
pop ebp
ret