Function at 0x4bbe60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x64
mov eax, dword [0x64e2c0]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x7c]
movaps xmm0, xmmword [0x5feb60]
mov ecx, dword [esp + 0x74]
push ebx
push ebp
mov ebp, dword [esp + 0x74]
push esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x84]
mov ebx, eax
push edi
mov edi, dword [esp + 0x80]
imul ebx, edi
mov dword [esp + 0x50], edx
mov edx, dword [0x64d04c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x64], 6
mov dword [esp + 0x68], 0x474e5089
mov dword [esp + 0x6c], 0xa1a0a0d
mov dword [esp + 0x3c], ebx
movups xmmword [esp + 0x54], xmm0
test ebp, ebp
jne 0x4bbee3
mov ebp, ebx
mov dword [esp + 0x7c], ebp
jmp 0x4bbee7
mov dword [esp + 0x3c], ebx
or eax, 0xffffffff
cmp edx, 5
cmovge edx, eax
lea eax, [ebx + 1]
imul eax, ecx
mov dword [esp + 0x48], edx
push eax
mov dword [esp + 0x50], eax
call fcn.005b7d4f
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
je 0x4bbf2b
push ebx
call fcn.005b7d4f
mov esi, eax
add esp, 4
test esi, esi
jne 0x4bbf40
mov ecx, dword [esp + 0x34]
push ecx
call fcn.005b7d34
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.005b26e6
add esp, 0x64
ret
mov eax, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0x18], edx
test eax, eax
jle 0x4bc121
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x30], ecx
nop word [eax + eax]
mov ecx, dword [esp + 0x48]
cmp ecx, 0xffffffff
jle 0x4bbf89
push esi
push ecx
push dword [esp + 0x28]
mov dword [esp + 0x20], ecx
push edx
push eax
push edi
push ebp
push dword [esp + 0x44]
call fcn.004b9f70
mov ecx, dword [esp + 0x34]
jmp 0x4bc0f0
xor ecx, ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x44], Ordinal_1
mov dword [esp + 0x14], ecx
jmp 0x4bbfa5
mov eax, dword [esp + 0x10]
push esi
push ecx
push dword [esp + 0x28]
push edx
push eax
push edi
push ebp
push dword [esp + 0x44]
call fcn.004b9f70
xor edi, edi
add esp, 0x20
xor ecx, ecx
mov dword [esp + 0x40], edi
test ebx, ebx
jle 0x4bc03a
cmp ebx, 8
jb 0x4bc03a
cmp dword [0x65591c], 2
jl 0x4bc03a
mov eax, ebx
and eax, 0x80000007
jns 0x4bbfe3
dec eax
or eax, 0xfffffff8
inc eax
mov edx, ebx
xorps xmm1, xmm1
sub edx, eax
xorps xmm2, xmm2
nop dword [eax]
pmovsxbd xmm0, dword [ecx + esi]
pabsd xmm0, xmm0
paddd xmm1, xmm0
pmovsxbd xmm0, dword [esi + ecx + 4]
add ecx, 8
pabsd xmm0, xmm0
paddd xmm2, xmm0
cmp ecx, edx
jl 0x4bbff0
paddd xmm1, xmm2
movaps xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd edi, xmm1
mov dword [esp + 0x40], edi
xor ebp, ebp
mov dword [esp + 0x24], ebp
cmp ecx, ebx
jge 0x4bc099
mov eax, ebx
sub eax, ecx
cmp eax, 2
jl 0x4bc086
lea eax, [ebx - 1]
mov ebx, ebp
mov dword [esp + 0x38], eax
mov edi, eax
movsx eax, byte [ecx + esi]
cdq
xor eax, edx
sub eax, edx
add ebp, eax
movsx eax, byte [esi + ecx + 1]
cdq
add ecx, 2
xor eax, edx
sub eax, edx
add ebx, eax
cmp ecx, edi
jl 0x4bc058
mov edi, dword [esp + 0x40]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x3c]
cmp ecx, ebx
jge 0x4bc091
movsx eax, byte [ecx + esi]
cdq
xor eax, edx
sub eax, edx
add edi, eax
mov eax, dword [esp + 0x24]
add eax, ebp
add edi, eax
mov ebp, dword [esp + 0x44]
cmp edi, ebp
mov ecx, dword [esp + 0x14]
mov eax, ecx
cmovge eax, dword [esp + 0x2c]
inc ecx
mov edx, dword [esp + 0x18]
cmp edi, ebp
mov dword [esp + 0x2c], eax
cmovge edi, ebp
mov dword [esp + 0x14], ecx
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x1c]
cmp ecx, 5
jl 0x4bbfa1
cmp ecx, eax
je 0x4bc0f3
mov ecx, dword [esp + 0x10]
push esi
push eax
push dword [esp + 0x28]
push edx
push ecx
push edi
push ebp
push dword [esp + 0x44]
call fcn.004b9f70
mov ecx, dword [esp + 0x4c]
add esp, 0x20
mov eax, dword [esp + 0x30]
push ebx
push esi
mov byte [eax], cl
inc eax
push eax
call fcn.005b46d0
mov edx, dword [esp + 0x24]
lea eax, [ebx + 1]
add dword [esp + 0x3c], eax
inc edx
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x18], edx
cmp edx, eax
jl 0x4bbf60
push esi
call fcn.005b7d34
push dword [0x64d048]
mov ebx, dword [esp + 0x3c]
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x58]
push ebx
call fcn.004bc280
push ebx
mov ebp, eax
call fcn.005b7d34
add esp, 0x18
test ebp, ebp
je 0x4bbf2b
mov ebx, dword [esp + 0x38]
lea esi, [ebx + 0x39]
push esi
call fcn.005b7d4f
mov edi, eax
add esp, 4
test edi, edi
je 0x4bbf2b
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x6c]
push 0xd
mov dword [eax], esi
mov eax, dword [esp + 0x6c]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x20]
mov eax, ecx
sar eax, 0x18
mov dword [edi + 8], 0xd000000
mov dword [edi + 0xc], 0x52444849
mov byte [edi + 0x10], al
mov eax, ecx
sar eax, 0x10
mov byte [edi + 0x11], al
mov eax, ecx
sar eax, 8
mov byte [edi + 0x12], al
mov byte [edi + 0x13], cl
mov ecx, dword [esp + 0x14]
mov eax, ecx
sar eax, 0x18
mov byte [edi + 0x14], al
mov eax, ecx
sar eax, 0x10
mov byte [edi + 0x15], al
mov eax, ecx
sar eax, 8
mov byte [edi + 0x16], al
mov eax, dword [esp + 0x24]
mov byte [edi + 0x17], cl
mov byte [edi + 0x18], 8
mov al, byte [esp + eax*4 + 0x58]
mov byte [edi + 0x19], al
lea eax, [edi + 0x1d]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
mov word [edi + 0x1a], 0
push eax
mov byte [edi + 0x1c], 0
call fcn.004bb430
mov esi, dword [esp + 0x18]
mov eax, ebx
sar eax, 0x18
push ebx
push ebp
mov byte [esi], al
mov eax, ebx
sar eax, 0x10
mov byte [esi + 1], al
mov eax, ebx
sar eax, 8
mov byte [esi + 2], al
mov byte [esi + 3], bl
mov dword [esi + 4], 0x54414449
add esi, 8
push esi
call fcn.005b46d0
lea eax, [esi + ebx]
push ebp
mov dword [esp + 0x28], eax
call fcn.005b7d34
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.004bb430
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x30]
push 0
push eax
mov dword [ecx], 0
mov dword [ecx + 4], 0x444e4549
add ecx, 8
mov dword [esp + 0x38], ecx
call fcn.004bb430
add esp, 0x28
mov eax, edi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x64]
pop ebx
xor ecx, esp
call fcn.005b26e6
add esp, 0x64
ret