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

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 0x24]
shr ecx, 2
cmp eax, ecx
mov dword [esp + 0x10], edi
ja 0x437006
mov edx, dword [edi + 0x14]
test edx, edx
lea esi, [edi + 0x10]
jne 0x436d0c
xor ecx, ecx
jmp 0x436d14
mov ecx, dword [esi + 8]
sub ecx, edx
sar ecx, 3
add ecx, 0xffffffff
cmp ecx, eax
ja 0x436d5a
mov ecx, edx
test ecx, ecx
jne 0x436d25
xor eax, eax
jmp 0x436d2d
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
lea edx, [eax + eax - 3]
mov dword [edi + 0x20], edx
mov edx, dword [edi + 8]
sub esp, 8
mov eax, esp
lea ecx, [edi + 4]
mov dword [eax], 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi + 0x20]
add eax, 2
push eax
mov ecx, esi
call fcn.00435d40
jmp 0x436d68
mov ecx, dword [edi + 0x20]
cmp ecx, eax
jae 0x436d68
lea ecx, [ecx + ecx + 1]
mov dword [edi + 0x20], ecx
mov edx, dword [edi + 0x20]
mov ebx, dword [edi + 0x24]
mov ecx, dword [esi + 4]
shr edx, 1
sub ebx, edx
sub ebx, 1
test ecx, ecx
mov dword [esp + 0x14], ebx
je 0x436d8c
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
cmp ebx, eax
jb 0x436d92
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add edi, 4
mov eax, dword [esi + 4]
mov ebp, dword [eax + ebx*8 + 4]
jne 0x436da4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [esp + 0x18], edi
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x436dbe
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
lea ecx, [ebx + 1]
cmp ecx, eax
jb 0x436dc4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 4]
cmp dword [ecx + ebx*8 + 0xc], ebp
lea eax, [ebx + 1]
je 0x436ffc
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x436de2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebp, dword [edi + 4]
jne 0x436ded
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [ebp + 8]
push 0x1f31d
push edx
call fcn.00427470
add esp, 4
push eax
call dword [sym.imp.MSVCR80.dll_ldiv]
imul edx, edx, 0x41a7
imul eax, eax, 0xb14
add esp, 8
sub edx, eax
jns 0x436e1e
add edx, 0x7fffffff
mov eax, dword [esp + 0x10]
and edx, dword [eax + 0x20]
mov ebx, dword [esp + 0x14]
cmp edx, ebx
jne 0x436e40
cmp ebp, dword [edi + 4]
jne 0x436e38
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebp, dword [ebp]
jmp 0x436da8
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 8]
add edi, 4
cmp ebp, dword [eax + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ecx
jne 0x436e65
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x20], edi
mov edx, dword [ebp]
mov dword [esp + 0x24], edx
je 0x436e78
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x24], eax
je 0x436f69
mov edi, ebx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x436e9b
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x436ea1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 4]
cmp dword [ecx + edi*8 + 4], ebp
jne 0x436edb
test ecx, ecx
je 0x436eba
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x436ec0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
test edi, edi
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [eax + edi*8], edx
mov dword [eax + edi*8 + 4], ecx
je 0x436edb
sub edi, 1
jmp 0x436e88
mov ebx, dword [esp + 0x10]
mov edi, dword [ebx + 8]
add ebx, 4
cmp ebx, ebx
je 0x436ef2
push 0
mov ecx, ebx
call fcn.00432370
mov edx, dword [ebp + 4]
mov ecx, dword [esp + 0x24]
mov dword [edx], ecx
mov eax, dword [ecx + 4]
mov dword [eax], edi
mov edx, dword [edi + 4]
mov dword [edx], ebp
mov edx, dword [ecx + 4]
mov eax, dword [edi + 4]
mov dword [edi + 4], edx
mov edx, dword [ebp + 4]
mov dword [ecx + 4], edx
mov dword [ebp + 4], eax
mov eax, dword [ebx + 4]
mov ebp, dword [eax + 4]
cmp ebp, eax
jne 0x436f27
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x10]
mov ebx, dword [edx + 8]
mov edi, dword [edx + 0x24]
lea eax, [edx + 4]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
add edi, 1
test eax, eax
je 0x436f4e
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 3
cmp edi, ecx
jb 0x436f58
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 4]
lea ecx, [edx + 4]
mov dword [eax + edi*8], ecx
mov dword [eax + edi*8 + 4], ebx
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x24]
cmp ebx, edi
jae 0x436fcd
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 4]
mov ebx, dword [eax + 8]
add eax, 4
test ecx, ecx
je 0x436f91
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x436f97
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 4]
cmp dword [ecx + edi*8 + 4], ebx
jne 0x436fcd
test ecx, ecx
je 0x436fb0
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x436fb6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x18]
mov dword [eax + edi*8], edx
mov dword [eax + edi*8 + 4], ebp
sub edi, 1
cmp dword [esp + 0x14], edi
jb 0x436f74
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 8]
add eax, 4
cmp dword [esp + 0x20], eax
je 0x436fe3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebp, dword [esp + 0x24]
cmp ebp, edi
je 0x436ffc
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
jmp 0x436da8
mov eax, dword [esp + 0x10]
add dword [eax + 0x24], 1
mov edi, eax
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x437011
sub eax, esi
add eax, ecx
cmp ecx, eax
mov edx, 0x811c9dc5
je 0x437042
jmp 0x437030
movsx esi, byte [ecx]
imul edx, edx, 0x1000193
add ecx, 1
xor edx, esi
cmp ecx, eax
jne 0x437030
push 0x1f31d
push edx
call dword [sym.imp.MSVCR80.dll_ldiv]
imul edx, edx, 0x41a7
imul eax, eax, 0xb14
add esp, 8
sub edx, eax
jns 0x437067
add edx, 0x7fffffff
mov eax, dword [edi + 0x20]
and edx, eax
mov ebx, edx
cmp dword [edi + 0x24], ebx
ja 0x43707c
shr eax, 1
or edx, 0xffffffff
sub edx, eax
add ebx, edx
mov ecx, dword [edi + 0x14]
test ecx, ecx
mov dword [esp + 0x14], ebx
lea esi, [ebx + 1]
je 0x437096
mov eax, dword [edi + 0x18]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x43709c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [edi + 0x14]
mov esi, dword [ecx + esi*8 + 4]
lea eax, [edi + 4]
test eax, eax
jne 0x4370b0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea eax, [edi + 4]
mov ebp, esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x18], eax
lea ecx, [ecx]
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x4370d3
mov eax, dword [edi + 0x18]
sub eax, ecx
sar eax, 3
cmp ebx, eax
jb 0x4370d9
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [edi + 0x14]
cmp dword [edx + ebx*8 + 4], ebp
je 0x43719c
cmp dword [esp + 0x18], 0
jne 0x4370f3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebp, dword [ebp + 4]
mov eax, dword [esp + 0x18]
cmp ebp, dword [eax + 4]
jne 0x437105
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x18]
cmp ebp, dword [ecx + 4]
jne 0x437114
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebp + 8]
mov eax, dword [esi]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x437140
test dl, dl
je 0x43713c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x437140
add eax, 2
add ecx, 2
test dl, dl
jne 0x437120
xor eax, eax
jmp 0x437145
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jl 0x4370c0
mov ebx, dword [esp + 0x18]
cmp ebp, dword [ebx + 4]
jne 0x43715c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi]
mov eax, dword [ebp + 8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x437181
test dl, dl
je 0x43717d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x437181
add eax, 2
add ecx, 2
test dl, dl
jne 0x437161
xor eax, eax
jmp 0x437186
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jge 0x437239
cmp ebp, dword [ebx + 4]
jne 0x437199
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebp, dword [ebp]
mov eax, dword [ebp + 4]
mov ebx, dword [esp + 0x18]
mov edx, esi
push edx
push eax
push ebp
lea ecx, [edi + 4]
mov dword [esp + 0x30], ebp
call fcn.00432400
push 1
lea ecx, [edi + 4]
mov esi, eax
call fcn.00432370
test ebx, ebx
mov dword [ebp + 4], esi
mov ecx, dword [esi + 4]
mov dword [ecx], esi
jne 0x4371d2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp + 4]
cmp eax, dword [ebx + 4]
mov dword [esp + 0x24], eax
jne 0x4371e4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x14]
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x4371fb
mov eax, dword [edi + 0x18]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x437201
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [edi + 0x14]
cmp dword [edx + esi*8 + 4], ebp
jne 0x437250
mov ecx, edx
test ecx, ecx
je 0x43721c
mov eax, dword [edi + 0x18]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x437222
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
test esi, esi
mov eax, dword [edi + 0x14]
mov ecx, dword [esp + 0x24]
mov dword [eax + esi*8], ebx
mov dword [eax + esi*8 + 4], ecx
je 0x437250
sub esi, 1
jmp 0x4371e8
mov eax, dword [esp + 0x34]
mov dword [eax + 4], ebp
mov byte [eax + 8], 0
mov dword [eax], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
mov dword [eax + 4], edx
mov byte [eax + 8], 1
pop ebx
add esp, 0x20
ret 8