Function at 0x65f160
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov edi, ecx
mov ecx, dword [ecx]
mov ebp, dword [edi + 4]
mov edx, ebp
sub edx, ecx
mov dword [esp + 8], edx
sar edx, 2
mov eax, edx
mov dword [esp], edx
lea eax, [edx + 1]
cmp eax, 0x40000000
jae 0x65f384
mov edx, dword [edi + 8]
sub edx, ecx
mov ebx, edx
sar ebx, 1
cmp ebx, eax
cmovbe ebx, eax
cmp edx, 0x7ffffffc
mov esi, 0x3fffffff
cmovb esi, ebx
test esi, esi
mov dword [esp + 4], edi
je 0x65f1d3
cmp esi, 0x40000000
jae 0x65f38b
lea eax, [esi*4]
push eax
call fcn.0051c3d0
add esp, 4
mov ecx, dword [edi]
mov ebp, dword [edi + 4]
jmp 0x65f1d5
xor eax, eax
mov edx, dword [esp + 0x2c]
mov edi, dword [esp]
lea ebx, [eax + edi*4]
lea esi, [eax + esi*4]
mov dword [esp + 0xc], esi
mov edx, dword [edx]
mov dword [eax + edi*4], edx
lea esi, [eax + edi*4]
add esi, 4
mov edx, ebp
sub edx, ecx
je 0x65f234
mov dword [esp + 0x14], esi
add edx, 0xfffffffc
cmp edx, 0x6c
mov edi, dword [esp + 4]
jb 0x65f330
mov esi, edx
and esi, 0xfffffffc
mov edi, ebp
sub edi, esi
add edi, 0xfffffffc
cmp edi, ebx
jae 0x65f25d
mov edi, dword [esp + 8]
sub edi, esi
lea esi, [edi + eax]
add esi, 0xfffffffc
cmp esi, ebp
jae 0x65f25d
mov edi, dword [esp + 4]
jmp 0x65f330
mov eax, dword [esp + 4]
mov dword [eax], ebx
mov dword [eax + 4], esi
mov ecx, dword [esp + 0xc]
mov dword [eax + 8], ecx
test ebp, ebp
je 0x65f253
push ebp
call fcn.0051c570
add esp, 0x1c
jmp 0x65f256
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 4
shr edx, 2
lea esi, [edx + 1]
mov dword [esp + 8], esi
and esi, 0xfffffff8
mov dword [esp + 0x10], esi
add edx, 0xfffffff9
mov edi, edx
shr edi, 3
inc edi
xor esi, esi
cmp edx, 8
jb 0x65f2e3
mov edx, edi
and edx, 0xfffffffe
mov esi, dword [esp]
lea eax, [eax + esi*4]
add eax, 0xfffffff0
xor esi, esi
xorps xmm0, xmm0
nop word cs:[eax + eax]
movups xmm1, xmmword [ebp + esi - 0x20]
movups xmm2, xmmword [ebp + esi - 0x10]
movups xmmword [ebp + esi - 0x10], xmm0
movups xmmword [ebp + esi - 0x20], xmm0
movups xmmword [eax + esi], xmm2
movups xmmword [eax + esi - 0x10], xmm1
movups xmm1, xmmword [ebp + esi - 0x40]
movups xmm2, xmmword [ebp + esi - 0x30]
movups xmmword [ebp + esi - 0x30], xmm0
movups xmmword [ebp + esi - 0x40], xmm0
movups xmmword [eax + esi - 0x20], xmm2
movups xmmword [eax + esi - 0x30], xmm1
add esi, 0xffffffc0
add edx, 0xfffffffe
jne 0x65f2a0
mov edx, dword [esp + 0x10]
lea eax, [edx*4]
mov dword [esp], eax
mov eax, edi
test al, 1
mov edi, dword [esp + 4]
je 0x65f31c
movups xmm0, xmmword [ebp + esi - 0x20]
movups xmm1, xmmword [ebp + esi - 0x10]
xorps xmm2, xmm2
movups xmmword [ebp + esi - 0x10], xmm2
movups xmmword [ebp + esi - 0x20], xmm2
movups xmmword [ebx + esi - 0x10], xmm1
movups xmmword [ebx + esi - 0x20], xmm0
mov eax, dword [esp]
sub ebx, eax
cmp dword [esp + 8], edx
je 0x65f349
sub ebp, eax
nop dword [eax]
mov eax, dword [ebp - 4]
mov dword [ebp - 4], 0
lea edx, [ebp - 4]
mov dword [ebx - 4], eax
add ebx, 0xfffffffc
mov ebp, edx
cmp edx, ecx
jne 0x65f330
mov ebp, dword [edi]
mov esi, dword [edi + 4]
mov dword [edi], ebx
mov eax, dword [esp + 0x14]
mov dword [edi + 4], eax
mov eax, dword [esp + 0xc]
mov dword [edi + 8], eax
nop
cmp esi, ebp
je 0x65f244
mov eax, dword [esi - 4]
mov dword [esi - 4], 0
add esi, 0xfffffffc
test eax, eax
je 0x65f360
push eax
call fcn.0051c570
add esp, 4
jmp 0x65f360
mov ecx, edi
call fcn.005256b0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort