Function at 0x48ebc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp + 0x18]
push edi
mov edi, ecx
mov dword [ebp - 0x470], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x45c], eax
mov eax, dword [ebp + 0x20]
cmp dword [edi + 0xa4], 1
mov dword [ebp - 0x464], edx
mov dword [ebp - 0x474], eax
jne 0x48ef21
mov edx, dword [edi + 4]
mov dword [ebp - 0x460], edx
lea eax, [edx - 0x10]
cmp eax, 0x3f0
ja 0x48ef21
mov ecx, dword [edi + 0xa8]
call fcn.00472ff0
mov dword [ebp - 0x458], eax
test eax, eax
je 0x48ef21
movzx ebx, byte [eax + 8]
lea eax, [ebx + ebx]
lea esi, [eax + 2]
mov dword [ebp - 0x468], eax
cmp esi, edx
ja 0x48ef21
mov edx, dword [ebp - 0x464]
lea eax, [ebp - 0x444]
push eax
push dword [ebp - 0x45c]
mov ecx, edi
push dword [ebp - 0x46c]
call fcn.0048e1a0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x48eedf
mov esi, dword [ebp - 0x458]
xorps xmm0, xmm0
mov dword [ebp - 0x448], eax
movq qword [ebp - 0x450], xmm0
mov eax, dword [esi + 0x20]
call eax
mov dword [ebp - 0x44c], eax
lea ecx, [ebp - 0x450]
test eax, eax
jne 0x48ecba
mov edi, 0xffffae80
jmp 0x48eeda
mov eax, dword [ebp - 0x460]
mov edx, ebx
mov dword [ebp - 0x450], esi
sub eax, ebx
push ecx
dec eax
lea esi, [ebp - 0x443]
push eax
add esi, ebx
mov dword [ebp - 0x464], eax
push esi
lea ecx, [ebp - 0x443]
call fcn.0048e740
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x48eed4
mov edx, dword [ebp - 0x464]
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x443]
mov ecx, esi
push ebx
push eax
call fcn.0048e740
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x48eed4
lea ecx, [ebp - 0x450]
call fcn.00473050
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x458]
push edi
push edi
mov eax, dword [eax + 0x1c]
call eax
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x48eedf
mov dl, byte [ebp - 0x444]
xor ecx, ecx
mov byte [ebp - 0x451], dl
test ebx, ebx
je 0x48edf4
cmp ebx, 0x20
jb 0x48eddb
mov eax, ebx
xorps xmm2, xmm2
and eax, 0xffffffe0
xorps xmm3, xmm3
movups xmm0, xmmword [esi]
movups xmm1, xmmword [ebp + ecx - 0x44]
pxor xmm1, xmm0
movups xmm0, xmmword [esi + 0x10]
add esi, 0x20
por xmm2, xmm1
movups xmm1, xmmword [ebp + ecx - 0x34]
add ecx, 0x20
pxor xmm1, xmm0
por xmm3, xmm1
cmp ecx, eax
jb 0x48ed70
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 2
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 1
por xmm2, xmm0
movd eax, xmm2
or dl, al
mov byte [ebp - 0x451], dl
cmp ecx, ebx
jae 0x48edf4
nop
mov al, byte [ebp + ecx - 0x44]
inc ecx
xor al, byte [esi]
inc esi
or dl, al
cmp ecx, ebx
jb 0x48ede0
mov byte [ebp - 0x451], dl
mov eax, dword [ebp - 0x460]
xor ebx, ebx
sub eax, dword [ebp - 0x468]
xor edi, edi
add eax, 0xfffffffe
mov dword [ebp - 0x45c], ebx
xor cl, cl
mov dword [ebp - 0x458], eax
xor edx, edx
cmp eax, 2
jb 0x48ee61
nop dword [eax]
or cl, byte [esi + edx]
mov al, cl
neg al
or al, cl
or cl, byte [esi + edx + 1]
not al
add edx, 2
movzx eax, al
shr eax, 7
add edi, eax
mov al, cl
neg al
mov dword [ebp - 0x468], edi
or al, cl
not al
movzx eax, al
shr eax, 7
add ebx, eax
mov eax, dword [ebp - 0x458]
dec eax
cmp edx, eax
jb 0x48ee20
mov eax, dword [ebp - 0x458]
cmp edx, eax
jae 0x48ee7c
or cl, byte [edx + esi]
mov al, cl
neg al
or al, cl
not al
movzx eax, al
shr eax, 7
mov dword [ebp - 0x45c], eax
mov cl, byte [ebp - 0x451]
lea eax, [ebx + edi]
add eax, dword [ebp - 0x45c]
add esi, eax
mov al, byte [esi]
inc esi
xor al, 1
or cl, al
je 0x48ee9d
mov edi, 0xffffbf00
jmp 0x48eedf
mov eax, dword [ebp - 0x460]
sub eax, esi
lea eax, [ebp + eax - 0x444]
cmp eax, dword [ebp + 0x24]
jbe 0x48eeb8
mov edi, 0xffffbc00
jmp 0x48eedf
mov ecx, dword [ebp - 0x470]
push eax
push esi
push dword [ebp - 0x474]
mov dword [ecx], eax
call fcn.00524840
add esp, 0xc
xor edi, edi
jmp 0x48eedf
lea ecx, [ebp - 0x450]
call fcn.00473050
mov eax, 0x400
lea ecx, [ebp - 0x444]
nop word [eax + eax]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x48eef0
mov eax, 0x40
lea ecx, [ebp - 0x44]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x48ef03
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xffffbf80
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret