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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov dword [ebp - 0x2c], edx
mov esi, dword [ebp + 8]
mov eax, dword [0x41800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edx, dword [esi + 0x10]
cmp dword [esi + 0x14], 7
jbe 0x407674
mov esi, dword [esi]
test edx, 0x7fffffff
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], ecx
je 0x4076a1
mov edi, dword [ebp - 0x24]
lea esi, [edx + edx]
mov eax, 0x811c9dc5
nop dword [eax]
movzx ebx, byte [edi]
inc edi
xor ebx, eax
imul eax, ebx, 0x1000193
dec esi
jne 0x407690
jmp 0x4076a6
mov eax, 0x811c9dc5
mov ecx, dword [ebp - 0x1c]
and eax, dword [ecx + 0x18]
mov ebx, dword [ecx + 0xc]
mov esi, dword [ecx + 4]
mov edi, dword [ebx + eax*8]
add eax, eax
mov ecx, esi
mov dword [ebp - 0x28], esi
cmp edi, esi
je 0x4076cf
lea esi, [eax*4]
or esi, 4
mov esi, dword [ebx + esi]
mov ecx, dword [esi]
cmp edi, ecx
mov dword [ebp - 0x20], ebx
je 0x407784
mov dword [ebp - 0x30], edi
jmp 0x4076eb
mov edi, dword [ebp - 0x30]
cmp edi, ecx
je 0x407784
mov ecx, dword [ecx + 4]
cmp edx, dword [ecx + 0x18]
jne 0x4076e0
test edx, edx
je 0x407732
cmp dword [ecx + 0x1c], 7
jbe 0x407710
mov edi, dword [ecx + 8]
jmp 0x407713
lea edi, [ecx + 8]
xor ebx, ebx
nop word cs:[eax + eax]
nop
mov esi, dword [ebp - 0x24]
movzx esi, word [esi + ebx*2]
cmp si, word [edi + ebx*2]
jne 0x4076e0
inc ebx
cmp edx, ebx
jne 0x407720
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x1c]
dec dword [eax + 8]
mov eax, dword [esi + 0x34]
cmp eax, 0x10
jae 0x407922
lea ecx, [esi + 8]
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xf
mov byte [esi + 0x20], 0
call fcn.00408db0
push 0x38
push esi
call fcn.00412821
add esp, 8
xor eax, eax
jmp 0x407906
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx]
mov esi, ebx
mov ebx, dword [ebp - 0x1c]
cmp ecx, edi
je 0x4077c5
mov edx, dword [esi + 4]
mov dword [edx], ecx
mov edx, dword [ecx + 4]
mov dword [edx], edi
mov edx, dword [edi + 4]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov edx, dword [edi + 4]
mov dword [edi + 4], esi
mov esi, dword [ebp + 0xc]
mov esi, dword [esi + 4]
mov dword [ecx + 4], esi
mov esi, dword [ebp + 0xc]
mov dword [esi + 4], edx
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x20]
lea ecx, [edx + eax*4]
mov edx, dword [edx + eax*4]
cmp edx, dword [ebp - 0x28]
je 0x4077f7
cmp edx, edi
je 0x407804
mov edx, dword [ebp - 0x20]
or eax, 1
mov ecx, dword [edx + eax*4]
mov ecx, dword [ecx]
cmp ecx, esi
mov dword [edx + eax*4], ecx
je 0x407808
mov edx, dword [ebx + 0xc]
lea ecx, [edx + eax*4]
mov eax, dword [edx + eax*4]
mov eax, dword [eax + 4]
jmp 0x407806
shl eax, 2
mov dword [ecx], esi
or eax, 4
add eax, dword [ebx + 0xc]
mov ecx, eax
mov eax, esi
mov dword [ecx], eax
movss xmm0, dword [ebx + 8]
movsd xmm1, qword [0x414148]
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 0x407904
mov edi, ebx
mov ebx, dword [ebx + 0x1c]
xor eax, eax
mov ecx, 3
mov edx, dword [edi + 0x14]
cmp ebx, 0x1fffffff
setb al
cmp ebx, 0x200
cmovae ecx, eax
sub edx, dword [edi + 0xc]
shl ebx, cl
lea ecx, [edi + 0xc]
lea esi, [ebx + ebx]
sar edx, 2
cmp edx, esi
jae 0x40788e
cmp esi, 0x40000000
jae 0x40793f
mov edx, esi
mov edi, ecx
call fcn.004074e0
mov ecx, edi
mov edi, dword [ebp - 0x1c]
mov edx, esi
mov eax, dword [edi + 4]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.004071b0
add esp, 4
lea eax, [ebx - 1]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ebx
mov eax, dword [edi + 4]
mov esi, dword [eax]
cmp esi, eax
je 0x4078fb
mov ebx, dword [eax + 4]
mov ecx, edi
lea eax, [esi + 8]
lea edx, [ebp - 0x18]
push esi
push eax
call fcn.00407650
add esp, 8
cmp esi, ebx
je 0x4078fb
mov esi, dword [ebp - 0x1c]
nop word cs:[eax + eax]
nop dword [eax]
mov eax, dword [esi + 4]
mov ecx, esi
lea edx, [ebp - 0x18]
mov edi, dword [eax]
lea eax, [edi + 8]
push edi
push eax
call fcn.00407650
add esp, 8
cmp edi, ebx
jne 0x4078e0
mov eax, dword [ebp + 0xc]
mov ebx, eax
mov al, 1
jmp 0x407906
mov ebx, esi
mov esi, dword [ebp - 0x2c]
mov dword [esi], ebx
mov byte [esi + 4], al
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00413150
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esi + 0x20]
lea edi, [eax + 1]
cmp edi, 0x1000
jae 0x407944
push edi
push ecx
call fcn.00412821
add esp, 8
jmp 0x407758
call fcn.004074d0
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x40795d
mov esi, dword [ebp + 0xc]
add eax, 0x24
mov ecx, edx
mov edi, eax
jmp 0x407930
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3