Function at 0x4253f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x44e054]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test ecx, ecx
je 0x4257c3
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
lea esi, [edi + 0x158]
mov ebx, 0x10
movups xmmword [esi], xmm0
movups xmmword [edi + 0x168], xmm0
mov dword [edi + 0x178], eax
mov dword [edi + 0x138], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x140], 0
mov dword [edi + 0x144], 0
cmp ecx, 0xc
jne 0x42549e
movq xmm0, qword [edx]
movq qword [esi], xmm0
mov eax, dword [edx + 8]
mov dword [esi + 8], eax
mov byte [edi + 0x167], 1
jmp 0x425552
mov eax, ecx
movlpd qword [ebp - 0x14], xmm0
mov edx, 8
mul edx
bswap eax
bswap edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], edx
nop dword [eax]
cmp ecx, 0x10
cmovb ebx, ecx
test ebx, ebx
je 0x4254e5
mov ecx, esi
mov edx, eax
mov esi, ebx
mov al, byte [edx]
lea edx, [edx + 1]
xor byte [ecx], al
lea ecx, [ecx + 1]
sub esi, 1
jne 0x4254d0
lea esi, [edi + 0x158]
push esi
push esi
push edi
call fcn.00425200
mov ecx, dword [ebp + 0x18]
add esp, 0xc
mov eax, dword [ebp - 0x1c]
sub ecx, ebx
add eax, ebx
mov dword [ebp + 0x18], ecx
mov dword [ebp - 0x1c], eax
mov ebx, 0x10
test ecx, ecx
jne 0x4254c0
lea edx, [ebp - 0x13]
mov ebx, 4
lea ecx, [edi + 0x159]
nop word [eax + eax]
movzx eax, byte [edx - 1]
lea edx, [edx + 4]
xor byte [ecx - 1], al
lea ecx, [ecx + 4]
movzx eax, byte [edx - 4]
xor byte [ecx - 4], al
movzx eax, byte [edx - 3]
xor byte [ecx - 3], al
movzx eax, byte [edx - 2]
xor byte [ecx - 2], al
sub ebx, 1
jne 0x425520
push esi
push esi
push edi
call fcn.00425200
add esp, 0xc
lea ecx, [ebp - 0x20]
push ecx
lea eax, [edi + 0x148]
push eax
push 0x10
push esi
push edi
call fcn.00415f80
add esp, 0x14
test eax, eax
jne 0x4257c8
mov eax, dword [edi + 0x140]
mov ebx, dword [ebp + 0x20]
and eax, 0xf
mov dword [ebp - 0x20], eax
je 0x4255d8
mov esi, 0x10
sub esi, eax
cmp esi, ebx
cmova esi, ebx
add eax, 0x168
push esi
push dword [ebp - 0x18]
add eax, edi
push eax
push eax
call fcn.00415410
mov eax, dword [ebp - 0x20]
add esp, 0x10
add eax, esi
cmp eax, 0x10
jne 0x4255be
lea eax, [edi + 0x168]
push eax
push eax
push edi
call fcn.00425200
add esp, 0xc
mov edx, dword [ebp - 0x18]
sub ebx, esi
add edx, esi
xor eax, eax
add esi, dword [edi + 0x140]
mov dword [ebp - 0x18], edx
adc eax, dword [edi + 0x144]
jmp 0x4255e7
mov esi, dword [edi + 0x140]
mov eax, dword [edi + 0x144]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
xor ecx, ecx
mov eax, ebx
add eax, esi
mov dword [edi + 0x140], eax
adc ecx, dword [ebp - 0x1c]
mov dword [edi + 0x144], ecx
cmp ebx, 0x10
jb 0x425672
mov eax, ebx
lea ecx, [edi + 0x169]
shr eax, 4
mov dword [ebp - 0x1c], eax
add edx, 2
mov eax, ecx
mov esi, 4
nop dword [eax]
movzx ecx, byte [edx - 2]
lea edx, [edx + 4]
xor byte [eax - 1], cl
lea eax, [eax + 4]
movzx ecx, byte [edx - 5]
xor byte [eax - 4], cl
movzx ecx, byte [edx - 4]
xor byte [eax - 3], cl
movzx ecx, byte [edx - 3]
xor byte [eax - 2], cl
sub esi, 1
jne 0x425620
lea esi, [edi + 0x168]
push esi
push esi
push edi
call fcn.00425200
mov edx, dword [ebp - 0x18]
lea ecx, [edi + 0x169]
add edx, 0x10
add esp, 0xc
sub ebx, 0x10
mov dword [ebp - 0x18], edx
sub dword [ebp - 0x1c], 1
jne 0x425612
jmp 0x425678
lea esi, [edi + 0x168]
test ebx, ebx
je 0x425688
push ebx
push edx
push esi
push esi
call fcn.00415410
add esp, 0x10
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 0x10]
push eax
push dword [ebp - 0x24]
push eax
push dword [ebp - 0x28]
push edi
call fcn.00425a50
add esp, 0x18
test eax, eax
jne 0x4257c8
mov ecx, dword [edi + 0x138]
mov edx, ecx
mov eax, dword [edi + 0x13c]
mov ebx, eax
shld ebx, edx, 3
mov dword [ebp - 0x24], ebx
mov ebx, dword [edi + 0x144]
shl edx, 3
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], edx
mov edx, dword [edi + 0x140]
mov ebx, edx
shld dword [ebp - 0x18], ebx, 3
shl ebx, 3
or ecx, eax
jne 0x4256f4
and edx, 0xf
or edx, ecx
je 0x4256f4
push esi
push esi
push edi
call fcn.00425200
add esp, 0xc
mov eax, dword [ebp + 0x2c]
add eax, 0xfffffffc
cmp eax, 0xc
ja 0x4257c3
mov eax, dword [edi + 0x138]
and eax, 0xf
or eax, 0
je 0x42571c
push esi
push esi
push edi
call fcn.00425200
add esp, 0xc
push dword [ebp + 0x2c]
lea eax, [edi + 0x148]
push eax
push dword [ebp - 0x2c]
call fcn.00428a90
mov ecx, dword [ebp - 0x28]
add esp, 0xc
mov edx, dword [ebp - 0x24]
mov eax, ecx
or eax, edx
jne 0x425744
mov eax, ebx
or eax, dword [ebp - 0x18]
je 0x4257b0
mov eax, dword [ebp - 0x18]
bswap ebx
bswap edx
bswap ecx
bswap eax
mov dword [ebp - 0x10], ebx
mov ebx, 4
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0x13]
mov dword [ebp - 8], ecx
lea ecx, [edi + 0x169]
mov dword [ebp - 0x14], eax
nop dword [eax]
movzx eax, byte [edx - 1]
lea edx, [edx + 4]
xor byte [ecx - 1], al
lea ecx, [ecx + 4]
movzx eax, byte [edx - 4]
xor byte [ecx - 4], al
movzx eax, byte [edx - 3]
xor byte [ecx - 3], al
movzx eax, byte [edx - 2]
xor byte [ecx - 2], al
sub ebx, 1
jne 0x425770
push esi
push esi
push edi
call fcn.00425200
push dword [ebp + 0x2c]
mov eax, dword [ebp - 0x2c]
push esi
push eax
push eax
call fcn.00415410
add esp, 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00427ba1
mov esp, ebp
pop ebp
ret
mov eax, 0xffffffec
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427ba1
mov esp, ebp
pop ebp
ret