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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f8be0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x1013c014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
mov ebx, dword [ebp + 8]
push ecx
push 0x80028000
push ebx
mov eax, dword [ebx]
call dword [eax + 0x14]
mov eax, dword [ebp - 0x24]
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1002f9c3
sub edx, esi
mov esi, 0x811c9dc5
sar edx, 1
lea edi, [edx + edx]
xor edx, edx
test edi, edi
jle 0x1002f9f1
movzx ecx, byte [edx + eax]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, edi
jl 0x1002f9e0
mov dword [ebp - 4], 0xffffffff
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
test eax, eax
je 0x1002fa05
push eax
call edi
mov edx, dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
movzx eax, byte [edx]
push dword [ebp + 0x10]
xor eax, esi
mov esi, dword [ebp + 0xc]
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
push esi
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebp - 0x20]
push eax
mov dword [ebp - 0x24], eax
call fcn.1002fd70
cmp dword [esi], 0
je 0x1002fd5c
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 1
mov eax, dword [ebx]
push ecx
push 0x10103fa8
push 0x10103aa0
push 0
push ebx
call dword [eax + 0xc]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1002fd4b
push 0x1013df48
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.1002d030
add esp, 4
mov byte [ebp - 4], 3
or ebx, 0xffffffff
mov eax, dword [ebp - 0x28]
cmp dword [eax - 0xc], 0
je 0x1002fd2c
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push 0x1013c9fc
call fcn.1002d030
add esp, 4
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x1002fd0e
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xa
push eax
push 0x1010fbf0
push 0x17
push 0
push 0x1010c078
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1002fcfd
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
js 0x1002fcfd
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
push edx
push 0x1010fc58
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x1002fcec
mov dword [ebp + 8], 0
mov byte [ebp - 4], 0x19
lea edx, [ebp + 8]
mov eax, dword [ebp - 0x14]
push edx
push 0x1010fc48
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
js 0x1002fcdb
test byte [esi], 0x10
je 0x1002fbd8
mov edx, dword [0x1014b4c8]
mov ecx, dword [ebp + 8]
call fcn.1002f8e0
test al, al
je 0x1002fbd8
mov dword [ebp + 0xc], 0
mov byte [ebp - 4], 0x20
lea edx, [ebp + 0xc]
mov eax, dword [ebp - 0x10]
push edx
push dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
js 0x1002fbca
mov eax, dword [ebp + 0x1c]
mov edx, dword [0x1014b4c8]
mov ecx, dword [ebp + 0xc]
push dword [eax]
call fcn.10028c00
add esp, 4
mov ecx, dword [ebp - 0x20]
and dword [esi], 0xffffffef
push 1
push 0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x10
push 0
push 0
push eax
push 0x1010ca30
push dword [ebp - 0x24]
call fcn.1002fe90
mov byte [ebp - 4], 0x19
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1002fbd8
push eax
call edi
test byte [esi], 0x20
je 0x1002fc59
mov edx, dword [0x1014b4c4]
mov ecx, dword [ebp + 8]
call fcn.1002f8e0
test al, al
je 0x1002fc59
mov dword [ebp + 0xc], 0
mov byte [ebp - 4], 0x21
lea edx, [ebp + 0xc]
mov eax, dword [ebp - 0x10]
push edx
push dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
js 0x1002fc4b
mov eax, dword [ebp + 0x1c]
mov edx, dword [0x1014b4c4]
mov ecx, dword [ebp + 0xc]
push dword [eax]
call fcn.10028c00
add esp, 4
mov ecx, dword [ebp - 0x20]
and dword [esi], 0xffffffdf
push 1
push 0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x20
push 0
push eax
push 0
push 0x1010ca30
push dword [ebp - 0x24]
call fcn.1002fe90
mov byte [ebp - 4], 0x19
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1002fc59
push eax
call edi
test byte [esi], 0x40
je 0x1002fcdb
mov ecx, dword [ebp + 8]
mov edx, 0x40
call fcn.1002f8e0
test al, al
je 0x1002fcdb
mov dword [ebp + 0xc], 0
mov byte [ebp - 4], 0x22
lea edx, [ebp + 0xc]
mov eax, dword [ebp - 0x10]
push edx
push dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
js 0x1002fcca
mov eax, dword [ebp + 0x1c]
mov edx, 0x40
mov ecx, dword [ebp + 0xc]
push dword [eax]
call fcn.10028c00
add esp, 4
mov ecx, dword [ebp - 0x20]
and dword [esi], 0xffffffbf
push 1
push 0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x40
push eax
push 0
push 0
push 0x1010ca30
push dword [ebp - 0x24]
call fcn.1002fe90
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1002fcd4
push eax
call edi
mov dword [ebp + 0xc], 0
mov byte [ebp - 4], 0x23
mov eax, dword [ebp + 8]
test eax, eax
je 0x1002fcec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x24
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1002fcfd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x25
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1002fd0e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x26
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002fd2c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x27
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1002fd48
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0x28
test eax, eax
je 0x1002fd5c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18