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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x1003a080]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 8], ecx
push esi
push edi
lea edx, [eax + 0x30]
mov dword [esp + 0x1c], eax
mov ecx, edx
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003991
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.100079a0
cmp dword [esp + 0x34], 0xf
lea esi, [esp + 0x20]
mov edi, dword [esp + 0x30]
mov edx, 0x811c9dc5
cmova esi, dword [esp + 0x20]
xor ecx, ecx
test edi, edi
je 0x100039d3
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x100039c2
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x14]
and ecx, edx
mov edx, dword [esp + 0x10]
mov esi, dword [eax + ecx*8 + 4]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x14], edx
cmp esi, edx
je 0x10003a91
mov eax, dword [eax + ecx*8]
mov dword [esp + 0x18], eax
nop dword [eax]
cmp dword [esi + 0x1c], 0xf
lea eax, [esi + 8]
mov ecx, dword [eax + 0x10]
jbe 0x10003a0e
mov eax, dword [eax]
cmp dword [esp + 0x34], 0xf
lea edx, [esp + 0x20]
cmova edx, dword [esp + 0x20]
cmp edi, ecx
jne 0x10003a79
sub edi, 4
jb 0x10003a36
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x10003a3b
add edx, 4
add eax, 4
sub edi, 4
jae 0x10003a25
cmp edi, 0xfffffffc
je 0x10003a6f
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x10003a68
cmp edi, 0xfffffffd
je 0x10003a6f
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x10003a68
cmp edi, 0xfffffffe
je 0x10003a6f
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x10003a68
cmp edi, 0xffffffff
je 0x10003a6f
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x10003a6f
sbb eax, eax
or eax, 1
jmp 0x10003a71
xor eax, eax
test eax, eax
je 0x10003a87
mov edi, dword [esp + 0x30]
cmp esi, dword [esp + 0x18]
je 0x10003a8d
mov esi, dword [esi + 4]
jmp 0x10003a00
mov edx, dword [esp + 0x14]
jmp 0x10003a93
mov edx, dword [esp + 0x14]
xor esi, esi
mov eax, dword [esp + 0x34]
test esi, esi
cmove esi, edx
cmp eax, 0xf
jbe 0x10003ad0
mov edx, dword [esp + 0x20]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10003ac6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003b75
push ecx
push edx
call fcn.1000ce66
add esp, 8
mov ecx, dword [esp + 0x10]
cmp esi, dword [ecx + 0xc]
je 0x10003b60
mov eax, dword [esp + 0x1c]
lea edi, [ecx + 0x28]
add esi, 0x20
mov eax, dword [eax]
mov dword [ecx + 0x74], eax
cmp edi, esi
je 0x10003b05
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x10003afa
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.10006750
lea eax, [esi + 0x18]
lea ecx, [edi + 0x18]
cmp ecx, eax
je 0x10003b21
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x10003b1a
mov eax, dword [eax]
push edx
push eax
call fcn.10006750
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.1000ce23
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x4c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.1000ce23
mov esp, ebp
pop ebp
ret 4
call fcn.100130ca
int3