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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f44c1
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x542488]
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 - 0x28c], eax
mov dword [ebp - 0x290], eax
lea eax, [ebp - 0x240]
push 0
push eax
call fcn.004b8860
add esp, 0xc
lea eax, [ebp - 0x240]
push 0x104
push eax
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x248], 0
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408ce0
sub ecx, edx
lea eax, [ebp - 0x240]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x258]
call fcn.00407d30
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 0x408d41
lea esp, [esp]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x408d30
mov eax, dword [ebp - 0x244]
cmp eax, 8
jb 0x408d7b
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408d71
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409044
push ecx
push edx
call fcn.004b5e6a
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 - 0x248], 0
mov ecx, edx
mov dword [ebp - 0x244], 7
xor eax, eax
mov word [ebp - 0x258], ax
lea edi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408dc0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x258]
call fcn.00407d30
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.0040c860
add esp, 0x10
mov dword [ebp - 0x260], 0
xor eax, eax
mov dword [ebp - 0x25c], 7
lea ecx, [ebp - 0x38]
mov word [ebp - 0x270], ax
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408e40
sub ecx, edx
lea eax, [ebp - 0x38]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x270]
call fcn.00407d30
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x288]
push str.Child_
push eax
call fcn.00404b10
add esp, 0xc
mov ecx, eax
mov edi, dword [ecx + 0x14]
mov eax, edi
mov edx, dword [ecx + 0x10]
sub eax, edx
mov esi, dword [ebp - 0x260]
mov ebx, dword [ebp - 0x25c]
mov byte [ebp - 4], 2
cmp esi, eax
jbe 0x408ecc
mov eax, ebx
sub eax, esi
cmp eax, edx
jb 0x408ecc
cmp edi, 8
jb 0x408ead
mov ecx, dword [ecx]
push edx
push ecx
push 0
lea ecx, [ebp - 0x270]
call fcn.004045e0
mov ebx, dword [ebp - 0x28c]
mov ecx, ebx
push eax
call fcn.00405390
jmp 0x408f2e
cmp ebx, 8
lea eax, [ebp - 0x270]
push esi
cmovae eax, dword [ebp - 0x270]
push eax
call fcn.00402670
mov ebx, dword [ebp - 0x28c]
mov ecx, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov eax, dword [ecx]
mov dword [ebx], eax
mov eax, dword [ecx + 4]
mov dword [ebx + 4], eax
mov eax, dword [ecx + 8]
mov dword [ebx + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ecx + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [ecx + 0x14]
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov edx, dword [ebp - 0x274]
cmp edx, 8
jb 0x408f6e
mov ecx, dword [ebp - 0x288]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408f64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409049
push edx
push ecx
call fcn.004b5e6a
add esp, 8
mov edx, dword [ebp - 0x25c]
xor eax, eax
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 7
mov word [ebp - 0x288], ax
cmp edx, 8
jb 0x408fcb
mov ecx, dword [ebp - 0x270]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408fc1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409049
push edx
push ecx
call fcn.004b5e6a
add esp, 8
mov edx, dword [ebp - 0x244]
xor eax, eax
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
cmp edx, 8
jb 0x409024
mov ecx, dword [ebp - 0x258]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40901a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409049
push edx
push ecx
call fcn.004b5e6a
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.004b5e78
mov esp, ebp
pop ebp
ret 4
call fcn.004c19b9
call fcn.004c19b9
int3