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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46987d
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x487274]
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 eax, ecx
mov dword [ebp - 0x3c], eax
mov edi, dword [eax + 4]
mov esi, edi
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
cmp dword [edi + 0x14], 0x10
mov ecx, dword [ecx + 0x178]
mov ebx, dword [edi + 0x10]
mov dword [ebp - 0x38], ecx
jb 0x42035e
mov esi, dword [edi]
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x42038f
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x420370
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x38]
mov esi, dword [esi + 0x178]
jmp 0x420391
mov esi, eax
push edx
push edi
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.0041b3d0
mov ebx, dword [eax + 4]
test ebx, ebx
jne 0x4203ab
mov eax, dword [ebp - 0x38]
mov ebx, dword [eax + 4]
cmp ebx, dword [esi + 4]
jne 0x4205b6
push edi
call fcn.00426970
mov edi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x28]
add esp, 4
mov ebx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov esi, dword [edi]
push dword [edi + 4]
call fcn.00401c20
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [esi + 0x78]
call fcn.0041c130
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x420427
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42041d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4206d6
push edx
push ecx
call fcn.0042cf26
add esp, 8
mov esi, dword [edi]
mov dword [ebp - 0x40], ebx
push 0x10
mov dword [ebp - 4], 1
call fcn.0042cef6
add esp, 4
mov dword [ebp - 0x40], eax
test eax, eax
je 0x42046b
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_class_std::basic_fstream_char__struct_std::char_traits_char___.0
mov dword [eax + 0xc], ebx
jmp 0x42046d
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 2
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [esi + 0x118]
call fcn.0041c370
mov esi, dword [ebp - 0x48]
or edi, 0xffffffff
test esi, esi
je 0x4204ce
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4204ce
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x4204ce
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [eax]
mov ecx, dword [eax + 0x178]
mov dword [ebp - 0x40], ecx
lea ecx, [eax + 0x118]
lea eax, [ebp + 8]
push eax
call fcn.00422000
mov esi, eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x420508
lock inc dword [eax + 4]
mov eax, dword [esi + 4]
mov dword [ebp - 0x38], eax
mov esi, dword [esi]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 4
push dword [eax + 4]
call fcn.00401c20
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 5
push eax
call fcn.0041bc90
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 4
test esi, esi
je 0x420579
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x420579
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x420579
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x420693
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4205a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4206d6
push edx
push ecx
call fcn.0042cf26
add esp, 8
jmp 0x420693
mov edi, dword [ebp + 8]
lea eax, [ebx + 8]
mov esi, dword [ebp - 0x48]
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], edi
call fcn.00401c20
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 6
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [esi + 0x78]
call fcn.0041c130
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x42061d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x420613
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4206d6
push edx
push ecx
call fcn.0042cf26
add esp, 8
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebx + 0x24]
mov ecx, dword [eax]
add ecx, 0x118
test edx, edx
je 0x420636
lock inc dword [edx + 4]
mov edx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x20]
mov dword [ebp - 4], 7
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0041c370
mov esi, dword [ebp - 0x5c]
test esi, esi
je 0x420690
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x420690
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x420690
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ebx, dword [ebx + 0x20]
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
jne 0x4206b8
mov eax, dword [ebp - 0x3c]
push 1
mov byte [ebp - 0x31], bl
mov ecx, dword [eax]
lea eax, [ecx + 0x58]
push eax
lea eax, [ebp - 0x31]
push eax
push dword [ebp + 8]
call fcn.0041d5a0
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.0042cf39
mov esp, ebp
pop ebp
ret 4
call fcn.0044807a
int3