Function at 0x42ce10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x481340]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x320], ebx
push edi
mov edi, dword [ebp + 0xc]
cmp esi, 0x180
jbe 0x42ce53
pop edi
pop esi
mov eax, 0xffffffc8
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00446e61
mov esp, ebp
pop ebp
ret
push 0x1a0
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.004552e0
lea eax, [ebp - 0x31c]
push eax
call fcn.0042f3b0
mov eax, esi
mov byte [ebp - 0x1ed], 0x30
bswap eax
push esi
mov dword [ebp - 0x1f4], eax
lea eax, [ebp - 0x1ec]
push edi
push eax
call fcn.00454d60
mov byte [ebp + esi - 0x1ec], 0x80
add esp, 0x1c
add esi, 0x19
xor eax, eax
mov dword [ebp - 0x330], esi
mov byte [ebp + eax - 0x64], al
inc eax
cmp eax, 0x20
jl 0x42cea7
push 0x100
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.0042f450
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x42d026
mov dword [ebp - 0x328], eax
nop dword [eax]
lea edi, [ebp - 0x204]
xorps xmm0, xmm0
mov ebx, esi
movups xmmword [ebp - 0x14], xmm0
test esi, esi
je 0x42cfaf
mov esi, edi
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1f5]
sub esi, eax
mov dword [ebp - 0x324], ecx
nop word [eax + eax]
lea edx, [ebp - 0x14]
xor eax, eax
cmp edx, ecx
ja 0x42cf38
lea edx, [ebp - 5]
cmp edx, edi
jb 0x42cf38
lea edx, [ebp - 0x14]
add edx, eax
inc eax
mov cl, byte [esi + edx]
xor byte [edx], cl
cmp eax, 0x10
jb 0x42cf20
mov ecx, dword [ebp - 0x324]
jmp 0x42cf47
movups xmm1, xmmword [ebp - 0x14]
movups xmm0, xmmword [edi]
pxor xmm1, xmm0
movups xmmword [ebp - 0x14], xmm1
add ecx, 0x10
add edi, 0x10
mov dword [ebp - 0x324], ecx
add esi, 0x10
cmp ebx, 0x10
mov dword [ebp - 0x32c], edi
mov eax, ebx
mov ecx, 0x10
cmovae eax, ecx
sub ebx, eax
lea eax, [ebp - 0x14]
push eax
push eax
lea eax, [ebp - 0x31c]
push 1
push eax
call fcn.00430720
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x42d020
mov edi, dword [ebp - 0x32c]
mov ecx, dword [ebp - 0x324]
test ebx, ebx
jne 0x42cf10
movups xmm0, xmmword [ebp - 0x14]
mov eax, dword [ebp - 0x328]
mov esi, dword [ebp - 0x330]
inc byte [ebp - 0x201]
movups xmmword [ebp + eax - 0x44], xmm0
add eax, 0x10
mov dword [ebp - 0x328], eax
cmp eax, 0x30
jl 0x42cee0
push 0x100
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.0042f450
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x42d020
mov esi, dword [ebp - 0x320]
xor ebx, ebx
lea eax, [ebp - 0x24]
push eax
push eax
lea eax, [ebp - 0x31c]
push 1
push eax
call fcn.00430720
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x42d020
movups xmm0, xmmword [ebp - 0x24]
add ebx, 0x10
movups xmmword [esi], xmm0
add esi, 0x10
cmp ebx, 0x30
jl 0x42cff2
mov ebx, dword [ebp - 0x320]
lea eax, [ebp - 0x31c]
push eax
call fcn.0042f3d0
lea eax, [ebp - 0x204]
push 0x1a0
push eax
call fcn.0042f390
lea eax, [ebp - 0x44]
push 0x30
push eax
call fcn.0042f390
lea eax, [ebp - 0x64]
push 0x20
push eax
call fcn.0042f390
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.0042f390
add esp, 0x24
test edi, edi
je 0x42d076
push 0x30
push ebx
call fcn.0042f390
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00446e61
mov esp, ebp
pop ebp
ret