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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x5cf2a4]
mov ebx, dword [ebp + 0xc]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, dword [ebx + 0x10]
cmp dword [ebx + 0x14], 0xf
jbe 0x438561
mov ebx, dword [ebx]
test esi, esi
mov edi, 0x811c9dc5
mov dword [ebp - 0x1c], ebx
je 0x43857f
mov eax, esi
nop
movzx edx, byte [ebx]
inc ebx
xor edx, edi
imul edi, edx, 0x1000193
dec eax
jne 0x438570
and edi, dword [ecx + 0x18]
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x20], ecx
mov ecx, dword [edx + edi*8]
add edi, edi
mov dword [ebp - 0x28], ebx
cmp ecx, ebx
je 0x4385a6
lea eax, [edi*4]
or eax, 4
mov eax, dword [edx + eax]
mov ebx, dword [eax]
cmp ecx, ebx
mov dword [ebp - 0x24], edx
je 0x4385f0
mov dword [ebp - 0x2c], ecx
mov ebx, dword [ebx + 4]
cmp esi, dword [ebx + 0x18]
jne 0x4385ec
cmp dword [ebx + 0x1c], 0xf
jbe 0x4385d0
mov eax, dword [ebx + 8]
jmp 0x4385d3
lea eax, [ebx + 8]
mov ecx, dword [ebp - 0x1c]
push esi
push eax
push ecx
call fcn.004e7105
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
test eax, eax
je 0x43867e
cmp ecx, ebx
jne 0x4385b0
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x20]
mov eax, dword [esi]
mov edx, esi
mov esi, ecx
cmp eax, ecx
mov ecx, dword [ebp - 0x24]
je 0x438633
mov ecx, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov ecx, dword [esi + 4]
mov dword [esi + 4], edx
mov edx, dword [ebp + 0x10]
mov edx, dword [edx + 4]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x10]
mov dword [edx + 4], ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ecx + edi*4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ecx + edi*4]
cmp ecx, dword [ebp - 0x28]
je 0x43866d
cmp ecx, esi
je 0x4386e3
mov ecx, dword [ebp - 0x24]
or edi, 1
mov eax, dword [ecx + edi*4]
mov eax, dword [eax]
cmp eax, edx
mov dword [ecx + edi*4], eax
je 0x4386e7
mov ecx, dword [ebx + 0xc]
lea eax, [ecx + edi*4]
mov ecx, dword [ecx + edi*4]
mov ecx, dword [ecx + 4]
jmp 0x4386e5
shl edi, 2
mov dword [eax], edx
mov ecx, edx
or edi, 4
add edi, dword [ebx + 0xc]
mov eax, edi
jmp 0x4386e5
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ecx], eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x20]
dec dword [eax + 8]
mov eax, dword [edx + 0x1c]
cmp eax, 0x10
jb 0x4386d1
mov ecx, dword [edx + 8]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x4386c4
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4387f5
add eax, 0x24
mov ecx, edx
mov esi, eax
push esi
push ecx
call fcn.004e570f
add esp, 8
mov edx, dword [ebp + 0x10]
push 0x24
push edx
call fcn.004e570f
add esp, 8
xor eax, eax
jmp 0x4387d2
mov ecx, edx
mov dword [eax], ecx
movss xmm0, dword [ebx + 8]
movsd xmm1, qword [0x56b538]
movss xmm2, dword [ebx + 0x1c]
mov al, 1
orpd xmm0, xmm1
orpd xmm2, xmm1
subsd xmm0, xmm1
subsd xmm2, xmm1
cvtsd2ss xmm0, xmm0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm2
divss xmm0, xmm1
ucomiss xmm0, dword [ebx]
jbe 0x4387d0
mov esi, dword [ebx + 0x1c]
mov cl, 3
cmp esi, 0x1fffffff
setb al
cmp esi, 0x200
jb 0x43873b
mov ecx, eax
mov eax, dword [ebx + 0x14]
shl esi, cl
lea ecx, [ebx + 0xc]
lea edx, [esi + esi]
sub eax, dword [ebx + 0xc]
sar eax, 2
cmp eax, edx
jae 0x43876c
cmp edx, 0x40000000
jae 0x4387f0
mov edi, ecx
push edx
mov dword [ebp - 0x1c], edx
call fcn.004174b0
mov edx, dword [ebp - 0x1c]
mov ecx, edi
mov eax, dword [ebx + 4]
mov edi, ebx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push edx
call fcn.00417150
lea eax, [esi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], esi
mov eax, dword [ebx + 4]
mov ebx, dword [eax]
cmp ebx, eax
je 0x4387c9
mov esi, dword [eax + 4]
lea eax, [ebx + 8]
mov ecx, edi
push ebx
push eax
lea edi, [ebp - 0x18]
push edi
call fcn.00438540
cmp ebx, esi
je 0x4387c9
mov ebx, dword [ebp - 0x20]
nop word [eax + eax]
mov eax, dword [ebx + 4]
mov ecx, ebx
mov edi, dword [eax]
lea eax, [edi + 8]
push edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00438540
cmp edi, esi
jne 0x4387b0
mov ebx, dword [ebp + 0x10]
mov al, 1
jmp 0x4387d2
mov ebx, edx
mov esi, dword [ebp + 8]
mov dword [esi], ebx
mov byte [esi + 4], al
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e5b80
mov eax, esi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
call fcn.00403420
call fcn.004eba95
int3