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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [esp + 0x10], ecx
cmp dword [ebx + 0x14], 0x10
mov edi, dword [ebx + 0x10]
mov dword [esp + 0x14], edi
jb 0x1001d4d4
mov esi, dword [ebx]
jmp 0x1001d4d6
mov esi, ebx
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x1001d4f2
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1001d4e1
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x18]
mov edi, dword [ecx + 4]
and eax, edx
lea esi, [eax*8]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x1c], esi
mov edx, dword [eax + esi]
mov dword [esp + 0x18], edx
cmp edi, edx
je 0x1001d62f
mov edi, dword [eax + esi + 4]
mov edi, dword [edi]
cmp edi, edx
je 0x1001d62f
nop dword [eax]
mov edi, dword [edi + 4]
cmp dword [edi + 0x1c], 0x10
jb 0x1001d53e
mov esi, dword [edi + 8]
jmp 0x1001d541
lea esi, [edi + 8]
cmp dword [ebx + 0x14], 0x10
jb 0x1001d54b
mov edx, dword [ebx]
jmp 0x1001d54d
mov edx, ebx
mov ebx, dword [edi + 0x18]
mov ecx, ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
cmovb ecx, eax
test ecx, ecx
je 0x1001d5b8
sub ecx, 4
jb 0x1001d575
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x1001d57a
add edx, 4
add esi, 4
sub ecx, 4
jae 0x1001d564
cmp ecx, 0xfffffffc
je 0x1001d5ae
mov al, byte [edx]
cmp al, byte [esi]
jne 0x1001d5a7
cmp ecx, 0xfffffffd
je 0x1001d5ae
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x1001d5a7
cmp ecx, 0xfffffffe
je 0x1001d5ae
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x1001d5a7
cmp ecx, 0xffffffff
je 0x1001d5ae
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x1001d5ae
sbb eax, eax
or eax, 1
jmp 0x1001d5b0
xor eax, eax
test eax, eax
jne 0x1001d5be
mov eax, dword [esp + 0x14]
cmp eax, ebx
jb 0x1001d5be
jbe 0x1001d5cc
cmp edi, dword [esp + 0x18]
je 0x1001d62f
mov ebx, dword [ebp + 0xc]
jmp 0x1001d530
mov ebx, dword [ebp + 0x10]
lea esi, [ebx + 8]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [ecx], eax
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x10]
dec dword [ecx + 8]
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x1001d5fb
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.10001950
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x1001d611
mov esi, dword [esi]
push ebx
mov byte [esi], 0
call fcn.1003ae25
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], edi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
cmp edi, eax
je 0x1001d659
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], esi
mov ecx, dword [eax + 4]
mov edx, dword [edi + 4]
mov dword [edi + 4], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov dword [esi + 4], edx
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [edx + 0xc]
add ecx, ebx
mov eax, dword [ecx]
cmp eax, dword [edx + 4]
jne 0x1001d678
mov dword [ecx], esi
mov eax, dword [edx + 0xc]
mov dword [eax + ebx + 4], esi
jmp 0x1001d69a
cmp eax, edi
jne 0x1001d680
mov dword [ecx], esi
jmp 0x1001d69a
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, esi
je 0x1001d69a
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx + ebx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + ebx + 4], eax
mov ecx, edx
call fcn.1001d980
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc