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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x409050
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x40d00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x20], eax
mov ecx, dword [eax + 0x14]
mov edi, dword [eax + 0x10]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], ecx
cmp ecx, 0x10
jb 0x40708e
mov esi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x4070b1
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4070a0
mov esi, dword [ebx + 4]
lea eax, [ebx + 4]
mov edi, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and edi, edx
mov dword [ebp - 0x18], eax
lea eax, [ebx + 0xc]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edi
mov eax, dword [ecx + edi*8]
cmp eax, esi
je 0x4070d8
mov esi, dword [ecx + edi*8 + 4]
mov esi, dword [esi]
mov ebx, dword [ebp - 0x24]
nop dword [eax + eax]
cmp esi, eax
je 0x407184
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 0x10
lea edi, [esi + 8]
jb 0x4070f7
mov edi, dword [esi + 8]
cmp dword [ebp - 0x30], 0x10
mov edx, dword [ebp - 0x20]
jb 0x407102
mov edx, dword [edx]
cmp ebx, dword [esi + 0x18]
jne 0x4070e0
sub ebx, 4
jb 0x407121
nop dword [eax]
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x407126
add edx, 4
add edi, 4
sub ebx, 4
jae 0x407110
cmp ebx, 0xfffffffc
je 0x40715a
mov cl, byte [edx]
cmp cl, byte [edi]
jne 0x407153
cmp ebx, 0xfffffffd
je 0x40715a
mov cl, byte [edx + 1]
cmp cl, byte [edi + 1]
jne 0x407153
cmp ebx, 0xfffffffe
je 0x40715a
mov cl, byte [edx + 2]
cmp cl, byte [edi + 2]
jne 0x407153
cmp ebx, 0xffffffff
je 0x40715a
mov cl, byte [edx + 3]
cmp cl, byte [edi + 3]
je 0x40715a
sbb ecx, ecx
or ecx, 1
jmp 0x40715c
xor ecx, ecx
mov ebx, dword [ebp - 0x24]
test ecx, ecx
jne 0x4070e0
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
push eax
call fcn.00407610
mov eax, dword [ebp - 0x28]
mov dword [eax], esi
mov byte [eax + 4], 0
jmp 0x4072d3
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
cmp esi, eax
je 0x4071b1
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
mov eax, dword [ecx + edx*8]
cmp eax, dword [ebx + 4]
jne 0x4071d0
mov dword [ecx + edx*8], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx*8 + 4], edi
jmp 0x4071f5
cmp eax, esi
jne 0x4071d9
mov dword [ecx + edx*8], edi
jmp 0x4071f5
mov eax, dword [ecx + edx*8 + 4]
mov eax, dword [eax]
mov dword [ecx + edx*8 + 4], eax
cmp eax, edi
je 0x4071f5
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx*8 + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx*8 + 4], eax
mov dword [ebp - 4], 2
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0x1c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x40a740]
mov eax, esi
shr eax, 0x1f
cvtpd2ps xmm1, xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x40a740]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebx]
jbe 0x4072ca
cmp esi, 0x200
jae 0x40724e
shl esi, 3
jmp 0x407258
cmp esi, 0x1fffffff
jae 0x407258
add esi, esi
mov eax, dword [ebx + 0x14]
lea edx, [ebx + 0xc]
sub eax, dword [edx]
lea ecx, [esi + esi]
sar eax, 2
cmp ecx, eax
jbe 0x407284
cmp ecx, 0x3fffffff
ja 0x407314
push ecx
mov ecx, edx
call fcn.004031c0
lea ecx, [esi + esi]
lea edx, [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
mov ecx, edx
call fcn.00403030
lea eax, [esi - 1]
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
cmp dword [eax], eax
je 0x4072ca
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
nop dword [eax]
mov esi, dword [ebx + 4]
mov ecx, ebx
mov esi, dword [esi]
push esi
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00407030
cmp esi, dword [ebp - 0x1c]
jne 0x4072b0
mov eax, dword [ebp - 0x28]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00407a14
mov esp, ebp
pop ebp
ret 0xc
call fcn.004031b0
int3