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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e1db0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 0x14]
mov ebx, dword [eax + 0x10]
mov dword [ebp - 0x18], ecx
push edi
mov dword [ebp - 0x10], esp
cmp ecx, 0x10
jb 0x10036070
mov esi, dword [eax]
jmp 0x10036072
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x10036091
nop dword [eax]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10036080
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x18]
mov edi, dword [ebx + 0xc]
and eax, edx
lea ecx, [eax*8]
mov eax, dword [edi + ecx]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebx + 4]
jne 0x100360b6
mov edi, dword [ebx + 4]
jmp 0x100360bc
mov edi, dword [edi + ecx + 4]
mov edi, dword [edi]
cmp edi, eax
je 0x1003616a
mov edi, dword [edi + 4]
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
lea ecx, [edx + 0x10]
jb 0x100360d5
mov edx, dword [edx]
cmp dword [ebp - 0x18], 0x10
mov ebx, dword [ebp + 0xc]
jb 0x100360e0
mov ebx, dword [ebx]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov esi, ecx
mov dword [ebp - 0x20], ecx
cmp dword [eax + 0x10], ecx
cmovb esi, dword [eax + 0x10]
mov eax, dword [ebp - 0x1c]
test esi, esi
je 0x10036153
sub esi, 4
jb 0x10036111
nop dword [eax]
mov ecx, dword [ebx]
cmp ecx, dword [edx]
jne 0x10036116
add ebx, 4
add edx, 4
sub esi, 4
jae 0x10036100
cmp esi, 0xfffffffc
je 0x1003614a
mov cl, byte [ebx]
cmp cl, byte [edx]
jne 0x10036143
cmp esi, 0xfffffffd
je 0x1003614a
mov cl, byte [ebx + 1]
cmp cl, byte [edx + 1]
jne 0x10036143
cmp esi, 0xfffffffe
je 0x1003614a
mov cl, byte [ebx + 2]
cmp cl, byte [edx + 2]
jne 0x10036143
cmp esi, 0xffffffff
je 0x1003614a
mov cl, byte [ebx + 3]
cmp cl, byte [edx + 3]
je 0x1003614a
sbb ecx, ecx
or ecx, 1
jmp 0x1003614c
xor ecx, ecx
test ecx, ecx
jne 0x1003615f
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 0x10]
cmp ebx, ecx
jb 0x1003615f
jbe 0x100361b8
cmp edi, eax
jne 0x100360c4
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp + 0x10]
mov dword [ebp + 0xc], esi
mov eax, dword [esi]
cmp edi, eax
je 0x10036197
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 ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 0x24]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x1003625a
mov dword [ecx], esi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], esi
jmp 0x1003627c
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 [ebp - 0x14]
dec dword [ecx + 8]
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x1003621c
mov ecx, dword [esi]
inc eax
cmp eax, 0x1000
jb 0x10036213
test cl, 0x1f
je 0x100361ef
call fcn.100acf17
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x100361fb
call fcn.100acf17
sub ecx, eax
cmp ecx, 4
jae 0x10036207
call fcn.100acf17
cmp ecx, 0x23
jbe 0x10036211
call fcn.100acf17
mov ecx, eax
push ecx
call fcn.100659a5
add esp, 4
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x10036232
mov esi, dword [esi]
push ebx
mov byte [esi], 0
call fcn.100659a5
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], edi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, edi
jne 0x10036262
mov dword [ecx], esi
jmp 0x1003627c
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, esi
je 0x1003627c
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.100362c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc