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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53c371
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x58d038]
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 eax, dword [ebp + 8]
xor ebx, ebx
push 0x206
mov esi, ecx
lea edx, [ebp - 0x23e]
xor ecx, ecx
push ebx
push edx
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x29c], ebx
mov word [ebp - 0x240], cx
call fcn.00480280
mov ecx, dword [esi + 0x4c]
add esp, 0xc
push 0x104
lea eax, [ebp - 0x240]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x240]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x409390
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x240]
lea eax, [ebp + eax*2 - 0x240]
mov edx, ecx
mov esi, 0x811c9dc5
cmp edx, eax
je 0x4093d2
jmp 0x4093c0
movzx edx, word [ecx]
imul esi, esi, 0x1000193
add ecx, 2
xor esi, edx
cmp ecx, eax
jne 0x4093c0
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
lea ecx, [ebp - 0x240]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
xor edx, edx
mov ecx, eax
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x268], ebx
mov word [ebp - 0x278], dx
lea edi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x409410
sub ecx, edi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x278]
call fcn.00401b70
xor eax, eax
push esi
lea ecx, [ebp - 0x38]
push str.__08X
push ecx
lea edx, [eax + 0x14]
mov dword [ebp - 4], ebx
mov word [ebp - 0x38], ax
mov dword [ebp - 0x36], eax
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
call fcn.00414c80
add esp, 0xc
xor edx, edx
lea eax, [ebp - 0x38]
mov word [ebp - 0x25c], dx
mov dword [ebp - 0x248], 7
mov dword [ebp - 0x24c], ebx
lea edx, [eax + 2]
jmp 0x409490
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x409490
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x25c]
call fcn.00401b70
lea ecx, [ebp - 0x278]
push ecx
lea edx, [ebp - 0x294]
push str.Child_
push edx
mov byte [ebp - 4], 1
call fcn.00404cf0
mov edi, dword [ebp - 0x298]
lea ecx, [ebp - 0x25c]
push ecx
push eax
push edi
mov byte [ebp - 4], 2
call fcn.00404e90
mov esi, 8
add esp, 0x18
cmp dword [ebp - 0x280], esi
jb 0x409502
mov edx, dword [ebp - 0x294]
push edx
call fcn.00480102
add esp, 4
xor eax, eax
mov dword [ebp - 0x280], 7
mov dword [ebp - 0x284], ebx
mov word [ebp - 0x294], ax
cmp dword [ebp - 0x248], esi
jb 0x409532
mov ecx, dword [ebp - 0x25c]
push ecx
call fcn.00480102
add esp, 4
xor edx, edx
mov dword [ebp - 0x248], 7
mov dword [ebp - 0x24c], ebx
mov word [ebp - 0x25c], dx
cmp dword [ebp - 0x264], esi
jb 0x409562
mov eax, dword [ebp - 0x278]
push eax
call fcn.00480102
add esp, 4
mov eax, edi
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.00480264
mov esp, ebp
pop ebp
ret 4