Function at 0x569c10
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 [0x808040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, edi
mov ecx, esi
mov edx, edi
cmp edi, 4
jb switch.0x00569c66
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 0x569c40
jmp dword [edx*4 + 0x7908f8]
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 0x569ddf
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 0x56a0d6
mov edx, esi
cmp esi, edi
jb 0x569cf7
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 0x569ddf
mov ebx, dword [eax]
test ebx, ebx
je 0x569ddf
lea eax, [edi - 1]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 4]
cmp eax, esi
jne 0x569dba
movsx edx, byte [ebx + 0x13]
test edx, edx
jns 0x56a0cf
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 8]
test dl, dl
jns 0x569d3d
mov eax, dword [eax]
test ecx, ecx
js 0x56a10e
sete dl
test eax, eax
setne dh
or dh, dl
je 0x56a10e
cmp ecx, dword [ebp + 0xc]
jne 0x569dd5
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.005c7efd
add esp, 0xc
test eax, eax
jne 0x569dd5
add ebx, 0x14
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6b46
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.0x569c66.2
mov edi, edx
or edi, 7
inc edi
push edi
call fcn.005c5789
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 0x569e66
cmp dword [ebp - 0x68], 1
jbe 0x56a0e8
cmp eax, edi
mov ecx, dword [ebp - 0x6c]
jb 0x569dd1
xor edx, edx
div edi
mov eax, edx
cmp eax, ecx
jne 0x569ddf
mov ebx, dword [ebx]
test ebx, ebx
jne 0x569d1a
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.00580160
mov esi, dword [ebx]
mov eax, dword [esi]
mov edi, dword [eax + 0x10]
mov ecx, edi
call dword [0x8010bc]
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 0x569e23
dec dword [esi + 4]
je 0x56a150
test al, al
je 0x56a107
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 0x56a110
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + 0xc]
mov byte [ebp - 0x70], al
cmp edx, 0xa
ja 0x569d94
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 0x56a10e
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x569e8d
push ecx
push ebx
push eax
call fcn.005c9580
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 0x56a0e0
mov eax, dword [ebp - 0x54]
test eax, eax
js 0x56a10e
mov edx, dword [ebp - 0x58]
sete bl
test edx, edx
setne bh
or bh, bl
je 0x56a10e
push eax
push edx
call fcn.0057ffd0
mov dword [ebp - 0x48], eax
mov edi, dword [esi]
test edi, edi
je 0x56a118
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x81156c]
bt ecx, eax
jae 0x56a08a
push edi
call fcn.004bf510
add esp, 4
mov dword [ebp - 0x44], edi
cmp byte [esi + 0xf], 0
js 0x56a13e
mov ebx, dword [ebp + 0xc]
cmp ebx, 0xa
mov esp, dword [ebp - 0x6c]
mov edi, dword [ebp + 8]
ja 0x56a0ac
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 0x56a10e
test ebx, ebx
je 0x569f6b
push ebx
push edi
push eax
call fcn.005c9580
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 0x56a0f3
push dword [ebp - 0x54]
push dword [ebp - 0x58]
call fcn.005493c0
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 + 0x81156c]
bt ecx, eax
jae 0x56a09b
push esi
call fcn.004bf510
add esp, 4
mov dword [ebp - 0x20], esi
test esi, esi
je 0x56a11b
lea esi, [ebp - 0x18]
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x40]
push eax
push eax
push esi
call fcn.0056a260
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 + 0x81156c]
bt edx, ecx
jae 0x56a017
push eax
call fcn.004bf630
add esp, 4
mov dword [ebp - 0x20], 0
cmp byte [ebp - 0x29], 0
jns 0x56a02f
push dword [ebp - 0x34]
call fcn.005c57c0
add esp, 4
cmp byte [ebp - 0x35], 0
js 0x56a11e
cmp byte [ebp - 0x59], 0
js 0x56a12e
mov eax, dword [ebp - 0x44]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x81156c]
bt edx, ecx
jae 0x56a065
push eax
call fcn.004bf630
add esp, 4
mov dword [ebp - 0x44], 0
cmp byte [ebp - 0x4d], 0
jns 0x56a07d
push dword [ebp - 0x58]
call fcn.005c57c0
add esp, 4
test ebx, ebx
jne 0x569d6d
jmp 0x56a10e
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x81956c], 1
jmp 0x569f22
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x81956c], 1
jmp 0x569fd7
mov esi, ebx
or esi, 7
inc esi
push esi
call fcn.005c5789
add esp, 4
mov dword [ebp - 0x64], eax
or esi, 0x80000000
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], ebx
jmp 0x569f47
mov ecx, edx
jmp 0x569d34
lea edx, [edi - 1]
and edx, esi
jmp 0x569cf7
lea edx, [ebp - 0x58]
jmp 0x569eeb
and eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
jmp 0x569dd1
mov eax, dword [ebp - 0x50]
mov dword [ecx + 8], eax
movsd xmm0, qword [ebp - 0x58]
movsd qword [ecx], xmm0
jmp 0x569fa5
xor ebx, ebx
jmp 0x569d70
ud2
mov ecx, dword [ebp - 0x68]
call fcn.005fb080
int3
int3
push dword [ebp - 0x40]
call fcn.005c57c0
add esp, 4
jmp 0x56a039
push dword [ebp - 0x64]
call fcn.005c57c0
add esp, 4
jmp 0x56a043
mov eax, dword [ebp - 0x68]
push dword [eax]
call fcn.005c57c0
add esp, 4
jmp 0x569f2f
mov ebx, eax
mov eax, dword [esi]
mov edi, dword [eax + 0x18]
mov ecx, edi
call dword [0x8010bc]
mov ecx, esi
push 1
call edi
mov eax, ebx
jmp 0x569e23
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 0x56a5c7
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 0x56a506
mov ecx, dword [ebp - 0x14]
mov edx, ecx
cmp ecx, esi
jb 0x56a34e
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 0x56a39d
mov edi, dword [eax]
test edi, edi
je 0x56a39d
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 0x56a5f4
cmp ebx, 1
jbe 0x56a4fe
cmp eax, esi
jb 0x56a390
xor edx, edx
div esi
mov eax, edx
mov edx, dword [ebp - 0x18]
cmp eax, edx
jne 0x56a39d
mov edi, dword [edi]
test edi, edi
jne 0x56a372
mov dword [esp], 0x2c
call fcn.005c5789
test eax, eax
je 0x56a5ef
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 0x56a5d9
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.005493c0
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 + 0x81156c]
bt ecx, eax
jae 0x56a4df
mov dword [esp], ebx
call fcn.004bf510
mov edx, dword [ebp - 0x18]
mov dword [edi + 0x28], ebx
test ebx, ebx
je 0x56a5f1
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0xc]
inc eax
movq xmm2, qword [0x78b590]
movd xmm0, eax
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [ebx + 0x10]
test esi, esi
je 0x56a518
movd xmm3, esi
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x56a518
mov ecx, dword [ebx]
mov eax, dword [ecx + edx*4]
test eax, eax
jne 0x56a4d9
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 0x56a4c2
mov eax, dword [eax + 4]
lea ecx, [esi - 1]
test esi, ecx
je 0x56a5d2
cmp eax, esi
jb 0x56a4bb
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 0x56a4c0
mov eax, ebx
shr eax, 0x15
mov byte [eax + 0x81956c], 1
jmp 0x56a42c
and eax, dword [ebp - 0x20]
jmp 0x56a393
lea edx, [esi - 1]
mov ecx, dword [ebp - 0x14]
and edx, ecx
jmp 0x56a34e
xor ebx, ebx
inc ebx
jmp 0x56a55d
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.005f8570
fstp dword [ebp - 0x28]
movss xmm0, dword [ebp - 0x28]
cvttss2si ecx, xmm0
mov edx, ecx
sar edx, 0x1f
subss xmm0, dword [0x78b598]
cvttss2si eax, xmm0
and eax, edx
or eax, ecx
lea ecx, [esi + esi]
cmp esi, 3
jb 0x56a513
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 0x56a5b8
lea eax, [ebx - 1]
test ebx, eax
je 0x56a57a
mov dword [esp], ebx
call fcn.00544ab0
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 4]
cmp ebx, esi
jbe 0x56a628
mov eax, dword [ebp - 0x10]
mov dword [esp], ebx
mov esi, eax
mov ecx, eax
call fcn.0056a700
sub esp, 4
mov eax, esi
mov esi, dword [eax + 4]
lea edx, [esi - 1]
test esi, edx
mov ebx, eax
je 0x56a5bf
mov eax, dword [ebp - 0x14]
cmp eax, esi
jb 0x56a621
xor edx, edx
div esi
jmp 0x56a486
mov ebx, 2
jmp 0x56a57a
and edx, dword [ebp - 0x14]
jmp 0x56a486
xor eax, eax
dec eax
mov dword [ebp - 0x18], eax
jmp 0x56a39d
and eax, ecx
jmp 0x56a4bb
lea eax, [ebx + 0xc]
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
jmp 0x56a3fd
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.004c7b90
sub esp, 8
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
test al, al
je 0x56a397
xor ecx, ecx
jmp 0x56a4c7
mov edx, eax
jmp 0x56a486
mov eax, dword [ebp - 0x10]
jae 0x56a59c
movss xmm0, dword [eax + 0xc]
orpd xmm0, xmmword [0x78b5a0]
subsd xmm0, qword [0x78b590]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [eax + 0x10]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.005f8570
fstp dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x24]
cvttss2si eax, xmm0
mov ecx, eax
subss xmm0, dword [0x78b598]
cvttss2si edx, xmm0
sar ecx, 0x1f
and edx, ecx
or edx, eax
cmp esi, 3
jb 0x56a6d6
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 0x56a6d6
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 0x56a6de
mov dword [esp], edx
call fcn.00544ab0
cmp ebx, eax
cmovbe ebx, eax
cmp ebx, esi
mov eax, dword [ebp - 0x10]
jb 0x56a58b
jmp 0x56a59c