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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57bbbe
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x5f5ea4]
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 dword [ebp - 0x128], ecx
mov dword [ebp - 4], 0
push 0x5fea94
mov byte [ebp - 0x114], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp + 0x1c]
lea edx, [ebp + 8]
mov esi, dword [ebp + 0x18]
cmp ebx, 8
mov edi, 0x811c9dc5
cmovae edx, dword [ebp + 8]
xor ecx, ecx
add esi, esi
je 0x466121
nop dword [eax + eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, esi
jb 0x466110
and edi, dword [0x5fe950]
mov edx, dword [0x5fe944]
mov ecx, dword [edx + edi*8]
mov esi, ecx
mov dword [ebp - 0x12c], ecx
mov eax, dword [0x5fe93c]
cmp ecx, eax
je 0x466147
mov eax, dword [edx + edi*8 + 4]
mov eax, dword [eax]
cmp esi, eax
je 0x4661e4
mov eax, dword [esi + 0x1c]
lea ecx, [esi + 8]
cmp ebx, 8
mov dword [ebp - 0x11c], eax
mov ebx, dword [ecx + 0x10]
lea edx, [ebp + 8]
cmovae edx, dword [ebp + 8]
cmp eax, 8
jb 0x46616f
mov ecx, dword [ecx]
cmp ebx, dword [ebp + 0x18]
jne 0x466181
push ebx
call fcn.004542e0
add esp, 4
test eax, eax
je 0x466194
mov esi, dword [esi]
mov ecx, dword [ebp - 0x12c]
mov edx, dword [0x5fe944]
mov ebx, dword [ebp + 0x1c]
jmp 0x466138
cmp dword [ebp - 0x11c], 8
lea edx, [esi + 8]
jb 0x4661a2
mov edx, dword [edx]
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
cmp eax, ebx
jne 0x4661c8
push eax
call fcn.004542e0
add esp, 4
test eax, eax
jne 0x4661c8
mov eax, dword [0x5fe93c]
jmp 0x4661cf
mov eax, dword [0x5fe93c]
mov esi, eax
mov ebx, dword [ebp - 0x114]
cmp esi, eax
movzx ebx, bl
mov edi, 1
cmovne ebx, edi
jmp 0x4661ea
mov ebx, dword [ebp - 0x114]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x5fea94
call esi
test bl, bl
je 0x466238
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x466841
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x466837
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46685f
jmp 0x466837
lea edx, [ebp - 0x118]
mov dword [ebp - 0x118], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00465930
mov edi, eax
cmp edi, 1
je 0x466284
push 0x5fea94
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp - 0x120]
lea eax, [ebp + 8]
mov ecx, 0x5fe938
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.0045b800
push 0x5fea94
call esi
test edi, edi
jne 0x4661fb
mov esi, dword [ebp - 0x118]
cmp esi, 0xffffffff
je 0x4661fb
push 0xc8
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.0054e940
add esp, 0xc
lea eax, [ebp + 8]
lea ecx, [ebp - 0x110]
push esi
push eax
call fcn.0044e470
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 2
call fcn.0044e880
test al, al
jne 0x46648c
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x14c]
call fcn.0044d0f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14c]
cmp dword [ebp - 0x138], 8
lea eax, [ebp + 8]
cmovae ecx, dword [ebp - 0x14c]
cmp dword [ebp + 0x1c], 8
push ecx
cmovae eax, dword [ebp + 8]
push eax
push str.____Failed_to_crypt__s__Error___s
call fcn.0046adc0
mov byte [ebp - 4], 2
add esp, 0xc
mov edx, dword [ebp - 0x138]
cmp edx, 8
jb 0x46635f
mov ecx, dword [ebp - 0x14c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x466355
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46685f
push edx
push ecx
call fcn.00536ae6
add esp, 8
mov dword [ebp - 4], 1
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x110]
cmp eax, 0xffffffff
je 0x466392
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push dword [ebp - 0x110]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x110], 0xffffffff
mov edx, dword [ebp - 0xcc]
cmp edx, 8
jb 0x4663d2
mov ecx, dword [ebp - 0xe0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4663c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46685f
push edx
push ecx
call fcn.00536ae6
add esp, 8
mov edx, dword [ebp - 0xe4]
xor eax, eax
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 7
mov word [ebp - 0xe0], ax
cmp edx, 8
jb 0x46642f
mov ecx, dword [ebp - 0xf8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x466425
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46685f
push edx
push ecx
call fcn.00536ae6
add esp, 8
xor eax, eax
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 7
mov word [ebp - 0xf8], ax
mov byte [ebp - 4], 8
mov edi, dword [ebp - 0x108]
test edi, edi
je 0x4661fb
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4661fb
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x4661fb
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
jmp 0x4661fb
cmp byte [0x5fc988], 0
je 0x4665eb
mov eax, dword [ebp - 0xfc]
mov esi, eax
mov ecx, dword [ebp - 0x100]
mov ebx, ecx
mov dword [ebp - 0x120], eax
movzx eax, byte [0x5fc947]
shl eax, 0x14
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x12c], esi
test esi, esi
jl 0x46651d
jg 0x4664d5
cmp ebx, eax
jb 0x46651d
call fcn.00457530
movzx eax, al
mov edx, esi
mov ecx, ebx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x5e8b50]
movsd qword [ebp - 0x130], xmm0
call fcn.00537700
mulsd xmm0, qword [ebp - 0x130]
call fcn.005375af
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x12c], edx
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x4665eb
mov eax, dword [eax + 0x244]
lea eax, [eax*8 + 0x5fd7b0]
mov dword [ebp - 0x124], eax
nop
mov esi, dword [eax]
mov ebx, esi
mov edi, dword [eax + 4]
add ebx, ecx
mov ecx, edi
mov dword [ebp - 0x118], edi
adc ecx, dword [ebp - 0x120]
mov eax, esi
mov edx, edi
mov edi, dword [ebp - 0x124]
lock cmpxchg8b qword [edi]
mov edi, dword [ebp - 0x118]
cmp eax, esi
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x114]
jne 0x466540
cmp edx, edi
jne 0x466540
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x244]
lea eax, [eax*8 + 0x5fcfb8]
mov dword [ebp - 0x114], eax
mov esi, dword [eax]
mov ebx, esi
mov edi, dword [eax + 4]
mov ecx, edi
add ebx, dword [ebp - 0x11c]
mov eax, esi
mov dword [ebp - 0x120], edi
mov edx, edi
adc ecx, dword [ebp - 0x12c]
mov edi, dword [ebp - 0x114]
lock cmpxchg8b qword [edi]
mov edi, dword [ebp - 0x120]
cmp eax, esi
mov eax, dword [ebp - 0x114]
jne 0x466598
cmp edx, edi
jne 0x466598
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x244]
lea eax, [eax*4 + 0x5fcbb8]
lock inc dword [eax]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x110]
cmp eax, 0xffffffff
je 0x466617
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push dword [ebp - 0x110]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x110], 0xffffffff
mov edx, dword [ebp - 0xcc]
cmp edx, 8
jb 0x466657
mov ecx, dword [ebp - 0xe0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46664d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46685f
push edx
push ecx
call fcn.00536ae6
add esp, 8
mov edx, dword [ebp - 0xe4]
xor eax, eax
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 7
mov word [ebp - 0xe0], ax
cmp edx, 8
jb 0x4666b4
mov ecx, dword [ebp - 0xf8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4666aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46685f
push edx
push ecx
call fcn.00536ae6
add esp, 8
xor eax, eax
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 7
mov word [ebp - 0xf8], ax
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x108]
test edi, edi
je 0x466700
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x466700
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x466700
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x46673a
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x466730
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46685f
push edx
push ecx
call fcn.00536ae6
add esp, 8
mov eax, 1
jmp 0x466843
push edx
push ecx
call fcn.00536ae6
add esp, 8
xor eax, eax
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.005368a5
mov esp, ebp
pop ebp
ret
call fcn.00552581
int3