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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57305b
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x5ebea4]
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 0x5f32b8
mov byte [ebp - 0x110], 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 0x45ebf6
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x45ebe5
and edx, dword [0x5f31ac]
mov ecx, dword [0x5f31a0]
mov edi, dword [0x5f3198]
mov eax, dword [ecx + edx*8]
lea edx, [edx*8 + 4]
mov dword [ebp - 0x114], eax
mov esi, eax
mov dword [ebp - 0x118], edx
cmp eax, edi
jne 0x45ec28
mov eax, edi
jmp 0x45ec2d
mov eax, dword [edx + ecx]
mov eax, dword [eax]
cmp esi, eax
je 0x45ecca
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 0x45ec55
mov ecx, dword [ecx]
cmp ebx, dword [ebp + 0x18]
jne 0x45ec67
push ebx
call fcn.00452ff0
add esp, 4
test eax, eax
je 0x45ec80
mov esi, dword [esi]
mov eax, dword [ebp - 0x114]
mov ecx, dword [0x5f31a0]
mov ebx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x118]
jmp 0x45ec20
cmp dword [ebp - 0x11c], 8
lea edx, [esi + 8]
jb 0x45ec8e
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 0x45ecad
push eax
call fcn.00452ff0
add esp, 4
test eax, eax
je 0x45ecaf
mov esi, edi
mov eax, dword [ebp - 0x110]
cmp esi, edi
movzx eax, al
mov ebx, 1
cmovne eax, ebx
mov dword [ebp - 0x110], eax
jmp 0x45eccf
mov ebx, 1
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x5f32b8
call esi
cmp byte [ebp - 0x110], 0
je 0x45ed22
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x45f1b7
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45f1ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f1d5
jmp 0x45f1ad
lea edx, [ebp - 0x110]
mov dword [ebp - 0x110], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0045e410
mov edi, eax
cmp edi, 1
je 0x45ed6e
push 0x5f32b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp - 0x11c]
lea eax, [ebp + 8]
mov ecx, 0x5f3194
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.00459f70
push 0x5f32b8
call esi
test edi, edi
jne 0x45ece5
mov esi, dword [ebp - 0x110]
cmp esi, 0xffffffff
je 0x45ece5
push 0xc8
lea eax, [ebp - 0x10c]
push edi
push eax
call fcn.005471b0
add esp, 0xc
lea eax, [ebp + 8]
lea ecx, [ebp - 0x10c]
push esi
push eax
call fcn.0044d4b0
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 2
call fcn.0044d8a0
test al, al
jne 0x45ef64
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0044c140
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.00463ab0
mov byte [ebp - 4], 2
add esp, 0xc
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x45ee37
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45ee2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f1d5
push edx
push ecx
call fcn.0052f5d6
add esp, 8
mov dword [ebp - 4], 1
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10c]
cmp eax, 0xffffffff
je 0x45ee6a
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push dword [ebp - 0x10c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10c], 0xffffffff
mov edx, dword [ebp - 0xc8]
cmp edx, 8
jb 0x45eeaa
mov ecx, dword [ebp - 0xdc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45eea0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f1d5
push edx
push ecx
call fcn.0052f5d6
add esp, 8
mov edx, dword [ebp - 0xe0]
xor eax, eax
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 7
mov word [ebp - 0xdc], ax
cmp edx, 8
jb 0x45ef07
mov ecx, dword [ebp - 0xf4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45eefd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f1d5
push edx
push ecx
call fcn.0052f5d6
add esp, 8
xor eax, eax
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 7
mov word [ebp - 0xf4], ax
mov byte [ebp - 4], 8
mov edi, dword [ebp - 0x104]
test edi, edi
je 0x45ece5
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x45ece5
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x45ece5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
jmp 0x45ece5
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10c]
cmp eax, 0xffffffff
je 0x45ef90
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push dword [ebp - 0x10c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10c], 0xffffffff
mov edx, dword [ebp - 0xc8]
cmp edx, 8
jb 0x45efd0
mov ecx, dword [ebp - 0xdc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45efc6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f1d5
push edx
push ecx
call fcn.0052f5d6
add esp, 8
mov edx, dword [ebp - 0xe0]
xor eax, eax
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 7
mov word [ebp - 0xdc], ax
cmp edx, 8
jb 0x45f02d
mov ecx, dword [ebp - 0xf4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45f023
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f1d5
push edx
push ecx
call fcn.0052f5d6
add esp, 8
xor eax, eax
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 7
mov word [ebp - 0xf4], ax
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x104]
test edi, edi
je 0x45f079
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x45f079
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x45f079
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x45f0b3
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45f0a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f1d5
push edx
push ecx
call fcn.0052f5d6
add esp, 8
mov eax, ebx
jmp 0x45f1b9
push edx
push ecx
call fcn.0052f5d6
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.0052f395
mov esp, ebp
pop ebp
ret
call fcn.0054b071
int3