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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a596
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x4cc3d0]
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 fcn.00473e20
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 0x40aa61
sub ecx, edx
lea eax, [ebp - 0x240]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x258]
call fcn.00402db0
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 0x40aac1
lea ecx, [ecx]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x40aab0
mov eax, dword [ebp - 0x244]
cmp eax, 8
jb 0x40aafb
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40aaf1
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ad37
push ecx
push edx
call fcn.00471e9b
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 0x40ab43
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x258]
call fcn.00402db0
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.0040e7b0
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 0x40abc7
sub ecx, edx
lea eax, [ebp - 0x38]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x270]
call fcn.00402db0
mov ecx, dword [ebp - 0x248]
mov eax, 0x7ffffffe
sub eax, ecx
mov byte [ebp - 4], 1
cmp eax, 6
jb 0x40ad32
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.00409a80
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.00406d00
mov edx, dword [ebp - 0x274]
cmp edx, 8
jb 0x40ac9a
mov ecx, dword [ebp - 0x288]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ac90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ad37
push edx
push ecx
call fcn.00471e9b
add esp, 8
mov edx, dword [ebp - 0x25c]
cmp edx, 8
jb 0x40acd6
mov ecx, dword [ebp - 0x270]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40accc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ad37
push edx
push ecx
call fcn.00471e9b
add esp, 8
mov edx, dword [ebp - 0x244]
cmp edx, 8
jb 0x40ad12
mov ecx, dword [ebp - 0x258]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ad08
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ad37
push edx
push ecx
call fcn.00471e9b
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.00472108
mov esp, ebp
pop ebp
ret 4
call fcn.004029f0
call fcn.0047d41e
int3