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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [0x4e8024]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, dword [0x4fae94]
cmp esi, 1
jbe 0x45d179
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x45d166
mov eax, dword [0x4fae94]
cmp eax, 1
jbe 0x45d1b8
mov dword [ebp - 0x30], esi
mov esi, dword [ebp + 8]
mov eax, dword [0x4fae9c]
test eax, eax
je 0x45d1f2
mov dword [ebp - 0x28], eax
mov edi, dword [esi + 4]
test edi, edi
je 0x45d215
push edi
call fcn.00488670
add esp, 4
mov ebx, eax
test eax, eax
je 0x45ce56
xor eax, eax
xor esi, esi
nop word [eax + eax]
movsx ecx, byte [edi + eax]
imul esi, esi, 0x83
add esi, ecx
inc eax
cmp ebx, eax
jne 0x45cd80
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
test eax, eax
mov dword [ebp - 0x20], eax
je 0x45ce6c
mov ecx, eax
shr ecx, 1
and ecx, 0x55555555
sub eax, ecx
mov ecx, 0x33333333
mov edx, eax
and edx, ecx
shr eax, 2
and eax, ecx
add eax, edx
mov ecx, eax
shr ecx, 4
add ecx, eax
and ecx, 0xf0f0f0f
imul eax, ecx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x38], eax
cmp eax, 1
jbe 0x45ce62
mov edx, esi
mov ecx, dword [ebp - 0x20]
cmp esi, ecx
jb 0x45cdef
mov eax, esi
xor edx, edx
div ecx
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x24], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x45ce72
mov edx, dword [eax]
test edx, edx
je 0x45ce72
lea eax, [ecx - 1]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 4]
cmp eax, esi
mov dword [ebp - 0x2c], edx
je 0x45ce2c
cmp dword [ebp - 0x38], 1
jbe 0x45ce5d
cmp eax, ecx
jb 0x45ce24
xor edx, edx
div ecx
mov eax, edx
mov edx, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x24]
jne 0x45ce72
cmp dword [edx + 0xc], ebx
je 0x45ce39
mov edx, dword [edx]
test edx, edx
jne 0x45ce0a
jmp 0x45ce72
push ebx
push edi
push dword [edx + 8]
call fcn.0047139d
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
add esp, 0xc
test eax, eax
je 0x45cef6
jmp 0x45ce31
xor esi, esi
jmp 0x45cd91
and eax, dword [ebp - 0x34]
jmp 0x45ce27
mov ecx, dword [ebp - 0x20]
lea edx, [ecx - 1]
and edx, esi
jmp 0x45cdef
xor eax, eax
dec eax
mov dword [ebp - 0x24], eax
push 0x14
call fcn.0046ecad
add esp, 4
mov edx, eax
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
xor eax, eax
mov dword [edx + 0x10], eax
mov dword [edx + 4], esi
mov dword [edx], eax
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx + 0xc]
inc eax
movd xmm0, eax
movq xmm2, qword [0x4d6a90]
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [ebx + 0x10]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x45d09a
movd xmm3, eax
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x45d09a
mov eax, dword [ebx]
mov esi, dword [ebp - 0x24]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x45cfc7
mov eax, dword [ecx]
mov dword [edx], eax
mov dword [ecx], edx
inc dword [ebx + 0xc]
mov ebx, dword [edx + 0x10]
test ebx, ebx
jne 0x45d06f
mov eax, dword [ebp + 8]
mov dword [edx + 0x10], eax
mov eax, dword [0x4fae9c]
mov dword [ebp - 0x28], eax
push edi
call fcn.00488670
add esp, 4
cmp eax, 0xfffffff0
jae 0x45d20d
mov ebx, eax
cmp eax, 0xb
jae 0x45cf34
lea esi, [ebp - 0x1c]
mov byte [esi + 0xb], bl
test ebx, ebx
jne 0x45cf5d
jmp 0x45cf68
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
add ebx, 0x10
and ebx, 0xfffffff0
push ebx
call fcn.0046ecad
add esp, 4
mov esi, eax
mov dword [ebp - 0x1c], eax
or ebx, 0x80000000
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x18], ebx
push ebx
push edi
push esi
call fcn.004722b0
add esp, 0xc
mov byte [esi + ebx], 0
movzx ebx, byte [ebp - 0x11]
mov ecx, ebx
test bl, bl
jns 0x45cf7e
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
jmp 0x45cf81
lea eax, [ebp - 0x1c]
mov edx, ebx
cmp ebx, 4
jb 0x45cfb6
nop dword [eax + eax]
imul esi, dword [eax], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul edx, edx, 0x5bd1e995
xor edx, esi
add eax, 4
add ebx, 0xfffffffc
cmp ebx, 3
ja 0x45cf90
cmp ebx, 1
je 0x45d01c
cmp ebx, 3
je 0x45d00a
cmp ebx, 2
je 0x45d013
jmp 0x45d027
mov ecx, dword [ebx + 8]
mov dword [edx], ecx
lea ecx, [ebx + 8]
mov dword [ebx + 8], edx
mov dword [eax + esi*4], ecx
mov eax, dword [edx]
test eax, eax
je 0x45cef3
mov esi, edx
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x20]
lea ecx, [edx - 1]
test edx, ecx
je 0x45d172
cmp eax, edx
jb 0x45cffe
mov ecx, edx
xor edx, edx
div ecx
mov eax, edx
mov ecx, dword [ebx]
mov edx, esi
mov dword [ecx + eax*4], esi
jmp 0x45cef3
movzx esi, byte [eax + 2]
shl esi, 0x10
xor edx, esi
movzx esi, byte [eax + 1]
shl esi, 8
xor edx, esi
movzx eax, byte [eax]
xor eax, edx
imul edx, eax, 0x5bd1e995
mov eax, dword [ebp - 0x28]
mov esi, dword [eax + 0x18]
xor ebx, ebx
test esi, esi
jne 0x45d218
test cl, cl
jns 0x45d046
push dword [ebp - 0x1c]
call fcn.0046ecdd
add esp, 4
test ebx, ebx
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp + 8]
jne 0x45d2d8
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046f8c3
mov eax, edi
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [ebp + 8]
cmp ebx, edi
mov esi, dword [ebp - 0x30]
je 0x45d054
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test edi, edi
je 0x45d096
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
push 1
call esi
mov edi, ebx
jmp 0x45d05b
mov dword [ebp - 0x2c], edx
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
mov ebx, eax
call fcn.004997a0
add esp, 8
fstp dword [ebp - 0x40]
movss xmm0, dword [ebp - 0x40]
cvttss2si ecx, xmm0
mov edx, ecx
sar edx, 0x1f
subss xmm0, dword [0x4d6d70]
cvttss2si eax, xmm0
and eax, edx
or eax, ecx
lea ecx, [ebx + ebx]
cmp ebx, 3
jb 0x45d14d
lea edx, [ebx - 1]
test ebx, edx
mov edx, 0
setne dl
or edx, ecx
cmp edx, eax
cmovbe edx, eax
cmp edx, 1
je 0x45d152
lea eax, [edx - 1]
test edx, eax
je 0x45d157
push edx
call fcn.0044ffd0
add esp, 4
mov edx, eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
cmp edx, eax
jbe 0x45d30d
mov ebx, dword [ebp - 0x28]
mov ecx, ebx
push edx
call fcn.0045d8b0
mov ecx, dword [ebx + 4]
lea eax, [ecx - 1]
test ecx, eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
je 0x45d15c
cmp esi, ecx
jb 0x45d3c4
mov eax, esi
xor edx, edx
div ecx
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x2c]
jmp 0x45cedd
xor edx, edx
inc edx
jmp 0x45d0ed
mov edx, 2
mov eax, dword [ebp - 0x20]
jmp 0x45d111
and eax, esi
mov dword [ebp - 0x24], eax
jmp 0x45cedd
mov ecx, esi
call fcn.0045aba0
jmp 0x45cd31
and eax, ecx
jmp 0x45cffe
push 0x4fae94
call fcn.004277f0
add esp, 4
test al, al
je 0x45d3ee
mov esi, 0x4fae98
mov ecx, 0x4fae98
call fcn.0045ab90
mov eax, 0x4fae94
push eax
push 0
push 0x4fae98
push eax
call fcn.004278b0
add esp, 0x10
jmp 0x45cd22
push 0x4fae94
call fcn.004277f0
add esp, 4
test al, al
je 0x45d3f9
mov ecx, 0x4fae98
call fcn.0045ab90
mov eax, 0x4fae94
push eax
push 0
push 0x4fae98
push eax
call fcn.004278b0
add esp, 0x10
jmp 0x45cd3f
push 0x54
call fcn.0046ecad
add esp, 4
mov ecx, eax
call fcn.00433cb0
mov eax, dword [0x4fae9c]
jmp 0x45cd52
lea ecx, [ebp - 0x1c]
call fcn.004b4130
int3
mov eax, edx
shr eax, 0xd
xor eax, edx
imul eax, eax, 0x5bd1e995
mov edx, eax
shr edx, 0xf
xor edx, eax
mov dword [ebp - 0x20], edx
mov edx, esi
shr edx, 1
and edx, 0x55555555
mov eax, esi
sub eax, edx
mov edx, 0x33333333
mov edi, eax
and edi, edx
shr eax, 2
and eax, edx
add eax, edi
mov edx, eax
shr edx, 4
add edx, eax
and edx, 0xf0f0f0f
imul eax, edx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x2c], eax
cmp eax, 1
ja 0x45d2e6
lea eax, [esi - 1]
and eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x24]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x45d037
mov edi, dword [eax]
test edi, edi
je 0x45d037
lea ebx, [esi - 1]
add dword [ebp - 0x28], 0x28
mov eax, dword [edi + 4]
cmp dword [ebp - 0x20], eax
jne 0x45d2b7
lea eax, [edi + 8]
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x1c]
push edx
push eax
call fcn.0044b590
test al, al
je 0x45d2c4
jmp 0x45d303
cmp dword [ebp - 0x2c], 1
ja 0x45d2cc
and eax, ebx
cmp eax, dword [ebp - 0x24]
jne 0x45d301
mov edi, dword [edi]
test edi, edi
jne 0x45d299
jmp 0x45d301
cmp eax, esi
jb 0x45d2bf
xor edx, edx
div esi
mov eax, edx
jmp 0x45d2bf
mov ecx, edi
push 0x20
call fcn.0045e440
jmp 0x45d054
mov eax, dword [ebp - 0x20]
mov edx, eax
mov dword [ebp - 0x24], eax
cmp eax, esi
jb 0x45d274
mov eax, dword [ebp - 0x20]
xor edx, edx
div esi
mov dword [ebp - 0x24], edx
jmp 0x45d274
xor edi, edi
mov cl, byte [ebp - 0x11]
mov ebx, edi
jmp 0x45d037
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x28]
jae 0x45d124
mov dword [ebp - 0x24], edx
movss xmm0, dword [ebx + 0xc]
orpd xmm0, xmmword [0x4d6d80]
subsd xmm0, qword [0x4d6a90]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [ebx + 0x10]
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.004997a0
add esp, 8
fstp dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x3c]
cvttss2si ecx, xmm0
mov edx, ecx
subss xmm0, dword [0x4d6d70]
cvttss2si eax, xmm0
sar edx, 0x1f
and eax, edx
or eax, ecx
cmp dword [ebp - 0x20], 3
jb 0x45d3cc
mov ecx, dword [ebp - 0x20]
mov edx, ecx
shr edx, 1
and edx, 0x55555555
sub ecx, edx
mov ebx, 0x33333333
mov edx, ecx
and edx, ebx
shr ecx, 2
and ecx, ebx
add ecx, edx
mov edx, ecx
shr edx, 4
add edx, ecx
and edx, 0xf0f0f0f
imul ecx, edx, 0x1010101
shr ecx, 0x18
cmp ecx, 1
ja 0x45d3cc
cmp eax, 2
jb 0x45d3d5
dec eax
bsr ecx, eax
xor ecx, 0x1f
neg cl
xor eax, eax
inc eax
shl eax, cl
jmp 0x45d3d5
mov dword [ebp - 0x24], esi
jmp 0x45d145
push eax
call fcn.0044ffd0
add esp, 4
mov edx, dword [ebp - 0x24]
cmp edx, eax
cmovbe edx, eax
cmp edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x28]
jb 0x45d11c
jmp 0x45d124
mov esi, dword [0x4fae94]
jmp 0x45cd22
mov eax, dword [0x4fae94]
jmp 0x45cd3f