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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4439ad
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x456068]
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 - 0x50], 0
mov dword [ebp - 4], 0
mov byte [ebp - 0x4c], 0
lea edx, [ebp + 8]
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.004085f0
add esp, 4
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push ecx
lea edx, [ebp - 0x6c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00407d30
add esp, 4
test eax, eax
jne 0x4069a6
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x58]
cmp ecx, 8
jb 0x40672c
mov edx, dword [ebp - 0x6c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406722
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4069b6
push ecx
push edx
call fcn.00423be2
add esp, 8
mov ebx, dword [ebp - 0x20]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
test ebx, ebx
je 0x40673f
lock inc dword [ebx + 4]
mov esi, dword [ebp - 0x24]
mov edi, ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
test ebx, ebx
je 0x406752
lock inc dword [ebx + 4]
movlpd qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
test ebx, ebx
je 0x40678c
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x40678c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
lock xadd dword [ebx + 8], eax
jne 0x40678c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov byte [ebp - 4], 8
test esi, esi
je 0x4068e8
add esi, 0x20
mov ecx, esi
call fcn.00403a90
mov ecx, esi
test al, al
je 0x4067bd
call fcn.004040d0
lea ecx, [ebp - 0x1c]
call fcn.00403990
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
jmp 0x406790
call fcn.00403b20
test al, al
je 0x4068d5
lea eax, [ebp - 0x6c]
mov ecx, esi
push eax
call fcn.00402ae0
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 9
call fcn.004077c0
or dword [ebp - 0x50], 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x58]
cmp ecx, 8
jb 0x406824
mov edx, dword [ebp - 0x6c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40681a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4069bb
push ecx
push edx
call fcn.00423be2
add esp, 8
mov edi, dword [ebp - 0x44]
xor eax, eax
cmp dword [ebp - 0x30], 8
mov edx, 0x811c9dc5
mov word [ebp - 0x6c], ax
lea eax, [ebp - 0x44]
cmovae eax, edi
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x4c], eax
setae byte [ebp - 0x45]
mov eax, dword [ebp - 0x34]
xor ecx, ecx
add eax, eax
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x54], eax
je 0x406875
nop dword [eax]
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x54]
jb 0x406860
push edx
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp + 0x20]
call fcn.00408920
mov eax, dword [eax + 4]
test eax, eax
je 0x406892
cmp eax, dword [ebp + 0x24]
jne 0x406899
mov ecx, esi
call fcn.00403bb0
cmp byte [ebp - 0x45], 0
mov byte [ebp - 4], 8
je 0x4068d5
mov ecx, dword [ebp - 0x30]
mov eax, edi
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4068cb
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4069c0
push ecx
push edi
call fcn.00423be2
add esp, 8
lea ecx, [ebp - 0x1c]
call fcn.00403990
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
jmp 0x406790
or esi, 0xffffffff
test edi, edi
je 0x40690e
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x40690e
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x40690e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test ebx, ebx
je 0x406930
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x406930
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], esi
dec esi
jne 0x406930
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x40696e
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406964
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4069c5
jmp 0x406964
push ecx
push edx
call fcn.00423be2
add esp, 8
xor eax, eax
mov dword [ebp + 0x18], 0
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
call fcn.004069e0
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.00423ba4
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x6c]
mov edx, eax
push ecx
mov ecx, str.directory_iterator::directory_iterator
call fcn.00403410
call fcn.0042895f
call fcn.0042895f
call fcn.0042895f
call fcn.0042895f
int3