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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b7f1
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x5ab3e8]
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.0048deb0
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 0x408d90
sub ecx, edx
lea eax, [ebp - 0x240]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x258]
call fcn.00407de0
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 0x408df1
lea esp, [esp]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x408de0
mov eax, dword [ebp - 0x244]
cmp eax, 8
jb 0x408e2b
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408e21
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4090f4
push ecx
push edx
call fcn.0048b6db
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 0x408e70
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x258]
call fcn.00407de0
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.0040c750
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 0x408ef0
sub ecx, edx
lea eax, [ebp - 0x38]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x270]
call fcn.00407de0
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x288]
push str.Child_
push eax
call fcn.00404c70
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 0x408f7c
mov eax, ebx
sub eax, esi
cmp eax, edx
jb 0x408f7c
cmp edi, 8
jb 0x408f5d
mov ecx, dword [ecx]
push edx
push ecx
push 0
lea ecx, [ebp - 0x270]
call fcn.00404740
mov ebx, dword [ebp - 0x28c]
mov ecx, ebx
push eax
call fcn.004054f0
jmp 0x408fde
cmp ebx, 8
lea eax, [ebp - 0x270]
push esi
cmovae eax, dword [ebp - 0x270]
push eax
call fcn.00402820
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 0x40901e
mov ecx, dword [ebp - 0x288]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409014
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4090f9
push edx
push ecx
call fcn.0048b6db
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 0x40907b
mov ecx, dword [ebp - 0x270]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409071
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4090f9
push edx
push ecx
call fcn.0048b6db
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 0x4090d4
mov ecx, dword [ebp - 0x258]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4090ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4090f9
push edx
push ecx
call fcn.0048b6db
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.0048b6e9
mov esp, ebp
pop ebp
ret 4
call fcn.00497009
call fcn.00497009
int3