Function at 0x47ed20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5400d0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x58ec74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
mov esi, eax
cmp dword [eax + 0x14], 0x10
mov ebx, dword [eax + 0x10]
mov dword [ebp - 0x18], ebx
jb 0x47ed60
mov esi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x47ed81
nop dword [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x47ed70
mov eax, dword [edi + 0x18]
mov esi, dword [ebp - 0x18]
and eax, edx
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x20], edx
mov edi, dword [edx + eax*8]
add eax, eax
lea ecx, [eax*4 + 4]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], ecx
mov ebx, dword [ecx]
nop
cmp eax, ebx
jne 0x47edb8
mov eax, ebx
jmp 0x47edc0
mov eax, dword [ebp - 0x24]
mov eax, dword [edx + eax]
mov eax, dword [eax]
cmp edi, eax
je 0x47ee5e
mov ecx, dword [ebp + 8]
mov edx, ecx
cmp dword [ecx + 0x14], 0x10
jb 0x47edd5
mov edx, dword [ecx]
cmp dword [edi + 0x1c], 0x10
lea ecx, [edi + 8]
jb 0x47ede1
mov ecx, dword [edi + 8]
push esi
push edx
push dword [edi + 0x18]
push ecx
call fcn.0041a180
add esp, 0x10
test al, al
jne 0x47edfd
mov edi, dword [edi]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
jmp 0x47edb0
mov esi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x28], esi
mov esi, dword [ebp + 8]
cmp dword [ebp - 0x1c], ebx
jne 0x47ee11
mov eax, ebx
jmp 0x47ee21
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax]
mov ebx, dword [ecx]
cmp edi, eax
je 0x47ee54
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
jb 0x47ee31
mov edx, dword [edi + 8]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x47ee3b
mov ecx, dword [esi]
push dword [edi + 0x18]
mov eax, dword [esi + 0x10]
push edx
push eax
push ecx
call fcn.0041a180
add esp, 0x10
test al, al
je 0x47ee54
mov edi, dword [edi]
jmp 0x47ee08
cmp dword [ebp - 0x28], edi
je 0x47ee5e
mov ecx, dword [ebp - 0x18]
jmp 0x47ee62
mov ecx, ebx
mov edi, ebx
mov eax, ecx
xor ebx, ebx
mov dword [ebp - 0x24], ebx
cmp eax, edi
je 0x47ee7a
nop dword [eax]
mov eax, dword [eax]
inc ebx
cmp eax, edi
jne 0x47ee70
mov dword [ebp - 0x24], ebx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
cmp ecx, dword [eax]
jne 0x47eeb5
cmp edi, eax
jne 0x47eeb5
mov ecx, edx
mov dword [ebp - 4], 0
call fcn.0047dea0
mov ecx, dword [ebp - 0x10]
push 8
call fcn.00472070
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ecx, edi
je 0x47ee9f
nop dword [eax]
mov esi, ecx
mov ecx, dword [ecx]
cmp dword [esi + 0x1c], 0x10
lea edx, [esi + 8]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp + 8], edx
jb 0x47eedb
mov eax, dword [edx]
mov dword [ebp + 8], eax
mov dword [ebp - 0x20], ecx
xor edx, edx
mov ecx, dword [esi + 0x18]
mov ebx, 0x811c9dc5
test ecx, ecx
je 0x47ef08
mov esi, dword [ebp + 8]
nop
movzx eax, byte [edx + esi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x47eef0
mov esi, dword [ebp - 0x28]
mov edx, dword [esi]
jmp 0x47ef0b
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
and ebx, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
cmp dword [eax + ebx*8 + 4], esi
lea ecx, [eax + ebx*8]
jne 0x47ef3e
cmp dword [ecx], esi
jne 0x47ef36
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
mov eax, dword [edx]
mov dword [ecx + ebx*8 + 4], eax
jmp 0x47ef44
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x47ef44
cmp dword [ecx], esi
jne 0x47ef44
mov dword [ecx], edx
mov edx, dword [esi + 4]
lea ecx, [esi + 8]
mov eax, dword [esi]
mov dword [edx], eax
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x10]
dec dword [eax + 8]
call fcn.0047d3a0
push 0x28
push esi
call fcn.004f8f7d
mov ecx, dword [ebp - 0x18]
add esp, 8
cmp ecx, edi
jne 0x47eec0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4