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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6cd12d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x7df5fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ebx, [ecx + 0x30]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x10], ebx
push eax
mov ecx, ebx
call fcn.0041a280
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
cmp edi, eax
je 0x420733
mov eax, dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov ecx, dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
cmp dword [edi + 0x10], 0
je 0x420728
lea eax, [ebx + 4]
push eax
mov dword [ebp - 0x20], eax
call ecx
lea ecx, [ebx + 0x20]
mov byte [ebx + 0x1c], 1
push edi
call fcn.0040fc60
mov esi, dword [eax]
lea eax, [ebx + 4]
push eax
call dword [ebp - 0x1c]
mov byte [ebx + 0x1c], 0
test esi, esi
je 0x420722
lea eax, [esi + 4]
push eax
call dword [ebp - 0x14]
mov byte [esi + 0x1c], 1
mov ebx, dword [esi + 0x28]
mov byte [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
test ebx, ebx
je 0x42060f
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x42060f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x42060f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
lea eax, [esi + 4]
push eax
call dword [ebp - 0x1c]
cmp byte [ebp + 8], 0
mov byte [esi + 0x1c], 0
je 0x42071f
cmp dword [edi + 0x10], 0
je 0x42071f
push dword [ebp - 0x20]
call dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov edx, edi
mov byte [eax + 0x1c], 1
cmp dword [edi + 0x14], 0x10
mov esi, dword [edi + 0x10]
jb 0x420648
mov edx, dword [edi]
xor ecx, ecx
mov ebx, 0x811c9dc5
test esi, esi
je 0x420667
movzx eax, byte [ecx + edx]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, esi
jb 0x420653
mov eax, dword [ebp - 0x10]
push ebx
push edi
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [eax + 0x20]
call fcn.00410190
mov esi, dword [eax + 4]
test esi, esi
je 0x420710
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x38]
mov eax, dword [edx + 0x2c]
and ecx, ebx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x4206ab
cmp eax, esi
jne 0x4206a3
mov eax, dword [edx + 0x24]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x4206b3
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x4206b3
cmp eax, esi
jne 0x4206b3
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
dec dword [edx + 0x28]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0x1c]
cmp ecx, 0x10
jb 0x4206f3
mov eax, dword [esi + 8]
inc ecx
cmp ecx, 0x1000
jb 0x4206e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42074f
mov eax, edx
push ecx
push eax
call fcn.0068976d
add esp, 8
push 0x24
push esi
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0xf
mov byte [esi + 8], 0
call fcn.0068976d
add esp, 8
push dword [ebp - 0x20]
call dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x10]
mov byte [ebx + 0x1c], 0
jmp 0x420722
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
add edi, 0x18
cmp edi, eax
jne 0x420595
lea ecx, [ebp - 0x34]
call fcn.0040fc80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00695b77
int3