Function at 0x424bf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
mov dword [ebp - 0xc], 0
mov edx, ecx
mov dword [ebp - 8], esi
push edi
mov ecx, ebx
mov dword [ebp - 4], edx
mov edi, dword [edx + 0x140]
add ecx, edi
mov eax, dword [edx + 0x144]
adc dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], eax
jb 0x424e6d
ja 0x424c36
cmp ecx, edi
jb 0x424e6d
cmp dword [ebp - 0xc], 0x20000000
ja 0x424e6d
jb 0x424c4d
test ecx, ecx
jae 0x424e6d
mov eax, edi
and eax, 0xf
mov dword [ebp - 0x18], eax
je 0x424cbf
mov edi, 0x10
lea ecx, [edx + 0x168]
sub edi, eax
cmp edi, ebx
cmova edi, ebx
add ecx, eax
push edi
push esi
mov edx, ecx
call fcn.00413b30
mov eax, dword [ebp - 0x18]
add esp, 8
mov edx, dword [ebp - 4]
add eax, edi
cmp eax, 0x10
jne 0x424ca4
cmp byte [edx + 0x179], 0
jne 0x424ca4
lea eax, [edx + 0x38]
lea ecx, [edx + 0x168]
push eax
mov edx, ecx
call fcn.00424720
mov edx, dword [ebp - 4]
add esp, 4
sub ebx, edi
add esi, edi
xor eax, eax
mov dword [ebp + 8], ebx
add edi, dword [edx + 0x140]
mov dword [ebp - 8], esi
adc eax, dword [edx + 0x144]
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov eax, ebx
add eax, edi
mov dword [edx + 0x140], eax
adc ecx, dword [ebp - 0x10]
mov dword [edx + 0x144], ecx
cmp ebx, 0x10
jb 0x424e4e
mov eax, dword [ebp + 8]
lea ebx, [edx + 0x168]
shr eax, 4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
nop
mov edi, ebx
mov eax, 4
sub edi, esi
sub ebx, esi
xor edx, edx
mov ecx, esi
sub eax, esi
mov dword [ebp - 0x10], eax
mov esi, eax
mov eax, dword [edi + ecx]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
add edx, 4
mov dword [ebx + ecx - 4], eax
lea eax, [esi + ecx]
cmp eax, 0x10
jbe 0x424d06
mov esi, dword [ebp - 8]
mov ecx, 0x10
sub ecx, edx
cmp edx, 0x10
jae 0x424e15
cmp ecx, 0x40
jb 0x424df4
mov eax, dword [ebp - 4]
add eax, 0x168
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
add eax, 0x177
mov dword [ebp - 0xc], eax
lea eax, [edx + esi]
mov dword [ebp - 0x1c], eax
lea eax, [esi + 0xf]
cmp dword [ebp - 0x10], eax
ja 0x424d6c
lea eax, [edx + esi]
cmp dword [ebp - 0xc], eax
jae 0x424df4
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jbe 0x424df4
and ecx, 0x3f
mov esi, 0x10
sub esi, ecx
lea ecx, [eax + 0x20]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], esi
add eax, 0x10
mov esi, dword [ebp - 4]
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x40]
movups xmm1, xmmword [edx + esi + 0x168]
lea ecx, [ecx + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x40]
movups xmmword [ecx - 0x60], xmm1
movups xmm1, xmmword [eax + edi - 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx - 0x40]
movups xmmword [eax + ebx - 0x40], xmm1
movups xmm1, xmmword [eax - 0x30]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x20]
movups xmmword [ecx - 0x40], xmm1
movups xmm1, xmmword [edx + esi + 0x198]
add edx, 0x40
pxor xmm1, xmm0
movups xmmword [ecx - 0x30], xmm1
cmp edx, dword [ebp - 0x10]
jb 0x424d91
mov esi, dword [ebp - 8]
mov dword [ebp - 0x1c], edx
cmp edx, 0x10
jae 0x424e15
lea eax, [edx + esi]
mov esi, 0x10
sub esi, edx
nop
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [ebx + eax - 1], cl
sub esi, 1
jne 0x424e00
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x14]
cmp byte [edx + 0x179], 0
jne 0x424e37
lea eax, [edx + 0x38]
mov ecx, ebx
push eax
mov edx, ebx
call fcn.00424720
mov edx, dword [ebp - 4]
add esp, 4
sub dword [ebp + 8], 0x10
add esi, 0x10
sub dword [ebp - 0x18], 1
mov dword [ebp - 8], esi
jne 0x424cf0
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x424e64
lea ecx, [edx + 0x168]
push ebx
push esi
mov edx, ecx
call fcn.00413b30
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffffec
pop ebx
mov esp, ebp
pop ebp
ret