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

Disassembly:
sub esp, 0x164
push ebx
mov ebx, ecx
mov byte [esp + 0xb], 0
push ebp
push esi
push edi
mov eax, dword [ebx + 0xb00]
mov ebp, dword [ebx + 0xafc]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], eax
cmp ebp, eax
je 0x10087780
nop dword [eax]
mov esi, dword [ebp + 0x14]
mov ecx, ebp
cmp esi, 0x10
jb 0x1008750d
mov ecx, dword [ebp]
mov edx, dword [ebp + 0x10]
push 7
push 0x1013df64
call fcn.10097af0
test al, al
je 0x1008768e
mov ax, word [0x1013df68]
lea esi, [esp + 0x30]
mov edi, dword [0x1013df64]
mov ecx, 0xf
xorps xmm0, xmm0
mov dword [esp + 0x44], ecx
movups xmmword [esp + 0x30], xmm0
xor ecx, ecx
mov word [esp + 0x34], ax
mov al, byte [0x1013df6a]
mov edx, 0x811c9dc5
mov dword [esp + 0x40], 7
mov dword [esp + 0x30], edi
mov byte [esp + 0x36], al
lea ebx, [ecx + 7]
mov byte [esp + 0x37], 0
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10087570
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x30]
push edx
push eax
lea eax, [esp + 0xe0]
push eax
lea ecx, [ebx + 0xb14]
call fcn.10091840
mov esi, dword [eax + 4]
test esi, esi
jne 0x100875ab
mov esi, dword [ebx + 0xb18]
cmp esi, dword [ebx + 0xb18]
jne 0x10087773
push 0x78
lea eax, [esp + 0x64]
push 0
push eax
call fcn.101010f0
mov eax, 0xffff
mov byte [esp + 0x74], 1
add esp, 0xc
mov word [esp + 0xa8], ax
mov eax, dword [0x10159260]
lea ecx, [esp + 0x60]
mov dword [esp + 0x98], 0x7f7fffff
mov dword [esp + 0x78], 1
push ecx
mov ecx, dword [eax + 0x98]
mov dword [esp + 0x78], 1
mov byte [esp + 0x80], 1
mov dword [esp + 0xa8], 0x3fd9999a
mov dword [esp + 0x74], 0x41500000
call fcn.10059470
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x60]
mov eax, dword [0x10159260]
push ecx
mov dword [esp + 0x74], 0x41200000
mov ecx, dword [eax + 0x98]
call fcn.10059470
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x60]
mov eax, dword [0x10159260]
push ecx
mov dword [esp + 0x74], 0x41000000
mov ecx, dword [eax + 0x98]
call fcn.10059470
mov dword [esp + 0x48], eax
lea ecx, [ebx + 0xb14]
lea eax, [esp + 0x48]
push eax
push ebp
lea eax, [esp + 0xe8]
push eax
call fcn.1008d2e0
mov byte [esp + 0x17], 1
jmp 0x10087773
mov eax, ebp
cmp esi, 0x10
jb 0x10087698
mov eax, dword [ebp]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateFontA]
xor esi, esi
mov dword [esp + 0x28], eax
or ebx, 0xffffffff
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
test eax, eax
je 0x1008776f
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
je 0x10087753
push dword [esp + 0x28]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
push esi
push esi
push esi
push edi
call dword [sym.imp.GDI32.dll_GetFontData]
mov ebx, eax
mov dword [esp + 0x20], eax
cmp ebx, 0xffffffff
je 0x1008774c
push ebx
call fcn.100fe0a7
add esp, 4
mov esi, eax
mov dword [esp + 0x24], esi
push ebx
push 0
push esi
call fcn.101010f0
add esp, 0xc
mov dword [esp + 0x1c], esi
push ebx
push esi
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_GetFontData]
mov ebx, eax
mov dword [esp + 0x20], ebx
cmp ebx, 0xffffffff
jne 0x1008774c
push dword [esp + 0x24]
xor esi, esi
mov dword [esp + 0x20], esi
call fcn.100fe0b0
add esp, 4
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esp + 0x28]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp ebx, 0xffffffff
jne 0x100877b1
test esi, esi
je 0x1008776f
push esi
call fcn.100fe0b0
add esp, 4
mov ebx, dword [esp + 0x18]
add ebp, 0x18
cmp ebp, dword [esp + 0x2c]
jne 0x10087500
mov edx, dword [ebx + 0xb00]
mov ecx, dword [ebx + 0xafc]
cmp ecx, edx
je 0x100877a2
push ecx
call fcn.1008d6d0
mov ecx, dword [ebx + 0xafc]
mov dword [ebx + 0xb00], ecx
mov al, byte [esp + 0x17]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x164
ret
mov eax, dword [esp + 0x18]
mov edi, ebp
add eax, 0xb14
cmp dword [ebp + 0x14], 0x10
mov dword [esp + 0x24], eax
jb 0x100877c9
mov edi, dword [ebp]
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [ebp + 0x10], ecx
jbe 0x100877f5
mov dword [esp + 0x20], ebx
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x1c], esi
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x100877e0
mov eax, dword [esp + 0x24]
push edx
push ebp
lea ecx, [esp + 0xf0]
push ecx
mov ecx, eax
call fcn.10091840
mov eax, dword [eax + 4]
test eax, eax
jne 0x10087814
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
mov ebx, dword [esp + 0x18]
cmp eax, dword [ebx + 0xb18]
jne 0x100879a8
call fcn.100c5980
push 0x78
mov ebx, eax
lea eax, [esp + 0xfc]
push 0
push eax
call fcn.101010f0
mov eax, 0xffff
mov dword [esp + 0x118], 3
mov word [esp + 0x14c], ax
lea esi, [esp + 0x104]
mov eax, dword [0x10159260]
lea edi, [esp + 0x6c]
mov ecx, 0x1e
mov dword [esp + 0x11c], 1
mov dword [esp + 0x13c], 0x7f7fffff
add esp, 0xc
mov byte [esp + 0x100], 0
test ebx, ebx
mov edx, dword [eax + 0x98]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x13c], 0x3fd9999a
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x60], eax
mov ecx, edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x90]
cmovne eax, ebx
mov dword [esp + 0x70], 0x41000000
mov dword [esp + 0x90], eax
lea eax, [esp + 0x60]
push eax
call fcn.100592e0
mov dword [esp + 0x54], eax
lea esi, [esp + 0xf8]
mov eax, dword [0x10159260]
lea edi, [esp + 0x60]
mov ecx, 0x1e
test ebx, ebx
rep movsd dword es:[edi], dword [esi]
mov edx, dword [eax + 0x98]
mov ecx, edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x90]
cmovne eax, ebx
mov dword [esp + 0x70], 0x41200000
mov dword [esp + 0x90], eax
lea eax, [esp + 0x60]
push eax
call fcn.100592e0
mov dword [esp + 0x58], eax
lea esi, [esp + 0xf8]
mov eax, dword [0x10159260]
lea edi, [esp + 0x60]
mov ecx, 0x1e
test ebx, ebx
rep movsd dword es:[edi], dword [esi]
mov edx, dword [eax + 0x98]
mov ecx, edx
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x90]
cmovne eax, ebx
mov dword [esp + 0x60], esi
mov dword [esp + 0x90], eax
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x74], 0x41500000
call fcn.100592e0
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x54]
push eax
push ebp
lea eax, [esp + 0xf8]
push eax
call fcn.1008d2e0
mov ebx, dword [esp + 0x18]
mov byte [esp + 0x17], 1
test esi, esi
je 0x10087773
push esi
call fcn.100fe0b0
add esp, 4
jmp 0x10087773