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

Disassembly:
sub esp, 0x164
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor bh, bh
mov dword [esp + 0x24], edi
mov byte [esp + 0x17], bh
mov ebp, dword [edi + 0x35d4]
mov eax, dword [edi + 0x35d8]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x2c], eax
cmp ebp, eax
je 0x10018aef
mov bl, byte [0x1015b61e]
mov esi, dword [0x1015b618]
nop
cmp dword [ebp + 0x14], 0xf
mov ecx, ebp
jbe 0x1001884b
mov ecx, dword [ebp]
mov edx, dword [ebp + 0x10]
push 7
push 0x1015b618
call fcn.1002bd60
test al, al
je 0x100189e8
mov ecx, 0xf
mov dword [esp + 0x40], 7
lea eax, [edi + 0x35ec]
mov dword [esp + 0x44], ecx
xor ecx, ecx
mov dword [esp + 0x28], eax
mov ax, word [0x1015b61c]
lea edi, [esp + 0x30]
xorps xmm0, xmm0
mov dword [esp + 0x30], esi
movlpd qword [esp + 0x38], xmm0
mov edx, 0x811c9dc5
mov word [esp + 0x34], ax
lea ebp, [ecx + 7]
mov byte [esp + 0x36], bl
mov byte [esp + 0x37], 0
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebp
jb 0x100188b0
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x30]
mov ebp, dword [esp + 0x18]
mov ecx, edi
push edx
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.10028980
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x100188f0
mov eax, dword [edi + 4]
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x35f0]
cmp dword [esp + 0x1c], eax
jne 0x10018ada
push 0x78
lea eax, [esp + 0x64]
push 0
push eax
call fcn.10128f30
mov eax, 0xffff
mov byte [esp + 0x74], 1
add esp, 0xc
mov word [esp + 0xa8], ax
mov eax, dword [0x1019c5c0]
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.10100510
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x60]
mov eax, dword [0x1019c5c0]
push ecx
mov dword [esp + 0x74], 0x41200000
mov ecx, dword [eax + 0x98]
call fcn.10100510
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x60]
mov eax, dword [0x1019c5c0]
push ecx
mov dword [esp + 0x74], 0x41000000
mov ecx, dword [eax + 0x98]
call fcn.10100510
mov dword [esp + 0x48], eax
lea ecx, [edi + 0x35ec]
lea eax, [esp + 0x48]
push eax
push ebp
lea eax, [esp + 0xe8]
push eax
call fcn.10022ef0
mov bl, byte [0x1015b61e]
mov bh, 1
mov esi, dword [0x1015b618]
mov byte [esp + 0x17], bh
jmp 0x10018ade
cmp dword [ebp + 0x14], 0xf
mov eax, ebp
jbe 0x100189f3
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 + 0x18], eax
or ebx, 0xffffffff
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebx
test eax, eax
je 0x10018ace
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
je 0x10018aae
push dword [esp + 0x18]
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 + 0x1c], eax
cmp ebx, 0xffffffff
je 0x10018aa7
push ebx
call fcn.10127391
add esp, 4
mov esi, eax
mov dword [esp + 0x28], esi
push ebx
push 0
push esi
call fcn.10128f30
add esp, 0xc
mov dword [esp + 0x20], esi
push ebx
push esi
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_GetFontData]
mov ebx, eax
mov dword [esp + 0x1c], ebx
cmp ebx, 0xffffffff
jne 0x10018aa7
push dword [esp + 0x28]
xor esi, esi
mov dword [esp + 0x24], esi
call fcn.10127063
add esp, 4
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp ebx, 0xffffffff
jne 0x10018b1e
test esi, esi
je 0x10018aca
push esi
call fcn.10127063
add esp, 4
mov edi, dword [esp + 0x24]
mov bl, byte [0x1015b61e]
mov esi, dword [0x1015b618]
mov bh, byte [esp + 0x17]
add ebp, 0x18
mov dword [esp + 0x18], ebp
cmp ebp, dword [esp + 0x2c]
jne 0x10018840
mov edx, dword [edi + 0x35d8]
mov ecx, dword [edi + 0x35d4]
cmp ecx, edx
je 0x10018b11
push ecx
call fcn.100233d0
mov ecx, dword [edi + 0x35d4]
mov dword [edi + 0x35d8], ecx
pop edi
pop esi
pop ebp
mov al, bh
pop ebx
add esp, 0x164
ret
mov eax, dword [esp + 0x24]
mov edi, ebp
add eax, 0x35ec
cmp dword [ebp + 0x14], 0xf
mov dword [esp + 0x18], eax
jbe 0x10018b36
mov edi, dword [ebp]
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [ebp + 0x10], ecx
jbe 0x10018b65
mov dword [esp + 0x1c], ebx
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10018b50
mov eax, dword [esp + 0x18]
push edx
push ebp
lea ecx, [esp + 0xf0]
push ecx
mov ecx, eax
call fcn.10028980
mov eax, dword [eax + 4]
test eax, eax
jne 0x10018b84
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov edi, dword [esp + 0x24]
cmp eax, dword [edi + 0x35f0]
jne 0x10018d1a
call fcn.100a9cb0
push 0x78
mov ebx, eax
lea eax, [esp + 0xfc]
push 0
push eax
call fcn.10128f30
mov eax, 0xffff
mov dword [esp + 0x118], 3
mov word [esp + 0x14c], ax
lea esi, [esp + 0x104]
mov eax, dword [0x1019c5c0]
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 + 0x20]
mov dword [esp + 0x13c], 0x3fd9999a
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x60], eax
mov ecx, edx
mov eax, dword [esp + 0x1c]
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.10100380
mov dword [esp + 0x54], eax
lea esi, [esp + 0xf8]
mov eax, dword [0x1019c5c0]
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 dword [esp + 0x60], eax
mov eax, dword [esp + 0x1c]
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.10100380
mov dword [esp + 0x58], eax
lea esi, [esp + 0xf8]
mov eax, dword [0x1019c5c0]
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 esi, dword [esp + 0x20]
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.10100380
mov edi, dword [esp + 0x24]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x54]
push eax
push ebp
lea ecx, [edi + 0x35ec]
lea eax, [esp + 0xf8]
push eax
call fcn.10022ef0
mov byte [esp + 0x17], 1
test esi, esi
je 0x10018ace
push esi
call fcn.10127063
add esp, 4
jmp 0x10018ace