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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x2e8
mov eax, dword [0x1013c014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebx + 8]
mov edx, edi
mov dword [ebp - 0x2d4], ecx
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1009d7c6
sub edx, esi
xor ecx, ecx
sar edx, 1
mov esi, 0x811c9dc5
add edx, edx
test edx, edx
jle 0x1009d7f3
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jl 0x1009d7e2
mov eax, dword [ebp - 0x2d4]
add eax, 0x274c
mov dword [ebp - 0x2dc], esi
mov dword [ebp - 0x2e0], eax
mov edx, dword [eax]
mov eax, edx
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x1009d834
cmp dword [ecx + 0x10], esi
jae 0x1009d821
mov ecx, dword [ecx + 8]
jmp 0x1009d825
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x1009d817
cmp eax, edx
je 0x1009d834
cmp esi, dword [eax + 0x10]
jae 0x1009d836
mov eax, edx
cmp eax, edx
je 0x1009d842
mov eax, dword [eax + 0x18]
jmp 0x1009da95
movzx eax, word [edi]
xorps xmm0, xmm0
movlpd qword [ebp - 0x2e8], xmm0
test ax, ax
je 0x1009d9f5
mov edx, eax
or esi, 0xffffffff
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x2d8], eax
nop word [eax + eax]
lea eax, [edi + 2]
cmp dx, 0x23
je 0x1009d9df
cmp dx, 0x24
lea edx, [ebp - 0xd0]
push 0x1011e708
cmovne eax, edi
push 0x64
mov ecx, eax
call fcn.100a49c0
push 6
mov edi, eax
lea eax, [ebp - 0xd0]
push str.System
push eax
call fcn.100de413
add esp, 0x14
test eax, eax
jne 0x1009d90c
xor esi, esi
nop word [eax + eax]
mov eax, dword [esi*8 + 0x101487f0]
lea ecx, [ebp - 0xd0]
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1009d8f6
test dx, dx
je 0x1009d8f2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1009d8f6
add ecx, 4
add eax, 4
test dx, dx
jne 0x1009d8d0
xor eax, eax
jmp 0x1009d8fb
sbb eax, eax
or eax, 1
test eax, eax
je 0x1009d998
inc esi
cmp esi, 0x1e
jb 0x1009d8c0
or esi, 0xffffffff
cmp dword [0x10158d1c], 0
mov eax, dword [ebp - 0x2d4]
mov byte [eax + 0x26e9], 1
je 0x1009d988
push 9
lea eax, [ebp - 0xd0]
push str.Immersive
push eax
call fcn.100de413
add esp, 0xc
test eax, eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x2d0]
jne 0x1009d959
push 0x100
push eax
call fcn.100df83e
add esp, 0xc
jmp 0x1009d96c
push 0x1011e70c
push 0x100
push eax
call fcn.100a4830
add esp, 0x10
lea eax, [ebp - 0x2d0]
push eax
call dword [0x10158d24]
test eax, eax
mov ecx, eax
cmovs ecx, esi
mov dword [ebp - 0x2d8], ecx
jns 0x1009d9cc
movzx eax, word [edi]
mov edx, eax
test ax, ax
jne 0x1009d870
jmp 0x1009da01
mov eax, dword [esi*8 + 0x101487f4]
mov ecx, 0xfffffffe
sub ecx, eax
push eax
mov dword [ebp - 0x2d8], ecx
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, eax
shr ecx, 0x10
movzx edi, cl
movzx ecx, al
and eax, 0xff00
shl ecx, 0x10
or edi, ecx
or edi, eax
jmp 0x1009da07
push 0
push 1
push eax
push dword [0x10158d28]
call dword [0x10158d20]
jmp 0x1009d9b3
push 0x10
lea ecx, [ebp - 0x2d4]
push ecx
push eax
call fcn.100df96d
add esp, 0xc
mov edi, eax
jmp 0x1009da07
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x2d8], eax
mov edi, dword [ebp - 0x2e4]
mov edx, dword [ebp - 0x2e0]
or edi, 0xff000000
mov edx, dword [edx]
mov esi, edx
mov ecx, dword [esi + 4]
cmp byte [ecx + 0xd], 0
jne 0x1009da49
mov eax, dword [ecx + 0x10]
cmp eax, dword [ebp - 0x2dc]
jae 0x1009da30
mov ecx, dword [ecx + 8]
jmp 0x1009da34
mov esi, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x1009da20
cmp esi, edx
je 0x1009da49
mov eax, dword [ebp - 0x2dc]
cmp eax, dword [esi + 0x10]
jae 0x1009da87
lea eax, [ebp - 0x2dc]
push ecx
mov dword [ebp - 0x2d4], eax
lea eax, [ebp - 0x2d4]
push eax
push ecx
mov ecx, dword [ebp - 0x2e0]
call fcn.100a3930
mov ecx, dword [ebp - 0x2e0]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x2d4]
push eax
call fcn.100a3960
mov esi, dword [ebp - 0x2d4]
mov eax, dword [ebp - 0x2d8]
mov dword [esi + 0x14], eax
mov eax, edi
mov dword [esi + 0x18], edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100d4906
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4