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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [0x519058]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, dword [0x51c9d4]
cmp esi, 1
ja 0x42b1bf
push 0x51c9d4
call fcn.0042a8f0
add esp, 4
test al, al
je 0x42b1b9
mov ecx, 0x51c9d8
mov esi, 0x51c9d8
call fcn.0042a4a0
push 0x51c9d4
push 0
push 0x51c9d8
push 0x51c9d4
call fcn.0042a9a0
add esp, 0x10
jmp 0x42b1bf
mov esi, dword [0x51c9d4]
mov ecx, esi
call fcn.0042a4b0
mov eax, dword [0x51c9d4]
cmp eax, 1
ja 0x42b20b
push 0x51c9d4
call fcn.0042a8f0
add esp, 4
test al, al
je 0x42b206
mov ecx, 0x51c9d8
call fcn.0042a4a0
push 0x51c9d4
push 0
push 0x51c9d8
push 0x51c9d4
call fcn.0042a9a0
add esp, 0x10
jmp 0x42b20b
mov eax, dword [0x51c9d4]
mov ebx, dword [0x51c9dc]
mov edi, dword [ebp + 8]
test ebx, ebx
jne 0x42b22f
push 0x74
call fcn.0049a550
add esp, 4
mov ecx, eax
call fcn.0042af40
mov ebx, dword [0x51c9dc]
mov edi, dword [edi + 4]
mov dword [ebp - 0x3c], esi
test edi, edi
mov dword [ebp - 0x30], edi
je 0x42b247
push edi
call fcn.004abcf0
add esp, 4
jmp 0x42b249
xor eax, eax
lea edx, [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov ecx, ebx
lea eax, [ebp - 0x30]
mov ebx, edx
push eax
push edx
call fcn.0042bfb0
mov eax, dword [ebp - 0x28]
mov esi, dword [eax + 0x10]
test esi, esi
je 0x42b28a
mov edi, dword [ebp + 8]
cmp esi, edi
je 0x42b3e6
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov edi, esi
jmp 0x42b3ef
mov ecx, dword [ebp + 8]
mov esi, ebx
mov dword [eax + 0x10], ecx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov eax, dword [0x51c9dc]
mov dword [ebp - 0x34], eax
push edi
call fcn.004abcf0
add esp, 4
mov ebx, eax
cmp eax, 0xf
jbe 0x42b2d7
sub esp, 0xc
mov al, byte [ebp - 0x30]
lea ecx, [ebp - 0x28]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], ebx
call fcn.0040273c
jmp 0x42b2ea
mov dword [ebp - 0x18], ebx
push ebx
push edi
push esi
call fcn.004a0b10
add esp, 0xc
mov byte [ebp + ebx - 0x28], 0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x18]
cmp ecx, 0xf
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x40], ecx
cmova esi, eax
test ebx, ebx
mov eax, 0x811c9dc5
mov dword [ebp - 0x44], esi
je 0x42b31f
mov ecx, esi
mov edx, ebx
nop
movzx esi, byte [ecx]
inc ecx
xor esi, eax
imul eax, esi, 0x1000193
dec edx
jne 0x42b310
mov ecx, dword [ebp - 0x34]
and eax, dword [ecx + 0x38]
mov esi, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x2c]
mov edi, dword [ecx + eax*8]
cmp esi, edi
je 0x42b388
add eax, eax
mov dword [ebp - 0x34], esi
shl eax, 2
or eax, 4
mov esi, dword [ecx + eax]
cmp dword [edi + 0x18], ebx
jne 0x42b374
nop word cs:[eax + eax]
nop
cmp dword [edi + 0x1c], 0xf
jbe 0x42b360
mov eax, dword [edi + 8]
jmp 0x42b363
lea eax, [edi + 8]
push ebx
push dword [ebp - 0x44]
push eax
call fcn.004a1d28
add esp, 0xc
test eax, eax
je 0x42b386
cmp edi, esi
je 0x42b381
mov edi, dword [edi]
cmp dword [edi + 0x18], ebx
je 0x42b350
jmp 0x42b374
mov esi, dword [ebp - 0x34]
jmp 0x42b388
mov esi, edi
mov edx, dword [ebp - 0x40]
mov edi, dword [ebp + 8]
cmp edx, 0x10
jb 0x42b3c2
lea ecx, [edx + 1]
cmp ecx, 0x1000
jb 0x42b3b5
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, eax
cmp ecx, 0x20
jae 0x42b403
add edx, 0x24
mov ecx, edx
jmp 0x42b3b8
mov eax, dword [ebp - 0x38]
push ecx
push eax
call fcn.0049a588
add esp, 8
mov eax, dword [0x51c9dc]
cmp esi, dword [eax + 0x24]
je 0x42b3e6
cmp dword [esi + 0x20], 0
je 0x42b3dd
mov ecx, edi
push 0x20
call fcn.00419d80
jmp 0x42b3e6
mov ecx, edi
push 0x20
call fcn.00419d90
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049a81b
mov eax, edi
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004a49d8
int3