Function at 0x41a1cf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x360
mov eax, dword [0x4b2070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
push 0x10
pop eax
mov ecx, eax
mov dword [ebp - 0x334], eax
mov eax, 0x79cc4519
mov dword [ebp - 0x344], ebx
lea edi, [ebp - 0x214]
rep stosd dword es:[edi], eax
push 0x30
mov eax, 0x7a879d8a
lea edi, [ebp - 0x1d4]
pop ecx
rep stosd dword es:[edi], eax
movzx ecx, byte [edx]
shl ecx, 8
movzx eax, byte [edx + 1]
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 5]
mov dword [ebp - 0x114], ecx
movzx ecx, byte [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 9]
mov dword [ebp - 0x110], ecx
movzx ecx, byte [edx + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xd]
mov dword [ebp - 0x10c], ecx
movzx ecx, byte [edx + 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xf]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x11]
mov dword [ebp - 0x108], ecx
movzx ecx, byte [edx + 0x10]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x13]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x15]
mov dword [ebp - 0x104], ecx
movzx ecx, byte [edx + 0x14]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x17]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x19]
mov dword [ebp - 0x100], ecx
movzx ecx, byte [edx + 0x18]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1a]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1b]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1d]
mov dword [ebp - 0xfc], ecx
movzx ecx, byte [edx + 0x1c]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1e]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1f]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x21]
mov dword [ebp - 0xf8], ecx
movzx ecx, byte [edx + 0x20]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x22]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x23]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x25]
mov dword [ebp - 0xf4], ecx
movzx ecx, byte [edx + 0x24]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x26]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x27]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x29]
mov dword [ebp - 0xf0], ecx
movzx ecx, byte [edx + 0x28]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x2a]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x2b]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x2d]
mov dword [ebp - 0xec], ecx
movzx ecx, byte [edx + 0x2c]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x2e]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x2f]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x31]
mov dword [ebp - 0xe8], ecx
movzx ecx, byte [edx + 0x30]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x32]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x33]
shl ecx, 8
or ecx, eax
mov dword [ebp - 0xe4], ecx
movzx ecx, byte [edx + 0x34]
shl ecx, 8
movzx eax, byte [edx + 0x35]
lea esi, [ebp - 0x114]
or ecx, eax
movzx eax, byte [edx + 0x36]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x37]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x39]
mov dword [ebp - 0xe0], ecx
movzx ecx, byte [edx + 0x38]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x3a]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x3b]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x3d]
mov dword [ebp - 0xdc], ecx
movzx ecx, byte [edx + 0x3c]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x3e]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x3f]
shl ecx, 8
or ecx, eax
push 0x34
mov dword [ebp - 0xd8], ecx
pop edi
mov edx, dword [esi + 0x34]
mov ecx, dword [esi + 0xc]
rol edx, 0xf
xor edx, dword [esi + 0x1c]
xor edx, dword [esi]
lea esi, [esi + 4]
rol ecx, 7
mov eax, edx
rol eax, 0xf
xor ecx, eax
mov eax, edx
ror eax, 9
xor ecx, eax
xor ecx, dword [esi + 0x24]
xor ecx, edx
mov dword [esi + 0x3c], ecx
sub edi, 1
jne 0x41a46d
xor ecx, ecx
mov dword [ebp - 0x338], ecx
mov eax, ecx
movups xmm1, xmmword [ebp + eax - 0x104]
movups xmm0, xmmword [ebp + eax - 0x114]
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x314], xmm1
add eax, 0x10
cmp eax, 0x100
jl 0x41a4a6
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 8]
mov edi, dword [ebx + 0x18]
mov dword [ebp - 0x350], edx
mov dword [ebp - 0x32c], edx
mov edx, dword [ebx + 0x1c]
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x320], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x358], edx
mov dword [ebp - 0x31c], edx
mov edx, dword [ebx + 0x20]
mov dword [ebp - 0x348], eax
mov dword [ebp - 0x318], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x35c], edx
mov dword [ebp - 0x328], edx
mov edx, dword [ebx + 0x24]
mov dword [ebp - 0x34c], eax
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x354], edi
mov dword [ebp - 0x360], edx
mov dword [ebp - 0x330], edx
xor eax, dword [ebp - 0x318]
xor eax, dword [ebp - 0x320]
add eax, dword [ebp + ecx*4 - 0x314]
mov edx, dword [ebp + ecx*4 - 0x214]
add eax, dword [ebp - 0x32c]
mov esi, dword [ebp - 0x320]
rol edx, cl
mov ecx, dword [ebp - 0x328]
xor ecx, dword [ebp - 0x31c]
rol esi, 0xc
xor ecx, edi
add edx, esi
add edx, edi
rol edx, 7
xor esi, edx
add esi, eax
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x33c], esi
add ecx, dword [ebp + eax*4 - 0x114]
mov eax, dword [ebp - 0x324]
add ecx, edx
add ecx, dword [ebp - 0x330]
mov dword [ebp - 0x32c], eax
mov eax, dword [ebp - 0x318]
rol eax, 9
mov dword [ebp - 0x324], eax
mov eax, dword [ebp - 0x320]
mov dword [ebp - 0x318], eax
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0x31c]
ror eax, 0xd
mov dword [ebp - 0x31c], edi
mov edi, ecx
mov dword [ebp - 0x328], eax
mov eax, ecx
ror edi, 0xf
rol eax, 9
xor edi, eax
mov dword [ebp - 0x320], esi
mov eax, dword [ebp - 0x324]
xor edi, ecx
mov ecx, dword [ebp - 0x338]
inc ecx
mov dword [ebp - 0x338], ecx
cmp ecx, 0x10
jl 0x41a53e
push 0x10
mov ebx, eax
pop eax
mov ecx, eax
mov edx, esi
mov esi, dword [ebp + eax*4 - 0x214]
rol esi, cl
mov ecx, dword [ebp - 0x33c]
mov eax, ecx
or eax, dword [ebp - 0x318]
and ecx, dword [ebp - 0x318]
and eax, ebx
or eax, ecx
rol edx, 0xc
mov ecx, dword [ebp - 0x334]
add esi, edx
add esi, edi
rol esi, 7
xor edx, esi
add eax, dword [ebp + ecx*4 - 0x314]
mov ecx, edi
add eax, dword [ebp - 0x32c]
not ecx
add edx, eax
mov dword [ebp - 0x32c], ebx
mov eax, dword [ebp - 0x31c]
mov ebx, dword [ebp - 0x318]
and eax, edi
mov dword [ebp - 0x33c], edx
mov edx, dword [ebp - 0x328]
and ecx, edx
or ecx, eax
rol ebx, 9
mov eax, dword [ebp - 0x334]
add ecx, dword [ebp + eax*4 - 0x114]
mov eax, dword [ebp - 0x320]
add ecx, esi
add ecx, dword [ebp - 0x330]
mov esi, dword [ebp - 0x33c]
mov dword [ebp - 0x318], eax
mov eax, ecx
mov dword [ebp - 0x330], edx
mov edx, dword [ebp - 0x31c]
mov dword [ebp - 0x31c], edi
mov edi, ecx
ror edi, 0xf
rol eax, 9
xor edi, eax
ror edx, 0xd
mov eax, dword [ebp - 0x334]
xor edi, ecx
inc eax
mov dword [ebp - 0x320], esi
mov dword [ebp - 0x328], edx
mov dword [ebp - 0x334], eax
cmp eax, 0x40
jl 0x41a61a
mov eax, dword [ebp - 0x340]
xor eax, esi
mov dword [ebp - 0x324], ebx
mov ebx, dword [ebp - 0x344]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x348]
xor eax, dword [ebp - 0x318]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x34c]
xor eax, dword [ebp - 0x324]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x350]
xor eax, dword [ebp - 0x32c]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x354]
xor eax, edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x358]
xor eax, dword [ebp - 0x31c]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x35c]
xor eax, edx
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x360]
xor eax, dword [ebp - 0x330]
pop edi
pop esi
mov dword [ebx + 0x24], eax
pop ebx
call fcn.0045e16b
leave
ret