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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57024b
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5e8ea4]
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 - 4], 0
push 0x5f0264
mov byte [ebp - 0x90], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp + 0x1c]
lea esi, [ebp + 8]
mov edi, dword [ebp + 0x18]
cmp ebx, 8
mov edx, 0x811c9dc5
cmovae esi, dword [ebp + 8]
xor ecx, ecx
add edi, edi
je 0x45c536
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x45c525
and edx, dword [0x5f0158]
mov ecx, dword [0x5f014c]
mov edi, dword [0x5f0144]
mov eax, dword [ecx + edx*8]
lea edx, [edx*8 + 4]
mov dword [ebp - 0x94], eax
mov esi, eax
mov dword [ebp - 0x98], edx
cmp eax, edi
jne 0x45c568
mov eax, edi
jmp 0x45c56d
mov eax, dword [edx + ecx]
mov eax, dword [eax]
cmp esi, eax
je 0x45c60a
mov eax, dword [esi + 0x1c]
lea ecx, [esi + 8]
cmp ebx, 8
mov dword [ebp - 0x9c], eax
mov ebx, dword [ecx + 0x10]
lea edx, [ebp + 8]
cmovae edx, dword [ebp + 8]
cmp eax, 8
jb 0x45c595
mov ecx, dword [ecx]
cmp ebx, dword [ebp + 0x18]
jne 0x45c5a7
push ebx
call fcn.00451020
add esp, 4
test eax, eax
je 0x45c5c0
mov esi, dword [esi]
mov eax, dword [ebp - 0x94]
mov ecx, dword [0x5f014c]
mov ebx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x98]
jmp 0x45c560
cmp dword [ebp - 0x9c], 8
lea edx, [esi + 8]
jb 0x45c5ce
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 0x45c5ed
push eax
call fcn.00451020
add esp, 4
test eax, eax
je 0x45c5ef
mov esi, edi
mov eax, dword [ebp - 0x90]
cmp esi, edi
movzx eax, al
mov ebx, 1
cmovne eax, ebx
mov dword [ebp - 0x90], eax
jmp 0x45c60f
mov ebx, 1
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x5f0264
call esi
cmp byte [ebp - 0x90], 0
je 0x45c662
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x45caa3
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45ca99
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45cac1
jmp 0x45ca99
lea edx, [ebp - 0x90]
mov dword [ebp - 0x90], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0045bd50
mov edi, eax
cmp edi, 1
je 0x45c6ae
push 0x5f0264
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp - 0x9c]
lea eax, [ebp + 8]
mov ecx, 0x5f0140
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.004578e0
push 0x5f0264
call esi
test edi, edi
jne 0x45c625
mov esi, dword [ebp - 0x90]
cmp esi, 0xffffffff
je 0x45c625
push 0x48
lea eax, [ebp - 0x74]
push edi
push eax
call fcn.005446b0
add esp, 0xc
lea eax, [ebp + 8]
lea ecx, [ebp - 0x74]
push esi
push eax
call fcn.0044d290
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.0044d5d0
test al, al
jne 0x45c86b
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0044c0c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
lea eax, [ebp + 8]
cmovae ecx, dword [ebp - 0x2c]
cmp dword [ebp + 0x1c], 8
push ecx
cmovae eax, dword [ebp + 8]
push eax
push str.____Failed_to_crypt__s__Error___s
call fcn.004612c0
mov byte [ebp - 4], 2
add esp, 0xc
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x45c768
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c75e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45cac1
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov dword [ebp - 4], 1
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x74]
cmp eax, 0xffffffff
je 0x45c792
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x74], 0xffffffff
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x45c7cc
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c7c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45cac1
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov edx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp edx, 8
jb 0x45c81a
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c810
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45cac1
push edx
push ecx
call fcn.0052cac7
add esp, 8
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 8
mov edi, dword [ebp - 0x6c]
test edi, edi
je 0x45c625
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x45c625
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x45c625
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
jmp 0x45c625
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x74]
cmp eax, 0xffffffff
je 0x45c88e
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x74], 0xffffffff
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x45c8c8
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c8be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45cac1
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov edx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp edx, 8
jb 0x45c916
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c90c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45cac1
push edx
push ecx
call fcn.0052cac7
add esp, 8
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x6c]
test edi, edi
je 0x45c956
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x45c956
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x45c956
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x45c990
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c986
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45cac1
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov eax, ebx
jmp 0x45caa5
push edx
push ecx
call fcn.0052cac7
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.0052c886
mov esp, ebp
pop ebp
ret
call fcn.00548571
int3