Function at 0x4c25e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5ecd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x4fb614]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x64], edi
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [edi]
mov dword [ebp - 0x68], esi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x4c2962
mov ecx, dword [esi + 4]
mov eax, dword [esi]
test ecx, ecx
jl 0x4c2962
jg 0x4c2655
test eax, eax
jb 0x4c2962
mov edx, dword [edi + 0x20]
sub edx, dword [edi + 0x28]
mov esi, dword [edi + 0x24]
sbb esi, dword [edi + 0x2c]
cmp ecx, esi
jl 0x4c2695
jg 0x4c266b
cmp eax, edx
jbe 0x4c2695
mov byte [edi + 0x38], 1
test esi, esi
jg 0x4c2689
jl 0x4c2679
test edx, edx
jae 0x4c2689
xorps xmm0, xmm0
movlpd qword [ebp - 0x70], xmm0
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x70]
jmp 0x4c268d
mov eax, edx
mov ecx, esi
mov edx, dword [ebp - 0x68]
mov dword [edx], eax
mov dword [edx + 4], ecx
test ecx, ecx
jl 0x4c2930
jg 0x4c26aa
cmp eax, 0x3e800000
jbe 0x4c2930
mov dword [ebp - 0x44], 0
push 0x30
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
call fcn.004aa4a0
mov edx, eax
mov dword [ebp - 0x30], 0x2f
mov dword [ebp - 0x34], 0x28
lea eax, [ebp - 0x44]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
movq qword [edx + 0x20], xmm0
mov byte [edx + 0x28], 0
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x44], edx
jb 0x4c2705
movsx ecx, byte [edx]
jmp 0x4c270b
movsx ecx, byte [eax]
lea edx, [ebp - 0x44]
mov eax, 0x4f59f0
add ecx, 0xaa2cd4
sub eax, edx
mov esi, 0x28
mov dword [ebp - 0x60], eax
mov edi, eax
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xe0f5
shr eax, 7
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
add ecx, 0x8a49a5d
sub esi, 1
jne 0x4c2722
mov dword [ebp - 4], 1
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
cmovae eax, dword [ebp - 0x44]
mov dword [ebp - 0x74], eax
push 0x20
mov byte [ebp - 4], 1
call fcn.004aa4a0
mov edx, eax
mov dword [ebp - 0x4c], 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0x1f
mov dword [ebp - 0x5c], edx
mov eax, 0x4f5a50
mov esi, 0x18
movups xmmword [edx], xmm0
movq qword [edx + 0x10], xmm0
mov byte [edx + 0x18], 0
movsx ecx, byte [edx]
add ecx, 0xaa2cd4
sub eax, edx
mov dword [ebp - 0x60], eax
nop dword [eax]
mov edi, dword [ebp - 0x60]
lea edx, [edx + 1]
mov eax, ecx
imul ecx, ecx, 0xd0f5
shr eax, 7
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
add ecx, 0x8a49a5d
sub esi, 1
jne 0x4c27a0
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x2c], esi
cmovae eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
push 0x30
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 3
call fcn.004aa4a0
mov edx, eax
mov dword [ebp - 0x18], 0x2f
mov dword [ebp - 0x1c], 0x26
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov dword [edx + 0x20], esi
mov word [edx + 0x24], si
mov byte [edx + 0x26], 0
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x2c], edx
jb 0x4c2823
movsx ecx, byte [edx]
jmp 0x4c2829
movsx ecx, byte [eax]
lea edx, [ebp - 0x2c]
mov eax, 0x4f58e0
add ecx, 0xaa2cd4
sub eax, edx
mov esi, 0x26
mov dword [ebp - 0x60], eax
mov edi, eax
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xdef5
shr eax, 7
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
add ecx, 0x8a49a5d
sub esi, 1
jne 0x4c2840
mov edx, dword [ebp - 0x6c]
lea ecx, [ebp - 0x2c]
push 0x6f
push dword [ebp - 0x74]
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], 0x10
push 2
cmovae ecx, dword [ebp - 0x2c]
push 1
call int.004ace20
mov edx, dword [ebp - 0x18]
add esp, 0x10
mov edi, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x4c28ba
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c28b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c2984
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp edx, 0x10
jb 0x4c2900
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c28f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c2984
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x4c2930
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c2926
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c2984
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov esi, dword [ebp - 0x68]
mov eax, dword [edi + 0x10]
add eax, dword [edi + 0x28]
push dword [esi]
push eax
push dword [ebp - 0x78]
call fcn.004d1d90
mov eax, dword [esi]
add esp, 0xc
add dword [edi + 0x28], eax
mov eax, dword [esi + 4]
adc dword [edi + 0x2c], eax
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
mov dword [edi + 8], eax
mov al, 1
mov dword [edi + 0xc], ecx
jmp 0x4c2964
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004cf4aa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.004d4192
int3