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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499eb6
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x4cc498]
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 esi, ecx
mov eax, dword [ebp + 8]
push 0x208
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x28c], eax
lea eax, [ebp - 0x240]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x240]
push 0x104
push eax
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x248], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x244], 7
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409001
sub ecx, edx
lea eax, [ebp - 0x240]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x258]
call fcn.00404580
mov eax, dword [ebp - 0x248]
lea edi, [ebp - 0x258]
cmp dword [ebp - 0x244], 8
mov esi, 0x811c9dc5
mov edx, dword [ebp - 0x258]
cmovae edi, edx
xor ecx, ecx
lea ebx, [eax + eax]
test ebx, ebx
je 0x409061
lea ecx, [ecx]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x409050
mov eax, dword [ebp - 0x244]
cmp eax, 8
jb 0x40909b
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409091
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4092a4
push ecx
push edx
call fcn.0049744e
add esp, 8
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, eax
mov dword [ebp - 0x258], 0
mov ecx, edx
mov dword [ebp - 0x248], 0
xor eax, eax
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4090e3
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x258]
call fcn.00404580
xor eax, eax
mov dword [ebp - 4], 0
push esi
push str.__08X
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x38]
push 0x14
push eax
call fcn.0040d7c0
add esp, 0x10
mov dword [ebp - 0x270], 0
xor eax, eax
mov dword [ebp - 0x260], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409167
sub ecx, edx
lea eax, [ebp - 0x38]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x270]
call fcn.00404580
mov ecx, dword [ebp - 0x248]
mov eax, 0x7ffffffe
sub eax, ecx
mov byte [ebp - 4], 1
cmp eax, 6
jb 0x4092d4
cmp dword [ebp - 0x244], 8
lea eax, [ebp - 0x258]
push ecx
cmovae eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x288]
push eax
push 6
push str.Child_
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x28c]
call fcn.00408090
mov esi, dword [ebp - 0x290]
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x28c]
mov ecx, esi
call fcn.00405340
mov edx, dword [ebp - 0x274]
cmp edx, 8
jb 0x409236
mov ecx, dword [ebp - 0x288]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40922c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4092a4
push edx
push ecx
call fcn.0049744e
add esp, 8
mov edx, dword [ebp - 0x25c]
cmp edx, 8
jb 0x409272
mov ecx, dword [ebp - 0x270]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409268
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4092a4
push edx
push ecx
call fcn.0049744e
add esp, 8
mov edx, dword [ebp - 0x244]
cmp edx, 8
jb 0x4092b4
mov ecx, dword [ebp - 0x258]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4092aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4092aa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049744e
add esp, 8
mov eax, esi
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.0049745c
mov esp, ebp
pop ebp
ret 4
call fcn.00401c50
int3