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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x6c
mov ebx, ecx
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [0x7a9040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, edi
mov ecx, esi
mov edx, edi
cmp edi, 4
jb switch.0x005e9d16
mov edx, edi
mov ecx, esi
mov eax, edi
nop dword [eax]
imul esi, dword [ecx], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x5e9cf0
jmp dword [edx*4 + 0x754bb8]
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
lea ecx, [ebx + 0x20]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], ebx
mov edi, dword [ebx + 0x24]
test edi, edi
je 0x5e9e8f
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov esi, eax
shr esi, 0xf
xor esi, eax
mov ecx, edi
shr ecx, 1
and ecx, 0x55555555
mov eax, edi
sub eax, ecx
mov ecx, eax
and ecx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, ecx
mov ecx, eax
shr ecx, 4
add ecx, eax
and ecx, 0xf0f0f0f
imul eax, ecx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x68], eax
cmp eax, 1
jbe 0x5ea186
mov edx, esi
cmp esi, edi
jb 0x5e9da7
mov eax, esi
xor edx, edx
div edi
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
mov dword [ebp - 0x6c], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x5e9e8f
mov ebx, dword [eax]
test ebx, ebx
je 0x5e9e8f
lea eax, [edi - 1]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 4]
cmp eax, esi
jne 0x5e9e6a
movsx edx, byte [ebx + 0x13]
test edx, edx
jns 0x5ea17f
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 8]
test dl, dl
jns 0x5e9ded
mov eax, dword [eax]
test ecx, ecx
js 0x5ea1be
sete dl
test eax, eax
setne dh
or dh, dl
je 0x5ea1be
cmp ecx, dword [ebp + 0xc]
jne 0x5e9e85
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.00652bcd
add esp, 0xc
test eax, eax
jne 0x5e9e85
add ebx, 0x14
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00650d60
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
jmp case.0x5e9d16.2
mov edi, edx
or edi, 7
inc edi
push edi
call fcn.006507be
mov edx, dword [ebp + 0xc]
add esp, 4
mov dword [esi + 4], eax
or edi, 0x80000000
mov dword [esi + 0xc], edi
mov dword [esi + 8], edx
jmp 0x5e9f16
cmp dword [ebp - 0x68], 1
jbe 0x5ea198
cmp eax, edi
mov ecx, dword [ebp - 0x6c]
jb 0x5e9e81
xor edx, edx
div edi
mov eax, edx
cmp eax, ecx
jne 0x5e9e8f
mov ebx, dword [ebx]
test ebx, ebx
jne 0x5e9dca
lea eax, [ebp - 0x1c]
mov dword [eax], 0
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x18]
lea ebx, [ebp - 0x40]
push ebx
call fcn.006078b0
mov esi, dword [ebx]
mov eax, dword [esi]
mov edi, dword [eax + 0x10]
mov ecx, edi
call dword [0x7a29f4]
mov ecx, esi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov esi, dword [ebx]
test esi, esi
je 0x5e9ed3
dec dword [esi + 4]
je 0x5ea200
test al, al
je 0x5ea1b7
mov ecx, esp
push eax
sub esp, 0x10
mov esi, esp
lea eax, [esi + 4]
mov dword [ebp - 0x68], eax
mov edx, dword [ebp + 0xc]
cmp edx, 0x7ffffff8
mov ebx, dword [ebp + 8]
jae 0x5ea1c0
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + 0xc]
mov byte [ebp - 0x70], al
cmp edx, 0xa
ja 0x5e9e44
mov byte [esi + 0xf], dl
mov eax, dword [ebp - 0x68]
lea edi, [eax + edx]
cmp eax, ebx
seta cl
cmp edi, ebx
setbe dl
or dl, cl
je 0x5ea1be
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x5e9f3d
push ecx
push ebx
push eax
call fcn.00654250
add esp, 0xc
mov byte [edi], 0
mov ecx, dword [ebp - 0x74]
mov dword [esi], ecx
mov bl, byte [ebp - 0x70]
mov byte [esi + 0x10], bl
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 8]
mov dword [ebp - 0x50], eax
movsd xmm0, qword [edx]
movsd qword [ebp - 0x58], xmm0
xorps xmm0, xmm0
movsd qword [edx], xmm0
mov dword [edx + 8], 0
mov byte [ebp - 0x4c], bl
mov ecx, dword [ecx + 0x18]
movsx eax, byte [ebp - 0x4d]
test eax, eax
jns 0x5ea190
mov eax, dword [ebp - 0x54]
test eax, eax
js 0x5ea1be
mov edx, dword [ebp - 0x58]
sete bl
test edx, edx
setne bh
or bh, bl
je 0x5ea1be
push eax
push edx
call fcn.00607720
mov dword [ebp - 0x48], eax
mov edi, dword [esi]
test edi, edi
je 0x5ea1c8
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x7b4788]
bt ecx, eax
jae 0x5ea13a
push edi
call fcn.00545e50
add esp, 4
mov dword [ebp - 0x44], edi
cmp byte [esi + 0xf], 0
js 0x5ea1ee
mov ebx, dword [ebp + 0xc]
cmp ebx, 0xa
mov esp, dword [ebp - 0x6c]
mov edi, dword [ebp + 8]
ja 0x5ea15c
lea eax, [ebp - 0x64]
mov byte [eax + 0xb], bl
lea esi, [eax + ebx]
cmp eax, edi
seta cl
cmp esi, edi
setbe dl
or dl, cl
je 0x5ea1be
test ebx, ebx
je 0x5ea01b
push ebx
push edi
push eax
call fcn.00654250
add esp, 0xc
mov byte [esi], 0
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x34]
mov dword [ecx - 4], eax
movsd xmm0, qword [ebp - 0x64]
movsd qword [ecx - 0xc], xmm0
xorps xmm0, xmm0
movsd qword [ebp - 0x64], xmm0
mov dword [ebp - 0x5c], 0
cmp byte [ebp - 0x4d], 0
jns 0x5ea1a3
push dword [ebp - 0x54]
push dword [ebp - 0x58]
call fcn.005cceb0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov esi, dword [ebp - 0x44]
mov eax, esi
shr eax, 0xe
mov ecx, esi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x7b4788]
bt ecx, eax
jae 0x5ea14b
push esi
call fcn.00545e50
add esp, 4
mov dword [ebp - 0x20], esi
test esi, esi
je 0x5ea1cb
lea esi, [ebp - 0x18]
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x40]
push eax
push eax
push esi
call fcn.005ea370
mov ebx, dword [esi]
mov eax, dword [ebp - 0x20]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x7b4788]
bt edx, ecx
jae 0x5ea0c7
push eax
call fcn.00545f70
add esp, 4
mov dword [ebp - 0x20], 0
cmp byte [ebp - 0x29], 0
jns 0x5ea0df
push dword [ebp - 0x34]
call fcn.006507ee
add esp, 4
cmp byte [ebp - 0x35], 0
js 0x5ea1ce
cmp byte [ebp - 0x59], 0
js 0x5ea1de
mov eax, dword [ebp - 0x44]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x7b4788]
bt edx, ecx
jae 0x5ea115
push eax
call fcn.00545f70
add esp, 4
mov dword [ebp - 0x44], 0
cmp byte [ebp - 0x4d], 0
jns 0x5ea12d
push dword [ebp - 0x58]
call fcn.006507ee
add esp, 4
test ebx, ebx
jne 0x5e9e1d
jmp 0x5ea1be
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x7bc788], 1
jmp 0x5e9fd2
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x7bc788], 1
jmp 0x5ea087
mov esi, ebx
or esi, 7
inc esi
push esi
call fcn.006507be
add esp, 4
mov dword [ebp - 0x64], eax
or esi, 0x80000000
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], ebx
jmp 0x5e9ff7
mov ecx, edx
jmp 0x5e9de4
lea edx, [edi - 1]
and edx, esi
jmp 0x5e9da7
lea edx, [ebp - 0x58]
jmp 0x5e9f9b
and eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
jmp 0x5e9e81
mov eax, dword [ebp - 0x50]
mov dword [ecx + 8], eax
movsd xmm0, qword [ebp - 0x58]
movsd qword [ecx], xmm0
jmp 0x5ea055
xor ebx, ebx
jmp 0x5e9e20
ud2
mov ecx, dword [ebp - 0x68]
call fcn.006837c0
int3
int3
push dword [ebp - 0x40]
call fcn.006507ee
add esp, 4
jmp 0x5ea0e9
push dword [ebp - 0x64]
call fcn.006507ee
add esp, 4
jmp 0x5ea0f3
mov eax, dword [ebp - 0x68]
push dword [eax]
call fcn.006507ee
add esp, 4
jmp 0x5e9fdf
mov ebx, eax
mov eax, dword [esi]
mov edi, dword [eax + 0x18]
mov ecx, edi
call dword [0x7a29f4]
mov ecx, esi
push 1
call edi
mov eax, ebx
jmp 0x5e9ed3
mov eax, ebx
shr eax, 0xd
xor eax, ebx
imul eax, eax, 0x5bd1e995
mov edx, eax
shr edx, 0xf
xor edx, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], ecx
mov esi, dword [ecx + 4]
test esi, esi
je 0x5ea6d7
mov ecx, esi
shr ecx, 1
and ecx, 0x55555555
mov eax, esi
sub eax, ecx
mov ecx, eax
and ecx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, ecx
mov ecx, eax
shr ecx, 4
add ecx, eax
and ecx, 0xf0f0f0f
imul ebx, ecx, 0x1010101
shr ebx, 0x18
cmp ebx, 1
jbe 0x5ea616
mov ecx, dword [ebp - 0x14]
mov edx, ecx
cmp ecx, esi
jb 0x5ea45e
mov eax, ecx
xor edx, edx
div esi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
mov dword [ebp - 0x18], edx
je 0x5ea4ad
mov edi, dword [eax]
test edi, edi
je 0x5ea4ad
lea eax, [esi - 1]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
add eax, 0x14
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 4]
cmp eax, ecx
je 0x5ea704
cmp ebx, 1
jbe 0x5ea60e
cmp eax, esi
jb 0x5ea4a0
xor edx, edx
div esi
mov eax, edx
mov edx, dword [ebp - 0x18]
cmp eax, edx
jne 0x5ea4ad
mov edi, dword [edi]
test edi, edi
jne 0x5ea482
mov dword [esp], 0x2c
call fcn.006507be
test eax, eax
je 0x5ea6ff
mov edi, eax
mov ebx, dword [ebp + 0x10]
xor eax, eax
mov dword [edi], eax
mov ecx, dword [ebp - 0x14]
mov dword [edi + 4], ecx
mov ecx, dword [ebx + 8]
mov dword [edi + 0x10], ecx
movsd xmm0, qword [ebx]
movsd qword [edi + 8], xmm0
mov dword [ebx + 8], eax
xorps xmm0, xmm0
movsd qword [ebx], xmm0
mov ecx, edi
add ecx, 0x14
cmp byte [ebx + 0x17], 0
jns 0x5ea6e9
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.005cceb0
sub esp, 8
movsd xmm0, qword [ebx + 0x18]
movsd qword [edi + 0x20], xmm0
mov ebx, dword [ebx + 0x20]
mov eax, ebx
shr eax, 0xe
mov ecx, ebx
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x7b4788]
bt ecx, eax
jae 0x5ea5ef
mov dword [esp], ebx
call fcn.00545e50
mov edx, dword [ebp - 0x18]
mov dword [edi + 0x28], ebx
test ebx, ebx
je 0x5ea701
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0xc]
inc eax
movq xmm2, qword [0x737fc0]
movd xmm0, eax
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [ebx + 0x10]
test esi, esi
je 0x5ea628
movd xmm3, esi
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x5ea628
mov ecx, dword [ebx]
mov eax, dword [ecx + edx*4]
test eax, eax
jne 0x5ea5e9
mov eax, dword [ebx + 8]
mov dword [edi], eax
lea eax, [ebx + 8]
mov dword [ebx + 8], edi
mov dword [ecx + edx*4], eax
mov eax, dword [edi]
test eax, eax
je 0x5ea5d2
mov eax, dword [eax + 4]
lea ecx, [esi - 1]
test esi, ecx
je 0x5ea6e2
cmp eax, esi
jb 0x5ea5cb
xor edx, edx
div esi
mov eax, edx
shl eax, 2
add eax, dword [ebx]
mov dword [eax], edi
inc dword [ebx + 0xc]
mov cl, 1
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], cl
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov ecx, dword [eax]
mov dword [edi], ecx
jmp 0x5ea5d0
mov eax, ebx
shr eax, 0x15
mov byte [eax + 0x7bc788], 1
jmp 0x5ea53c
and eax, dword [ebp - 0x20]
jmp 0x5ea4a3
lea edx, [esi - 1]
mov ecx, dword [ebp - 0x14]
and edx, ecx
jmp 0x5ea45e
xor ebx, ebx
inc ebx
jmp 0x5ea66d
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.00680cf0
fstp dword [ebp - 0x28]
movss xmm0, dword [ebp - 0x28]
cvttss2si ecx, xmm0
mov edx, ecx
sar edx, 0x1f
subss xmm0, dword [0x737fc8]
cvttss2si eax, xmm0
and eax, edx
or eax, ecx
lea ecx, [esi + esi]
cmp esi, 3
jb 0x5ea623
lea edx, [esi - 1]
xor ebx, ebx
test esi, edx
setne bl
or ebx, ecx
cmp ebx, eax
cmovbe ebx, eax
cmp ebx, 1
je 0x5ea6c8
lea eax, [ebx - 1]
test ebx, eax
je 0x5ea68a
mov dword [esp], ebx
call fcn.005c7e10
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 4]
cmp ebx, esi
jbe 0x5ea738
mov eax, dword [ebp - 0x10]
mov dword [esp], ebx
mov esi, eax
mov ecx, eax
call fcn.005ea810
sub esp, 4
mov eax, esi
mov esi, dword [eax + 4]
lea edx, [esi - 1]
test esi, edx
mov ebx, eax
je 0x5ea6cf
mov eax, dword [ebp - 0x14]
cmp eax, esi
jb 0x5ea731
xor edx, edx
div esi
jmp 0x5ea596
mov ebx, 2
jmp 0x5ea68a
and edx, dword [ebp - 0x14]
jmp 0x5ea596
xor eax, eax
dec eax
mov dword [ebp - 0x18], eax
jmp 0x5ea4ad
and eax, ecx
jmp 0x5ea5cb
lea eax, [ebx + 0xc]
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
jmp 0x5ea50d
ud2
int3
lea eax, [edi + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x1c]
call fcn.005432a0
sub esp, 8
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
test al, al
je 0x5ea4a7
xor ecx, ecx
jmp 0x5ea5d7
mov edx, eax
jmp 0x5ea596
mov eax, dword [ebp - 0x10]
jae 0x5ea6ac
movss xmm0, dword [eax + 0xc]
orpd xmm0, xmmword [0x737fd0]
subsd xmm0, qword [0x737fc0]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [eax + 0x10]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.00680cf0
fstp dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x24]
cvttss2si eax, xmm0
mov ecx, eax
subss xmm0, dword [0x737fc8]
cvttss2si edx, xmm0
sar ecx, 0x1f
and edx, ecx
or edx, eax
cmp esi, 3
jb 0x5ea7e6
mov ecx, esi
shr ecx, 1
and ecx, 0x55555555
mov eax, esi
sub eax, ecx
mov ecx, eax
and ecx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, ecx
mov ecx, eax
shr ecx, 4
add ecx, eax
and ecx, 0xf0f0f0f
imul eax, ecx, 0x1010101
shr eax, 0x18
cmp eax, 1
ja 0x5ea7e6
lea eax, [edx - 1]
bsr ecx, eax
xor ecx, 0x1f
neg cl
xor eax, eax
inc eax
shl eax, cl
cmp edx, 2
cmovb eax, edx
jmp 0x5ea7ee
mov dword [esp], edx
call fcn.005c7e10
cmp ebx, eax
cmovbe ebx, eax
cmp ebx, esi
mov eax, dword [ebp - 0x10]
jb 0x5ea69b
jmp 0x5ea6ac