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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009b2bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x168
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x6c], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov word [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov ecx, dword [ebx + 8]
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xf
mov byte [edi + 0x28], 0
lea esi, [edi + 0x40]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0xf
mov byte [edi + 0x58], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], 0
push eax
push 4
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ecx + 0x10]
push eax
mov eax, dword [0x100baad8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x20], eax
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
mov eax, dword [ebx + 8]
add eax, 0x150
mov dword [ebp - 0x14], 0
push eax
mov eax, dword [0x100baad8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x24], eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x20], 0
push eax
push 4
lea eax, [ebp - 0x20]
mov dword [ebp - 0x70], 0
push eax
mov eax, dword [0x100baad8]
push dword [0x100bc190]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [edi + 0x20]
mov ecx, eax
shr ecx, 0xe
and eax, 0x3fff
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x74]
push eax
push 4
lea eax, [ebp - 0x64]
mov dword [ebp - 0x74], 0
push eax
mov eax, dword [ebp - 0x20]
lea eax, [eax + ecx*4]
push eax
mov eax, dword [0x100baad8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x1004f57d
lea eax, [ebp - 0x18]
mov dword [ebp - 0x68], 0
push eax
push 4
lea eax, [ebp - 0x68]
mov dword [ebp - 0x18], 0
push eax
mov eax, dword [ebp - 0x14]
lea eax, [ecx + eax*4]
push eax
mov eax, dword [0x100baad8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x1004f57d
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push 0xff
lea ecx, [ebp - 0x178]
add eax, 8
push ecx
push eax
mov eax, dword [0x100baad8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1004f562
cmp dword [ebp - 0x14], 0
jbe 0x1004f562
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 4], 9
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004f550
lea eax, [ebp - 0x178]
jmp 0x1004f5eb
mov dword [ebp - 0x38], 0
mov ecx, 0xf
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], ecx
jmp 0x1004f600
mov dword [ebp - 0x50], 0xf804e5df
mov dword [ebp - 0x4c], 0x15b3b675
mov dword [ebp - 0x48], 0xf68bedc4
mov dword [ebp - 0x44], 0x1b61ac41
movaps xmm1, xmmword [ebp - 0x50]
mov dword [ebp - 0x30], 0x966babf7
mov dword [ebp - 0x2c], 0x15b39f10
mov dword [ebp - 0x28], 0xf68bedc4
mov dword [ebp - 0x24], 0x1b61ac41
pxor xmm1, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x50], xmm1
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 4], 8
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004f5e1
lea eax, [ebp - 0x50]
sub ecx, edx
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.1000af10
mov ecx, dword [ebp - 0x24]
nop word [eax + eax]
lea edx, [ebp - 0x38]
mov byte [ebp - 4], 7
lea eax, [edi + 0x58]
cmp eax, edx
je 0x1004f673
mov ecx, dword [eax + 0x14]
cmp ecx, 0x10
jb 0x1004f644
mov eax, dword [eax]
inc ecx
cmp ecx, 0x1000
jb 0x1004f637
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fbef
mov eax, edx
push ecx
push eax
call fcn.1007175d
add esp, 8
lea eax, [edi + 0x58]
movups xmm0, xmmword [ebp - 0x38]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [eax + 0x10], xmm0
mov ecx, 0xf
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 7
cmp ecx, 0x10
jb 0x1004f6a6
lea edx, [ecx + 1]
mov ecx, dword [ebp - 0x38]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004f69c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fbef
push edx
push ecx
call fcn.1007175d
add esp, 8
mov ecx, edi
call fcn.1004fea0
mov byte [edi + 6], al
test al, al
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
je 0x1004f85a
push 1
lea eax, [ebp - 0x19]
mov byte [ebp - 0x19], 0
push eax
mov eax, dword [ebx + 8]
add eax, 0x734
push eax
mov eax, dword [0x100baad8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov al, byte [ebp - 0x19]
mov ecx, edi
mov byte [edi + 7], al
lea eax, [ebp - 0x38]
push eax
call fcn.10050200
mov dword [ebp - 0x18], eax
cmp esi, eax
je 0x1004f767
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x1004f731
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x1004f724
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004fbef
mov eax, edx
push ecx
push eax
call fcn.1007175d
mov eax, dword [ebp - 0x18]
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x38]
call fcn.10009c20
cmp dword [esi + 0x14], 0x10
jb 0x1004f777
mov esi, dword [esi]
mov edx, 0x811c9dc5
nop dword [eax]
mov cl, byte [esi]
lea esi, [esi + 1]
movsx eax, cl
xor eax, edx
imul edx, eax, 0x1000193
test cl, cl
jne 0x1004f780
lea eax, [ebp - 0x38]
mov dword [edi + 0x70], edx
push eax
mov ecx, edi
call fcn.10050470
push eax
lea ecx, [edi + 0x28]
call fcn.1000e230
lea ecx, [ebp - 0x38]
call fcn.10009c20
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0
push eax
push 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0
push eax
mov eax, dword [ebx + 8]
add eax, 0x13e4
push eax
mov eax, dword [0x100baad8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0x10
call fcn.1007140e
mov edx, eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], edx
lea ecx, [edx + 0xc]
mov eax, dword [ebp - 0x14]
add esp, 4
movq qword [edx], xmm0
mov dword [edx + 8], 0
mov dword [edx + 4], 1
mov dword [edx + 8], 1
mov dword [edx], 0x100ae02c
mov dword [ecx], eax
mov esi, dword [edi + 0x18]
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], edx
test esi, esi
je 0x1004fb36
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1004fb36
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1004fb36
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x1004fb36
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x14]
push 4
push eax
mov dword [ebp - 0x14], 0
lea eax, [esi + 0x24]
push eax
mov eax, dword [0x100baad8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xc
sete al
mov byte [edi + 5], al
jne 0x1004f8d7
mov ecx, dword [0x100baad8]
lea eax, [esi + 0x40c]
push eax
call fcn.10057c00
test al, al
je 0x1004f8b9
mov ecx, dword [0x100baad8]
lea eax, [esi + 0x40d]
push eax
call fcn.10057c00
test al, al
jne 0x1004f8b9
mov al, 1
jmp 0x1004f8bb
xor al, al
mov byte [edi + 9], al
lea eax, [esi + 0x3f4]
mov ecx, dword [0x100baad8]
push eax
call fcn.10057bc0
mov dword [edi], eax
jmp 0x1004fb36
mov dword [ebp - 0x40], 0xef0ac7a7
lea eax, [ebp - 0x40]
mov dword [ebp - 0x3c], 0x70f7ed75
mov dword [ebp - 0x38], 0x98c289a5
mov dword [ebp - 0x34], 0x6f0fc937
movaps xmm1, xmmword [ebp - 0x40]
mov dword [ebp - 0x60], 0x966babf7
mov dword [ebp - 0x5c], 0x15b39f10
mov dword [ebp - 0x58], 0xf68bedc4
mov dword [ebp - 0x54], 0x1b61ac41
pxor xmm1, xmmword [ebp - 0x60]
mov dword [ebp - 0x30], 0x84d22c5e
mov dword [ebp - 0x2c], 0x5b6c4079
mov dword [ebp - 0x28], 0xc3c797fe
mov dword [ebp - 0x24], 0xa2b795cf
movaps xmmword [ebp - 0x40], xmm1
movaps xmm1, xmmword [ebp - 0x30]
push ecx
mov dword [ebp - 0x50], 0xc6ab5e31
lea ecx, [edi + 0x58]
mov dword [ebp - 0x4c], 0x5b6c3816
mov dword [ebp - 0x48], 0xc3c797fe
mov dword [ebp - 0x44], 0xa2b795cf
pxor xmm1, xmmword [ebp - 0x50]
push eax
movaps xmmword [ebp - 0x30], xmm1
call fcn.10057860
cmp eax, 0xffffffff
jne 0x1004fb32
mov dword [ebp - 0x40], 0xfd08c2a7
lea eax, [ebp - 0x40]
mov dword [ebp - 0x3c], 0x7cffef45
mov dword [ebp - 0x38], 0x84dc99b7
mov dword [ebp - 0x34], 0x7e11dc20
movaps xmm1, xmmword [ebp - 0x40]
mov dword [ebp - 0x60], 0x966babf7
mov dword [ebp - 0x5c], 0x15b39f10
mov dword [ebp - 0x58], 0xf68bedc4
mov dword [ebp - 0x54], 0x1b61ac41
pxor xmm1, xmmword [ebp - 0x60]
mov dword [ebp - 0x30], 0xb2c81f43
mov dword [ebp - 0x2c], 0x5b6c4a79
mov dword [ebp - 0x28], 0xc3c797fe
mov dword [ebp - 0x24], 0xa2b795cf
movaps xmmword [ebp - 0x40], xmm1
movaps xmm1, xmmword [ebp - 0x30]
push ecx
mov dword [ebp - 0x50], 0xc6ab5e31
lea ecx, [edi + 0x58]
mov dword [ebp - 0x4c], 0x5b6c3816
mov dword [ebp - 0x48], 0xc3c797fe
mov dword [ebp - 0x44], 0xa2b795cf
pxor xmm1, xmmword [ebp - 0x50]
push eax
movaps xmmword [ebp - 0x30], xmm1
call fcn.10057860
cmp eax, 0xffffffff
jne 0x1004fb32
mov dword [ebp - 0x50], 0xd219c2b6
lea eax, [ebp - 0x50]
mov dword [ebp - 0x4c], 0x15c3f062
mov dword [ebp - 0x48], 0xf68bedc4
mov dword [ebp - 0x44], 0x1b61ac41
movaps xmm1, xmmword [ebp - 0x50]
push ecx
mov dword [ebp - 0x30], 0x966babf7
lea ecx, [edi + 0x58]
mov dword [ebp - 0x2c], 0x15b39f10
mov dword [ebp - 0x28], 0xf68bedc4
mov dword [ebp - 0x24], 0x1b61ac41
pxor xmm1, xmmword [ebp - 0x30]
push eax
movaps xmmword [ebp - 0x50], xmm1
call fcn.10057860
cmp eax, 0xffffffff
jne 0x1004fb32
mov dword [ebp - 0x50], 0xc034fbb5
lea eax, [ebp - 0x50]
mov dword [ebp - 0x4c], 0x15b3c058
mov dword [ebp - 0x48], 0xf68bedc4
mov dword [ebp - 0x44], 0x1b61ac41
mov byte [edi + 8], 0
movaps xmm1, xmmword [ebp - 0x50]
push ecx
mov dword [ebp - 0x30], 0x966babf7
lea ecx, [edi + 0x58]
mov dword [ebp - 0x2c], 0x15b39f10
mov dword [ebp - 0x28], 0xf68bedc4
mov dword [ebp - 0x24], 0x1b61ac41
pxor xmm1, xmmword [ebp - 0x30]
push eax
movaps xmmword [ebp - 0x50], xmm1
call fcn.10057860
cmp eax, 0xffffffff
jne 0x1004fb2b
mov dword [ebp - 0x50], 0x9634e3a1
lea eax, [ebp - 0x50]
mov dword [ebp - 0x4c], 0x15b39f10
mov dword [ebp - 0x48], 0xf68bedc4
mov dword [ebp - 0x44], 0x1b61ac41
movaps xmm1, xmmword [ebp - 0x50]
push ecx
mov dword [ebp - 0x30], 0x966babf7
lea ecx, [edi + 0x58]
mov dword [ebp - 0x2c], 0x15b39f10
mov dword [ebp - 0x28], 0xf68bedc4
mov dword [ebp - 0x24], 0x1b61ac41
pxor xmm1, xmmword [ebp - 0x30]
push eax
movaps xmmword [ebp - 0x50], xmm1
call fcn.10057860
cmp eax, 0xffffffff
jne 0x1004fb2b
xor al, al
mov byte [edi + 4], al
jmp 0x1004fb36
mov al, 1
mov byte [edi + 4], al
jmp 0x1004fb36
mov byte [edi + 8], 1
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0
push eax
push 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0
push eax
mov eax, dword [ebx + 8]
add eax, 0x34c
push eax
mov eax, dword [0x100baad8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0x14
call fcn.1007140e
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
xorps xmm0, xmm0
push dword [ebp - 0x14]
movq qword [edi], xmm0
lea esi, [edi + 0xc]
mov dword [edi + 8], 0
mov ecx, esi
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], 0x100ae03c
call fcn.1004f2d0
mov eax, dword [ebp - 0x6c]
mov dword [eax + 0xc], esi
mov esi, eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x10], edi
mov edi, eax
test edi, edi
je 0x1004fbd8
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x1004fbd8
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x1004fbd8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.1007776c
int3