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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x1d17014]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov edi, dword [eax]
test edi, edi
je 0x1c8d985
push edi
call fcn.01cb0b70
add esp, 4
cmp eax, 0x7ffffff0
jae 0x1c8da26
mov ebx, eax
cmp eax, 0xa
ja 0x1c8d7b4
lea esi, [ebp - 0x1c]
mov byte [esi + 0xb], bl
jmp 0x1c8d7db
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
or ebx, 0xf
inc ebx
push ebx
call fcn.01c97121
add esp, 4
mov esi, eax
mov dword [ebp - 0x1c], eax
or ebx, 0x80000000
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x18], ebx
cmp esi, edi
ja 0x1c8d7eb
mov eax, ebx
add eax, esi
cmp eax, edi
ja 0x1c8d9a3
push ebx
push edi
push esi
call fcn.01c9aa40
add esp, 0xc
mov byte [esi + ebx], 0
movzx ebx, byte [ebp - 0x11]
mov ecx, ebx
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 0x21], bl
test bl, bl
mov dword [ebp - 0x28], eax
jns 0x1c8d814
mov ebx, dword [ebp - 0x18]
mov edx, eax
jmp 0x1c8d817
lea edx, [ebp - 0x1c]
mov eax, ebx
mov dword [ebp - 0x2c], edx
mov esi, ebx
cmp ebx, 4
jb 0x1c8d856
mov esi, ebx
mov edx, dword [ebp - 0x2c]
mov eax, ebx
nop word [eax + eax]
imul ecx, dword [edx], 0x5bd1e995
mov edi, ecx
shr edi, 0x18
xor edi, ecx
imul ecx, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, ecx
add edx, 4
add esi, 0xfffffffc
cmp esi, 3
ja 0x1c8d830
mov ecx, dword [ebp + 8]
cmp esi, 1
je 0x1c8d87a
cmp esi, 2
je 0x1c8d871
cmp esi, 3
jne 0x1c8d885
movzx esi, byte [edx + 2]
shl esi, 0x10
xor eax, esi
movzx esi, byte [edx + 1]
shl esi, 8
xor eax, esi
movzx edx, byte [edx]
xor edx, eax
imul eax, edx, 0x5bd1e995
mov ecx, dword [ecx + 4]
xor esi, esi
test ecx, ecx
jne 0x1c8d8b8
cmp byte [ebp - 0x21], 0
jns 0x1c8d89f
push dword [ebp - 0x28]
call fcn.01c97151
add esp, 4
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c97fe3
mov eax, ebx
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov edi, eax
shr edi, 0xf
xor edi, eax
mov edx, ecx
shr edx, 1
and edx, 0x55555555
mov dword [ebp - 0x20], ecx
mov eax, ecx
sub eax, edx
mov edx, 0x33333333
mov ecx, eax
and ecx, edx
shr eax, 2
and eax, edx
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 - 0x3c], eax
cmp eax, 1
jbe 0x1c8da2b
mov edx, edi
mov eax, dword [ebp - 0x20]
cmp edi, eax
mov ecx, edi
mov edi, eax
jb 0x1c8d922
mov eax, ecx
xor edx, edx
div edi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x1c8d88e
mov eax, dword [eax]
test eax, eax
je 0x1c8d88e
lea esi, [edi - 1]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x20], eax
mov eax, dword [eax + 4]
cmp ecx, eax
je 0x1c8d9c1
cmp dword [ebp - 0x3c], 1
jbe 0x1c8da3c
cmp eax, edi
jb 0x1c8d966
xor edx, edx
div edi
mov eax, edx
cmp eax, dword [ebp - 0x38]
jne 0x1c8d97e
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
xor esi, esi
test eax, eax
mov ecx, dword [ebp - 0x34]
jne 0x1c8d948
jmp 0x1c8d88e
xor esi, esi
jmp 0x1c8d88e
push str.basic_string_const_char__detected_nullptr
push str.__s___nullptr
push 0x371
push str....._buildtools_third_partylibc_trunkinclude_string
push str._s:_d:_assertion__s_failed:__s
call fcn.01cc47f0
push str.char_traits::copy_overlapped_range
push str.__s2_____s1____s2_____s1__n
push 0xee
push str....._buildtools_third_partylibc_trunkinclude__stringchar_traits.h
push str._s:_d:_assertion__s_failed:__s
call fcn.01cc47f0
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x13]
mov ecx, eax
test al, al
jns 0x1c8d9d4
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0xc]
cmp ecx, ebx
jne 0x1c8d96b
mov ecx, dword [ebp - 0x20]
add ecx, 8
test al, al
jns 0x1c8d9e4
mov ecx, dword [ecx]
js 0x1c8da0c
test eax, eax
je 0x1c8da04
xor ecx, ecx
mov edx, dword [ebp - 0x20]
mov dl, byte [edx + ecx + 8]
mov esi, dword [ebp - 0x2c]
cmp dl, byte [esi + ecx]
jne 0x1c8d96b
inc ecx
cmp eax, ecx
jne 0x1c8d9ec
mov esi, dword [ebp - 0x20]
jmp 0x1c8d88e
test ebx, ebx
je 0x1c8da04
push ebx
push dword [ebp - 0x2c]
push ecx
call fcn.01c993bd
add esp, 0xc
test eax, eax
je 0x1c8da04
jmp 0x1c8d96b
call fcn.01cab250
mov eax, dword [ebp - 0x20]
lea edx, [eax - 1]
and edx, edi
mov ecx, edi
mov edi, eax
jmp 0x1c8d922
and eax, dword [ebp - 0x30]
jmp 0x1c8d966