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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509ba0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x558384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x50], ebx
mov esi, ecx
test esi, esi
je 0x420841
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420830
sub ecx, edx
sar ecx, 1
jne 0x420854
cmp dword [0x559364], 8
mov esi, 0x559350
cmovae esi, dword [0x559350]
push ebx
push esi
lea eax, [ebp - 0x40]
push str._s_factor__d
push eax
call fcn.0041cb50
add esp, 0x10
mov dword [ebp - 4], 0
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], 0
cmovae edx, dword [ebp - 0x40]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420892
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0040d260
cmp dword [ebp - 0x14], 8
lea ebx, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
mov ecx, 0x811c9dc5
mov eax, dword [ebp - 0x18]
cmovae ebx, edi
xor edx, edx
add eax, eax
je 0x4208dc
mov edi, eax
movzx eax, byte [edx + ebx]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, edi
jb 0x4208c8
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], ecx
cmp eax, 8
jb 0x420919
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x42090c
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420a3f
push ecx
push edi
call fcn.004bcf17
mov ecx, dword [ebp - 0x44]
add esp, 8
mov edi, dword [0x56635c]
mov edx, edi
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x420964
nop word [eax + eax]
cmp dword [eax + 0x10], ecx
jae 0x42093a
mov eax, dword [eax + 8]
jmp 0x42093e
mov edx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x420930
cmp edx, edi
je 0x420964
cmp ecx, dword [edx + 0x10]
jb 0x420964
lea eax, [ebp - 0x44]
mov ecx, 0x56635c
push eax
call fcn.00421100
mov eax, dword [eax]
mov ebx, dword [eax]
jmp 0x4209eb
mov edx, esi
lea ecx, [ebp - 0x4c]
call fcn.00420380
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x4209bd
mov ecx, dword [ebp - 0x50]
mov eax, dword [esi + 0x34]
cmp ecx, 0x64
je 0x42098e
push 0x64
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
cmp dword [esi + 0x30], 8
lea edx, [esi + 0x1c]
jb 0x420999
mov edx, dword [edx]
push dword [esi + 0x44]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push dword [esi + 0x40]
cmovae ecx, dword [ebp - 0x40]
push dword [esi + 0x3c]
push dword [esi + 0x38]
push eax
call fcn.004204f0
add esp, 0x14
mov ebx, eax
jmp 0x4209bf
xor ebx, ebx
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x4209eb
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4209eb
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4209eb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x420a21
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420a17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420a44
push edx
push ecx
call fcn.004bcf17
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bd1b9
mov esp, ebp
pop ebp
ret
call fcn.004df969
call fcn.004df969
int3