Function at 0x40e2d0
Capabilities:
Encode data using xor
Hash data using fnv
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x488
mov eax, dword [0x416008]
xor eax, esp
mov dword [esp + 0x484], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x70]
push esi
push edi
push 0x104
push ecx
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x64]
call fcn.004014d0
cmp dword [esp + 0x74], 8
lea esi, [esp + 0x60]
mov edi, dword [esp + 0x60]
jb 0x40e345
mov esi, edi
mov eax, dword [esp + 0x70]
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
je 0x40e36b
mov edi, eax
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x40e356
mov edi, dword [esp + 0x60]
push edx
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00401d90
mov esi, dword [eax + 4]
mov eax, dword [0x417384]
test esi, esi
jne 0x40e389
mov esi, eax
mov ecx, dword [esp + 0x74]
cmp ecx, 8
jb 0x40e3c6
lea ecx, [ecx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x40e3b7
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e50c
push ecx
push edi
call fcn.004022fb
mov eax, dword [0x417384]
add esp, 8
cmp esi, eax
je 0x40e3d4
push dword [esi + 0x20]
push 0x413e90
jmp 0x40e3de
lea eax, [esp + 0x78]
push eax
push str._sWndClass
lea eax, [esp + 0x288]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [esp + 0x14]
add esp, 0xc
mov dword [esp + 0x14], 0x30
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], 0x40e2a0
push 0x7f00
push 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x280]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x38], 5
mov dword [esp + 0x3c], 0
mov dword [esp + 0x44], 0
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push esi
push 0
push 0
push 0x1a4
push 0x1fe
push 0x80000000
push 0x80000000
push 0xcf0000
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x2a8]
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 0
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x40e4f4
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [esp + 0x44]
push eax
call esi
lea eax, [esp + 0x44]
push eax
call edi
push 0
push 0
push 0
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x40e4d1
mov ecx, dword [esp + 0x48c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00401f52
mov esp, ebp
pop ebp
ret 0x10
call fcn.0040521c
int3