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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [0x54a010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, dword [0x55d6c4]
cmp esi, 1
jbe 0x47dcfa
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x47dcd0
mov eax, dword [0x55d6c4]
cmp eax, 1
jbe 0x47dd39
mov dword [ebp - 0x38], esi
mov esi, dword [ebp + 8]
mov eax, dword [0x55d6cc]
test eax, eax
je 0x47ddd5
mov dword [ebp - 0x24], eax
mov edi, dword [esi + 4]
test edi, edi
je 0x47de27
push edi
call fcn.004b78b0
add esp, 4
mov ebx, eax
test eax, eax
je 0x47d8be
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 0x47d7e0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
test eax, eax
mov dword [ebp - 0x20], eax
je 0x47d8d7
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 - 0x30], eax
cmp eax, 1
jbe 0x47d8ca
mov edx, esi
mov ecx, dword [ebp - 0x20]
cmp esi, ecx
jb 0x47d84f
mov eax, esi
xor edx, edx
div ecx
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x28], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x47d8dd
mov edx, dword [eax]
test edx, edx
je 0x47d8dd
lea eax, [ecx - 1]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 4]
cmp eax, esi
mov dword [ebp - 0x2c], edx
je 0x47d88c
cmp dword [ebp - 0x30], 1
jbe 0x47d8c5
cmp eax, ecx
jb 0x47d884
xor edx, edx
div ecx
mov eax, edx
mov edx, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x28]
jne 0x47d8dd
cmp dword [edx + 0xc], ebx
je 0x47d899
mov edx, dword [edx]
test edx, edx
jne 0x47d86a
jmp 0x47d8dd
test ebx, ebx
je 0x47d999
push ebx
push edi
push dword [edx + 8]
call fcn.004a1c0d
mov edx, dword [ebp - 0x2c]
add esp, 0xc
test eax, eax
mov ecx, dword [ebp - 0x20]
je 0x47d999
jmp 0x47d891
xor esi, esi
jmp 0x47d7f1
and eax, dword [ebp - 0x34]
jmp 0x47d887
mov ecx, dword [ebp - 0x20]
lea edx, [ecx - 1]
and edx, esi
jmp 0x47d84f
xor eax, eax
dec eax
mov dword [ebp - 0x28], eax
push 0x14
call fcn.0049f91a
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 - 0x24]
mov eax, dword [ebx + 0xc]
inc eax
movd xmm0, eax
movq xmm2, qword [0x531700]
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [ebx + 0x10]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x47dc04
movd xmm3, eax
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x47dc04
mov ecx, dword [ebx]
mov esi, dword [ebp - 0x28]
mov eax, dword [ecx + esi*4]
test eax, eax
je 0x47d95a
mov ecx, dword [eax]
mov dword [edx], ecx
jmp 0x47d994
mov eax, dword [ebx + 8]
mov dword [edx], eax
lea eax, [ebx + 8]
mov dword [ebx + 8], edx
mov dword [ecx + esi*4], eax
mov eax, dword [edx]
test eax, eax
je 0x47d996
mov esi, edx
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x20]
lea ecx, [edx - 1]
test edx, ecx
je 0x47de18
cmp eax, edx
jb 0x47d98d
mov ecx, edx
xor edx, edx
div ecx
mov eax, edx
shl eax, 2
add eax, dword [ebx]
mov edx, esi
mov dword [eax], edx
inc dword [ebx + 0xc]
mov ebx, dword [edx + 0x10]
test ebx, ebx
jne 0x47dba4
mov eax, dword [ebp + 8]
mov dword [edx + 0x10], eax
mov eax, dword [0x55d6cc]
mov dword [ebp - 0x24], eax
push edi
call fcn.004b78b0
add esp, 4
cmp eax, 0x7ffffff0
jae 0x47de1f
mov ebx, eax
cmp eax, 0xa
ja 0x47d9d5
lea esi, [ebp - 0x1c]
mov byte [esi + 0xb], bl
jmp 0x47d9fc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
or ebx, 0xf
inc ebx
push ebx
call fcn.0049f91a
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
cmp esi, edi
ja 0x47da0c
mov eax, ebx
add eax, esi
cmp eax, edi
ja 0x47dcdc
push ebx
push edi
push esi
call fcn.004a3290
add esp, 0xc
mov byte [esi + ebx], 0
movzx ebx, byte [ebp - 0x11]
mov ecx, ebx
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 0x2c], bl
test bl, bl
mov dword [ebp - 0x28], eax
jns 0x47da35
mov ebx, dword [ebp - 0x18]
mov ecx, eax
jmp 0x47da38
lea ecx, [ebp - 0x1c]
mov eax, ebx
mov dword [ebp - 0x30], ecx
mov edx, ebx
cmp ebx, 4
jb 0x47da76
mov edx, ebx
mov ecx, dword [ebp - 0x30]
mov eax, ebx
nop dword [eax + 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 0x47da50
cmp edx, 2
je 0x47dbeb
cmp edx, 1
je 0x47dbf4
cmp edx, 3
je 0x47dbe2
mov ecx, dword [ebp - 0x24]
mov esi, dword [ecx + 0x18]
mov dword [ebp - 0x20], 0
test esi, esi
jne 0x47dade
cmp byte [ebp - 0x2c], 0
jns 0x47dab3
push dword [ebp - 0x28]
call fcn.0049f94a
add esp, 4
cmp dword [ebp - 0x20], 0
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp + 8]
jne 0x47ddc7
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0403
mov eax, edi
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov edi, eax
shr edi, 0xf
xor edi, eax
mov ecx, esi
shr ecx, 1
and ecx, 0x55555555
mov eax, esi
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 - 0x34], eax
cmp eax, 1
jbe 0x47de2a
mov edx, edi
cmp edi, esi
mov ecx, edi
jb 0x47db40
mov eax, ecx
xor edx, edx
div esi
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x47daa2
mov dword [ebp - 0x44], edx
mov eax, dword [eax]
test eax, eax
je 0x47daa2
mov edi, esi
lea edx, [esi - 1]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x24], eax
mov eax, dword [eax + 4]
cmp ecx, eax
je 0x47dd73
cmp dword [ebp - 0x34], 1
jbe 0x47de36
cmp eax, esi
jb 0x47db88
xor edx, edx
div esi
mov eax, edx
cmp eax, dword [ebp - 0x44]
jne 0x47dbd6
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x20], 0
test eax, eax
mov esi, edi
jne 0x47db66
jmp 0x47daa2
mov edi, dword [ebp + 8]
cmp ebx, edi
mov esi, dword [ebp - 0x38]
je 0x47dac3
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test edi, edi
je 0x47dbcf
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 0x47daca
mov dword [ebp - 0x20], 0
jmp 0x47daa2
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
jmp 0x47da91
mov dword [ebp - 0x2c], edx
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
mov ebx, eax
call fcn.004c8c60
add esp, 8
fstp dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x4c]
cvttss2si ecx, xmm0
mov edx, ecx
sar edx, 0x1f
subss xmm0, dword [0x531708]
cvttss2si eax, xmm0
and eax, edx
or eax, ecx
lea ecx, [ebx + ebx]
cmp ebx, 3
jb 0x47dcb7
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 0x47dcbc
lea eax, [edx - 1]
test edx, eax
je 0x47dcc1
push edx
call fcn.004613c0
add esp, 4
mov edx, eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
cmp edx, eax
jbe 0x47de3e
mov ebx, dword [ebp - 0x24]
mov ecx, ebx
push edx
call fcn.0047e3e0
mov ecx, dword [ebx + 4]
lea eax, [ecx - 1]
test ecx, eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
je 0x47dcc6
cmp esi, ecx
jb 0x47def8
mov eax, esi
xor edx, edx
div ecx
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x2c]
jmp 0x47d948
xor edx, edx
inc edx
jmp 0x47dc57
mov edx, 2
mov eax, dword [ebp - 0x20]
jmp 0x47dc7b
and eax, esi
mov dword [ebp - 0x28], eax
jmp 0x47d948
mov ecx, esi
call fcn.0046fe30
jmp 0x47d791
push str.char_traits::copy_overlapped_range
push str.__s2_____s1____s2_____s1__n
push 0xf1
push str....._buildtools_third_partylibc_trunkinclude__stringchar_traits.h
push str._s:_d:_assertion__s_failed:__s
call fcn.004cb230
push 0x55d6c4
call fcn.00445130
add esp, 4
test al, al
je 0x47df22
mov esi, 0x55d6c8
mov ecx, 0x55d6c8
call fcn.0046fe20
mov eax, 0x55d6c4
push eax
push 0
push 0x55d6c8
push eax
call fcn.00445200
add esp, 0x10
jmp 0x47d782
push 0x55d6c4
call fcn.00445130
add esp, 4
test al, al
je 0x47df2d
mov ecx, 0x55d6c8
call fcn.0046fe20
mov eax, 0x55d6c4
push eax
push 0
push 0x55d6c8
push eax
call fcn.00445200
add esp, 0x10
jmp 0x47d79f
mov eax, dword [ebp - 0x24]
movzx edx, byte [eax + 0x13]
mov esi, edx
mov dword [ebp - 0x20], edx
test dl, dl
jns 0x47dd86
mov esi, dword [eax + 0xc]
cmp esi, ebx
jne 0x47db8d
mov eax, dword [ebp - 0x24]
lea edx, [eax + 8]
cmp byte [ebp - 0x20], 0
jns 0x47dd9c
mov edx, dword [edx]
js 0x47ddf0
cmp dword [ebp - 0x20], 0
je 0x47de10
mov dword [ebp - 0x3c], ecx
xor eax, eax
mov ecx, dword [ebp - 0x24]
mov dl, byte [ecx + eax + 8]
mov esi, dword [ebp - 0x30]
cmp dl, byte [esi + eax]
mov ecx, dword [ebp - 0x3c]
jne 0x47db8d
inc eax
cmp dword [ebp - 0x20], eax
jne 0x47dda9
jmp 0x47de0d
mov ecx, edi
push 0x20
call fcn.004787e0
jmp 0x47dac3
push 0x54
call fcn.0049f91a
add esp, 4
mov ecx, eax
call fcn.00446f90
mov eax, dword [0x55d6cc]
jmp 0x47d7b2
test ebx, ebx
je 0x47de0d
mov esi, ecx
push ebx
push dword [ebp - 0x30]
push edx
call fcn.004a1c0d
add esp, 0xc
test eax, eax
mov ecx, esi
jne 0x47db8d
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
jmp 0x47daa2
and eax, ecx
jmp 0x47d98d
lea ecx, [ebp - 0x1c]
call fcn.004c9ca0
int3
lea edx, [esi - 1]
and edx, edi
mov ecx, edi
jmp 0x47db40
and eax, dword [ebp - 0x40]
jmp 0x47db88
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x24]
jae 0x47dc8e
mov dword [ebp - 0x28], edx
movss xmm0, dword [ebx + 0xc]
orpd xmm0, xmmword [0x531710]
subsd xmm0, qword [0x531700]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [ebx + 0x10]
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.004c8c60
add esp, 8
fstp dword [ebp - 0x48]
movss xmm0, dword [ebp - 0x48]
cvttss2si eax, xmm0
mov ecx, eax
subss xmm0, dword [0x531708]
cvttss2si edx, xmm0
sar ecx, 0x1f
and edx, ecx
or edx, eax
cmp dword [ebp - 0x20], 3
jb 0x47df00
mov eax, dword [ebp - 0x20]
mov ecx, eax
shr ecx, 1
and ecx, 0x55555555
sub eax, ecx
mov ebx, 0x33333333
mov ecx, eax
and ecx, ebx
shr eax, 2
and eax, ebx
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 0x47df00
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 0x47df09
mov dword [ebp - 0x28], esi
jmp 0x47dcaf
push edx
call fcn.004613c0
add esp, 4
mov edx, dword [ebp - 0x28]
cmp edx, eax
cmovbe edx, eax
cmp edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
jb 0x47dc86
jmp 0x47dc8e
mov esi, dword [0x55d6c4]
jmp 0x47d782
mov eax, dword [0x55d6c4]
jmp 0x47d79f